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

Unified Diff: gcc/gcc/reg-stack.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/final.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/reg-stack.c
diff --git a/gcc/gcc/reg-stack.c b/gcc/gcc/reg-stack.c
index 31285b06d0f64408feab17a27413ad5646e19a43..4300f35a30ea058ba7f46030b5d6cb8ef71c7297 100644
--- a/gcc/gcc/reg-stack.c
+++ b/gcc/gcc/reg-stack.c
@@ -1866,24 +1866,9 @@ subst_stack_regs_pat (rtx insn, stack regstack, rtx pat)
compare_for_stack_reg (insn, regstack, pat_src);
break;
- case UNSPEC_NACLCALL:
- {
- int count = hard_regno_nregs[REGNO (*dest)][GET_MODE (*dest)];
- while (--count >= 0)
- {
- regstack->reg[++regstack->top] = REGNO (*dest) + count;
- SET_HARD_REG_BIT (regstack->reg_set,
- REGNO (*dest) + count);
- }
- }
- replace_reg (dest, FIRST_STACK_REG);
- break;
-
- case UNSPEC_NACLJMP:
- break;
-
- case UNSPEC_NACLRET:
- break;
+ case UNSPEC_NACLJMP:
+ case UNSPEC_NACLRET:
+ break;
default:
gcc_unreachable ();
« no previous file with comments | « gcc/gcc/final.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698