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

Unified Diff: src/arm/macro-assembler-arm.h

Issue 88043002: Out-of-line constant pool on Arm: Stage 3 - Set Constant Pool Pointer on Function Entry (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Re-upload to fix code-review error. Created 7 years, 1 month 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/arm/macro-assembler-arm.h
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h
index 5e20eecfb633dfab14a59c7b2679d0dc793034bc..af73bda6a4b616c239b6450113edfe5164c5dd38 100644
--- a/src/arm/macro-assembler-arm.h
+++ b/src/arm/macro-assembler-arm.h
@@ -426,6 +426,12 @@ class MacroAssembler: public Assembler {
}
}
+ // Push a fixed frame, consisting of lr, fp, context, constant pool
+ // (if FLAG_enable_ool_constant_pool) and JS function / marker id if
+ // marker_reg is a valid register.
+ void PushFixedFrame(Register marker_reg = no_reg);
+ void PopFixedFrame(Register marker_reg = no_reg);
+
// Push and pop the registers that can hold pointers, as defined by the
// RegList constant kSafepointSavedRegisters.
void PushSafepointRegisters();
@@ -582,6 +588,12 @@ class MacroAssembler: public Assembler {
mov(kRootRegister, Operand(roots_array_start));
}
+ // Restores the pp registers from the stack frame.
+ void RestoreConstantPoolPointer();
+
+ // Loads the pp register with the value for the given JSFunction.
+ void LoadConstantPoolPointer(Register js_function);
+
// ---------------------------------------------------------------------------
// JavaScript invokes

Powered by Google App Engine
This is Rietveld 408576698