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

Unified Diff: runtime/vm/simulator_mips.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
« no previous file with comments | « runtime/vm/simulator_arm.cc ('k') | runtime/vm/simulator_mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/simulator_mips.h
===================================================================
--- runtime/vm/simulator_mips.h (revision 19151)
+++ runtime/vm/simulator_mips.h (working copy)
@@ -20,6 +20,8 @@
class Simulator {
public:
+ static const uword kSimulatorStackUnderflowSize = 64;
+
Simulator();
~Simulator();
@@ -27,6 +29,9 @@
// current isolate
static Simulator* Current();
+ // Accessor to the internal simulator stack top.
+ uword StackTop() const;
+
// Call on program start.
static void InitOnce();
@@ -39,6 +44,9 @@
int32_t parameter2,
int32_t parameter3,
int32_t parameter4);
+
+ private:
+ char* stack_;
};
} // namespace dart
« no previous file with comments | « runtime/vm/simulator_arm.cc ('k') | runtime/vm/simulator_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698