瀏覽代碼

Fix for faulty inlining of =.

Göran Krampe 13 年之前
父節點
當前提交
b36de2ebc6
共有 3 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      js/Compiler.deploy.js
  2. 1 1
      js/Compiler.js
  3. 2 2
      st/Compiler.st

文件差異過大導致無法顯示
+ 1 - 1
js/Compiler.deploy.js


文件差異過大導致無法顯示
+ 1 - 1
js/Compiler.js


+ 2 - 2
st/Compiler.st

@@ -611,7 +611,7 @@ inlineLiteral: aSelector receiverNode: anObject argumentNodes: aCollection
 	(aSelector = '=') ifTrue: [
           	(self isNode: anObject ofClass: Number) ifTrue: [
                   	self visit: anObject.
-                  	stream nextPutAll: ' = '.
+                  	stream nextPutAll: ' == '.
                 	self visit: aCollection first.
                 	inlined := true]].
 
@@ -1023,6 +1023,6 @@ Object subclass: #DoIt
 
 !DoIt methodsFor: ''!
 
-doIt ^[Compiler performOptimizations: false.] value
+doIt ^[1=2] value
 ! !
 

部分文件因文件數量過多而無法顯示