| 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 "src/vm-state.h" | 8 #include "src/vm-state.h" |
| 9 #include "src/log.h" | 9 #include "src/log.h" |
| 10 #include "src/simulator.h" | 10 #include "src/simulator.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 Address ExternalCallbackScope::scope_address() { | 72 Address ExternalCallbackScope::scope_address() { |
| 73 #ifdef USE_SIMULATOR | 73 #ifdef USE_SIMULATOR |
| 74 return scope_address_; | 74 return scope_address_; |
| 75 #else | 75 #else |
| 76 return reinterpret_cast<Address>(this); | 76 return reinterpret_cast<Address>(this); |
| 77 #endif | 77 #endif |
| 78 } | 78 } |
| 79 | 79 |
| 80 | 80 |
| 81 } } // namespace v8::internal | 81 } // namespace internal |
| 82 } // namespace v8 |
| 82 | 83 |
| 83 #endif // V8_VM_STATE_INL_H_ | 84 #endif // V8_VM_STATE_INL_H_ |
| OLD | NEW |