| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_NATIVE_ARGUMENTS_H_ | 5 #ifndef VM_NATIVE_ARGUMENTS_H_ |
| 6 #define VM_NATIVE_ARGUMENTS_H_ | 6 #define VM_NATIVE_ARGUMENTS_H_ |
| 7 | 7 |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "platform/memory_sanitizer.h" | 9 #include "platform/memory_sanitizer.h" |
| 10 #include "vm/globals.h" | 10 #include "vm/globals.h" |
| 11 #include "vm/handles_impl.h" | |
| 12 #include "vm/simulator.h" | 11 #include "vm/simulator.h" |
| 13 #include "vm/stub_code.h" | 12 #include "vm/stub_code.h" |
| 14 | 13 |
| 15 namespace dart { | 14 namespace dart { |
| 16 | 15 |
| 17 DECLARE_FLAG(bool, trace_natives); | 16 DECLARE_FLAG(bool, trace_natives); |
| 18 | 17 |
| 19 // Forward declarations. | 18 // Forward declarations. |
| 20 class BootstrapNatives; | 19 class BootstrapNatives; |
| 21 class Object; | 20 class Object; |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 | 253 |
| 255 Thread* thread_; // Current thread pointer. | 254 Thread* thread_; // Current thread pointer. |
| 256 intptr_t argc_tag_; // Encodes argument count and invoked native call type. | 255 intptr_t argc_tag_; // Encodes argument count and invoked native call type. |
| 257 RawObject** argv_; // Pointer to an array of arguments to runtime call. | 256 RawObject** argv_; // Pointer to an array of arguments to runtime call. |
| 258 RawObject** retval_; // Pointer to the return value area. | 257 RawObject** retval_; // Pointer to the return value area. |
| 259 }; | 258 }; |
| 260 | 259 |
| 261 } // namespace dart | 260 } // namespace dart |
| 262 | 261 |
| 263 #endif // VM_NATIVE_ARGUMENTS_H_ | 262 #endif // VM_NATIVE_ARGUMENTS_H_ |
| OLD | NEW |