Index: src/ia32/codegen-ia32.cc |
=================================================================== |
--- src/ia32/codegen-ia32.cc (revision 3754) |
+++ src/ia32/codegen-ia32.cc (working copy) |
@@ -103,13 +103,13 @@ |
// ------------------------------------------------------------------------- |
// CodeGenerator implementation |
-CodeGenerator::CodeGenerator(int buffer_size, |
+CodeGenerator::CodeGenerator(MacroAssembler* masm, |
Handle<Script> script, |
bool is_eval) |
: is_eval_(is_eval), |
script_(script), |
deferred_(8), |
- masm_(new MacroAssembler(NULL, buffer_size)), |
+ masm_(masm), |
scope_(NULL), |
frame_(NULL), |
allocator_(NULL), |