Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2462.mcz==================== Summary ====================
Name: VMMaker.oscog-eem.2462
Author: eem
Time: 18 October 2018, 5:40:43.909558 pm
UUID: a4503a48-a85d-4cfd-a10d-f8fa53cde3b3
Ancestors: VMMaker.oscog-eem.2461
JPEGReadWriter2Plugin:
Fix a regression in the last commit.
=============== Diff against VMMaker.oscog-eem.2461 ===============
Item was changed:
----- Method: JPEGReadWriter2Plugin>>primJPEGReadHeader:fromByteArray:errorMgr: (in category 'primitives') -----
primJPEGReadHeader: aJPEGDecompressStruct fromByteArray: source errorMgr: aJPEGErrorMgr2Struct
<export: true>
| sourceSize |
self
primitive: 'primJPEGReadHeaderfromByteArrayerrorMgr'
parameters: #(ByteArray ByteArray ByteArray).
"Various parameter checks"
((self isValidDecompressionStruct: aJPEGDecompressStruct)
and: [self isValidErrorMessageStruct: aJPEGErrorMgr2Struct]) ifFalse:
[^interpreterProxy primitiveFail].
+ sourceSize := interpreterProxy byteSizeOf: source cPtrAsOop.
- sourceSize := interpreterProxy byteSizeOf: source.
sourceSize > 0 ifTrue:
[self primJPEGReadHeader: aJPEGDecompressStruct
fromByteArray: source
size: sourceSize
errorMgrReadHeader: aJPEGErrorMgr2Struct]!