| Index: test/cctest/test-macro-assembler-x64.cc
 | 
| ===================================================================
 | 
| --- test/cctest/test-macro-assembler-x64.cc	(revision 7267)
 | 
| +++ test/cctest/test-macro-assembler-x64.cc	(working copy)
 | 
| @@ -146,6 +146,7 @@
 | 
|  
 | 
|  // Test that we can move a Smi value literally into a register.
 | 
|  TEST(SmiMove) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
 | 
| @@ -232,7 +233,7 @@
 | 
|  
 | 
|  // Test that we can compare smis for equality (and more).
 | 
|  TEST(SmiCompare) {
 | 
| -  v8::V8::Initialize();
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -283,6 +284,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(Integer32ToSmi) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
 | 
| @@ -410,6 +412,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(Integer64PlusConstantToSmi) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
 | 
| @@ -453,6 +456,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiCheck) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
 | 
| @@ -699,6 +703,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiNeg) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -787,6 +792,7 @@
 | 
|  }
 | 
|  
 | 
|  TEST(SmiAdd) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
 | 
| @@ -975,6 +981,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiSub) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -1065,6 +1072,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiMul) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
 | 
| @@ -1169,6 +1177,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiDiv) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -1278,6 +1287,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiMod) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -1373,6 +1383,7 @@
 | 
|  }
 | 
|  
 | 
|  TEST(SmiIndex) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -1441,6 +1452,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiSelectNonSmi) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -1519,6 +1531,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiAnd) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -1599,6 +1612,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiOr) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -1681,6 +1695,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiXor) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -1747,6 +1762,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiNot) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -1842,6 +1858,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiShiftLeft) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -1947,6 +1964,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiShiftLogicalRight) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -2015,6 +2033,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(SmiShiftArithmeticRight) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -2078,7 +2097,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(PositiveSmiTimesPowerOfTwoToInteger64) {
 | 
| -  v8::V8::Initialize();
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    // Allocate an executable page of memory.
 | 
|    size_t actual_size;
 | 
|    byte* buffer =
 | 
| @@ -2118,6 +2137,7 @@
 | 
|  
 | 
|  
 | 
|  TEST(OperandOffset) {
 | 
| +  v8::internal::V8::Initialize(NULL);
 | 
|    int data[256];
 | 
|    for (int i = 0; i < 256; i++) { data[i] = i * 0x01010101; }
 | 
|  
 | 
| 
 |