Commit 79a3cb2e authored by mstarzinger's avatar mstarzinger Committed by Commit bot

Our JavaScriptFrame::function_slot_object is arch independent.

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/1235893002

Cr-Commit-Position: refs/heads/master@{#29607}
parent 2f981db0
......@@ -128,12 +128,6 @@ class JavaScriptFrameConstants : public AllStatic {
};
inline Object* JavaScriptFrame::function_slot_object() const {
const int offset = JavaScriptFrameConstants::kFunctionOffset;
return Memory::Object_at(fp() + offset);
}
} } // namespace v8::internal
#endif // V8_ARM_FRAMES_ARM_H_
......@@ -63,12 +63,6 @@ class JavaScriptFrameConstants : public AllStatic {
};
inline Object* JavaScriptFrame::function_slot_object() const {
const int offset = JavaScriptFrameConstants::kFunctionOffset;
return Memory::Object_at(fp() + offset);
}
} } // namespace v8::internal
#endif // V8_ARM64_FRAMES_ARM64_H_
......@@ -217,6 +217,12 @@ inline JSFunction* JavaScriptFrame::function() const {
}
inline Object* JavaScriptFrame::function_slot_object() const {
const int offset = JavaScriptFrameConstants::kFunctionOffset;
return Memory::Object_at(fp() + offset);
}
inline StubFrame::StubFrame(StackFrameIteratorBase* iterator)
: StandardFrame(iterator) {
}
......
......@@ -79,12 +79,6 @@ class JavaScriptFrameConstants : public AllStatic {
};
inline Object* JavaScriptFrame::function_slot_object() const {
const int offset = JavaScriptFrameConstants::kFunctionOffset;
return Memory::Object_at(fp() + offset);
}
} } // namespace v8::internal
#endif // V8_IA32_FRAMES_IA32_H_
......@@ -169,12 +169,6 @@ class JavaScriptFrameConstants : public AllStatic {
};
inline Object* JavaScriptFrame::function_slot_object() const {
const int offset = JavaScriptFrameConstants::kFunctionOffset;
return Memory::Object_at(fp() + offset);
}
} } // namespace v8::internal
#endif
......@@ -169,12 +169,6 @@ class JavaScriptFrameConstants : public AllStatic {
};
inline Object* JavaScriptFrame::function_slot_object() const {
const int offset = JavaScriptFrameConstants::kFunctionOffset;
return Memory::Object_at(fp() + offset);
}
} } // namespace v8::internal
#endif
......@@ -148,12 +148,6 @@ class JavaScriptFrameConstants : public AllStatic {
};
inline Object* JavaScriptFrame::function_slot_object() const {
const int offset = JavaScriptFrameConstants::kFunctionOffset;
return Memory::Object_at(fp() + offset);
}
}
} // namespace v8::internal
......
......@@ -71,12 +71,6 @@ class JavaScriptFrameConstants : public AllStatic {
};
inline Object* JavaScriptFrame::function_slot_object() const {
const int offset = JavaScriptFrameConstants::kFunctionOffset;
return Memory::Object_at(fp() + offset);
}
} } // namespace v8::internal
#endif // V8_X64_FRAMES_X64_H_
......@@ -79,12 +79,6 @@ class JavaScriptFrameConstants : public AllStatic {
};
inline Object* JavaScriptFrame::function_slot_object() const {
const int offset = JavaScriptFrameConstants::kFunctionOffset;
return Memory::Object_at(fp() + offset);
}
} } // namespace v8::internal
#endif // V8_X87_FRAMES_X87_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment