Turn Runtime_MigrateInstance into Runtime_TryMigrateInstance
authorjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Jan 2014 13:41:09 +0000 (13:41 +0000)
committerjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Jan 2014 13:41:09 +0000 (13:41 +0000)
commit1ed94acf0c2ddd063233d6b5f16b09132095ece9
treed48ec193da4ff6a33e3f2fc43fa7a9e7ee09eb0e
parent1ab6727b5de3a70814e552e43eb3dd650bde32b4
Turn Runtime_MigrateInstance into Runtime_TryMigrateInstance

because it must not cause lazy deopts because it is called from deferred code that cannot handle lazy deopts.

Hat tip to Ben for doing most of the debugging work, and to Toon for writing the regression test.

BUG=chromium:315252
LOG=Y
R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/131243003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18586 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/lithium-codegen-arm.cc
src/ia32/lithium-codegen-ia32.cc
src/mips/lithium-codegen-mips.cc
src/runtime.cc
src/runtime.h
src/x64/lithium-codegen-x64.cc
test/mjsunit/regress/regress-crbug-315252.js [new file with mode: 0644]