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

Side by Side Diff: test/cctest/compiler/codegen-tester.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
« no previous file with comments | « no previous file | test/cctest/compiler/test-basic-block-profiler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "test/cctest/cctest.h" 5 #include "test/cctest/cctest.h"
6 #include "test/cctest/compiler/codegen-tester.h" 6 #include "test/cctest/compiler/codegen-tester.h"
7 #include "test/cctest/compiler/value-helper.h" 7 #include "test/cctest/compiler/value-helper.h"
8 8
9 using namespace v8::internal; 9 namespace v8 {
10 using namespace v8::internal::compiler; 10 namespace internal {
11 namespace compiler {
11 12
12 TEST(CompareWrapper) { 13 TEST(CompareWrapper) {
13 // Who tests the testers? 14 // Who tests the testers?
14 // If CompareWrapper is broken, then test expectations will be broken. 15 // If CompareWrapper is broken, then test expectations will be broken.
15 CompareWrapper wWord32Equal(IrOpcode::kWord32Equal); 16 CompareWrapper wWord32Equal(IrOpcode::kWord32Equal);
16 CompareWrapper wInt32LessThan(IrOpcode::kInt32LessThan); 17 CompareWrapper wInt32LessThan(IrOpcode::kInt32LessThan);
17 CompareWrapper wInt32LessThanOrEqual(IrOpcode::kInt32LessThanOrEqual); 18 CompareWrapper wInt32LessThanOrEqual(IrOpcode::kInt32LessThanOrEqual);
18 CompareWrapper wUint32LessThan(IrOpcode::kUint32LessThan); 19 CompareWrapper wUint32LessThan(IrOpcode::kUint32LessThan);
19 CompareWrapper wUint32LessThanOrEqual(IrOpcode::kUint32LessThanOrEqual); 20 CompareWrapper wUint32LessThanOrEqual(IrOpcode::kUint32LessThanOrEqual);
20 21
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 } 562 }
562 563
563 { 564 {
564 RawMachineAssemblerTester<int32_t> m; 565 RawMachineAssemblerTester<int32_t> m;
565 Float64BinopTester bt(&m); 566 Float64BinopTester bt(&m);
566 bt.AddReturn(bt.param1); 567 bt.AddReturn(bt.param1);
567 568
568 FOR_FLOAT64_INPUTS(i) { CheckDoubleEq(*i, bt.call(-11.25, *i)); } 569 FOR_FLOAT64_INPUTS(i) { CheckDoubleEq(*i, bt.call(-11.25, *i)); }
569 } 570 }
570 } 571 }
572
573 } // namespace compiler
574 } // namespace internal
575 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | test/cctest/compiler/test-basic-block-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698