| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index d99f8d181b2e53d3407d0eb75ec005777718e749..66537d6c1727a9932edab94870e7c6c1c334979e 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -434,6 +434,11 @@ bool UseIgnition(CompilationInfo* info) {
|
| return false;
|
| }
|
|
|
| + // Since we can't OSR from Ignition, skip Ignition for asm.js functions.
|
| + if (info->shared_info()->asm_function()) {
|
| + return false;
|
| + }
|
| +
|
| // Checks whether top level functions should be passed by the filter.
|
| if (info->shared_info()->is_toplevel()) {
|
| Vector<const char> filter = CStrVector(FLAG_ignition_filter);
|
|
|