Chromium Code Reviews| Index: src/arm/macro-assembler-arm.h |
| diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
| index d223b57a5a509202add60f9d3ecf869c7561f7a6..5a7dee1207b5e6917f1025c59d926f7720c6e177 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 |
|
ulan
2013/12/19 12:54:41
swap "context" with "constant pool".
rmcilroy
2013/12/19 13:31:59
Done.
|
| + // (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(); |
| @@ -534,6 +540,9 @@ class MacroAssembler: public Assembler { |
| // Generates function and stub prologue code. |
| void Prologue(PrologueFrameMode frame_mode); |
| + // Loads the constant pool pointer (pp) register. |
| + void LoadConstantPoolPointerRegister(); |
| + |
| // Enter exit frame. |
| // stack_space - extra stack space, used for alignment before call to C. |
| void EnterExitFrame(bool save_doubles, int stack_space = 0); |
| @@ -1394,7 +1403,8 @@ class MacroAssembler: public Assembler { |
| // Activation support. |
| void EnterFrame(StackFrame::Type type); |
| - void LeaveFrame(StackFrame::Type type); |
| + // Returns the pc offset at which the frame ends. |
| + int LeaveFrame(StackFrame::Type type); |
| // Expects object in r0 and returns map with validated enum cache |
| // in r0. Assumes that any other register can be used as a scratch. |