Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index e669b1fd9a69b354082c5a4c1e3cc04be9f07cec..06bc9d7a440747f47a2d2e2197b14dafb2fe09a1 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -67,6 +67,7 @@ void CodeGenerator::DeclareGlobals(Handle<FixedArray> a) { |
void CodeGenerator::TestCodeGenerator() { |
// Generate code. |
+ ZoneScope zone_scope(DELETE_ON_EXIT); |
const int initial_buffer_size = 4 * KB; |
CodeGenerator cgen(initial_buffer_size, NULL, false); |
CodeGeneratorScope scope(&cgen); |