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 namespace v8 { | 20 namespace v8 { |
21 namespace internal { | 21 namespace internal { |
22 namespace compiler { | 22 namespace compiler { |
23 | 23 |
24 typedef RawMachineAssembler::Label MLabel; | |
25 | |
26 #if V8_TARGET_ARCH_ARM64 | 24 #if V8_TARGET_ARCH_ARM64 |
27 // TODO(titzer): fix native stack parameters on arm64 | 25 // TODO(titzer): fix native stack parameters on arm64 |
28 #define DISABLE_NATIVE_STACK_PARAMS true | 26 #define DISABLE_NATIVE_STACK_PARAMS true |
29 #else | 27 #else |
30 #define DISABLE_NATIVE_STACK_PARAMS false | 28 #define DISABLE_NATIVE_STACK_PARAMS false |
31 #endif | 29 #endif |
32 | 30 |
33 namespace { | 31 namespace { |
34 typedef float float32; | 32 typedef float float32; |
35 typedef double float64; | 33 typedef double float64; |
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1164 | 1162 |
1165 | 1163 |
1166 TEST(MixedParams_0) { MixedParamTest(0); } | 1164 TEST(MixedParams_0) { MixedParamTest(0); } |
1167 TEST(MixedParams_1) { MixedParamTest(1); } | 1165 TEST(MixedParams_1) { MixedParamTest(1); } |
1168 TEST(MixedParams_2) { MixedParamTest(2); } | 1166 TEST(MixedParams_2) { MixedParamTest(2); } |
1169 TEST(MixedParams_3) { MixedParamTest(3); } | 1167 TEST(MixedParams_3) { MixedParamTest(3); } |
1170 | 1168 |
1171 } // namespace compiler | 1169 } // namespace compiler |
1172 } // namespace internal | 1170 } // namespace internal |
1173 } // namespace v8 | 1171 } // namespace v8 |
OLD | NEW |