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

Unified Diff: runtime/vm/assembler_macros_arm.h

Issue 12335102: Compile and simulate first dart function on arm generated from ast. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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: runtime/vm/assembler_macros_arm.h
===================================================================
--- runtime/vm/assembler_macros_arm.h (revision 19074)
+++ runtime/vm/assembler_macros_arm.h (working copy)
@@ -37,15 +37,17 @@
// enable easy access to the RawInstruction object of code corresponding
// to this frame.
static void EnterDartFrame(Assembler* assembler, intptr_t frame_size);
+ static void LeaveDartFrame(Assembler* assembler);
// Set up a stub frame so that the stack traversal code can easily identify
// a stub frame.
static void EnterStubFrame(Assembler* assembler);
+ static void LeaveStubFrame(Assembler* assembler);
// Instruction pattern from entrypoint is used in dart frame prologs
// to set up the frame and save a PC which can be used to figure out the
// RawInstruction object corresponding to the code running in the frame.
- static const intptr_t kOffsetOfSavedPCfromEntrypoint = -1; // UNIMPLEMENTED.
+ static const intptr_t kOffsetOfSavedPCfromEntrypoint = Instr::kPCReadOffset;
};
} // namespace dart.

Powered by Google App Engine
This is Rietveld 408576698