summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-04-22 11:22:01 -0700
committerEric Anholt <eric@anholt.net>2010-04-22 11:24:28 -0700
commit4d49d138c1956054719a35d4ae644f8cbaa2e7f5 (patch)
treea1765403065b8f5434027254d01bb99cf3f98d99
parent92f4257004a424018e1cf2bea9893c3b43322cbd (diff)
ir_to_arbfp: Complain when we find a call to a function.arbfp
-rw-r--r--ir_to_arbfp.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/ir_to_arbfp.cpp b/ir_to_arbfp.cpp
index dc9c00d..5c789a4 100644
--- a/ir_to_arbfp.cpp
+++ b/ir_to_arbfp.cpp
@@ -386,17 +386,8 @@ ir_to_arbfp_visitor::visit(ir_constant *ir)
void
ir_to_arbfp_visitor::visit(ir_call *ir)
{
- foreach_iter(exec_list_iterator, iter, *ir) {
- ir_rvalue *param = (ir_rvalue *)iter.get();
-
- /* FINISHME: handle out values. */
- param->accept(this);
- }
-
- /* Ignore the callee. Function bodies will get handled when they're
- * encountered at the top level instruction stream and spawn their
- * own dead code visitor.
- */
+ printf("Can't support call to %s\n", ir->callee_name());
+ exit(1);
}