Commit 1d9dd1cd authored by Milad Fa's avatar Milad Fa Committed by V8 LUCI CQ

PPC: specifically use cr0 under AssertCallableFunction

Change-Id: Ia4151fe23a8217f3f62d895fb74f96f934ab9618
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3236766Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/main@{#77499}
parent 63a8a3bb
......@@ -2170,7 +2170,7 @@ void MacroAssembler::AssertCallableFunction(Register object) {
ASM_CODE_COMMENT(this);
STATIC_ASSERT(kSmiTag == 0);
TestIfSmi(object, r0);
Check(ne, AbortReason::kOperandIsASmiAndNotAFunction);
Check(ne, AbortReason::kOperandIsASmiAndNotAFunction, cr0);
push(object);
LoadMap(object, object);
CompareInstanceTypeRange(object, object, FIRST_CALLABLE_JS_FUNCTION_TYPE,
......
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