Tried to fix the 32-bit !ASSERT_DISABLED build after r232211.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 May 2018 02:51:00 +0000 (02:51 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 May 2018 02:51:00 +0000 (02:51 +0000)
* jit/JITOperations.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232231 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jit/JITOperations.cpp

index af3750d..406d5ba 100644 (file)
@@ -1,3 +1,9 @@
+2018-05-27  Dan Bernstein  <mitz@apple.com>
+
+        Tried to fix the 32-bit !ASSERT_DISABLED build after r232211.
+
+        * jit/JITOperations.cpp:
+
 2018-05-26  Yusuke Suzuki  <utatane.tea@gmail.com>
 
         [JSC] Rename Array#flatten to flat
index d3a2a8e..4c2eb61 100644 (file)
@@ -1797,7 +1797,7 @@ void JIT_OPERATION operationPutGetterSetter(ExecState* exec, JSCell* object, Uni
     ASSERT(object && object->isObject());
     JSObject* baseObject = asObject(object);
 
-    ASSERT(getter || setter);
+    ASSERT(getterCell || setterCell);
     JSObject* getter = getterCell ? getterCell->getObject() : nullptr;
     JSObject* setter = setterCell ? setterCell->getObject() : nullptr;
     GetterSetter* accessor = GetterSetter::create(vm, exec->lexicalGlobalObject(), getter, setter);