| Index: test/cctest/test-macro-assembler-x64.cc
|
| diff --git a/test/cctest/test-macro-assembler-x64.cc b/test/cctest/test-macro-assembler-x64.cc
|
| index 2c0e91805769bd7e61878f45c2c4f5ee0b3a87e9..7f20a8dd4bbe448feac41195801c1a46d06c25f1 100644
|
| --- a/test/cctest/test-macro-assembler-x64.cc
|
| +++ b/test/cctest/test-macro-assembler-x64.cc
|
| @@ -153,7 +153,6 @@ static void TestMoveSmi(MacroAssembler* masm, Label* exit, int id, Smi* value) {
|
|
|
| // Test that we can move a Smi value literally into a register.
|
| TEST(SmiMove) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -239,7 +238,6 @@ void TestSmiCompare(MacroAssembler* masm, Label* exit, int id, int x, int y) {
|
|
|
| // Test that we can compare smis for equality (and more).
|
| TEST(SmiCompare) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -288,7 +286,6 @@ TEST(SmiCompare) {
|
|
|
|
|
| TEST(Integer32ToSmi) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -415,7 +412,6 @@ void TestI64PlusConstantToSmi(MacroAssembler* masm,
|
|
|
|
|
| TEST(Integer64PlusConstantToSmi) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -458,7 +454,6 @@ TEST(Integer64PlusConstantToSmi) {
|
|
|
|
|
| TEST(SmiCheck) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -704,7 +699,6 @@ void TestSmiNeg(MacroAssembler* masm, Label* exit, int id, int x) {
|
|
|
|
|
| TEST(SmiNeg) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -918,7 +912,6 @@ static void SmiAddOverflowTest(MacroAssembler* masm,
|
|
|
|
|
| TEST(SmiAdd) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -1137,7 +1130,6 @@ static void SmiSubOverflowTest(MacroAssembler* masm,
|
|
|
|
|
| TEST(SmiSub) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -1226,7 +1218,6 @@ void TestSmiMul(MacroAssembler* masm, Label* exit, int id, int x, int y) {
|
|
|
|
|
| TEST(SmiMul) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -1330,7 +1321,6 @@ void TestSmiDiv(MacroAssembler* masm, Label* exit, int id, int x, int y) {
|
|
|
|
|
| TEST(SmiDiv) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -1438,7 +1428,6 @@ void TestSmiMod(MacroAssembler* masm, Label* exit, int id, int x, int y) {
|
|
|
|
|
| TEST(SmiMod) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -1533,7 +1522,6 @@ void TestSmiIndex(MacroAssembler* masm, Label* exit, int id, int x) {
|
|
|
|
|
| TEST(SmiIndex) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -1600,7 +1588,6 @@ void TestSelectNonSmi(MacroAssembler* masm, Label* exit, int id, int x, int y) {
|
|
|
|
|
| TEST(SmiSelectNonSmi) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -1677,7 +1664,6 @@ void TestSmiAnd(MacroAssembler* masm, Label* exit, int id, int x, int y) {
|
|
|
|
|
| TEST(SmiAnd) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -1756,7 +1742,6 @@ void TestSmiOr(MacroAssembler* masm, Label* exit, int id, int x, int y) {
|
|
|
|
|
| TEST(SmiOr) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -1837,7 +1822,6 @@ void TestSmiXor(MacroAssembler* masm, Label* exit, int id, int x, int y) {
|
|
|
|
|
| TEST(SmiXor) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -1902,7 +1886,6 @@ void TestSmiNot(MacroAssembler* masm, Label* exit, int id, int x) {
|
|
|
|
|
| TEST(SmiNot) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -1996,7 +1979,6 @@ void TestSmiShiftLeft(MacroAssembler* masm, Label* exit, int id, int x) {
|
|
|
|
|
| TEST(SmiShiftLeft) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -2100,7 +2082,6 @@ void TestSmiShiftLogicalRight(MacroAssembler* masm,
|
|
|
|
|
| TEST(SmiShiftLogicalRight) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -2167,7 +2148,6 @@ void TestSmiShiftArithmeticRight(MacroAssembler* masm,
|
|
|
|
|
| TEST(SmiShiftArithmeticRight) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -2229,7 +2209,6 @@ void TestPositiveSmiPowerUp(MacroAssembler* masm, Label* exit, int id, int x) {
|
|
|
|
|
| TEST(PositiveSmiTimesPowerOfTwoToInteger64) {
|
| - i::V8::Initialize(NULL);
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| @@ -2267,7 +2246,6 @@ TEST(PositiveSmiTimesPowerOfTwoToInteger64) {
|
|
|
|
|
| TEST(OperandOffset) {
|
| - i::V8::Initialize(NULL);
|
| uint32_t data[256];
|
| for (uint32_t i = 0; i < 256; i++) { data[i] = i * 0x01010101; }
|
|
|
| @@ -2621,8 +2599,6 @@ TEST(OperandOffset) {
|
|
|
|
|
| TEST(LoadAndStoreWithRepresentation) {
|
| - v8::internal::V8::Initialize(NULL);
|
| -
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
|
|