| Index: src/ia32/macro-assembler-ia32.h
|
| diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h
|
| index d8136924463574bc154996a252085aa5f67bf94b..e984b2cad973f8da485cb030d89fabc95757c25e 100644
|
| --- a/src/ia32/macro-assembler-ia32.h
|
| +++ b/src/ia32/macro-assembler-ia32.h
|
| @@ -240,7 +240,7 @@ class MacroAssembler: public Assembler {
|
|
|
| // Leave the current exit frame. Expects the return value in
|
| // register eax (untouched).
|
| - void LeaveApiExitFrame();
|
| + void LeaveApiExitFrame(bool restore_context);
|
|
|
| // Find the function context up the context chain.
|
| void LoadContext(Register dst, int context_chain_length);
|
| @@ -813,7 +813,8 @@ class MacroAssembler: public Assembler {
|
| Address thunk_address,
|
| Operand thunk_last_arg,
|
| int stack_space,
|
| - int return_value_offset_from_ebp);
|
| + Operand return_value_operand,
|
| + Operand* context_restore_operand);
|
|
|
| // Jump to a runtime routine.
|
| void JumpToExternalReference(const ExternalReference& ext);
|
| @@ -896,6 +897,17 @@ class MacroAssembler: public Assembler {
|
| // ---------------------------------------------------------------------------
|
| // String utilities.
|
|
|
| + // Generate code to do a lookup in the number string cache. If the number in
|
| + // the register object is found in the cache the generated code falls through
|
| + // with the result in the result register. The object and the result register
|
| + // can be the same. If the number is not found in the cache the code jumps to
|
| + // the label not_found with only the content of register object unchanged.
|
| + void LookupNumberStringCache(Register object,
|
| + Register result,
|
| + Register scratch1,
|
| + Register scratch2,
|
| + Label* not_found);
|
| +
|
| // Check whether the instance type represents a flat ASCII string. Jump to the
|
| // label if not. If the instance type can be scratched specify same register
|
| // for both instance type and scratch.
|
| @@ -963,7 +975,7 @@ class MacroAssembler: public Assembler {
|
| void EnterExitFramePrologue();
|
| void EnterExitFrameEpilogue(int argc, bool save_doubles);
|
|
|
| - void LeaveExitFrameEpilogue();
|
| + void LeaveExitFrameEpilogue(bool restore_context);
|
|
|
| // Allocation support helpers.
|
| void LoadAllocationTopHelper(Register result,
|
|
|