'From Squeak3.7alpha of 11 September 2003 [latest update: #5707] on 20 February 2004 at 5:11:19 pm'! "Change Set: DecompileAnonymousMethodFix-nk Date: 20 February 2004 Author: Ned Konz Allows anonymous CompiledMethods (i.e. not attached to any class) to be decompiled properly. "! !Decompiler methodsFor: 'instruction decoding' stamp: 'nk 2/20/2004 11:56'! pushReceiverVariable: offset | var | (var _ instVars at: offset + 1 ifAbsent: []) == nil ifTrue: ["Not set up yet" var _ constructor codeInst: offset. instVars size < (offset + 1) ifTrue: [ instVars _ (Array new: offset + 1) replaceFrom: 1 to: instVars size with: instVars; yourself ]. instVars at: offset + 1 put: var]. stack addLast: var! ! !DecompilerConstructor methodsFor: 'constructor' stamp: 'nk 2/20/2004 11:51'! codeInst: index ^VariableNode new name: (instVars at: index + 1 ifAbsent: ['unknown', index asString]) index: index type: LdInstType! !