projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fehler156: aligning the stack does not work.
[libfirm]
/
ir
/
lower
/
lower_calls.c
diff --git
a/ir/lower/lower_calls.c
b/ir/lower/lower_calls.c
index
8c9fc67
..
f65b346
100644
(file)
--- a/
ir/lower/lower_calls.c
+++ b/
ir/lower/lower_calls.c
@@
-39,9
+39,10
@@
#include "irmemory.h"
#include "irtools.h"
#include "iroptimize.h"
#include "irmemory.h"
#include "irtools.h"
#include "iroptimize.h"
-#include "array.h"
+#include "array
_t
.h"
#include "pmap.h"
#include "xmalloc.h"
#include "pmap.h"
#include "xmalloc.h"
+#include "error.h"
/** A type map for def_find_pointer_type. */
static pmap *type_map;
/** A type map for def_find_pointer_type. */
static pmap *type_map;
@@
-124,7
+125,7
@@
static ir_type *create_modified_mtd_type(const lower_params_t *lp, ir_type *mtp)
if (n_regs > 0) {
/* this compound will be returned solely in registers */
if (n_regs > 0) {
/* this compound will be returned solely in registers */
-
assert(0
);
+
panic("Returning compounds in registers not yet implemented"
);
}
else {
/* this compound will be allocated on callers stack and its
}
else {
/* this compound will be allocated on callers stack and its