Skip to content

Instantly share code, notes, and snippets.

@jruby
Created October 13, 2009 22:00
Show Gist options
  • Save jruby/209603 to your computer and use it in GitHub Desktop.
Save jruby/209603 to your computer and use it in GitHub Desktop.
~/projects/rubinius/benchmark/tiers/0 ➔ ../../../../duby/bin/duby -V bm_vm2_method.duby
* [AST] [Null] Null(nil) resolved!
* [Duby::Typer] Learned method m () on Type(bm_vm2_method) = Type(java.lang.Object)
* [AST] [FixnumLiteralNode] FixnumLiteralNode(0) resolved!
* [Duby::Typer] Learned local type under MethodDefinition(run) : i = Type(int)
* [AST] [LocalAssignment] LocalAssignment(name = i, scope = MethodDefinition(run)) resolved!
* [Duby::Typer] Retrieved local type in MethodDefinition(run) : i = Type(int)
* [AST] [Local] Local(name = i, scope = MethodDefinition(run)) resolved!
* [AST] [FixnumLiteralNode] FixnumLiteralNode(1) resolved!
* [Duby::Typer] Method type for "+" Type(int) on Type(int) not found.
* [Duby::Typer] Deferring inference for Call(+)
* [Duby::Typer] Learned local type under MethodDefinition(run) : i =
* [Duby::Typer] Deferring inference for LocalAssignment(name = i, scope = MethodDefinition(run))
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Deferring inference for FunctionalCall(m)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Deferring inference for FunctionalCall(m)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Deferring inference for FunctionalCall(m)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Deferring inference for FunctionalCall(m)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Deferring inference for FunctionalCall(m)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Deferring inference for FunctionalCall(m)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Deferring inference for FunctionalCall(m)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Deferring inference for FunctionalCall(m)
* [Duby::Typer] Deferring inference for Body
* [Duby::Typer] Retrieved local type in MethodDefinition(run) : i = Type(int)
* [AST] [Local] Local(name = i, scope = MethodDefinition(run)) resolved!
* [AST] [FixnumLiteralNode] FixnumLiteralNode(6000000) resolved!
* [Duby::Typer] Method type for "<" Type(int) on Type(int) not found.
* [Duby::Typer] Deferring inference for Call(<)
* [Duby::Typer] Deferring inference for Condition
* [Duby::Typer] Deferring inference for Loop(check_first = true, negative = false)
* [AST] [Null] Null(nil) resolved!
* [Duby::Typer] Learned method run () on Type(bm_vm2_method) = Type(java.lang.Object)
* [AST] [FixnumLiteralNode] FixnumLiteralNode(0) resolved!
* [Duby::Typer] Learned local type under Script : i = Type(int)
* [AST] [LocalAssignment] LocalAssignment(name = i, scope = Script) resolved!
* [Duby::Typer] Method type for "currentTimeMillis" on Type(java.lang.System meta) not found.
* [Duby::Typer] Deferring inference for Call(currentTimeMillis)
* [Duby::Typer] Learned local type under Script : time =
* [Duby::Typer] Deferring inference for LocalAssignment(name = time, scope = Script)
* [Duby::Typer] Method type for "run" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Deferring inference for FunctionalCall(run)
* [Duby::Typer] Method type for "currentTimeMillis" on Type(java.lang.System meta) not found.
* [Duby::Typer] Deferring inference for Call(currentTimeMillis)
* [Duby::Typer] Retrieved local type in Script : time =
* [Duby::Typer] Deferring inference for Local(name = time, scope = Script)
* [Duby::Typer] Deferring inference for Call(-)
* [Duby::Typer] Retrieved local type in Script : i = Type(int)
* [AST] [Local] Local(name = i, scope = Script) resolved!
* [AST] [FixnumLiteralNode] FixnumLiteralNode(1) resolved!
* [Duby::Typer] Method type for "+" Type(int) on Type(int) not found.
* [Duby::Typer] Deferring inference for Call(+)
* [Duby::Typer] Learned local type under Script : i =
* [Duby::Typer] Deferring inference for LocalAssignment(name = i, scope = Script)
* [Duby::Typer] Deferring inference for Body
* [Duby::Typer] Retrieved local type in Script : i = Type(int)
* [AST] [Local] Local(name = i, scope = Script) resolved!
* [AST] [FixnumLiteralNode] FixnumLiteralNode(50) resolved!
* [Duby::Typer] Method type for "<" Type(int) on Type(int) not found.
* [Duby::Typer] Deferring inference for Call(<)
* [Duby::Typer] Deferring inference for Condition
* [Duby::Typer] Deferring inference for Loop(check_first = true, negative = false)
* [Duby::Typer] Entering type inference cycle
* [Duby::Typer] [Cycle 0]: Started...
* [Duby::Typer] Method type for "+" Type(int) on Type(int) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "+" Type(int) on Type(int) = Type(int)
* [AST] [Call] Call(+) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for Call(+): Type(int)
* [Duby::Typer] Learned local type under MethodDefinition(run) : i = Type(int)
* [AST] [LocalAssignment] LocalAssignment(name = i, scope = MethodDefinition(run)) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for LocalAssignment(name = i, scope = MethodDefinition(run)): Type(int)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) = Type(java.lang.Object)
* [AST] [FunctionalCall] FunctionalCall(m) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for FunctionalCall(m): Type(java.lang.Object)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) = Type(java.lang.Object)
* [AST] [FunctionalCall] FunctionalCall(m) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for FunctionalCall(m): Type(java.lang.Object)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) = Type(java.lang.Object)
* [AST] [FunctionalCall] FunctionalCall(m) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for FunctionalCall(m): Type(java.lang.Object)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) = Type(java.lang.Object)
* [AST] [FunctionalCall] FunctionalCall(m) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for FunctionalCall(m): Type(java.lang.Object)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) = Type(java.lang.Object)
* [AST] [FunctionalCall] FunctionalCall(m) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for FunctionalCall(m): Type(java.lang.Object)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) = Type(java.lang.Object)
* [AST] [FunctionalCall] FunctionalCall(m) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for FunctionalCall(m): Type(java.lang.Object)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) = Type(java.lang.Object)
* [AST] [FunctionalCall] FunctionalCall(m) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for FunctionalCall(m): Type(java.lang.Object)
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "m" on Type(bm_vm2_method meta) = Type(java.lang.Object)
* [AST] [FunctionalCall] FunctionalCall(m) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for FunctionalCall(m): Type(java.lang.Object)
* [Duby::Typer] [Cycle 0]: Inferred type for Body: Type(java.lang.Object)
* [Duby::Typer] Method type for "<" Type(int) on Type(int) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "<" Type(int) on Type(int) = Type(boolean)
* [AST] [Call] Call(<) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for Call(<): Type(boolean)
* [AST] [Condition] Condition resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for Condition: Type(boolean)
* [Duby::Typer] [Cycle 0]: Inferred type for Loop(check_first = true, negative = false): Type(java.lang.Object)
* [Duby::Typer] Method type for "currentTimeMillis" on Type(java.lang.System meta) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "currentTimeMillis" on Type(java.lang.System meta) = Type(long)
* [AST] [Call] Call(currentTimeMillis) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for Call(currentTimeMillis): Type(long)
* [Duby::Typer] Learned local type under Script : time = Type(long)
* [AST] [LocalAssignment] LocalAssignment(name = time, scope = Script) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for LocalAssignment(name = time, scope = Script): Type(long)
* [Duby::Typer] Method type for "run" on Type(bm_vm2_method meta) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "run" on Type(bm_vm2_method meta) = Type(java.lang.Object)
* [AST] [FunctionalCall] FunctionalCall(run) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for FunctionalCall(run): Type(java.lang.Object)
* [Duby::Typer] Method type for "currentTimeMillis" on Type(java.lang.System meta) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "currentTimeMillis" on Type(java.lang.System meta) = Type(long)
* [AST] [Call] Call(currentTimeMillis) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for Call(currentTimeMillis): Type(long)
* [Duby::Typer] Retrieved local type in Script : time = Type(long)
* [AST] [Local] Local(name = time, scope = Script) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for Local(name = time, scope = Script): Type(long)
* [Duby::Typer] Method type for "-" Type(long) on Type(long) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "-" Type(long) on Type(long) = Type(long)
* [AST] [Call] Call(-) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for Call(-): Type(long)
* [Duby::Typer] Method type for "+" Type(int) on Type(int) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "+" Type(int) on Type(int) = Type(int)
* [AST] [Call] Call(+) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for Call(+): Type(int)
* [Duby::Typer] Learned local type under Script : i = Type(int)
* [AST] [LocalAssignment] LocalAssignment(name = i, scope = Script) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for LocalAssignment(name = i, scope = Script): Type(int)
* [AST] [PrintLine] PrintLine resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for Body: Type(int)
* [Duby::Typer] Method type for "<" Type(int) on Type(int) not found.
* [Duby::Typer] Invoking plugin: Java
* [Duby::Typer] Method type for "<" Type(int) on Type(int) = Type(boolean)
* [AST] [Call] Call(<) resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for Call(<): Type(boolean)
* [AST] [Condition] Condition resolved!
* [Duby::Typer] [Cycle 0]: Inferred type for Condition: Type(boolean)
* [Duby::Typer] [Cycle 0]: Inferred type for Loop(check_first = true, negative = false): Type(java.lang.Object)
* [Duby::Typer] [Cycle 0]: Resolved all types, exiting
* [Duby::Typer] [Cycle 0]: Complete!
* [Duby::Compiler::JVM] Starting main method
* [Duby::Compiler::JVM] Starting new method m()
* [Duby::Compiler::JVM] Method m() complete!
* [Duby::Compiler::JVM] Starting new method run()
* [Duby::Compiler::JVM] Method run() complete!
* [Duby::Compiler::JVM] Found method java.io.PrintStream.println(long) from java.io.PrintStream
* [Duby::Compiler::JVM] Main method complete!
* [Duby::Compiler::JVM] Generating classes...
* [Duby::Compiler::JVM] bm_vm2_method
* [Duby::Compiler::JVM] ...done!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment