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

Side by Side Diff: test/cctest/compiler/test-js-typed-lowering.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 "src/compiler/js-graph.h" 8 #include "src/compiler/js-graph.h"
9 #include "src/compiler/js-typed-lowering.h" 9 #include "src/compiler/js-typed-lowering.h"
10 #include "src/compiler/machine-operator.h" 10 #include "src/compiler/machine-operator.h"
11 #include "src/compiler/node-properties.h" 11 #include "src/compiler/node-properties.h"
12 #include "src/compiler/opcodes.h" 12 #include "src/compiler/opcodes.h"
13 #include "src/compiler/operator-properties.h" 13 #include "src/compiler/operator-properties.h"
14 #include "src/compiler/simplified-operator.h" 14 #include "src/compiler/simplified-operator.h"
15 #include "src/compiler/typer.h" 15 #include "src/compiler/typer.h"
16 #include "test/cctest/cctest.h" 16 #include "test/cctest/cctest.h"
17 17
18 using namespace v8::internal; 18 namespace v8 {
19 using namespace v8::internal::compiler; 19 namespace internal {
20 namespace compiler {
20 21
21 #ifndef TEST_WITH_STRONG 22 #ifndef TEST_WITH_STRONG
22 #define TEST_WITH_STRONG(Name) \ 23 #define TEST_WITH_STRONG(Name) \
23 static void Test##Name(); \ 24 static void Test##Name(); \
24 static void TestWithStrong##Name(LanguageMode language_mode); \ 25 static void TestWithStrong##Name(LanguageMode language_mode); \
25 CcTest register_test_##Name(Test##Name, __FILE__, #Name, NULL, true, true); \ 26 CcTest register_test_##Name(Test##Name, __FILE__, #Name, NULL, true, true); \
26 static void Test##Name() { \ 27 static void Test##Name() { \
27 TestWithStrong##Name(LanguageMode::SLOPPY); \ 28 TestWithStrong##Name(LanguageMode::SLOPPY); \
28 TestWithStrong##Name(LanguageMode::STRONG); \ 29 TestWithStrong##Name(LanguageMode::STRONG); \
29 } \ 30 } \
(...skipping 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 CHECK_EQ(p1, r->InputAt(0)); 1256 CHECK_EQ(p1, r->InputAt(0));
1256 CHECK_EQ(p0, r->InputAt(1)); 1257 CHECK_EQ(p0, r->InputAt(1));
1257 } else { 1258 } else {
1258 CHECK_EQ(p0, r->InputAt(0)); 1259 CHECK_EQ(p0, r->InputAt(0));
1259 CHECK_EQ(p1, r->InputAt(1)); 1260 CHECK_EQ(p1, r->InputAt(1));
1260 } 1261 }
1261 } 1262 }
1262 } 1263 }
1263 } 1264 }
1264 } 1265 }
1266
1267 } // namespace compiler
1268 } // namespace internal
1269 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-js-context-specialization.cc ('k') | test/cctest/compiler/test-linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698