Skip to content

Commit 26b36bd

Browse files
committed
Bug 1703469: Fix PBL r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D251760
1 parent 85fe7e8 commit 26b36bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/src/vm/PortableBaselineInterpret.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2415,7 +2415,7 @@ uint64_t ICInterpretOps(uint64_t arg0, uint64_t arg1, ICStub* stub,
24152415
CACHEOP_CASE_FALLTHROUGH(CallScriptedSetter) {
24162416
bool isSetter = cacheop == CacheOp::CallScriptedSetter;
24172417
ObjOperandId receiverId = cacheIRReader.objOperandId();
2418-
uint32_t getterSetterOffset = cacheIRReader.stubOffset();
2418+
ObjOperandId calleeId = cacheIRReader.objOperandId();
24192419
ValOperandId rhsId =
24202420
isSetter ? cacheIRReader.valOperandId() : ValOperandId();
24212421
bool sameRealm = cacheIRReader.readBool();
@@ -2425,8 +2425,8 @@ uint64_t ICInterpretOps(uint64_t arg0, uint64_t arg1, ICStub* stub,
24252425
Value receiver = isSetter ? ObjectValue(*reinterpret_cast<JSObject*>(
24262426
READ_REG(receiverId.id())))
24272427
: READ_VALUE_REG(receiverId.id());
2428-
JSFunction* callee = reinterpret_cast<JSFunction*>(
2429-
stubInfo->getStubRawWord(cstub, getterSetterOffset));
2428+
JSFunction* callee =
2429+
reinterpret_cast<JSFunction*>(READ_REG(calleeId.id()));
24302430
Value rhs = isSetter ? READ_VALUE_REG(rhsId.id()) : UndefinedValue();
24312431

24322432
if (!sameRealm) {

0 commit comments

Comments
 (0)