Index: src/arm/code-stubs-arm.cc |
=================================================================== |
--- src/arm/code-stubs-arm.cc (revision 9459) |
+++ src/arm/code-stubs-arm.cc (working copy) |
@@ -877,8 +877,8 @@ |
void WriteInt32ToHeapNumberStub::GenerateFixedRegStubsAheadOfTime() { |
WriteInt32ToHeapNumberStub stub1(r1, r0, r2); |
WriteInt32ToHeapNumberStub stub2(r2, r0, r3); |
- Handle<Code> code1 = stub1.GetCode()->set_is_pregenerated(true); |
- Handle<Code> code2 = stub2.GetCode()->set_is_pregenerated(true); |
+ stub1.GetCode()->set_is_pregenerated(true); |
+ stub2.GetCode()->set_is_pregenerated(true); |
} |
@@ -3413,7 +3413,8 @@ |
void CodeStub::GenerateFPStubs() { |
CEntryStub save_doubles(1, kSaveFPRegs); |
- Handle<Code> code = save_doubles.GetCode()->set_is_pregenerated(true); |
+ Handle<Code> code = save_doubles.GetCode(); |
+ code->set_is_pregenerated(true); |
code->GetIsolate()->set_fp_stubs_generated(true); |
} |