Revision: 16134
Author: [email protected]
Date: Fri Aug 9 08:10:06 2013
Log: Set bailout reason to kCodeGenerationFailed only when it is not
set yet
BUG=None
[email protected]
Review URL: https://codereview.chromium.org/22404007
http://code.google.com/p/v8/source/detail?r=16134
Modified:
/branches/bleeding_edge/src/compiler.cc
=======================================
--- /branches/bleeding_edge/src/compiler.cc Wed Aug 7 02:33:09 2013
+++ /branches/bleeding_edge/src/compiler.cc Fri Aug 9 08:10:06 2013
@@ -485,7 +485,7 @@
DisallowDeferredHandleDereference no_deferred_handle_deref;
Handle<Code> optimized_code = chunk_->Codegen();
if (optimized_code.is_null()) {
- if (info()->bailout_reason() != kNoReason) {
+ if (info()->bailout_reason() == kNoReason) {
info()->set_bailout_reason(kCodeGenerationFailed);
}
return AbortOptimization();
--
--
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/groups/opt_out.