Reviewers: danno, Igor Sheludko, paul.l..., gergely.kis.imgtec, akos.palfi.imgtec, dusmil.imgtec,

Description:
MIPS: Fix r24286 "ExtendStorageStub added, it is aimed for extending objects
backing store when it runs out of space".

BUG=

Please review this at https://codereview.chromium.org/605873005/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+4, -4 lines):
  M src/ic/mips/handler-compiler-mips.cc
  M src/ic/mips64/handler-compiler-mips64.cc


Index: src/ic/mips/handler-compiler-mips.cc
diff --git a/src/ic/mips/handler-compiler-mips.cc b/src/ic/mips/handler-compiler-mips.cc index 0abbed99dff941356b5aab6a8497ee91eeeca38d..05f3c25f71de9fc28eda21a1a5b4be3daceab1cf 100644
--- a/src/ic/mips/handler-compiler-mips.cc
+++ b/src/ic/mips/handler-compiler-mips.cc
@@ -391,8 +391,8 @@ void NamedStoreHandlerCompiler::GenerateStoreTransition(
   if (details.type() == FIELD &&
Map::cast(transition->GetBackPointer())->unused_property_fields() == 0) {
     // The properties must be extended before we can store the value.
-    __ mov(ExtendStorageDescriptor::NameRegister(), Operand(name));
-    __ mov(ExtendStorageDescriptor::MapRegister(), Operand(transition));
+    __ li(ExtendStorageDescriptor::NameRegister(), Operand(name));
+    __ li(ExtendStorageDescriptor::MapRegister(), Operand(transition));


     ExtendStorageStub stub(isolate(),
Index: src/ic/mips64/handler-compiler-mips64.cc
diff --git a/src/ic/mips64/handler-compiler-mips64.cc b/src/ic/mips64/handler-compiler-mips64.cc index 009b5756ae47ee4c3990e1dba7fd37a5a0f5a28d..b7759142965656730cb914f3005b7cc406659eac 100644
--- a/src/ic/mips64/handler-compiler-mips64.cc
+++ b/src/ic/mips64/handler-compiler-mips64.cc
@@ -391,8 +391,8 @@ void NamedStoreHandlerCompiler::GenerateStoreTransition(
   if (details.type() == FIELD &&
Map::cast(transition->GetBackPointer())->unused_property_fields() == 0) {
     // The properties must be extended before we can store the value.
-    __ Mov(ExtendStorageDescriptor::NameRegister(), Operand(name));
-    __ Mov(ExtendStorageDescriptor::MapRegister(), Operand(transition));
+    __ li(ExtendStorageDescriptor::NameRegister(), Operand(name));
+    __ li(ExtendStorageDescriptor::MapRegister(), Operand(transition));

     ExtendStorageStub stub(isolate(),
FieldIndex::ForDescriptor(*transition, descriptor),


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to