OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_X64_SIMULATOR_X64_H_ | 5 #ifndef V8_X64_SIMULATOR_X64_H_ |
6 #define V8_X64_SIMULATOR_X64_H_ | 6 #define V8_X64_SIMULATOR_X64_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 23 matching lines...) Expand all Loading... |
34 return c_limit; | 34 return c_limit; |
35 } | 35 } |
36 | 36 |
37 static inline uintptr_t RegisterCTryCatch(uintptr_t try_catch_address) { | 37 static inline uintptr_t RegisterCTryCatch(uintptr_t try_catch_address) { |
38 return try_catch_address; | 38 return try_catch_address; |
39 } | 39 } |
40 | 40 |
41 static inline void UnregisterCTryCatch() { } | 41 static inline void UnregisterCTryCatch() { } |
42 }; | 42 }; |
43 | 43 |
44 } } // namespace v8::internal | 44 } // namespace internal |
| 45 } // namespace v8 |
45 | 46 |
46 #endif // V8_X64_SIMULATOR_X64_H_ | 47 #endif // V8_X64_SIMULATOR_X64_H_ |
OLD | NEW |