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

Unified Diff: src/builtins-arm.cc

Issue 4035: Refactored the code for entering and leaving exit frames (calls... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 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
« no previous file with comments | « no previous file | src/builtins-ia32.cc » ('j') | src/codegen-arm.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins-arm.cc
===================================================================
--- src/builtins-arm.cc (revision 353)
+++ src/builtins-arm.cc (working copy)
@@ -169,7 +169,7 @@
// sp[1]: constructor function
// sp[2]: number of arguments (smi-tagged)
__ ldr(r1, MemOperand(sp, 2 * kPointerSize));
- __ ExitInternalFrame();
+ __ LeaveInternalFrame();
__ add(sp, sp, Operand(r1, LSL, kPointerSizeLog2 - 1));
__ add(sp, sp, Operand(kPointerSize));
__ mov(pc, Operand(lr));
@@ -241,7 +241,7 @@
// Exit the JS frame and remove the parameters (except function), and return.
// Respect ABI stack constraint.
- __ ExitInternalFrame();
+ __ LeaveInternalFrame();
__ mov(pc, lr);
// r0: result
@@ -338,7 +338,7 @@
__ pop(r0);
__ mov(r0, Operand(r0, ASR, kSmiTagSize));
- __ ExitInternalFrame();
+ __ LeaveInternalFrame();
__ b(&patch_receiver);
// Use the global object from the called function as the receiver.
@@ -530,7 +530,7 @@
__ InvokeFunction(r1, actual, CALL_FUNCTION);
// Tear down the internal frame and remove function, receiver and args.
- __ ExitInternalFrame();
+ __ LeaveInternalFrame();
__ add(sp, sp, Operand(3 * kPointerSize));
__ mov(pc, lr);
}
« no previous file with comments | « no previous file | src/builtins-ia32.cc » ('j') | src/codegen-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698