Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: gcc/gcc/dwarf2out.c

Issue 2852035: [gcc] Make nacl calls CALLs. (Closed) Base URL: ssh://git@chromiumos-git/nacl-toolchain.git
Patch Set: ready for code review Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/config/i386/i386.md ('k') | gcc/gcc/final.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/dwarf2out.c
diff --git a/gcc/gcc/dwarf2out.c b/gcc/gcc/dwarf2out.c
index ba9dadea316bbe8e48de476b43146d236eee4f74..7001ccbee164474d425a072ece61b8f2de4d7ad5 100644
--- a/gcc/gcc/dwarf2out.c
+++ b/gcc/gcc/dwarf2out.c
@@ -1475,17 +1475,9 @@ dwarf2out_stack_adjust (rtx insn, bool after_p)
insn = XVECEXP (insn, 0, 0);
if (GET_CODE (insn) == SET)
insn = SET_SRC (insn);
- if (GET_CODE (insn) == CALL) {
+ gcc_assert (GET_CODE (insn) == CALL);
dwarf2out_args_size ("", INTVAL (XEXP (insn, 1)));
}
- else if ((GET_CODE (insn) == UNSPEC) &&
- (XINT (insn, 1) == UNSPEC_NACLCALL)) {
- dwarf2out_args_size ("", INTVAL (XVECEXP (insn, 0, 1)));
- }
- else {
- internal_error ("Not recognized as a call or naclcall");
- }
- }
return;
}
« no previous file with comments | « gcc/gcc/config/i386/i386.md ('k') | gcc/gcc/final.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698