Commit e797b865 authored by lrn@chromium.org's avatar lrn@chromium.org

X64: Adds zone scope before creating codegenerator for testing.

Review URL: http://codereview.chromium.org/122033


git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2143 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 525b72a4
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment