Chromium Code Reviews| Index: src/parameter-initializer-rewriter.cc |
| diff --git a/src/parameter-initializer-rewriter.cc b/src/parameter-initializer-rewriter.cc |
| index 28f741c1f6238887a1cad6d185344b6aec2ecf62..2d6417ab19644a63679ad1579dfcd57865e57794 100644 |
| --- a/src/parameter-initializer-rewriter.cc |
| +++ b/src/parameter-initializer-rewriter.cc |
| @@ -75,6 +75,9 @@ void RewriteParameterInitializerScope(uintptr_t stack_limit, |
| Scope* new_scope) { |
| Rewriter rewriter(stack_limit, initializer, old_scope, new_scope); |
| rewriter.Run(); |
| + |
| + // Note that we can't safely un-set the calls_eval bit on the old scope. |
| + if (old_scope->calls_eval()) new_scope->RecordEvalCall(); |
|
rossberg
2015/10/22 12:21:28
I wonder about all the other scope flags. Do we kn
|
| } |