Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
药枣杞组
Compiler2023-6,药枣杞组,北航
Commits
8901c1a7
Commit
8901c1a7
authored
1 year ago
by
鹿煜恒
Browse files
Options
Download
Patches
Plain Diff
基本完成数组初始化、编译期需要得出结果的变量初始化计算
parent
c74cfdc5
Pipeline
#8222
passed with stages
in 16 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
.idea/misc.xml
+1
-1
.idea/misc.xml
src/frontend/MyVisitor.java
+159
-71
src/frontend/MyVisitor.java
src/frontend/sysy.g4
+1
-1
src/frontend/sysy.g4
src/input.txt
+4
-2
src/input.txt
src/ir/instr/GetElementPtrInst.java
+7
-0
src/ir/instr/GetElementPtrInst.java
src/ir/instr/Global.java
+7
-6
src/ir/instr/Global.java
src/ir/type/ArrayType.java
+1
-1
src/ir/type/ArrayType.java
src/ir/type/FunctionType.java
+5
-0
src/ir/type/FunctionType.java
src/ir/value/Variable.java
+116
-50
src/ir/value/Variable.java
with
301 additions
and
132 deletions
+301
-132
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets