]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - bytecode/PolymorphicPutByIdList.cpp
JavaScriptCore-1218.0.1.tar.gz
[apple/javascriptcore.git] / bytecode / PolymorphicPutByIdList.cpp
index 170615b73a8dca06bbfee1bfd4caa55a8285a179..6a6ec81415a35783938f1fd5a34d2e6f5cd29a2f 100644 (file)
@@ -42,7 +42,7 @@ PutByIdAccess PutByIdAccess::fromStructureStubInfo(
     case access_put_by_id_replace:
         result.m_type = Replace;
         result.m_oldStructure.copyFrom(stubInfo.u.putByIdReplace.baseObjectStructure);
-        result.m_stubRoutine = MacroAssemblerCodeRef::createSelfManagedCodeRef(initialSlowPath);
+        result.m_stubRoutine = JITStubRoutine::createSelfManagedRoutine(initialSlowPath);
         break;
         
     case access_put_by_id_transition_direct:
@@ -55,7 +55,7 @@ PutByIdAccess PutByIdAccess::fromStructureStubInfo(
         break;
         
     default:
-        ASSERT_NOT_REACHED();
+        RELEASE_ASSERT_NOT_REACHED();
     }
     
     return result;
@@ -77,7 +77,7 @@ bool PutByIdAccess::visitWeak() const
             return false;
         break;
     default:
-        ASSERT_NOT_REACHED();
+        RELEASE_ASSERT_NOT_REACHED();
         return false;
     }
     return true;