Index: test/cctest/test-assembler-x64.cc |
=================================================================== |
--- test/cctest/test-assembler-x64.cc (revision 7267) |
+++ test/cctest/test-assembler-x64.cc (working copy) |
@@ -86,6 +86,7 @@ |
TEST(AssemblerX64ReturnOperation) { |
+ OS::Setup(); |
// Allocate an executable page of memory. |
size_t actual_size; |
byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, |
@@ -107,6 +108,7 @@ |
} |
TEST(AssemblerX64StackOperations) { |
+ OS::Setup(); |
// Allocate an executable page of memory. |
size_t actual_size; |
byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, |
@@ -138,6 +140,7 @@ |
} |
TEST(AssemblerX64ArithmeticOperations) { |
+ OS::Setup(); |
// Allocate an executable page of memory. |
size_t actual_size; |
byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, |
@@ -159,6 +162,7 @@ |
} |
TEST(AssemblerX64ImulOperation) { |
+ OS::Setup(); |
// Allocate an executable page of memory. |
size_t actual_size; |
byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, |
@@ -186,6 +190,7 @@ |
} |
TEST(AssemblerX64MemoryOperands) { |
+ OS::Setup(); |
// Allocate an executable page of memory. |
size_t actual_size; |
byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, |
@@ -219,6 +224,7 @@ |
} |
TEST(AssemblerX64ControlFlow) { |
+ OS::Setup(); |
// Allocate an executable page of memory. |
size_t actual_size; |
byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, |
@@ -247,6 +253,7 @@ |
} |
TEST(AssemblerX64LoopImmediates) { |
+ OS::Setup(); |
// Allocate an executable page of memory. |
size_t actual_size; |
byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize, |