Chromium Code Reviews| Index: src/factory.cc |
| diff --git a/src/factory.cc b/src/factory.cc |
| index bd6ed2bc89c1910de884e4d0e80367b60aa9af97..74d42e4e82703ce2739d3e9c055be7ffcc613827 100644 |
| --- a/src/factory.cc |
| +++ b/src/factory.cc |
| @@ -664,7 +664,7 @@ Handle<JSFunction> Factory::NewFunctionFromSharedFunctionInfo( |
| return result; |
| } |
| - if (V8::UseCrankshaft() && |
| + if (isolate()->use_crankshaft() && |
| FLAG_always_opt && |
| result->is_compiled() && |
| !function_info->is_toplevel() && |