Chromium Code Reviews| Index: src/stub-cache.h |
| =================================================================== |
| --- src/stub-cache.h (revision 1355) |
| +++ src/stub-cache.h (working copy) |
| @@ -281,7 +281,7 @@ |
| JSARRAY_HAS_FAST_ELEMENTS_CHECK |
| }; |
| - StubCompiler() : masm_(NULL, 256) { } |
| + StubCompiler() : scope_(), masm_(NULL, 256) { } |
| Object* CompileCallInitialize(Code::Flags flags); |
| Object* CompileCallPreMonomorphic(Code::Flags flags); |
| @@ -367,6 +367,7 @@ |
| MacroAssembler* masm() { return &masm_; } |
| private: |
| + HandleScope scope_; |
|
Kasper Lund
2009/02/25 15:00:19
This should allow you to get rid of a lot of Handl
iposva
2009/02/25 16:42:54
Done.
|
| MacroAssembler masm_; |
| }; |