From 13a7c993d00517f08e875dae99c836cde74d6c19 Mon Sep 17 00:00:00 2001 From: "bmeurer@chromium.org" Date: Mon, 24 Jun 2013 13:37:46 +0000 Subject: [PATCH] Add phase zone to CompilationInfo and use it in GVN pass. The phase_zone of CompilationInfo is intended for local allocations that are freed at the end of the phase. R=danno@chromium.org BUG= Review URL: https://codereview.chromium.org/17573003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15294 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/compiler.cc | 29 ++++++++++++++++++++--------- src/compiler.h | 42 +++++++++++++++++++++++++++++------------- src/hydrogen-gvn.cc | 21 ++++++++++++--------- src/hydrogen-gvn.h | 5 ++++- src/hydrogen.cc | 2 +- 5 files changed, 66 insertions(+), 33 deletions(-) diff --git a/src/compiler.cc b/src/compiler.cc index 2539f7d..87028bd 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -53,46 +53,56 @@ namespace v8 { namespace internal { -CompilationInfo::CompilationInfo(Handle