Index: src/codegen.cc |
diff --git a/src/codegen.cc b/src/codegen.cc |
index 6b12d64563fe2ac146120bf7b0b63836fe3fcf10..95279c1ad3036772bd32e0869af1feee97170710 100644 |
--- a/src/codegen.cc |
+++ b/src/codegen.cc |
@@ -257,7 +257,7 @@ void ArgumentsAccessStub::Generate(MacroAssembler* masm) { |
int CEntryStub::MinorKey() const { |
int result = (save_doubles_ == kSaveFPRegs) ? 1 : 0; |
DCHECK(result_size_ == 1 || result_size_ == 2); |
-#ifdef _WIN64 |
+#if defined(_WIN64) || defined(V8_TARGET_ARCH_PPC64) |
return result | ((result_size_ == 1) ? 0 : 2); |
#else |
return result; |