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_INL_H_ | 5 #ifndef V8_VM_STATE_INL_H_ |
6 #define V8_VM_STATE_INL_H_ | 6 #define V8_VM_STATE_INL_H_ |
7 | 7 |
8 #include "vm-state.h" | 8 #include "src/vm-state.h" |
9 #include "log.h" | 9 #include "src/log.h" |
10 #include "simulator.h" | 10 #include "src/simulator.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 // | 15 // |
16 // VMState class implementation. A simple stack of VM states held by the | 16 // VMState class implementation. A simple stack of VM states held by the |
17 // logger and partially threaded through the call stack. States are pushed by | 17 // logger and partially threaded through the call stack. States are pushed by |
18 // VMState construction and popped by destruction. | 18 // VMState construction and popped by destruction. |
19 // | 19 // |
20 inline const char* StateToString(StateTag state) { | 20 inline const char* StateToString(StateTag state) { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 return scope_address_; | 76 return scope_address_; |
77 #else | 77 #else |
78 return reinterpret_cast<Address>(this); | 78 return reinterpret_cast<Address>(this); |
79 #endif | 79 #endif |
80 } | 80 } |
81 | 81 |
82 | 82 |
83 } } // namespace v8::internal | 83 } } // namespace v8::internal |
84 | 84 |
85 #endif // V8_VM_STATE_INL_H_ | 85 #endif // V8_VM_STATE_INL_H_ |
OLD | NEW |