Created
April 18, 2014 08:06
-
-
Save fujidig/11030783 to your computer and use it in GitHub Desktop.
Shumway AVM2を試す
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| v12 = new Scope($O412, this, false); | |
| v16 = v12.findScopeProperty($O413, 'trace', 0, $O414, true); | |
| v21 = v16.asCallProperty($O413, 'trace', 0, false, [ | |
| 'Hello World' | |
| ]); | |
| return v21; | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/src/avm2/runtime.jsのuseInterpreter = true;をコメントアウトする
/src/avm2/compiler/c4/backend.jsのgenerate()関数内の適当な場所にprint(generateSource(code));を追加
/src/avm2/bin下で
js avm.js -x ../tests/hello-world.abc