Commit 411aa27a authored by ziyang's avatar ziyang Committed by Commit bot

PPC/s390: [turbofan] JSGenericLowering mostly uses builtins instead of code stubs now

Port 0c168a90

R=tebbi@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, bjaideep@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
BUG=

Review-Url: https://codereview.chromium.org/2397193003
Cr-Commit-Position: refs/heads/master@{#40059}
parent 917ef616
......@@ -5373,8 +5373,8 @@ void LCodeGen::DoTypeof(LTypeof* instr) {
__ mov(r3, Operand(isolate()->factory()->number_string()));
__ b(&end);
__ bind(&do_call);
TypeofStub stub(isolate());
CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
Callable callable = CodeFactory::Typeof(isolate());
CallCode(callable.code(), RelocInfo::CODE_TARGET, instr);
__ bind(&end);
}
......
......@@ -5284,8 +5284,8 @@ void LCodeGen::DoTypeof(LTypeof* instr) {
__ mov(r2, Operand(isolate()->factory()->number_string()));
__ b(&end);
__ bind(&do_call);
TypeofStub stub(isolate());
CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
Callable callable = CodeFactory::Typeof(isolate());
CallCode(callable.code(), RelocInfo::CODE_TARGET, instr);
__ bind(&end);
}
......
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