| OLD | NEW |
| 1 // Copyright (c) 2011, 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 "vm/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "vm/globals.h" |
| 9 | 10 |
| 10 namespace dart { | 11 namespace dart { |
| 11 | 12 |
| 12 // Forward declarations. | 13 // Forward declarations. |
| 13 class Isolate; | 14 class Isolate; |
| 14 class Object; | 15 class Object; |
| 15 class RawObject; | 16 class RawObject; |
| 16 | 17 |
| 17 | 18 |
| 18 // Class NativeArguments is used to access arguments passed in from | 19 // Class NativeArguments is used to access arguments passed in from |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 private: | 55 private: |
| 55 Isolate* isolate_; // Current isolate pointer. | 56 Isolate* isolate_; // Current isolate pointer. |
| 56 int argc_; // Number of arguments passed to the runtime call. | 57 int argc_; // Number of arguments passed to the runtime call. |
| 57 RawObject*(*argv_)[]; // Pointer to an array of arguments to runtime call. | 58 RawObject*(*argv_)[]; // Pointer to an array of arguments to runtime call. |
| 58 RawObject** retval_; // Pointer to the return value area. | 59 RawObject** retval_; // Pointer to the return value area. |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 } // namespace dart | 62 } // namespace dart |
| 62 | 63 |
| 63 #endif // VM_NATIVE_ARGUMENTS_H_ | 64 #endif // VM_NATIVE_ARGUMENTS_H_ |
| OLD | NEW |