OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 // TODO(jochen): Remove this after the setting is turned on globally. | 5 // TODO(jochen): Remove this after the setting is turned on globally. |
6 #define V8_IMMINENT_DEPRECATION_WARNINGS | 6 #define V8_IMMINENT_DEPRECATION_WARNINGS |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/compiler/linkage.h" | 10 #include "src/compiler/linkage.h" |
11 #include "src/compiler/machine-type.h" | 11 #include "src/compiler/machine-type.h" |
12 #include "src/compiler/raw-machine-assembler.h" | 12 #include "src/compiler/raw-machine-assembler.h" |
13 #include "src/register-configuration.h" | 13 #include "src/register-configuration.h" |
14 | 14 |
15 #include "test/cctest/cctest.h" | 15 #include "test/cctest/cctest.h" |
16 #include "test/cctest/compiler/codegen-tester.h" | 16 #include "test/cctest/compiler/codegen-tester.h" |
17 #include "test/cctest/compiler/graph-builder-tester.h" | 17 #include "test/cctest/compiler/graph-builder-tester.h" |
18 #include "test/cctest/compiler/value-helper.h" | 18 #include "test/cctest/compiler/value-helper.h" |
19 | 19 |
20 using namespace v8::base; | 20 namespace v8 { |
21 using namespace v8::internal; | 21 namespace internal { |
22 using namespace v8::internal::compiler; | 22 namespace compiler { |
23 | 23 |
24 typedef RawMachineAssembler::Label MLabel; | 24 typedef RawMachineAssembler::Label MLabel; |
25 | 25 |
26 #if V8_TARGET_ARCH_ARM64 | 26 #if V8_TARGET_ARCH_ARM64 |
27 // TODO(titzer): fix native stack parameters on arm64 | 27 // TODO(titzer): fix native stack parameters on arm64 |
28 #define DISABLE_NATIVE_STACK_PARAMS true | 28 #define DISABLE_NATIVE_STACK_PARAMS true |
29 #else | 29 #else |
30 #define DISABLE_NATIVE_STACK_PARAMS false | 30 #define DISABLE_NATIVE_STACK_PARAMS false |
31 #endif | 31 #endif |
32 | 32 |
(...skipping 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1160 } | 1160 } |
1161 } | 1161 } |
1162 } | 1162 } |
1163 } | 1163 } |
1164 | 1164 |
1165 | 1165 |
1166 TEST(MixedParams_0) { MixedParamTest(0); } | 1166 TEST(MixedParams_0) { MixedParamTest(0); } |
1167 TEST(MixedParams_1) { MixedParamTest(1); } | 1167 TEST(MixedParams_1) { MixedParamTest(1); } |
1168 TEST(MixedParams_2) { MixedParamTest(2); } | 1168 TEST(MixedParams_2) { MixedParamTest(2); } |
1169 TEST(MixedParams_3) { MixedParamTest(3); } | 1169 TEST(MixedParams_3) { MixedParamTest(3); } |
| 1170 |
| 1171 } // namespace compiler |
| 1172 } // namespace internal |
| 1173 } // namespace v8 |
OLD | NEW |