The Trunk: Compiler-eem.290.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Compiler-eem.290.mcz

commits-2
Eliot Miranda uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-eem.290.mcz

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

Name: Compiler-eem.290
Author: eem
Time: 8 October 2014, 1:53:43.085 pm
UUID: a2799479-1a99-45c4-b17c-4160d19b04e3
Ancestors: Compiler-eem.289

Define the other extension acessor, the one that
locates extensions before an extended bytecode.
Tighten up the comment on the one that accesses
the extension bytecodes themselves.

=============== Diff against Compiler-eem.289 ===============

Item was changed:
  ----- Method: BytecodeEncoder class>>extensionsAt:in:into: (in category 'instruction stream support') -----
  extensionsAt: pc in: aCompiledMethod into: trinaryBlock
  "If the bytecode at pc is an extension then evaluate aTrinaryBlock
  with the values of extA and extB and number of extension *bytes*.
+ If the bytecode at pc is not an extension then evaluate with 0, 0, 0."
- If the bytecode at pc is not extended then evaluate with 0, 0, 0."
 
  self subclassResponsibility!

Item was added:
+ ----- Method: BytecodeEncoder class>>extensionsFor:in:into: (in category 'instruction stream support') -----
+ extensionsFor: pc in: aCompiledMethod into: trinaryBlock
+ "If the bytecode at pc is an extension, or if the bytecode at pc is preceeded by extensions,
+ then evaluate aTrinaryBlock with the values of extA and extB and number of extension *bytes*.
+ If the bytecode at pc is neither an extension or extended then evaluate with 0, 0, 0."
+
+ self subclassResponsibility!

Item was changed:
  ----- Method: EncoderForV3 class>>extensionsAt:in:into: (in category 'instruction stream support') -----
  extensionsAt: pc in: aCompiledMethod into: trinaryBlock
  "If the bytecode at pc is an extension then evaluate aTrinaryBlock
  with the values of extA and extB and number of extension *bytes*.
+ If the bytecode at pc is not an extension then evaluate with 0, 0, 0.
- If the bytecode at pc is not extended then evaluate with 0, 0, 0.
  There are no extensions in the SqueakV3/Smalltalk-80 bytecode set, so..."
  ^trinaryBlock value: 0 value: 0 value: 0!

Item was added:
+ ----- Method: EncoderForV3 class>>extensionsFor:in:into: (in category 'instruction stream support') -----
+ extensionsFor: pc in: aCompiledMethod into: trinaryBlock
+ "If the bytecode at pc is an extension, or if the bytecode at pc is preceeded by extensions,
+ then evaluate aTrinaryBlock with the values of extA and extB and number of extension *bytes*.
+ If the bytecode at pc is neither an extension or extended then evaluate with 0, 0, 0.
+ There are no extensions in the SqueakV3/Smalltalk-80 bytecode set, so..."
+ ^trinaryBlock value: 0 value: 0 value: 0!