Index: src/x64/codegen-x64.cc |
=================================================================== |
--- src/x64/codegen-x64.cc (revision 3754) |
+++ src/x64/codegen-x64.cc (working copy) |
@@ -246,13 +246,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), |