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 "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/counters.h" | 9 #include "src/counters.h" |
10 #include "src/isolate.h" | 10 #include "src/isolate.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 return &callback_; | 42 return &callback_; |
43 #endif | 43 #endif |
44 } | 44 } |
45 ExternalCallbackScope* previous() { return previous_scope_; } | 45 ExternalCallbackScope* previous() { return previous_scope_; } |
46 inline Address scope_address(); | 46 inline Address scope_address(); |
47 | 47 |
48 private: | 48 private: |
49 Isolate* isolate_; | 49 Isolate* isolate_; |
50 Address callback_; | 50 Address callback_; |
51 ExternalCallbackScope* previous_scope_; | 51 ExternalCallbackScope* previous_scope_; |
52 RuntimeCallTimer timer_; | |
53 #ifdef USE_SIMULATOR | 52 #ifdef USE_SIMULATOR |
54 Address scope_address_; | 53 Address scope_address_; |
55 #endif | 54 #endif |
56 }; | 55 }; |
57 | 56 |
58 } // namespace internal | 57 } // namespace internal |
59 } // namespace v8 | 58 } // namespace v8 |
60 | 59 |
61 | 60 |
62 #endif // V8_VM_STATE_H_ | 61 #endif // V8_VM_STATE_H_ |
OLD | NEW |