Browse Source

Fixed wrong inlining of Number>>=

Nicolas Petton 12 years ago
parent
commit
0806acfeb5
3 changed files with 5 additions and 19 deletions
  1. 0 1
      js/Compiler.deploy.js
  2. 5 6
      js/Compiler.js
  3. 0 12
      st/Compiler.st

File diff suppressed because it is too large
+ 0 - 1
js/Compiler.deploy.js


File diff suppressed because it is too large
+ 5 - 6
js/Compiler.js


+ 0 - 12
st/Compiler.st

@@ -942,13 +942,6 @@ inlineLiteral: aSelector receiverNode: anObject argumentNodes: aCollection
                 	self visit: aCollection first.
                 	inlined := true]].
 
-	(aSelector = '=') ifTrue: [
-          	(self isNode: anObject ofClass: Number) ifTrue: [
-                  	self visit: anObject.
-                  	stream nextPutAll: ' == '.
-                	self visit: aCollection first.
-                	inlined := true]].
-
 	(aSelector = '>') ifTrue: [
           	(self isNode: anObject ofClass: Number) ifTrue: [
                   	self visit: anObject.
@@ -1374,11 +1367,6 @@ Object subclass: #DoIt
 	instanceVariableNames: ''
 	category: 'Compiler'!
 
-!DoIt methodsFor: ''!
-
-doIt ^[1 fdsfds] value
-! !
-
 Node subclass: #DynamicArrayNode
 	instanceVariableNames: ''
 	category: 'Compiler'!

Some files were not shown because too many files changed in this diff