Commit 9fbc04f8 authored by jyan's avatar jyan Committed by Commit bot

S390: Fix '[ic] Use the CallFunction builtin to invoke accessors.'

Fix native compilation error due to gcc error "call of overloaded
‘Operand(int)’ is ambiguous"

R=joransiu@ca.ibm.com, mbrandy@us.ibm.com, michael_dawson@ca.ibm.com
BUG=

Review URL: https://codereview.chromium.org/1847303004

Cr-Commit-Position: refs/heads/master@{#35218}
parent 6c38fde9
...@@ -43,7 +43,7 @@ void NamedLoadHandlerCompiler::GenerateLoadViaGetter( ...@@ -43,7 +43,7 @@ void NamedLoadHandlerCompiler::GenerateLoadViaGetter(
} }
__ Push(receiver); __ Push(receiver);
__ LoadAccessor(r3, holder, accessor_index, ACCESSOR_GETTER); __ LoadAccessor(r3, holder, accessor_index, ACCESSOR_GETTER);
__ LoadImmP(r2, Operand(0)); __ LoadImmP(r2, Operand::Zero());
__ Call(masm->isolate()->builtins()->CallFunction( __ Call(masm->isolate()->builtins()->CallFunction(
ConvertReceiverMode::kNotNullOrUndefined), ConvertReceiverMode::kNotNullOrUndefined),
RelocInfo::CODE_TARGET); RelocInfo::CODE_TARGET);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment