Skip to content

Commit

Permalink
Removing references to removed method in C code
Browse files Browse the repository at this point in the history
  • Loading branch information
tesonep committed Aug 1, 2023
1 parent 2bd99e8 commit 916d860
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 65 deletions.
62 changes: 0 additions & 62 deletions extracted/plugins/BitBltPlugin/src/common/BitBltPlugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ static unsigned int rgbSubwith(unsigned int sourceWord, unsigned int destination
EXPORT(sqInt) setInterpreter(struct VirtualMachine *anInterpreter);
static sqInt setupColorMasks(void);
static sqInt setupColorMasksFromto(sqInt srcBits, sqInt targetBits);
static sqInt showDisplayBits(void);
static sqInt sourceSkewAndPointerInit(void);
static unsigned int sourceWordwith(unsigned int sourceWord, unsigned int destinationWord);
static sqInt sqAssert(sqInt aBool);
Expand Down Expand Up @@ -293,7 +292,6 @@ static usqInt (*positive32BitValueOf)(sqInt oop);
static usqLong (*positive64BitValueOf)(sqInt oop);
static sqInt (*primitiveFail)(void);
static sqInt (*primitiveFailFor)(sqInt reasonCode);
static sqInt (*showDisplayBitsLeftTopRightBottom)(sqInt aForm, sqInt l, sqInt t, sqInt r, sqInt b);
static sqInt (*slotSizeOf)(sqInt oop);
static sqInt (*stackIntegerValue)(sqInt offset);
static sqInt (*stackObjectValue)(sqInt offset);
Expand Down Expand Up @@ -335,7 +333,6 @@ extern usqInt positive32BitValueOf(sqInt oop);
extern usqLong positive64BitValueOf(sqInt oop);
extern sqInt primitiveFail(void);
extern sqInt primitiveFailFor(sqInt reasonCode);
extern sqInt showDisplayBitsLeftTopRightBottom(sqInt aForm, sqInt l, sqInt t, sqInt r, sqInt b);
extern sqInt slotSizeOf(sqInt oop);
extern sqInt stackIntegerValue(sqInt offset);
extern sqInt stackObjectValue(sqInt offset);
Expand Down Expand Up @@ -1355,11 +1352,6 @@ copyBitsFromtoat(sqInt startX, sqInt stopX, sqInt yValue)
sourceX = startX;
width = stopX - startX;
copyBits();
/* begin showDisplayBits */
if (numGCsOnInvocation != (statNumGCs())) {
reloadDestAndSourceForms();
}
showDisplayBitsLeftTopRightBottom(destForm, affectedL, affectedT, affectedR, affectedB);
return 0;
}

Expand Down Expand Up @@ -2694,11 +2686,6 @@ drawLoopXY(sqInt xDelta, sqInt yDelta)
affectedR = affR;
affectedT = affT;
affectedB = affB;
/* begin showDisplayBits */
if (numGCsOnInvocation != (statNumGCs())) {
reloadDestAndSourceForms();
}
showDisplayBitsLeftTopRightBottom(destForm, affectedL, affectedT, affectedR, affectedB);

/* init null rectangle */
affL = (affT = 9999);
Expand Down Expand Up @@ -2738,11 +2725,6 @@ drawLoopXY(sqInt xDelta, sqInt yDelta)
affectedR = affR;
affectedT = affT;
affectedB = affB;
/* begin showDisplayBits */
if (numGCsOnInvocation != (statNumGCs())) {
reloadDestAndSourceForms();
}
showDisplayBitsLeftTopRightBottom(destForm, affectedL, affectedT, affectedR, affectedB);

/* init null rectangle */
affL = (affT = 9999);
Expand Down Expand Up @@ -5116,11 +5098,6 @@ primitiveCopyBits(void)
if (failed()) {
return null;
}
/* begin showDisplayBits */
if (numGCsOnInvocation != (statNumGCs())) {
reloadDestAndSourceForms();
}
showDisplayBitsLeftTopRightBottom(destForm, affectedL, affectedT, affectedR, affectedB);
if (failed()) {
return null;
}
Expand Down Expand Up @@ -5276,11 +5253,6 @@ primitiveDisplayString(void)
if (!quickBlt) {
unlockSurfaces();
}
/* begin showDisplayBits */
if (numGCsOnInvocation != (statNumGCs())) {
reloadDestAndSourceForms();
}
showDisplayBitsLeftTopRightBottom(destForm, affectedL, affectedT, affectedR, affectedB);
storeIntegerofObjectwithValue(BBDestXIndex, bbObj, destX);
pop(6);
return 0;
Expand Down Expand Up @@ -5373,11 +5345,6 @@ primitiveDrawLoop(void)
affectedR = affR;
affectedT = affT;
affectedB = affB;
/* begin showDisplayBits */
if (numGCsOnInvocation != (statNumGCs())) {
reloadDestAndSourceForms();
}
showDisplayBitsLeftTopRightBottom(destForm, affectedL, affectedT, affectedR, affectedB);

/* init null rectangle */
affL = (affT = 9999);
Expand Down Expand Up @@ -5417,11 +5384,6 @@ primitiveDrawLoop(void)
affectedR = affR;
affectedT = affT;
affectedB = affB;
/* begin showDisplayBits */
if (numGCsOnInvocation != (statNumGCs())) {
reloadDestAndSourceForms();
}
showDisplayBitsLeftTopRightBottom(destForm, affectedL, affectedT, affectedR, affectedB);

/* init null rectangle */
affL = (affT = 9999);
Expand All @@ -5440,11 +5402,6 @@ primitiveDrawLoop(void)
storeIntegerofObjectwithValue(BBDestXIndex, bitBltOop, destX);
storeIntegerofObjectwithValue(BBDestYIndex, bitBltOop, destY);
l1: /* end drawLoopX:Y: */;
/* begin showDisplayBits */
if (numGCsOnInvocation != (statNumGCs())) {
reloadDestAndSourceForms();
}
showDisplayBitsLeftTopRightBottom(destForm, affectedL, affectedT, affectedR, affectedB);
}
if (!(failed())) {
pop(2);
Expand Down Expand Up @@ -5655,11 +5612,6 @@ primitiveWarpBits(void)
if (failed()) {
return null;
}
/* begin showDisplayBits */
if (numGCsOnInvocation != (statNumGCs())) {
reloadDestAndSourceForms();
}
showDisplayBitsLeftTopRightBottom(destForm, affectedL, affectedT, affectedR, affectedB);
if (failed()) {
return null;
}
Expand Down Expand Up @@ -6656,7 +6608,6 @@ setInterpreter(struct VirtualMachine *anInterpreter)
positive64BitValueOf = interpreterProxy->positive64BitValueOf;
primitiveFail = interpreterProxy->primitiveFail;
primitiveFailFor = interpreterProxy->primitiveFailFor;
showDisplayBitsLeftTopRightBottom = interpreterProxy->showDisplayBitsLeftTopRightBottom;
slotSizeOf = interpreterProxy->slotSizeOf;
stackIntegerValue = interpreterProxy->stackIntegerValue;
stackObjectValue = interpreterProxy->stackObjectValue;
Expand Down Expand Up @@ -6759,19 +6710,6 @@ setupColorMasksFromto(sqInt srcBits, sqInt targetBits)
return 0;
}

/* BitBltSimulation>>#showDisplayBits */
static sqInt
showDisplayBits(void)
{
/* begin ensureDestAndSourceFormsAreValid */
if (numGCsOnInvocation != (statNumGCs())) {
reloadDestAndSourceForms();
}
showDisplayBitsLeftTopRightBottom(destForm, affectedL, affectedT, affectedR, affectedB);
return 0;
}


/* This is only used when source and dest are same depth,
ie, when the barrel-shift copy loop is used. */

Expand Down
1 change: 0 additions & 1 deletion extracted/vm/include/common/sqVirtualMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ typedef struct VirtualMachine {
sqInt (*failed)(void);
void (*fullGC)(void);
sqInt (*primitiveFail)(void);
sqInt (*showDisplayBitsLeftTopRightBottom)(sqInt aForm, sqInt l, sqInt t, sqInt r, sqInt b);
sqInt (*signalSemaphoreWithIndex)(sqInt semaIndex);
sqInt (*success)(sqInt aBoolean);
sqInt (*superclassOf)(sqInt classPointer);
Expand Down
2 changes: 0 additions & 2 deletions extracted/vm/src/common/sqVirtualMachine.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ sqInt failed(void);
void fullGC(void);
sqInt primitiveFail(void);
sqInt primitiveFailFor(sqInt reasonCode);
sqInt showDisplayBitsLeftTopRightBottom(sqInt aForm, sqInt l, sqInt t, sqInt r, sqInt b);
sqInt signalSemaphoreWithIndex(sqInt semaIndex);
sqInt success(sqInt aBoolean);
sqInt superclassOf(sqInt classPointer);
Expand Down Expand Up @@ -358,7 +357,6 @@ struct VirtualMachine* sqGetInterpreterProxy(void)
VM->failed = failed;
VM->fullGC = fullGC;
VM->primitiveFail = primitiveFail;
VM->showDisplayBitsLeftTopRightBottom = showDisplayBitsLeftTopRightBottom;
VM->signalSemaphoreWithIndex = signalSemaphoreWithIndex;
VM->success = success;
VM->superclassOf = superclassOf;
Expand Down

0 comments on commit 916d860

Please sign in to comment.