nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bceae0b
)
nitcc_runtime: use an Array instead of a List for the DephIterator
author
Jean Privat
<jean@pryen.org>
Fri, 4 Dec 2015 18:49:31 +0000
(13:49 -0500)
committer
Jean Privat
<jean@pryen.org>
Fri, 4 Dec 2015 18:49:31 +0000
(13:49 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>
lib/nitcc_runtime.nit
patch
|
blob
|
history
diff --git
a/lib/nitcc_runtime.nit
b/lib/nitcc_runtime.nit
index
e1aeb9a
..
ac75d8b
100644
(file)
--- a/
lib/nitcc_runtime.nit
+++ b/
lib/nitcc_runtime.nit
@@
-419,7
+419,7
@@
end
private class DephIterator
super Iterator[Node]
- var stack = new List[Iterator[nullable Node]]
+ var stack = new Array[Iterator[nullable Node]]
init(i: Iterator[nullable Node]) is old_style_init do
stack.push i