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 RUNTIME_VM_NATIVE_ARGUMENTS_H_ |
6 #define VM_NATIVE_ARGUMENTS_H_ | 6 #define RUNTIME_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/simulator.h" | 11 #include "vm/simulator.h" |
12 #include "vm/stub_code.h" | 12 #include "vm/stub_code.h" |
13 | 13 |
14 namespace dart { | 14 namespace dart { |
15 | 15 |
16 DECLARE_FLAG(bool, trace_natives); | 16 DECLARE_FLAG(bool, trace_natives); |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 } | 255 } |
256 | 256 |
257 Thread* thread_; // Current thread pointer. | 257 Thread* thread_; // Current thread pointer. |
258 intptr_t argc_tag_; // Encodes argument count and invoked native call type. | 258 intptr_t argc_tag_; // Encodes argument count and invoked native call type. |
259 RawObject** argv_; // Pointer to an array of arguments to runtime call. | 259 RawObject** argv_; // Pointer to an array of arguments to runtime call. |
260 RawObject** retval_; // Pointer to the return value area. | 260 RawObject** retval_; // Pointer to the return value area. |
261 }; | 261 }; |
262 | 262 |
263 } // namespace dart | 263 } // namespace dart |
264 | 264 |
265 #endif // VM_NATIVE_ARGUMENTS_H_ | 265 #endif // RUNTIME_VM_NATIVE_ARGUMENTS_H_ |
OLD | NEW |