チェンジセット 2577
- コミット日時:
- 2009/05/06 19:37:32 (3 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/swfassist/branches/abc-extended/src/org/libspark/swfassist/swf/abc/modifiers/ABCPatcher.as
r2574 r2577 177 177 private function patchComplete():void 178 178 { 179 180 // Done patching methods 179 181 // Set the abcTag bytecode to the patched bytecode 180 182 output.position = 0; 181 input.byteArray = output.byteArray; 183 _tags[_tag].abcData = output.byteArray; 184 182 185 183 186 if( ++_tag == _numTags ) … … 217 220 writer.writeABC( output, writerContext, _abcInfo, _timeLimit ); 218 221 219 if( readerContext.cursor == ABCContext.CURSOR_COMPLETE )222 if( writerContext.cursor == ABCContext.CURSOR_COMPLETE ) 220 223 { 221 224 patchComplete(); … … 389 392 transfers.length = 0; 390 393 } 394 395 391 396 392 397 trace("ABCInfoPatcher: Patched " + (i-_methodIndex) + " methods."); as3/swfassist/branches/abc-extended/src/org/libspark/swfassist/swf/abc/validators/ABCSecurityValidator.as
r2574 r2577 40 40 public function validate( state:ABCOpState, patch:ABCPatch ):Boolean 41 41 { 42 switch( state.opCode )42 switch( state.opCode() ) 43 43 { 44 44

