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

Unified Diff: src/ppc/assembler-ppc.cc

Issue 1607663004: PPC: Cleanup ABI-specifc code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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 | « src/ppc/assembler-ppc.h ('k') | src/ppc/code-stubs-ppc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ppc/assembler-ppc.cc
diff --git a/src/ppc/assembler-ppc.cc b/src/ppc/assembler-ppc.cc
index 147fb59aaea0a9387bc1d371a411a21f8a593261..d920eaa9a0782cc0c19ab2933ac2b50ab3cc7ed7 100644
--- a/src/ppc/assembler-ppc.cc
+++ b/src/ppc/assembler-ppc.cc
@@ -1504,14 +1504,14 @@ void Assembler::divdu(Register dst, Register src1, Register src2, OEBit o,
// Code address skips the function descriptor "header".
// TOC and static chain are ignored and set to 0.
void Assembler::function_descriptor() {
-#if ABI_USES_FUNCTION_DESCRIPTORS
- Label instructions;
- DCHECK(pc_offset() == 0);
- emit_label_addr(&instructions);
- dp(0);
- dp(0);
- bind(&instructions);
-#endif
+ if (ABI_USES_FUNCTION_DESCRIPTORS) {
+ Label instructions;
+ DCHECK(pc_offset() == 0);
+ emit_label_addr(&instructions);
+ dp(0);
+ dp(0);
+ bind(&instructions);
+ }
}
« no previous file with comments | « src/ppc/assembler-ppc.h ('k') | src/ppc/code-stubs-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698