| Index: test/cctest/test-assembler-x64.cc
|
| ===================================================================
|
| --- test/cctest/test-assembler-x64.cc (revision 5002)
|
| +++ test/cctest/test-assembler-x64.cc (working copy)
|
| @@ -80,6 +80,7 @@
|
|
|
|
|
| TEST(AssemblerX64ReturnOperation) {
|
| + OS::Setup();
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
|
| @@ -101,6 +102,7 @@
|
| }
|
|
|
| TEST(AssemblerX64StackOperations) {
|
| + OS::Setup();
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
|
| @@ -132,6 +134,7 @@
|
| }
|
|
|
| TEST(AssemblerX64ArithmeticOperations) {
|
| + OS::Setup();
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
|
| @@ -153,6 +156,7 @@
|
| }
|
|
|
| TEST(AssemblerX64ImulOperation) {
|
| + OS::Setup();
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
|
| @@ -180,6 +184,7 @@
|
| }
|
|
|
| TEST(AssemblerX64MemoryOperands) {
|
| + OS::Setup();
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
|
| @@ -213,6 +218,7 @@
|
| }
|
|
|
| TEST(AssemblerX64ControlFlow) {
|
| + OS::Setup();
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
|
| @@ -241,6 +247,7 @@
|
| }
|
|
|
| TEST(AssemblerX64LoopImmediates) {
|
| + OS::Setup();
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
|
|
|