OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_CCTEST_COMPILER_CALL_TESTER_H_ | 5 #ifndef V8_CCTEST_COMPILER_CALL_TESTER_H_ |
6 #define V8_CCTEST_COMPILER_CALL_TESTER_H_ | 6 #define V8_CCTEST_COMPILER_CALL_TESTER_H_ |
7 | 7 |
8 #include "src/v8.h" | |
9 | |
10 #include "src/simulator.h" | 8 #include "src/simulator.h" |
11 | |
12 #include "test/cctest/compiler/c-signature.h" | 9 #include "test/cctest/compiler/c-signature.h" |
13 | 10 |
14 #if V8_TARGET_ARCH_IA32 | 11 #if V8_TARGET_ARCH_IA32 |
15 #if __GNUC__ | 12 #if __GNUC__ |
16 #define V8_CDECL __attribute__((cdecl)) | 13 #define V8_CDECL __attribute__((cdecl)) |
17 #else | 14 #else |
18 #define V8_CDECL __cdecl | 15 #define V8_CDECL __cdecl |
19 #endif | 16 #endif |
20 #else | 17 #else |
21 #define V8_CDECL | 18 #define V8_CDECL |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 private: | 314 private: |
318 Handle<Code> code_; | 315 Handle<Code> code_; |
319 }; | 316 }; |
320 | 317 |
321 | 318 |
322 } // namespace compiler | 319 } // namespace compiler |
323 } // namespace internal | 320 } // namespace internal |
324 } // namespace v8 | 321 } // namespace v8 |
325 | 322 |
326 #endif // V8_CCTEST_COMPILER_CALL_TESTER_H_ | 323 #endif // V8_CCTEST_COMPILER_CALL_TESTER_H_ |
OLD | NEW |