Basic implementation of array initialization for mgc: local array declaration with...
authorjzhou <jzhou>
Thu, 27 Jan 2011 00:51:49 +0000 (00:51 +0000)
committerjzhou <jzhou>
Thu, 27 Jan 2011 00:51:49 +0000 (00:51 +0000)
commitd28b89d96693de8e64ddc490902d4be956d032d0
tree6b6a06da0b9fb7cf7d1e4922caa1e8a6a03a0cb6
parent339cff2b21bc2b95b6a7321800e25a45d3ddf632
Basic implementation of array initialization for mgc: local array declaration with array initialization is OK now. Need more work to enable array field declaration with initialization and array creation with initialization. Also fix a bug: previously do not support static fields that are object/array.
Robust/src/IR/Flat/BuildCode.java
Robust/src/IR/Flat/BuildFlat.java
Robust/src/IR/Tree/ArrayInitializerNode.java
Robust/src/IR/Tree/BuildIR.java
Robust/src/IR/Tree/CreateObjectNode.java
Robust/src/IR/Tree/SemanticCheck.java
Robust/src/Tests/ArrayInitializerTest.java