Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 4159602e44b7ad11c029bbfd0102780614abcd0c..e456c1d9aa229494ebf50924507e71adfded7441 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -1918,7 +1918,7 @@ class HOptimizedGraphBuilder V8_FINAL |
env->Bind(index, value); |
if (IsEligibleForEnvironmentLivenessAnalysis(var, index, value, env)) { |
HEnvironmentMarker* bind = |
- new(zone()) HEnvironmentMarker(HEnvironmentMarker::BIND, index); |
+ New<HEnvironmentMarker>(HEnvironmentMarker::BIND, index); |
AddInstruction(bind); |
#ifdef DEBUG |
bind->set_closure(env->closure()); |
@@ -1931,7 +1931,7 @@ class HOptimizedGraphBuilder V8_FINAL |
HValue* value = env->Lookup(index); |
if (IsEligibleForEnvironmentLivenessAnalysis(var, index, value, env)) { |
HEnvironmentMarker* lookup = |
- new(zone()) HEnvironmentMarker(HEnvironmentMarker::LOOKUP, index); |
+ New<HEnvironmentMarker>(HEnvironmentMarker::LOOKUP, index); |
AddInstruction(lookup); |
#ifdef DEBUG |
lookup->set_closure(env->closure()); |