Index: test/cctest/test-assembler-ia32.cc |
diff --git a/test/cctest/test-assembler-ia32.cc b/test/cctest/test-assembler-ia32.cc |
index 694bd57bd163654c1d44eb9a370e98cffaad8be9..22fc5e82f67361c3e205fb480afa7b035787924c 100644 |
--- a/test/cctest/test-assembler-ia32.cc |
+++ b/test/cctest/test-assembler-ia32.cc |
@@ -61,7 +61,7 @@ TEST(AssemblerIa320) { |
v8::HandleScope scope; |
v8::internal::byte buffer[256]; |
- Assembler assm(buffer, sizeof buffer); |
+ Assembler assm(Isolate::Current(), buffer, sizeof buffer); |
__ mov(eax, Operand(esp, 4)); |
__ add(eax, Operand(esp, 8)); |
@@ -89,7 +89,7 @@ TEST(AssemblerIa321) { |
v8::HandleScope scope; |
v8::internal::byte buffer[256]; |
- Assembler assm(buffer, sizeof buffer); |
+ Assembler assm(Isolate::Current(), buffer, sizeof buffer); |
Label L, C; |
__ mov(edx, Operand(esp, 4)); |
@@ -127,7 +127,7 @@ TEST(AssemblerIa322) { |
v8::HandleScope scope; |
v8::internal::byte buffer[256]; |
- Assembler assm(buffer, sizeof buffer); |
+ Assembler assm(Isolate::Current(), buffer, sizeof buffer); |
Label L, C; |
__ mov(edx, Operand(esp, 4)); |
@@ -167,15 +167,15 @@ TEST(AssemblerIa322) { |
typedef int (*F3)(float x); |
TEST(AssemblerIa323) { |
- if (!Isolate::Current()->cpu_features()->IsSupported(SSE2)) return; |
+ if (!CpuFeatures::IsSupported(SSE2)) return; |
InitializeVM(); |
v8::HandleScope scope; |
v8::internal::byte buffer[256]; |
- Assembler assm(buffer, sizeof buffer); |
+ Assembler assm(Isolate::Current(), buffer, sizeof buffer); |
- CHECK(Isolate::Current()->cpu_features()->IsSupported(SSE2)); |
+ CHECK(CpuFeatures::IsSupported(SSE2)); |
{ CpuFeatures::Scope fscope(SSE2); |
__ cvttss2si(eax, Operand(esp, 4)); |
__ ret(0); |
@@ -202,15 +202,15 @@ TEST(AssemblerIa323) { |
typedef int (*F4)(double x); |
TEST(AssemblerIa324) { |
- if (!Isolate::Current()->cpu_features()->IsSupported(SSE2)) return; |
+ if (!CpuFeatures::IsSupported(SSE2)) return; |
InitializeVM(); |
v8::HandleScope scope; |
v8::internal::byte buffer[256]; |
- Assembler assm(buffer, sizeof buffer); |
+ Assembler assm(Isolate::Current(), buffer, sizeof buffer); |
- CHECK(Isolate::Current()->cpu_features()->IsSupported(SSE2)); |
+ CHECK(CpuFeatures::IsSupported(SSE2)); |
CpuFeatures::Scope fscope(SSE2); |
__ cvttsd2si(eax, Operand(esp, 4)); |
__ ret(0); |
@@ -239,7 +239,7 @@ TEST(AssemblerIa325) { |
v8::HandleScope scope; |
v8::internal::byte buffer[256]; |
- Assembler assm(buffer, sizeof buffer); |
+ Assembler assm(Isolate::Current(), buffer, sizeof buffer); |
__ mov(eax, Operand(reinterpret_cast<intptr_t>(&baz), RelocInfo::NONE)); |
__ ret(0); |
@@ -259,14 +259,14 @@ TEST(AssemblerIa325) { |
typedef double (*F5)(double x, double y); |
TEST(AssemblerIa326) { |
- if (!Isolate::Current()->cpu_features()->IsSupported(SSE2)) return; |
+ if (!CpuFeatures::IsSupported(SSE2)) return; |
InitializeVM(); |
v8::HandleScope scope; |
- CHECK(Isolate::Current()->cpu_features()->IsSupported(SSE2)); |
+ CHECK(CpuFeatures::IsSupported(SSE2)); |
CpuFeatures::Scope fscope(SSE2); |
v8::internal::byte buffer[256]; |
- Assembler assm(buffer, sizeof buffer); |
+ Assembler assm(Isolate::Current(), buffer, sizeof buffer); |
__ movdbl(xmm0, Operand(esp, 1 * kPointerSize)); |
__ movdbl(xmm1, Operand(esp, 3 * kPointerSize)); |
@@ -305,14 +305,14 @@ TEST(AssemblerIa326) { |
typedef double (*F6)(int x); |
TEST(AssemblerIa328) { |
- if (!Isolate::Current()->cpu_features()->IsSupported(SSE2)) return; |
+ if (!CpuFeatures::IsSupported(SSE2)) return; |
InitializeVM(); |
v8::HandleScope scope; |
- CHECK(Isolate::Current()->cpu_features()->IsSupported(SSE2)); |
+ CHECK(CpuFeatures::IsSupported(SSE2)); |
CpuFeatures::Scope fscope(SSE2); |
v8::internal::byte buffer[256]; |
- Assembler assm(buffer, sizeof buffer); |
+ Assembler assm(Isolate::Current(), buffer, sizeof buffer); |
__ mov(eax, Operand(esp, 4)); |
__ cvtsi2sd(xmm0, Operand(eax)); |
// Copy xmm0 to st(0) using eight bytes of stack. |