jruby (owner)

Revisions

gist: 209603 Download_button fork
public
Public Clone URL: git://gist.github.com/209603.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
~/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!