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

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
« no previous file with comments | « runtime/vm/constants_arm.h ('k') | runtime/vm/simulator_mips.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/simulator_arm.cc
===================================================================
--- runtime/vm/simulator_arm.cc (revision 18199)
+++ 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);
+ }
}
« no previous file with comments | « runtime/vm/constants_arm.h ('k') | runtime/vm/simulator_mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698