| Index: src/crankshaft/hydrogen-instructions.h
|
| diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h
|
| index 98c7275f8558c599a191c3dc0303b939f51a71ea..b8d6fbbc3017c5589a4883f0f48e9440afaaf008 100644
|
| --- a/src/crankshaft/hydrogen-instructions.h
|
| +++ b/src/crankshaft/hydrogen-instructions.h
|
| @@ -4935,7 +4935,7 @@ class HAllocate final : public HTemplateInstruction<3> {
|
| static_cast<HAllocate::Flags>(flags_ | ALLOCATION_FOLDING_DOMINATOR);
|
| }
|
|
|
| - bool IsAllocationFoldingDominator() {
|
| + bool IsAllocationFoldingDominator() const {
|
| return (flags_ & ALLOCATION_FOLDING_DOMINATOR) != 0;
|
| }
|
|
|
| @@ -4946,7 +4946,7 @@ class HAllocate final : public HTemplateInstruction<3> {
|
| SetOperandAt(2, dominator);
|
| }
|
|
|
| - bool IsAllocationFolded() { return (flags_ & ALLOCATION_FOLDED) != 0; }
|
| + bool IsAllocationFolded() const { return (flags_ & ALLOCATION_FOLDED) != 0; }
|
|
|
| bool HandleSideEffectDominator(GVNFlag side_effect,
|
| HValue* dominator) override;
|
|
|