Chromium Code Reviews| Index: src/builtins.cc |
| =================================================================== |
| --- src/builtins.cc (revision 8110) |
| +++ src/builtins.cc (working copy) |
| @@ -1616,7 +1616,10 @@ |
| // We pass all arguments to the generator, but it may not use all of |
| // them. This works because the first arguments are on top of the |
| // stack. |
| - g(&masm, functions[i].name, functions[i].extra_args); |
| + { |
| + NoCurrentFrameScope scope(&masm); |
|
Søren Thygesen Gjesse
2011/05/31 07:51:45
This might deserve a comment.
Erik Corry
2011/05/31 11:52:52
Replaced with an assert that there is no current f
|
| + g(&masm, functions[i].name, functions[i].extra_args); |
| + } |
| // Move the code into the object heap. |
| CodeDesc desc; |
| masm.GetCode(&desc); |