[squeak-dev] The Trunk: Kernel-eem.871.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Sep 18 00:18:38 UTC 2014


Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.871.mcz

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

Name: Kernel-eem.871
Author: eem
Time: 17 September 2014, 5:17:52.5 pm
UUID: b7263a0f-ef4e-4bf8-ace5-cfae0e04b889
Ancestors: Kernel-eem.870

Use prmitiveFailed, not primitiveFail (too much time
in VM land).  Also the accessor for the method header
flag selecting bytecode set takes an Encoder
instance, not an Encoder class.

=============== Diff against Kernel-eem.870 ===============

Item was added:
+ ----- Method: CompiledMethod class>>headerFlagForEncoder: (in category 'method encoding') -----
+ headerFlagForEncoder: anEncoder
+ 	anEncoder class == PrimaryBytecodeSetEncoderClass ifTrue:
+ 		[^0].
+ 	anEncoder class == SecondaryBytecodeSetEncoderClass ifTrue:
+ 		[^SmallInteger minVal].
+ 	self error: 'The encoder is not one of the two installed bytecode sets'!

Item was removed:
- ----- Method: CompiledMethod class>>headerFlagForEncoderClass: (in category 'method encoding') -----
- headerFlagForEncoderClass: anEncoderClass
- 	anEncoderClass = PrimaryBytecodeSetEncoderClass ifTrue:
- 		[^0].
- 	anEncoderClass = SecondaryBytecodeSetEncoderClass ifTrue:
- 		[^SmallInteger minVal].
- 	self error: 'The encoder is not one of the two installed bytecode sets'!

Item was changed:
  ----- Method: ContextPart>>basicSize (in category 'accessing') -----
  basicSize
  	"Primitive. Answer the number of indexable variables in the receiver. 
  	This value is the same as the largest legal subscript. Essential. Do not 
  	override in any subclass. See Object documentation whatIsAPrimitive.  Override the default primitive to give latitude to
  	 the VM in context management."
  
  	<primitive: 212>
  	"The number of indexable fields of fixed-length objects is 0"
+ 	^self primitiveFailed!
- 	^self primitiveFail!

Item was changed:
  ----- Method: ContextPart>>size (in category 'accessing') -----
  size
  	"Primitive. Answer the number of indexable variables in the receiver. 
  	This value is the same as the largest legal subscript. Essential. See Object 
  	documentation whatIsAPrimitive.  Override the default primitive to give latitude to
  	 the VM in context management."
  
  	<primitive: 212>
  	"The number of indexable fields of fixed-length objects is 0"
+ 	^self primitiveFailed!
- 	^self primitiveFail!



More information about the Squeak-dev mailing list