Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index fbc2f111c154efc6dbb42fda234733d44c30dbe9..6f35a210c6a7e11f6aff6297bb2cf4501a9d56ea 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -2798,9 +2798,9 @@ void CodeStub::GenerateFPStubs(Isolate* isolate) { |
void CEntryStub::GenerateAheadOfTime(Isolate* isolate) { |
CEntryStub stub(1, kDontSaveFPRegs); |
- stub.GetCode(isolate)->set_is_pregenerated(true); |
+ stub.GetCode(isolate); |
CEntryStub save_doubles(1, kSaveFPRegs); |
- save_doubles.GetCode(isolate)->set_is_pregenerated(true); |
+ save_doubles.GetCode(isolate); |
} |
@@ -5078,9 +5078,9 @@ void NameDictionaryLookupStub::Generate(MacroAssembler* masm) { |
void StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime( |
Isolate* isolate) { |
StoreBufferOverflowStub stub1(kDontSaveFPRegs); |
- stub1.GetCode(isolate)->set_is_pregenerated(true); |
+ stub1.GetCode(isolate); |
StoreBufferOverflowStub stub2(kSaveFPRegs); |
- stub2.GetCode(isolate)->set_is_pregenerated(true); |
+ stub2.GetCode(isolate); |
} |
@@ -5574,12 +5574,12 @@ static void ArrayConstructorStubAheadOfTimeHelper(Isolate* isolate) { |
for (int i = 0; i <= to_index; ++i) { |
ElementsKind kind = GetFastElementsKindFromSequenceIndex(i); |
T stub(kind); |
- stub.GetCode(isolate)->set_is_pregenerated(true); |
+ stub.GetCode(isolate); |
if (AllocationSite::GetMode(kind) != DONT_TRACK_ALLOCATION_SITE || |
(!FLAG_track_allocation_sites && |
(kind == initial_kind || kind == initial_holey_kind))) { |
T stub1(kind, CONTEXT_CHECK_REQUIRED, DISABLE_ALLOCATION_SITES); |
- stub1.GetCode(isolate)->set_is_pregenerated(true); |
+ stub1.GetCode(isolate); |
} |
} |
} |
@@ -5601,11 +5601,11 @@ void InternalArrayConstructorStubBase::GenerateStubsAheadOfTime( |
for (int i = 0; i < 2; i++) { |
// For internal arrays we only need a few things |
InternalArrayNoArgumentConstructorStub stubh1(kinds[i]); |
- stubh1.GetCode(isolate)->set_is_pregenerated(true); |
+ stubh1.GetCode(isolate); |
InternalArraySingleArgumentConstructorStub stubh2(kinds[i]); |
- stubh2.GetCode(isolate)->set_is_pregenerated(true); |
+ stubh2.GetCode(isolate); |
InternalArrayNArgumentsConstructorStub stubh3(kinds[i]); |
- stubh3.GetCode(isolate)->set_is_pregenerated(true); |
+ stubh3.GetCode(isolate); |
} |
} |