Reviewers: danno,
Description:
If map became unstable, abort compilation and allow re-compilation.
BUG=
Please review this at https://codereview.chromium.org/291653006/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -0 lines):
M src/compiler.cc
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index
2873525604cf0a777546b64a11d5aac1586b9b22..f1200146bb15658f34825daed9aa981d5445e164
100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -456,6 +456,8 @@ OptimizedCompileJob::Status
OptimizedCompileJob::GenerateCode() {
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.