changed #compileToMachineCode:forClass:selector:inCategory:notifying:install:skipIfSame:silent:
create stub when loading of machine code fails
--- a/STCCompilerInterface.st Fri Jun 12 14:39:49 2009 +0200
+++ b/STCCompilerInterface.st Mon Jun 15 18:43:14 2009 +0200
@@ -239,7 +239,10 @@
handle := ObjectFileLoader loadMethodObjectFile:moduleFileName.
handle isNil ifTrue:[
OperatingSystem removeFile:moduleFileName.
- originator parseError:'dynamic load of machine code failed' position:1.
+ "catch, so that #CannotLoad processing is done"
+ Parser::ParseError catch:[
+ originator parseError:'dynamic load of machine code failed' position:1.
+ ].
^ #CannotLoad
].
@@ -737,7 +740,7 @@
!STCCompilerInterface class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libcomp/STCCompilerInterface.st,v 1.10 2008-01-24 14:16:30 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libcomp/STCCompilerInterface.st,v 1.11 2009-06-15 16:43:14 stefan Exp $'
! !
STCCompilerInterface initialize!