summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-05-07 10:57:03 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-05-07 10:57:04 +0000
commitf07f71f9af8f56e738ef0451c60734ec6022d08e (patch)
tree48f4a1f6158234c3257ed75405122b1fb0941f96 /compiler/optimizing/nodes.h
parent46a4b26855ae9fcd14c6e4435f37f09ceb134f61 (diff)
parent8c0c91a845568624815df026cfdac8c42ecccdf6 (diff)
Merge "Use a growable array instead of an environment during SSA."
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index 53a4d84eac..5fc0470310 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -1068,7 +1068,9 @@ class HEnvironment : public ArenaObject<kArenaAllocMisc> {
}
}
- void CopyFrom(HEnvironment* env);
+ void CopyFrom(const GrowableArray<HInstruction*>& locals);
+ void CopyFrom(HEnvironment* environment);
+
// Copy from `env`. If it's a loop phi for `loop_header`, copy the first
// input to the loop phi instead. This is for inserting instructions that
// require an environment (like HDeoptimization) in the loop pre-header.