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

Unified Diff: src/arm/full-codegen-arm.cc

Issue 7084032: Add asserts and state tracking to ensure that we do not call (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 7 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/arm/full-codegen-arm.cc
===================================================================
--- src/arm/full-codegen-arm.cc (revision 8110)
+++ src/arm/full-codegen-arm.cc (working copy)
@@ -153,6 +153,11 @@
__ bind(&ok);
}
+ // Open a frame scope to indicate that there is a frame on the stack. The
+ // NONE indicates that the scope shouldn't actually generate code to set up
+ // the frame (that is done below).
+ FrameScope frame_scope(masm_, StackFrame::NONE);
Søren Thygesen Gjesse 2011/05/31 07:51:45 How about using StackFrame::JAVA_SCRIPT, and maybe
Erik Corry 2011/05/31 11:52:52 Used StackFrame::MANUAL
+
int locals_count = scope()->num_stack_slots();
__ Push(lr, fp, cp, r1);

Powered by Google App Engine
This is Rietveld 408576698