summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-04-30 11:35:24 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-04-30 11:35:24 +0000
commit53de3b19a3760bb5fcaa0d34f91a10cb122063ca (patch)
tree85363c8b4d677ab20b7dcb61345483c2feac47d1 /compiler/optimizing/nodes.h
parentddadbf8d3328f810c0b59ab1f8b2685108ad048c (diff)
parentcaf076311e6933a79da3b5714975486ffa1efa07 (diff)
am caf07631: am fd5f56d4: Merge "Revert "GVN final fields even with side effects.""
* commit 'caf076311e6933a79da3b5714975486ffa1efa07': Revert "GVN final fields even with side effects."
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index a308844a31..50eecffc57 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -3003,10 +3003,8 @@ class HInstanceFieldGet : public HExpression<1> {
HInstanceFieldGet(HInstruction* value,
Primitive::Type field_type,
MemberOffset field_offset,
- bool is_final,
bool is_volatile)
- : HExpression(field_type,
- is_final ? SideEffects::None() : SideEffects::DependsOnSomething()),
+ : HExpression(field_type, SideEffects::DependsOnSomething()),
field_info_(field_offset, field_type, is_volatile) {
SetRawInputAt(0, value);
}
@@ -3416,10 +3414,8 @@ class HStaticFieldGet : public HExpression<1> {
HStaticFieldGet(HInstruction* cls,
Primitive::Type field_type,
MemberOffset field_offset,
- bool is_final,
bool is_volatile)
- : HExpression(field_type,
- is_final ? SideEffects::None() : SideEffects::DependsOnSomething()),
+ : HExpression(field_type, SideEffects::DependsOnSomething()),
field_info_(field_offset, field_type, is_volatile) {
SetRawInputAt(0, cls);
}