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

Unified Diff: runtime/vm/code_generator.cc

Issue 1290893006: - Clarify the order of setting the interrupt bit and posting a message in (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Review comments. Created 5 years, 4 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 | « no previous file | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator.cc
diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc
index ee84961aff4f4b08291ebacc6ce309a40cc83d52..6a5cc5b308c70dc160345c091178acfca2d654ed 100644
--- a/runtime/vm/code_generator.cc
+++ b/runtime/vm/code_generator.cc
@@ -1377,7 +1377,7 @@ DEFINE_RUNTIME_ENTRY(StackOverflow, 0) {
Debugger::SignalIsolateInterrupted();
Dart_IsolateInterruptCallback callback = isolate->InterruptCallback();
- if (callback) {
+ if (callback != NULL) {
if ((*callback)()) {
return;
} else {
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698