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

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

Issue 1424943004: Move compiler cctests into v8::internal::compiler namespace. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 // 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 "test/cctest/cctest.h" 8 #include "test/cctest/cctest.h"
9 #include "test/cctest/compiler/codegen-tester.h" 9 #include "test/cctest/compiler/codegen-tester.h"
10 #include "test/cctest/compiler/value-helper.h" 10 #include "test/cctest/compiler/value-helper.h"
11 11
12 using namespace v8::internal; 12 namespace v8 {
13 using namespace v8::internal::compiler; 13 namespace internal {
14 namespace compiler {
14 15
15 typedef RawMachineAssembler::Label MLabel; 16 typedef RawMachineAssembler::Label MLabel;
16 17
17 static IrOpcode::Value int32cmp_opcodes[] = { 18 static IrOpcode::Value int32cmp_opcodes[] = {
18 IrOpcode::kWord32Equal, IrOpcode::kInt32LessThan, 19 IrOpcode::kWord32Equal, IrOpcode::kInt32LessThan,
19 IrOpcode::kInt32LessThanOrEqual, IrOpcode::kUint32LessThan, 20 IrOpcode::kInt32LessThanOrEqual, IrOpcode::kUint32LessThan,
20 IrOpcode::kUint32LessThanOrEqual}; 21 IrOpcode::kUint32LessThanOrEqual};
21 22
22 23
23 TEST(BranchCombineWord32EqualZero_1) { 24 TEST(BranchCombineWord32EqualZero_1) {
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 invert ? (cmp.Float64Compare(input_a, input_b) ? ne_constant 452 invert ? (cmp.Float64Compare(input_a, input_b) ? ne_constant
452 : eq_constant) 453 : eq_constant)
453 : (cmp.Float64Compare(input_a, input_b) ? eq_constant 454 : (cmp.Float64Compare(input_a, input_b) ? eq_constant
454 : ne_constant); 455 : ne_constant);
455 CHECK_EQ(expected, m.Call()); 456 CHECK_EQ(expected, m.Call());
456 } 457 }
457 } 458 }
458 } 459 }
459 } 460 }
460 } 461 }
462
463 } // namespace compiler
464 } // namespace internal
465 } // namespace v8
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