Revision: 21438
Author: [email protected]
Date: Thu May 22 13:51:44 2014 UTC
Log: If map became unstable, abort compilation and allow
re-compilation.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/291653006
http://code.google.com/p/v8/source/detail?r=21438
Modified:
/branches/bleeding_edge/src/compiler.cc
=======================================
--- /branches/bleeding_edge/src/compiler.cc Thu May 22 13:38:32 2014 UTC
+++ /branches/bleeding_edge/src/compiler.cc Thu May 22 13:51:44 2014 UTC
@@ -456,6 +456,8 @@
if (optimized_code.is_null()) {
if (info()->bailout_reason() == kNoReason) {
info_->set_bailout_reason(kCodeGenerationFailed);
+ } else if (info()->bailout_reason() == kMapBecameUnstable) {
+ return AbortOptimization();
}
return AbortAndDisableOptimization();
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.