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

Unified Diff: test/cctest/test-code-stub-assembler.cc

Issue 2035533003: Move test/cctest/compiler/test-code-stub-assembler.cc to test/cctest directory. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/compiler/test-code-stub-assembler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-code-stub-assembler.cc
diff --git a/test/cctest/compiler/test-code-stub-assembler.cc b/test/cctest/test-code-stub-assembler.cc
similarity index 99%
rename from test/cctest/compiler/test-code-stub-assembler.cc
rename to test/cctest/test-code-stub-assembler.cc
index 37ba9e9904fa7148e3f4f15e8551fbc8d62b36af..d5991e6e10a7796d53520d9cc323a92b3123f4d5 100644
--- a/test/cctest/compiler/test-code-stub-assembler.cc
+++ b/test/cctest/test-code-stub-assembler.cc
@@ -8,8 +8,9 @@
namespace v8 {
namespace internal {
-namespace compiler {
+using compiler::FunctionTester;
+using compiler::Node;
class CodeStubAssemblerTester : public CodeStubAssembler {
public:
@@ -31,7 +32,6 @@ class CodeStubAssemblerTester : public CodeStubAssembler {
LocalContext context_;
};
-
TEST(SimpleSmiReturn) {
Isolate* isolate(CcTest::InitIsolateOnce());
VoidDescriptor descriptor(isolate);
@@ -43,7 +43,6 @@ TEST(SimpleSmiReturn) {
CHECK_EQ(37, Handle<Smi>::cast(result.ToHandleChecked())->value());
}
-
TEST(SimpleIntPtrReturn) {
Isolate* isolate(CcTest::InitIsolateOnce());
VoidDescriptor descriptor(isolate);
@@ -57,7 +56,6 @@ TEST(SimpleIntPtrReturn) {
reinterpret_cast<intptr_t>(*result.ToHandleChecked()));
}
-
TEST(SimpleDoubleReturn) {
Isolate* isolate(CcTest::InitIsolateOnce());
VoidDescriptor descriptor(isolate);
@@ -69,7 +67,6 @@ TEST(SimpleDoubleReturn) {
CHECK_EQ(0.5, Handle<HeapNumber>::cast(result.ToHandleChecked())->value());
}
-
TEST(SimpleCallRuntime1Arg) {
Isolate* isolate(CcTest::InitIsolateOnce());
VoidDescriptor descriptor(isolate);
@@ -83,7 +80,6 @@ TEST(SimpleCallRuntime1Arg) {
CHECK_EQ(0, Handle<Smi>::cast(result.ToHandleChecked())->value());
}
-
TEST(SimpleTailCallRuntime1Arg) {
Isolate* isolate(CcTest::InitIsolateOnce());
VoidDescriptor descriptor(isolate);
@@ -97,7 +93,6 @@ TEST(SimpleTailCallRuntime1Arg) {
CHECK_EQ(0, Handle<Smi>::cast(result.ToHandleChecked())->value());
}
-
TEST(SimpleCallRuntime2Arg) {
Isolate* isolate(CcTest::InitIsolateOnce());
VoidDescriptor descriptor(isolate);
@@ -112,7 +107,6 @@ TEST(SimpleCallRuntime2Arg) {
CHECK_EQ(16, Handle<Smi>::cast(result.ToHandleChecked())->value());
}
-
TEST(SimpleTailCallRuntime2Arg) {
Isolate* isolate(CcTest::InitIsolateOnce());
VoidDescriptor descriptor(isolate);
@@ -389,6 +383,5 @@ TEST(TestToConstant) {
CHECK(!m.ToInt64Constant(a, value64));
}
-} // namespace compiler
} // namespace internal
} // namespace v8
« no previous file with comments | « test/cctest/compiler/test-code-stub-assembler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698