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

Unified Diff: src/mips64/macro-assembler-mips64.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/mips64/macro-assembler-mips64.cc
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc
index 7a49ed0ba4a7107596ac980ce71ea607576e06cc..892db42125fa6b4adb5166ea014182c09973eb07 100644
--- a/src/mips64/macro-assembler-mips64.cc
+++ b/src/mips64/macro-assembler-mips64.cc
@@ -4956,6 +4956,14 @@ void MacroAssembler::Prologue(bool code_pre_aging) {
}
+void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) {
+ ld(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
+ ld(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset));
+ ld(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 mips64.

Powered by Google App Engine
This is Rietveld 408576698