From b007bc6f9dcbef41c3710cc8ce63b04504a14244 Mon Sep 17 00:00:00 2001
From: David Li
Date: Sun, 26 Nov 2017 19:58:46 -0500
Subject: Rename ir::Binop to ir::BinOp
---
src/semantic/ir.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'src/semantic/ir.rs')
diff --git a/src/semantic/ir.rs b/src/semantic/ir.rs
index be358c4..f92cf27 100644
--- a/src/semantic/ir.rs
+++ b/src/semantic/ir.rs
@@ -1,7 +1,7 @@
use super::temp;
#[derive(Debug)]
-pub enum Binop {
+pub enum BinOp {
Plus,
}
@@ -10,7 +10,7 @@ pub enum Expression {
Const(u64),
Name(temp::TempLabel),
Temp(temp::TempName),
- Binop(Binop, Box, Box),
+ BinOp(BinOp, Box, Box),
Memory(Box),
Call(Box, Vec),
Seq(Vec, Box),
--
cgit v1.2.3