BUG=None
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/
22404007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16134
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
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();