Index: src/lithium.cc |
diff --git a/src/lithium.cc b/src/lithium.cc |
index 432e81b80be6a4d00f8de6b819a86a85534cb53d..ee8ea3e711ed95de247ae0ef2afdf921a0a46fe8 100644 |
--- a/src/lithium.cc |
+++ b/src/lithium.cc |
@@ -233,36 +233,6 @@ void LPointerMap::PrintTo(StringStream* stream) { |
} |
-int ElementsKindToShiftSize(ElementsKind elements_kind) { |
- switch (elements_kind) { |
- case EXTERNAL_BYTE_ELEMENTS: |
- case EXTERNAL_PIXEL_ELEMENTS: |
- case EXTERNAL_UNSIGNED_BYTE_ELEMENTS: |
- return 0; |
- case EXTERNAL_SHORT_ELEMENTS: |
- case EXTERNAL_UNSIGNED_SHORT_ELEMENTS: |
- return 1; |
- case EXTERNAL_INT_ELEMENTS: |
- case EXTERNAL_UNSIGNED_INT_ELEMENTS: |
- case EXTERNAL_FLOAT_ELEMENTS: |
- return 2; |
- case EXTERNAL_DOUBLE_ELEMENTS: |
- case FAST_DOUBLE_ELEMENTS: |
- case FAST_HOLEY_DOUBLE_ELEMENTS: |
- return 3; |
- case FAST_SMI_ELEMENTS: |
- case FAST_ELEMENTS: |
- case FAST_HOLEY_SMI_ELEMENTS: |
- case FAST_HOLEY_ELEMENTS: |
- case DICTIONARY_ELEMENTS: |
- case NON_STRICT_ARGUMENTS_ELEMENTS: |
- return kPointerSizeLog2; |
- } |
- UNREACHABLE(); |
- return 0; |
-} |
- |
- |
int StackSlotOffset(int index) { |
if (index >= 0) { |
// Local or spill slot. Skip the frame pointer, function, and |