소스 검색

pragma for excluding contexts - add sendIdx

Herbert Vojčík 9 년 전
부모
커밋
e3761fe64b
2개의 변경된 파일220개의 추가작업 그리고 71개의 파일을 삭제
  1. 216 70
      src/Compiler-IR.js
  2. 4 1
      src/Compiler-IR.st

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.