aboutsummaryrefslogtreecommitdiff
path: root/src/ir_opt.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-06-19 18:49:11 +0100
committerGinger Bill <bill@gingerbill.org>2017-06-19 18:49:11 +0100
commit35c102137f9a097584bf1af39e9809064293a0a3 (patch)
tree581cb5f135c5b8be5a3c574fea156b44a1f51aec /src/ir_opt.cpp
parent5427d144163af7353b91219a762a5cf4ea17968d (diff)
Compiler compiles for x86 (doesn't work properly)
Diffstat (limited to 'src/ir_opt.cpp')
-rw-r--r--src/ir_opt.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ir_opt.cpp b/src/ir_opt.cpp
index c2c952b87..1900d2ed2 100644
--- a/src/ir_opt.cpp
+++ b/src/ir_opt.cpp
@@ -80,6 +80,8 @@ void ir_opt_add_operands(Array<irValue *> *ops, irInstr *i) {
// break;
case irInstr_StartupRuntime:
break;
+
+ #if 0
case irInstr_BoundsCheck:
array_add(ops, i->BoundsCheck.index);
array_add(ops, i->BoundsCheck.len);
@@ -88,6 +90,7 @@ void ir_opt_add_operands(Array<irValue *> *ops, irInstr *i) {
array_add(ops, i->SliceBoundsCheck.low);
array_add(ops, i->SliceBoundsCheck.high);
break;
+ #endif
}
}