Split shadow stack from SIRT.
(cherry picked from commit 4455f868a9a6553827ccbe1d25e29cf528a74422)
Change-Id: I4f467cf5be812c600dc5fdb56a9236fe144bd380
diff --git a/src/compiler_llvm/runtime_support_llvm.cc b/src/compiler_llvm/runtime_support_llvm.cc
index 54c6cbe..b6ca288 100644
--- a/src/compiler_llvm/runtime_support_llvm.cc
+++ b/src/compiler_llvm/runtime_support_llvm.cc
@@ -6,6 +6,7 @@
#include "object_utils.h"
#include "runtime_support_common.h"
#include "runtime_support_llvm.h"
+#include "shadow_frame.h"
#include "thread.h"
#include "thread_list.h"
@@ -49,14 +50,12 @@
void art_push_shadow_frame_from_code(void* new_shadow_frame) {
Thread* thread = Thread::Current();
- thread->PushSirt(
- static_cast<StackIndirectReferenceTable*>(new_shadow_frame)
- );
+ thread->PushShadowFrame(static_cast<ShadowFrame*>(new_shadow_frame));
}
void art_pop_shadow_frame_from_code() {
Thread* thread = Thread::Current();
- thread->PopSirt();
+ thread->PopShadowFrame();
}