summaryrefslogtreecommitdiff
path: root/deps/v8/src/hydrogen-instructions.cc
diff options
context:
space:
mode:
authorTrevor Norris <trev.norris@gmail.com>2014-04-01 11:46:28 -0700
committerTrevor Norris <trev.norris@gmail.com>2014-04-01 11:46:28 -0700
commit8d6fa72d9720963387b73e0770eeec4dd0ba6dce (patch)
tree86b419d65b09d0b2b3e50a67c5f19dcbba268117 /deps/v8/src/hydrogen-instructions.cc
parent490d5ab7808aedb998d1f4f933bf3de748758f62 (diff)
downloadnode-new-8d6fa72d9720963387b73e0770eeec4dd0ba6dce.tar.gz
v8: upgrade to 3.24.35.22
Diffstat (limited to 'deps/v8/src/hydrogen-instructions.cc')
-rw-r--r--deps/v8/src/hydrogen-instructions.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/src/hydrogen-instructions.cc b/deps/v8/src/hydrogen-instructions.cc
index b14873eb62..2ca0c54a55 100644
--- a/deps/v8/src/hydrogen-instructions.cc
+++ b/deps/v8/src/hydrogen-instructions.cc
@@ -2413,6 +2413,7 @@ void HSimulate::PrintDataTo(StringStream* stream) {
void HSimulate::ReplayEnvironment(HEnvironment* env) {
+ if (done_with_replay_) return;
ASSERT(env != NULL);
env->set_ast_id(ast_id());
env->Drop(pop_count());
@@ -2424,6 +2425,7 @@ void HSimulate::ReplayEnvironment(HEnvironment* env) {
env->Push(value);
}
}
+ done_with_replay_ = true;
}