projects
/
platform
/
upstream
/
orc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ea6900
)
Improve compile debugging
author
David Schleef
<ds@schleef.org>
Tue, 6 Jul 2010 19:29:23 +0000
(12:29 -0700)
committer
David Schleef
<ds@schleef.org>
Fri, 9 Jul 2010 23:57:17 +0000
(16:57 -0700)
orc/orccompiler.c
patch
|
blob
|
history
diff --git
a/orc/orccompiler.c
b/orc/orccompiler.c
index
ca8ed3d
..
1749b29
100644
(file)
--- a/
orc/orccompiler.c
+++ b/
orc/orccompiler.c
@@
-105,7
+105,8
@@
orc_compiler_allocate_register (OrcCompiler *compiler, int data_reg)
}
/* FIXME on !x86, this is an error */
- ORC_COMPILER_ERROR (compiler, "register overflow");
+ ORC_COMPILER_ERROR (compiler, "register overflow for %s reg",
+ data_reg ? "vector" : "gp");
compiler->result = ORC_COMPILE_RESULT_UNKNOWN_COMPILE;
return 0;
@@
-494,6
+495,8
@@
orc_compiler_global_reg_alloc (OrcCompiler *compiler)
compiler->result = ORC_COMPILE_RESULT_UNKNOWN_PARSE;
break;
}
+
+ if (compiler->error) break;
}
if (compiler->alloc_loop_counter && !compiler->error) {