Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: test/mjsunit/elements-kind.js

Issue 145133013: External Array renaming and boilerplate scrapping (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/api.cc ('K') | « test/cctest/test-api.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
}
« src/api.cc ('K') | « test/cctest/test-api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698