| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index bf7702be4f51558e920372fb4bd90d9942a36e33..ac97a0a3e08c10fac483a8e1b989fdd878cd30bb 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -977,7 +977,7 @@ MaybeHandle<Code> GetLazyCode(Handle<JSFunction> function) {
|
| }
|
|
|
| Handle<Code> code;
|
| - if (!GetBaselineCode(function).ToHandle(&code)) {
|
| + if (GetBaselineCode(function).ToHandle(&code)) {
|
| return code;
|
| }
|
| break;
|
| @@ -991,8 +991,8 @@ MaybeHandle<Code> GetLazyCode(Handle<JSFunction> function) {
|
|
|
| Handle<Code> code;
|
| // TODO(leszeks): Look into performing this compilation concurrently.
|
| - if (!GetOptimizedCode(function, Compiler::NOT_CONCURRENT)
|
| - .ToHandle(&code)) {
|
| + if (GetOptimizedCode(function, Compiler::NOT_CONCURRENT)
|
| + .ToHandle(&code)) {
|
| return code;
|
| }
|
| break;
|
|
|