File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -335,6 +335,15 @@ Maybe<InlinableGetterData> FindInlinableGetterData(ICCacheIRStub* stub) {
335335 }
336336 break ;
337337 }
338+ case CacheOp::GuardFunctionScript: {
339+ MOZ_ASSERT (data.isNothing ());
340+ maybeCalleeOperand = reader.objOperandId ();
341+ uint32_t targetOffset = reader.stubOffset ();
342+ uintptr_t rawScript = stubInfo->getStubRawWord (stubData, targetOffset);
343+ targetScript = reinterpret_cast <JSScript*>(rawScript);
344+ (void )reader.stubOffset (); // nargsAndFlags
345+ break ;
346+ }
338347 case CacheOp::CallScriptedGetterResult: {
339348 ValOperandId receiverOperand = reader.valOperandId ();
340349 ObjOperandId calleeOperand = reader.objOperandId ();
@@ -418,6 +427,15 @@ Maybe<InlinableSetterData> FindInlinableSetterData(ICCacheIRStub* stub) {
418427 }
419428 break ;
420429 }
430+ case CacheOp::GuardFunctionScript: {
431+ MOZ_ASSERT (data.isNothing ());
432+ maybeCalleeOperand = reader.objOperandId ();
433+ uint32_t targetOffset = reader.stubOffset ();
434+ uintptr_t rawScript = stubInfo->getStubRawWord (stubData, targetOffset);
435+ targetScript = reinterpret_cast <JSScript*>(rawScript);
436+ (void )reader.stubOffset (); // nargsAndFlags
437+ break ;
438+ }
421439 case CacheOp::CallScriptedSetter: {
422440 ObjOperandId receiverOperand = reader.objOperandId ();
423441 ObjOperandId calleeOperand = reader.objOperandId ();
You can’t perform that action at this time.
0 commit comments