summaryrefslogtreecommitdiff
path: root/runtime/managed_stack-inl.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2017-11-30 09:12:35 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-11-30 09:12:35 +0000
commit8f8bd8bfce0f2433bc66ac90a471e5f58cd2e2cc (patch)
treecbcfcee8846c8f9298b64f52e3523d2268e179ca /runtime/managed_stack-inl.h
parent111b7d409a3f77cb0d16bc1df74a3a698795c1d1 (diff)
parent056d7756152bb3ced81dd57781be5028428ce2bd (diff)
Merge "Revert "Revert "Revert "JIT JNI stubs.""""
Diffstat (limited to 'runtime/managed_stack-inl.h')
-rw-r--r--runtime/managed_stack-inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/managed_stack-inl.h b/runtime/managed_stack-inl.h
index 678be8e098..689dd8009a 100644
--- a/runtime/managed_stack-inl.h
+++ b/runtime/managed_stack-inl.h
@@ -24,7 +24,7 @@
namespace art {
inline ShadowFrame* ManagedStack::PushShadowFrame(ShadowFrame* new_top_frame) {
- DCHECK(!HasTopQuickFrame());
+ DCHECK(top_quick_frame_ == nullptr);
ShadowFrame* old_frame = top_shadow_frame_;
top_shadow_frame_ = new_top_frame;
new_top_frame->SetLink(old_frame);
@@ -32,7 +32,7 @@ inline ShadowFrame* ManagedStack::PushShadowFrame(ShadowFrame* new_top_frame) {
}
inline ShadowFrame* ManagedStack::PopShadowFrame() {
- DCHECK(!HasTopQuickFrame());
+ DCHECK(top_quick_frame_ == nullptr);
CHECK(top_shadow_frame_ != nullptr);
ShadowFrame* frame = top_shadow_frame_;
top_shadow_frame_ = frame->GetLink();