From: palfia@homejinni.com Date: Tue, 9 Jul 2013 00:00:15 +0000 (+0000) Subject: MIPS: Fix debug mode failures introduced by r15561. X-Git-Tag: upstream/4.7.83~13467 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6edaa525ebc6d46147ee5538fd523c83d7bac644;p=platform%2Fupstream%2Fv8.git MIPS: Fix debug mode failures introduced by r15561. The commit r15561 introduced a lot of debug mode test failures on MIPS. This change solves these failures by making the FP-saved version of StoreBufferOverflowStub available at snapshot time. This stub was added to ARM by commit r14359. BUG= Review URL: https://codereview.chromium.org/18238012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15564 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc index 770d4e7..5ff4533 100644 --- a/src/mips/code-stubs-mips.cc +++ b/src/mips/code-stubs-mips.cc @@ -6960,6 +6960,9 @@ void StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime( Isolate* isolate) { StoreBufferOverflowStub stub1(kDontSaveFPRegs); stub1.GetCode(isolate)->set_is_pregenerated(true); + // Hydrogen code stubs need stub2 at snapshot time. + StoreBufferOverflowStub stub2(kSaveFPRegs); + stub2.GetCode(isolate)->set_is_pregenerated(true); }