[Vm-dev] VM Maker: VMMaker-dtl.274.mcz

commits at source.squeak.org commits at source.squeak.org
Mon May 28 15:02:35 UTC 2012

David T. Lewis uploaded a new version of VMMaker to project VM Maker:

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

Name: VMMaker-dtl.274
Author: dtl
Time: 28 May 2012, 11:01:17.47 am
UUID: 63fe6e8a-cf09-4844-ab36-ac518008eb7f
Ancestors: VMMaker-dtl.273

#checkAbstractMethods should use a notifier, not raise an error.
Note, when browsing slang C translation in InterpreterPrimitives, proceed through notifiers for the three abstract primitives.

=============== Diff against VMMaker-dtl.273 ===============

Item was changed:
  ----- Method: CCodeGenerator>>checkAbstractMethods (in category 'error notification') -----
  	"For each method that has been declared abstract, ensure that a concrete
  	implementation has been provided. This check should be performed prior to
  	inlining because methods may be removed during the inlining process."
  	| selectors |
  	selectors := methods keys, self permittedAbstractMethods.
  	abstractDeclarations do: [:sel |
  		(selectors includes: sel)
+ 			ifFalse: [self notify: 'missing implementation for ', sel]]
- 			ifFalse: [self error: 'missing implementation for ', sel]]

More information about the Vm-dev mailing list