Index: src/lithium.cc |
diff --git a/src/lithium.cc b/src/lithium.cc |
index 64ef469b33aa2a3400792280df0a05209ce18504..5410f6f0586e82e1b24175834981bccfecc04a9b 100644 |
--- a/src/lithium.cc |
+++ b/src/lithium.cc |
@@ -166,25 +166,25 @@ void LPointerMap::PrintTo(StringStream* stream) { |
} |
-int ElementsKindToShiftSize(JSObject::ElementsKind elements_kind) { |
+int ElementsKindToShiftSize(ElementsKind elements_kind) { |
switch (elements_kind) { |
- case JSObject::EXTERNAL_BYTE_ELEMENTS: |
- case JSObject::EXTERNAL_PIXEL_ELEMENTS: |
- case JSObject::EXTERNAL_UNSIGNED_BYTE_ELEMENTS: |
+ case EXTERNAL_BYTE_ELEMENTS: |
+ case EXTERNAL_PIXEL_ELEMENTS: |
+ case EXTERNAL_UNSIGNED_BYTE_ELEMENTS: |
return 0; |
- case JSObject::EXTERNAL_SHORT_ELEMENTS: |
- case JSObject::EXTERNAL_UNSIGNED_SHORT_ELEMENTS: |
+ case EXTERNAL_SHORT_ELEMENTS: |
+ case EXTERNAL_UNSIGNED_SHORT_ELEMENTS: |
return 1; |
- case JSObject::EXTERNAL_INT_ELEMENTS: |
- case JSObject::EXTERNAL_UNSIGNED_INT_ELEMENTS: |
- case JSObject::EXTERNAL_FLOAT_ELEMENTS: |
+ case EXTERNAL_INT_ELEMENTS: |
+ case EXTERNAL_UNSIGNED_INT_ELEMENTS: |
+ case EXTERNAL_FLOAT_ELEMENTS: |
return 2; |
- case JSObject::EXTERNAL_DOUBLE_ELEMENTS: |
- case JSObject::FAST_DOUBLE_ELEMENTS: |
+ case EXTERNAL_DOUBLE_ELEMENTS: |
+ case FAST_DOUBLE_ELEMENTS: |
return 3; |
- case JSObject::FAST_ELEMENTS: |
- case JSObject::DICTIONARY_ELEMENTS: |
- case JSObject::NON_STRICT_ARGUMENTS_ELEMENTS: |
+ case FAST_ELEMENTS: |
+ case DICTIONARY_ELEMENTS: |
+ case NON_STRICT_ARGUMENTS_ELEMENTS: |
return kPointerSizeLog2; |
} |
UNREACHABLE(); |