Make PopSirt inlinable, pass self to SirtRef.
Change-Id: Ieb91526b1cb1f8644ceb3c5b99649f658f43bbc1
diff --git a/src/heap_test.cc b/src/heap_test.cc
index d846db5..881a765 100644
--- a/src/heap_test.cc
+++ b/src/heap_test.cc
@@ -15,6 +15,7 @@
*/
#include "common_test.h"
+#include "sirt_ref.h"
namespace art {
@@ -38,7 +39,7 @@
Class* c = class_linker_->FindSystemClass("[Ljava/lang/Object;");
for (size_t i = 0; i < 1024; ++i) {
- SirtRef<ObjectArray<Object> > array(ObjectArray<Object>::Alloc(c, 2048));
+ SirtRef<ObjectArray<Object> > array(soa.Self(), ObjectArray<Object>::Alloc(c, 2048));
for (size_t j = 0; j < 2048; ++j) {
array->Set(j, String::AllocFromModifiedUtf8("hello, world!"));
}