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

Unified Diff: src/full-codegen/ppc/full-codegen-ppc.cc

Issue 1556063004: Fix "PPC: Use register arguments for RestParamAccessStub". (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 12 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen/ppc/full-codegen-ppc.cc
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc
index 606343d7653c96b87808b0b34d4a0ab7d07f6d5b..fedea95cf822c05186a71ba1677a7801b71e468e 100644
--- a/src/full-codegen/ppc/full-codegen-ppc.cc
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc
@@ -274,13 +274,13 @@ void FullCodeGenerator::Generate() {
int offset = num_parameters * kPointerSize;
__ LoadSmiLiteral(RestParamAccessDescriptor::parameter_count(),
- Operand(Smi::FromInt(num_parameters)));
+ Smi::FromInt(num_parameters));
__ addi(RestParamAccessDescriptor::parameter_pointer(), fp,
Operand(StandardFrameConstants::kCallerSPOffset + offset));
__ LoadSmiLiteral(RestParamAccessDescriptor::rest_parameter_index(),
- Operand(Smi::FromInt(rest_index)));
+ Smi::FromInt(rest_index));
__ LoadSmiLiteral(RestParamAccessDescriptor::language_mode(),
- Operand(Smi::FromInt(language_mode())));
+ Smi::FromInt(language_mode()));
DCHECK(r4.is(RestParamAccessDescriptor::language_mode()));
function_in_register_r4 = false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698