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

Unified Diff: runtime/vm/simulator_mips.cc

Issue 661413006: Fix SIMARM64 and SIMMIPS builds: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 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_arm64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/simulator_mips.cc
===================================================================
--- runtime/vm/simulator_mips.cc (revision 41332)
+++ runtime/vm/simulator_mips.cc (working copy)
@@ -957,7 +957,7 @@
void Simulator::SetExclusiveAccess(uword addr) {
Isolate* isolate = Isolate::Current();
ASSERT(isolate != NULL);
- ASSERT(exclusive_access_lock_->Owner() == isolate);
+ DEBUG_ASSERT(exclusive_access_lock_->Owner() == isolate);
int i = 0;
// Find an entry for this isolate in the exclusive access state.
while ((i < kNumAddressTags) &&
@@ -981,7 +981,7 @@
Isolate* isolate = Isolate::Current();
ASSERT(isolate != NULL);
ASSERT(addr != 0);
- ASSERT(exclusive_access_lock_->Owner() == isolate);
+ DEBUG_ASSERT(exclusive_access_lock_->Owner() == isolate);
bool result = false;
for (int i = 0; i < kNumAddressTags; i++) {
if (exclusive_access_state_[i].isolate == isolate) {
« no previous file with comments | « runtime/vm/simulator_arm64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698