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

Unified Diff: runtime/vm/simulator_arm.cc

Issue 12224024: Generate first ARM assembler test and execute (simulate) it. (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/simulator_arm.cc
===================================================================
--- runtime/vm/simulator_arm.cc (revision 18162)
+++ runtime/vm/simulator_arm.cc (working copy)
@@ -37,11 +37,11 @@
class StatsCounter {
public:
explicit StatsCounter(const char* name) {
- UNIMPLEMENTED();
+ // UNIMPLEMENTED();
}
void Increment() {
- UNIMPLEMENTED();
+ // UNIMPLEMENTED();
}
};
@@ -651,7 +651,10 @@
Simulator::~Simulator() {
delete[] stack_;
- Isolate::Current()->set_simulator(NULL);
+ Isolate* isolate = Isolate::Current();
+ if (isolate != NULL) {
+ isolate->set_simulator(NULL);
+ }
}

Powered by Google App Engine
This is Rietveld 408576698