diff options
Diffstat (limited to 'compiler/optimizing')
| -rw-r--r-- | compiler/optimizing/nodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 7ea6176e96..a7bd31e370 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -2692,7 +2692,7 @@ class HEqual : public HCondition { } HConstant* Evaluate(HNullConstant* x ATTRIBUTE_UNUSED, HNullConstant* y ATTRIBUTE_UNUSED) const OVERRIDE { - return GetBlock()->GetGraph()->GetConstant(GetType(), 1); + return GetBlock()->GetGraph()->GetIntConstant(1); } DECLARE_INSTRUCTION(Equal); @@ -2728,7 +2728,7 @@ class HNotEqual : public HCondition { } HConstant* Evaluate(HNullConstant* x ATTRIBUTE_UNUSED, HNullConstant* y ATTRIBUTE_UNUSED) const OVERRIDE { - return GetBlock()->GetGraph()->GetConstant(GetType(), 0); + return GetBlock()->GetGraph()->GetIntConstant(0); } DECLARE_INSTRUCTION(NotEqual); |