| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 0c566c8645d4fce2e6597c520bd6f07f1926c3ef..2844b659e140868267bc8487e2265f784961d467 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -2286,13 +2286,8 @@ void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) {
|
|
|
|
|
| void CodeStub::GenerateFPStubs(Isolate* isolate) {
|
| - CEntryStub save_doubles(isolate, 1, kSaveFPRegs);
|
| - // Stubs might already be in the snapshot, detect that and don't regenerate,
|
| - // which would lead to code stub initialization state being messed up.
|
| - Code* save_doubles_code;
|
| - if (!save_doubles.FindCodeInCache(&save_doubles_code)) {
|
| - save_doubles_code = *(save_doubles.GetCode());
|
| - }
|
| + // Generate if not already in cache.
|
| + CEntryStub(isolate, 1, kSaveFPRegs).GetCode();
|
| isolate->set_fp_stubs_generated(true);
|
| }
|
|
|
|
|