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_X87_SIMULATOR_X87_H_ | 5 #ifndef V8_X87_SIMULATOR_X87_H_ |
6 #define V8_X87_SIMULATOR_X87_H_ | 6 #define V8_X87_SIMULATOR_X87_H_ |
7 | 7 |
8 #include "allocation.h" | 8 #include "src/allocation.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 // Since there is no simulator for the ia32 architecture the only thing we can | 13 // Since there is no simulator for the ia32 architecture the only thing we can |
14 // do is to call the entry directly. | 14 // do is to call the entry directly. |
15 #define CALL_GENERATED_CODE(entry, p0, p1, p2, p3, p4) \ | 15 #define CALL_GENERATED_CODE(entry, p0, p1, p2, p3, p4) \ |
16 (entry(p0, p1, p2, p3, p4)) | 16 (entry(p0, p1, p2, p3, p4)) |
17 | 17 |
18 | 18 |
(...skipping 20 matching lines...) Expand all Loading... |
39 static inline uintptr_t RegisterCTryCatch(uintptr_t try_catch_address) { | 39 static inline uintptr_t RegisterCTryCatch(uintptr_t try_catch_address) { |
40 return try_catch_address; | 40 return try_catch_address; |
41 } | 41 } |
42 | 42 |
43 static inline void UnregisterCTryCatch() { } | 43 static inline void UnregisterCTryCatch() { } |
44 }; | 44 }; |
45 | 45 |
46 } } // namespace v8::internal | 46 } } // namespace v8::internal |
47 | 47 |
48 #endif // V8_X87_SIMULATOR_X87_H_ | 48 #endif // V8_X87_SIMULATOR_X87_H_ |
OLD | NEW |