OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_VM_STATE_H_ | 5 #ifndef V8_VM_STATE_H_ |
6 #define V8_VM_STATE_H_ | 6 #define V8_VM_STATE_H_ |
7 | 7 |
8 #include "allocation.h" | 8 #include "src/allocation.h" |
9 #include "isolate.h" | 9 #include "src/isolate.h" |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 template <StateTag Tag> | 14 template <StateTag Tag> |
15 class VMState BASE_EMBEDDED { | 15 class VMState BASE_EMBEDDED { |
16 public: | 16 public: |
17 explicit inline VMState(Isolate* isolate); | 17 explicit inline VMState(Isolate* isolate); |
18 inline ~VMState(); | 18 inline ~VMState(); |
19 | 19 |
(...skipping 18 matching lines...) Expand all Loading... |
38 ExternalCallbackScope* previous_scope_; | 38 ExternalCallbackScope* previous_scope_; |
39 #ifdef USE_SIMULATOR | 39 #ifdef USE_SIMULATOR |
40 Address scope_address_; | 40 Address scope_address_; |
41 #endif | 41 #endif |
42 }; | 42 }; |
43 | 43 |
44 } } // namespace v8::internal | 44 } } // namespace v8::internal |
45 | 45 |
46 | 46 |
47 #endif // V8_VM_STATE_H_ | 47 #endif // V8_VM_STATE_H_ |
OLD | NEW |