Index: src/frames-inl.h |
diff --git a/src/frames-inl.h b/src/frames-inl.h |
index 998be23409cbd99769b76ae7ac00fd842842bb09..024a52bf058108ea3fd6b137e3e37bcb6158a2d4 100644 |
--- a/src/frames-inl.h |
+++ b/src/frames-inl.h |
@@ -114,14 +114,6 @@ inline void StandardFrame::SetExpression(int index, Object* value) { |
} |
-inline Object* StandardFrame::context() const { |
- const int offset = StandardFrameConstants::kContextOffset; |
- Object* maybe_result = Memory::Object_at(fp() + offset); |
- DCHECK(!maybe_result->IsSmi()); |
- return maybe_result; |
-} |
- |
- |
inline Address StandardFrame::caller_fp() const { |
return Memory::Address_at(fp() + StandardFrameConstants::kCallerFPOffset); |
} |
@@ -214,6 +206,12 @@ inline Object* JavaScriptFrame::function_slot_object() const { |
return Memory::Object_at(fp() + offset); |
} |
+inline Object* JavaScriptFrame::context() const { |
+ const int offset = StandardFrameConstants::kContextOffset; |
+ Object* maybe_result = Memory::Object_at(fp() + offset); |
+ DCHECK(!maybe_result->IsSmi()); |
+ return maybe_result; |
+} |
inline StubFrame::StubFrame(StackFrameIteratorBase* iterator) |
: StandardFrame(iterator) { |