Index: test/mjsunit/elements-kind.js |
diff --git a/test/mjsunit/elements-kind.js b/test/mjsunit/elements-kind.js |
index d16ddcaac9305dd6689028bfbd334668b144d517..e2bbc31a41c100856fcc00490d2189f706f6055e 100644 |
--- a/test/mjsunit/elements-kind.js |
+++ b/test/mjsunit/elements-kind.js |
@@ -65,31 +65,31 @@ function getKind(obj) { |
if (%HasDictionaryElements(obj)) return elements_kind.dictionary; |
// Every external kind is also an external array. |
assertTrue(%HasExternalArrayElements(obj)); |
- if (%HasExternalByteElements(obj)) { |
+ if (%HasExternalInt8Elements(obj)) { |
return elements_kind.external_byte; |
} |
- if (%HasExternalUnsignedByteElements(obj)) { |
+ if (%HasExternalUint8Elements(obj)) { |
return elements_kind.external_unsigned_byte; |
} |
- if (%HasExternalShortElements(obj)) { |
+ if (%HasExternalInt16Elements(obj)) { |
return elements_kind.external_short; |
} |
- if (%HasExternalUnsignedShortElements(obj)) { |
+ if (%HasExternalUint16Elements(obj)) { |
return elements_kind.external_unsigned_short; |
} |
- if (%HasExternalIntElements(obj)) { |
+ if (%HasExternalInt32Elements(obj)) { |
return elements_kind.external_int; |
} |
- if (%HasExternalUnsignedIntElements(obj)) { |
+ if (%HasExternalUint32Elements(obj)) { |
return elements_kind.external_unsigned_int; |
} |
- if (%HasExternalFloatElements(obj)) { |
+ if (%HasExternalFloat32Elements(obj)) { |
return elements_kind.external_float; |
} |
- if (%HasExternalDoubleElements(obj)) { |
+ if (%HasExternalFloat64Elements(obj)) { |
return elements_kind.external_double; |
} |
- if (%HasExternalPixelElements(obj)) { |
+ if (%HasExternalUint8ClampedElements(obj)) { |
return elements_kind.external_pixel; |
} |
} |