public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
408b69b
)
Allow values left on the stack at the end of the procedure (it's legal!).
author
David Given
<dg@cowlark.com>
Mon, 14 Nov 2016 20:47:49 +0000
(21:47 +0100)
committer
David Given
<dg@cowlark.com>
Mon, 14 Nov 2016 20:47:49 +0000
(21:47 +0100)
mach/proto/mcg/treebuilder.c
patch
|
blob
|
history
diff --git
a/mach/proto/mcg/treebuilder.c
b/mach/proto/mcg/treebuilder.c
index
b0ef5ba
..
fcd1361
100644
(file)
--- a/
mach/proto/mcg/treebuilder.c
+++ b/
mach/proto/mcg/treebuilder.c
@@
-1643,7
+1643,8
@@
static void generate_tree(struct basicblock* bb)
print_stack();
}
- assert(stackptr == 0);
+ /* Yes, we are allowed to leave stuff on the stack at the end of the procedure.
+ * It's discarded as part of the function return. */
}
void tb_procedure(void)