Skip to content

Commit

Permalink
restore unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
piaskowyk committed Nov 13, 2024
1 parent 46fa457 commit c909383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/VM/JIT/arm64/JitHandlers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ SHLegacyValue _jit_dispatch_call(SHRuntime *shr, SHLegacyValue *frame) {
newFrame.getSavedCodeBlockRef() = HermesValue::encodeNativePointer(nullptr);
newFrame.getSHLocalsRef() = HermesValue::encodeNativePointer(nullptr);

auto callTarget = newFrame.getCalleeClosureHandleUnsafe();
auto *callTarget = &newFrame.getCalleeClosureOrCBRef();
if (vmisa<JSFunction>(*callTarget)) {
JSFunction *jsFunc = vmcast<JSFunction>(*callTarget);
if (auto *fnPtr = jsFunc->getCodeBlock()->getJITCompiled())
Expand Down

0 comments on commit c909383

Please sign in to comment.