Verified Commit ef940cbd authored by 萝杨空队-梁韬's avatar 萝杨空队-梁韬
Browse files

debug/llvm-run: 通过了全部样例, 前端完成

1. 在 log 中增加 finalInfo 的输出, 便于调试
2. 在 phi 指令中引入单独的一个 symbol, 使得其不会在用于赋值其他变量的时候把自己代表的变量符号覆盖掉
3. 在变量定义的时候引入可能的隐式转换
4. 在 LLVM IR 的注释中写上 phi 代表的变量
5. 更改 ./m 中的 run 子命令使得传递给编译器的参数合理
6. 修改浮点字面量的词法规则, 使之可以匹配 1e9 之类的 token
parent ef30ef7f
Showing with 30 additions and 11 deletions
+30 -11
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment