Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Unified Diff: src/mips/macro-assembler-mips.cc

Issue 1364373003: Full code shouldn't embed the type feedback vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/mips/macro-assembler-mips.cc
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc
index e66fad9092c7a1e62f74c35e44308a29d7573a28..2280a2d6d275938e52086c30e6ecaa2d46fa589f 100644
--- a/src/mips/macro-assembler-mips.cc
+++ b/src/mips/macro-assembler-mips.cc
@@ -4825,6 +4825,14 @@ void MacroAssembler::Prologue(bool code_pre_aging) {
}
+void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) {
+ lw(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
+ lw(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset));
+ lw(vector,
+ FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset));
+}
+
+
void MacroAssembler::EnterFrame(StackFrame::Type type,
bool load_constant_pool_pointer_reg) {
// Out-of-line constant pool not implemented on mips.

Powered by Google App Engine
This is Rietveld 408576698