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

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

Issue 1306303003: [es6] Implement spec compliant ToPrimitive in the runtime. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address Michis comments. Created 5 years, 4 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
Index: src/full-codegen/mips64/full-codegen-mips64.cc
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc
index c4b924bf126dfd1ed97282926c42741d5ffd2bfe..10e4580411ee9ae4802476306556a17d82516131 100644
--- a/src/full-codegen/mips64/full-codegen-mips64.cc
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc
@@ -3464,7 +3464,7 @@ void FullCodeGenerator::EmitIsStringWrapperSafeForDefaultValueOf(
// string "valueOf" the result is false.
// The use of a6 to store the valueOf string assumes that it is not otherwise
// used in the loop below.
- __ li(a6, Operand(isolate()->factory()->value_of_string()));
+ __ LoadRoot(a6, Heap::kvalueOf_stringRootIndex);
__ jmp(&entry);
__ bind(&loop);
__ ld(a3, MemOperand(a4, 0));

Powered by Google App Engine
This is Rietveld 408576698