Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: test/cctest/compiler/test-branch-combine.cc

Issue 1282763002: [turbofan] Drop V8_TURBOFAN_BACKEND and V8_TURBOFAN_TARGET defines. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "test/cctest/cctest.h" 7 #include "test/cctest/cctest.h"
8 #include "test/cctest/compiler/codegen-tester.h" 8 #include "test/cctest/compiler/codegen-tester.h"
9 #include "test/cctest/compiler/value-helper.h" 9 #include "test/cctest/compiler/value-helper.h"
10 10
11 #if V8_TURBOFAN_TARGET
12
13 using namespace v8::internal; 11 using namespace v8::internal;
14 using namespace v8::internal::compiler; 12 using namespace v8::internal::compiler;
15 13
16 typedef RawMachineAssembler::Label MLabel; 14 typedef RawMachineAssembler::Label MLabel;
17 15
18 static IrOpcode::Value int32cmp_opcodes[] = { 16 static IrOpcode::Value int32cmp_opcodes[] = {
19 IrOpcode::kWord32Equal, IrOpcode::kInt32LessThan, 17 IrOpcode::kWord32Equal, IrOpcode::kInt32LessThan,
20 IrOpcode::kInt32LessThanOrEqual, IrOpcode::kUint32LessThan, 18 IrOpcode::kInt32LessThanOrEqual, IrOpcode::kUint32LessThan,
21 IrOpcode::kUint32LessThanOrEqual}; 19 IrOpcode::kUint32LessThanOrEqual};
22 20
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 invert ? (cmp.Float64Compare(input_a, input_b) ? ne_constant 450 invert ? (cmp.Float64Compare(input_a, input_b) ? ne_constant
453 : eq_constant) 451 : eq_constant)
454 : (cmp.Float64Compare(input_a, input_b) ? eq_constant 452 : (cmp.Float64Compare(input_a, input_b) ? eq_constant
455 : ne_constant); 453 : ne_constant);
456 CHECK_EQ(expected, m.Call()); 454 CHECK_EQ(expected, m.Call());
457 } 455 }
458 } 456 }
459 } 457 }
460 } 458 }
461 } 459 }
462 #endif // V8_TURBOFAN_TARGET
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-basic-block-profiler.cc ('k') | test/cctest/compiler/test-changes-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698