[Vm-dev] VM Maker: Cog-eem.67.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Sep 3 20:53:28 UTC 2013


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

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

Name: Cog-eem.67
Author: eem
Time: 3 September 2013, 1:53:20.082 pm
UUID: 3b61b127-9705-4da9-8caf-81f65a35418b
Ancestors: Cog-eem.66

Simplify Spur bootstrap launch given VMMaker.oscog-eem.344.
Fix MultiProcessor after the refactoring of the processor Aliens
given the addition of the ARM processor alien.

=============== Diff against Cog-eem.66 ===============

Item was changed:
  ----- Method: MultiProcessor>>processor: (in category 'initialize-release') -----
  processor: aProcessor
  	processor := aProcessor.
+ 	guardedProcessorProtocol := aProcessor class selectors asSet
+ 									addAll: aProcessor class superclass selectors;
+ 									yourself.
- 	guardedProcessorProtocol := aProcessor class selectors asSet.
  	unguardedProcessorProtocol := #(#'Cog API' #opcodes #disassembly #printing)
  										inject: Set new
  										into: [ :protocol :category|
  											protocol
  												addAll: (aProcessor class organization listAtCategoryNamed: category);
+ 												addAll: (aProcessor class superclass organization listAtCategoryNamed: category);
  												yourself].
  	guardedProcessorProtocol removeAll: unguardedProcessorProtocol!

Item was changed:
  ----- Method: SpurBootstrap>>launch (in category 'testing') -----
  launch
  	| sim |
+ 	sim := StackInterpreterSimulator onObjectMemory: newHeap.
- 	SpurMemoryManager initializeWithOptions: Dictionary new.
- 	sim := StackInterpreterSimulator new.
- 	sim instVarNamed: #objectMemory put: newHeap.
  	newHeap coInterpreter: sim.
  	newHeap initializePostBootstrap.
  	sim initializeInterpreter: 0.
  	sim run!



More information about the Vm-dev mailing list