Chromium Code Reviews| Index: src/compiler.cc |
| diff --git a/src/compiler.cc b/src/compiler.cc |
| index 39524a92f9f491cdac38721b71ce283debfad41b..1ce6dab6c8440f90630b5037cc27c4d7d346159a 100644 |
| --- a/src/compiler.cc |
| +++ b/src/compiler.cc |
| @@ -123,7 +123,7 @@ void CompilationInfo::Initialize(Isolate* isolate, |
| mode_ = STUB; |
| return; |
| } |
| - mode_ = isolate->use_crankshaft() ? mode : NONOPT; |
| + mode_ = mode; |
| abort_due_to_dependency_ = false; |
| if (script_->type()->value() == Script::TYPE_NATIVE) { |
| MarkAsNative(); |