Re-enable an UNREACHABLE in JSObject::GetHeaderSize()
authorjkummerow <jkummerow@chromium.org>
Fri, 17 Apr 2015 08:47:20 +0000 (01:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 17 Apr 2015 08:47:11 +0000 (08:47 +0000)
Review URL: https://codereview.chromium.org/1091553002

Cr-Commit-Position: refs/heads/master@{#27908}

src/objects-inl.h

index f284f65d34efaa93b7efaedaf5d1c7d93cc84c9e..1ddbc8c8179e0cb8f11a134274616b7eb0a7da8c 100644 (file)
@@ -1979,9 +1979,7 @@ int JSObject::GetHeaderSize() {
     case JS_MESSAGE_OBJECT_TYPE:
       return JSMessageObject::kSize;
     default:
-      // TODO(jkummerow): Re-enable this. Blink currently hits this
-      // from its CustomElementConstructorBuilder.
-      // UNREACHABLE();
+      UNREACHABLE();
       return 0;
   }
 }