[Vm-dev] VM Maker: SlangBrowser-dtl.9.mcz

commits at source.squeak.org commits at source.squeak.org
Mon May 28 14:12:32 UTC 2012


David T. Lewis uploaded a new version of SlangBrowser to project VM Maker:
http://source.squeak.org/VMMaker/SlangBrowser-dtl.9.mcz

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

Name: SlangBrowser-dtl.9
Author: dtl
Time: 28 May 2012, 10:12:05.791 am
UUID: d950ce25-5e3e-4c0c-86b2-dc68e74ea965
Ancestors: SlangBrowser-dtl.8

Do not attempt to handle Error in VMMaker class>>cCodeGenerator:inCache:inlined: because this masks problems and makes debugging difficult

=============== Diff against SlangBrowser-dtl.8 ===============

Item was changed:
  ----- Method: VMMaker class>>cCodeGenerator:inCache:inlined: (in category '*SlangBrowser-browser support') -----
  cCodeGenerator: aClass inCache: cache inlined: doInlining
  	"Answer a C code generator, or a string explaining why a code generator is not available"
  
  	| cg |
+ 	cg := cache
- 	[cg := cache
  		at: aClass name asSymbol
  		ifAbsentPut:
  			[ObjectMemory initialize.
  			ObjectMemory initializeConstants.
+ 			cg := aClass buildCodeGeneratorInlined: doInlining.
- 			cg := aClass buildCodeGenerator.
  			cg prepareMethodsInlined: doInlining doAssertions: true.
+ 			cg].
- 			cg]]
- 		on: Error
- 		do: [:e | "Failure due to overridden class occurs in simulator subclasses"
- 			^ cache at: aClass name asSymbol put: e messageText].
  	^ cg
  !



More information about the Vm-dev mailing list