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

Side by Side Diff: runtime/vm/dart_api_impl.cc

Issue 1659553002: Fix windows build compilation error. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "include/dart_api.h" 5 #include "include/dart_api.h"
6 #include "include/dart_mirrors_api.h" 6 #include "include/dart_mirrors_api.h"
7 #include "include/dart_native_api.h" 7 #include "include/dart_native_api.h"
8 8
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "lib/stacktrace.h" 10 #include "lib/stacktrace.h"
(...skipping 1529 matching lines...) Expand 10 before | Expand all | Expand 10 after
1540 Dart_ExitIsolate(); 1540 Dart_ExitIsolate();
1541 RunLoopData data; 1541 RunLoopData data;
1542 data.monitor = &monitor; 1542 data.monitor = &monitor;
1543 data.done = false; 1543 data.done = false;
1544 I->message_handler()->Run( 1544 I->message_handler()->Run(
1545 Dart::thread_pool(), 1545 Dart::thread_pool(),
1546 NULL, RunLoopDone, reinterpret_cast<uword>(&data)); 1546 NULL, RunLoopDone, reinterpret_cast<uword>(&data));
1547 while (!data.done) { 1547 while (!data.done) {
1548 ml.Wait(); 1548 ml.Wait();
1549 } 1549 }
1550 Dart_EnterIsolate(Api::CastIsolate(I)); 1550 ::Dart_EnterIsolate(Api::CastIsolate(I));
1551 } 1551 }
1552 if (I->object_store()->sticky_error() != Object::null()) { 1552 if (I->object_store()->sticky_error() != Object::null()) {
1553 Dart_Handle error = Api::NewHandle(T, I->object_store()->sticky_error()); 1553 Dart_Handle error = Api::NewHandle(T, I->object_store()->sticky_error());
1554 I->object_store()->clear_sticky_error(); 1554 I->object_store()->clear_sticky_error();
1555 return error; 1555 return error;
1556 } 1556 }
1557 if (FLAG_print_class_table) { 1557 if (FLAG_print_class_table) {
1558 HANDLESCOPE(T); 1558 HANDLESCOPE(T);
1559 I->class_table()->Print(); 1559 I->class_table()->Print();
1560 } 1560 }
(...skipping 4451 matching lines...) Expand 10 before | Expand all | Expand 10 after
6012 return Api::Success(); 6012 return Api::Success();
6013 } 6013 }
6014 #endif // DART_PRECOMPILED_RUNTIME 6014 #endif // DART_PRECOMPILED_RUNTIME
6015 6015
6016 6016
6017 DART_EXPORT bool Dart_IsRunningPrecompiledCode() { 6017 DART_EXPORT bool Dart_IsRunningPrecompiledCode() {
6018 return Dart::IsRunningPrecompiledCode(); 6018 return Dart::IsRunningPrecompiledCode();
6019 } 6019 }
6020 6020
6021 } // namespace dart 6021 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698