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

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

Issue 1377133005: PPC: [es6] Fix invalid ToString in implementation of ToName. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 8aa7aaca6a557b80d12062f4a9ac34aec9d05143..121ac96f28e08876e8ccdefc59ec41d9cfbc7239 100644
--- a/src/full-codegen/ppc/full-codegen-ppc.cc
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc
@@ -3835,8 +3835,8 @@ void FullCodeGenerator::EmitToName(CallRuntime* expr) {
__ CompareObjectType(r3, r4, r4, LAST_NAME_TYPE);
__ ble(&done_convert);
__ bind(&convert);
- ToStringStub stub(isolate());
- __ CallStub(&stub);
+ __ Push(r3);
+ __ CallRuntime(Runtime::kToName, 1);
__ bind(&done_convert);
context()->Plug(r3);
}
« 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