Forráskód Böngészése

pragma for excluding contexts - add sendIdx

Herbert Vojčík 9 éve
szülő
commit
e3761fe64b
2 módosított fájl, 220 hozzáadás és 71 törlés
  1. 216 70
      src/Compiler-IR.js
  2. 4 1
      src/Compiler-IR.st

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 216 - 70
src/Compiler-IR.js


+ 4 - 1
src/Compiler-IR.st

@@ -1283,11 +1283,14 @@ nextPutReturnWith: aBlock
 nextPutSendIndexFor: anIRSend
 	self 
 		nextPutAll: ';'; lf;
+		nextPutAll: '//>>excludeStart("ctx", pragmas.excludeDebugContexts);'; lf;
 		nextPutAll: anIRSend scope alias;
 		nextPutAll: '.sendIdx[';
 		nextPutAll: anIRSend selector asJavascript;
 		nextPutAll: ']=';
-		nextPutAll: anIRSend index asString
+		nextPutAll: anIRSend index asString;
+		nextPutAll: ';'; lf;
+		nextPutAll: '//>>excludeEnd("ctx")'
 !
 
 nextPutSequenceWith: aBlock

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott