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 |