[Vm-dev] VM Maker: BytecodeSets.spur-eem.64.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jan 17 17:12:10 UTC 2017


Eliot Miranda uploaded a new version of BytecodeSets to project VM Maker:
http://source.squeak.org/VMMaker/BytecodeSets.spur-eem.64.mcz

==================== Summary ====================

Name: BytecodeSets.spur-eem.64
Author: eem
Time: 17 January 2017, 9:12:02.741994 am
UUID: f3e3979f-8e82-4148-a248-8aff3c3e3aca
Ancestors: BytecodeSets.spur-cb.63

Remove EncoderForNewsqueakV4>>litIndex:; Encoder'>>litIndex: should contain the correct range check against self maxNumLiterals, instead of  EncoderForNewsqueakV4 incorrectly hard-coding 65536.

Comment that the identityHash 1020 inline primitive only works for non-immediate, non-Behavior objects that have a hash.

=============== Diff against BytecodeSets.spur-cb.63 ===============

Item was removed:
- ----- Method: EncoderForNewsqueakV4>>litIndex: (in category 'encoding') -----
- litIndex: literal
- 	| p |
- 	p := literalStream position.
- 	p = 65536 ifTrue:
- 		[self notify: 'More than 65536 literals referenced. 
- You must split or otherwise simplify this method.
- The 65537th literal is: ', literal printString. ^nil].
- 		"Would like to show where it is in the source code, 
- 		 but that info is hard to get."
- 	literalStream nextPut: literal.
- 	^ p!

Item was changed:
  BytecodeEncoder subclass: #EncoderForSistaV1
(excessive size, no diff calculated)



More information about the Vm-dev mailing list