MIPS: Fix r24286 "ExtendStorageStub added, it is aimed for extending objects backing...
authorbalazs.kilvady@imgtec.com <balazs.kilvady@imgtec.com>
Mon, 29 Sep 2014 15:59:38 +0000 (15:59 +0000)
committerbalazs.kilvady@imgtec.com <balazs.kilvady@imgtec.com>
Mon, 29 Sep 2014 15:59:38 +0000 (15:59 +0000)
BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/605873005

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24293 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/ic/mips/handler-compiler-mips.cc
src/ic/mips64/handler-compiler-mips64.cc

index 0abbed9..05f3c25 100644 (file)
@@ -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 009b575..b775914 100644 (file)
@@ -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),