| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 #ifndef VM_DART_API_IMPL_H_ | 5 #ifndef RUNTIME_VM_DART_API_IMPL_H_ |
| 6 #define VM_DART_API_IMPL_H_ | 6 #define RUNTIME_VM_DART_API_IMPL_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/native_arguments.h" | 9 #include "vm/native_arguments.h" |
| 10 #include "vm/object.h" | 10 #include "vm/object.h" |
| 11 #include "vm/safepoint.h" | 11 #include "vm/safepoint.h" |
| 12 | 12 |
| 13 namespace dart { | 13 namespace dart { |
| 14 | 14 |
| 15 class ApiLocalScope; | 15 class ApiLocalScope; |
| 16 class ApiState; | 16 class ApiState; |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 if (!isolate->compilation_allowed()) { \ | 296 if (!isolate->compilation_allowed()) { \ |
| 297 return Api::NewError("%s: Cannot load after Dart_Precompile", \ | 297 return Api::NewError("%s: Cannot load after Dart_Precompile", \ |
| 298 CURRENT_FUNC); \ | 298 CURRENT_FUNC); \ |
| 299 } \ | 299 } \ |
| 300 | 300 |
| 301 #define ASSERT_CALLBACK_STATE(thread) \ | 301 #define ASSERT_CALLBACK_STATE(thread) \ |
| 302 ASSERT(thread->no_callback_scope_depth() == 0) | 302 ASSERT(thread->no_callback_scope_depth() == 0) |
| 303 | 303 |
| 304 } // namespace dart. | 304 } // namespace dart. |
| 305 | 305 |
| 306 #endif // VM_DART_API_IMPL_H_ | 306 #endif // RUNTIME_VM_DART_API_IMPL_H_ |
| OLD | NEW |