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

Unified Diff: runtime/vm/simulator_mips.h

Issue 12381034: Second codegen test passing on ARM (simulated). (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 19404)
+++ runtime/vm/simulator_mips.h (working copy)
@@ -16,6 +16,8 @@
#error Do not include simulator_mips.h directly; use simulator.h.
#endif
+#include "vm/constants_mips.h"
+
namespace dart {
class Simulator {
@@ -29,6 +31,10 @@
// current isolate
static Simulator* Current();
+ // Accessors for register state.
+ void set_register(Register reg, int32_t value);
+ int32_t get_register(Register reg) const;
+
// Accessor to the internal simulator stack top.
uword StackTop() const;
« 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