Fix TypedArray object printer output.
R=dslomov@chromium.org Review URL: https://codereview.chromium.org/16545002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14970 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
8ff86a6998
commit
9b21eb910e
@ -540,6 +540,8 @@ static const char* TypeToString(InstanceType type) {
|
|||||||
case JS_FUNCTION_TYPE: return "JS_FUNCTION";
|
case JS_FUNCTION_TYPE: return "JS_FUNCTION";
|
||||||
case CODE_TYPE: return "CODE";
|
case CODE_TYPE: return "CODE";
|
||||||
case JS_ARRAY_TYPE: return "JS_ARRAY";
|
case JS_ARRAY_TYPE: return "JS_ARRAY";
|
||||||
|
case JS_ARRAY_BUFFER_TYPE: return "JS_ARRAY_BUFFER";
|
||||||
|
case JS_TYPED_ARRAY_TYPE: return "JS_TYPED_ARRAY";
|
||||||
case JS_PROXY_TYPE: return "JS_PROXY";
|
case JS_PROXY_TYPE: return "JS_PROXY";
|
||||||
case JS_WEAK_MAP_TYPE: return "JS_WEAK_MAP";
|
case JS_WEAK_MAP_TYPE: return "JS_WEAK_MAP";
|
||||||
case JS_REGEXP_TYPE: return "JS_REGEXP";
|
case JS_REGEXP_TYPE: return "JS_REGEXP";
|
||||||
@ -822,7 +824,7 @@ void JSTypedArray::JSTypedArrayPrint(FILE* out) {
|
|||||||
byte_offset()->ShortPrint(out);
|
byte_offset()->ShortPrint(out);
|
||||||
PrintF(out, "\n - byte_length = ");
|
PrintF(out, "\n - byte_length = ");
|
||||||
byte_length()->ShortPrint(out);
|
byte_length()->ShortPrint(out);
|
||||||
PrintF(out, " - length = ");
|
PrintF(out, "\n - length = ");
|
||||||
length()->ShortPrint(out);
|
length()->ShortPrint(out);
|
||||||
PrintF("\n");
|
PrintF("\n");
|
||||||
PrintElements(out);
|
PrintElements(out);
|
||||||
|
Loading…
Reference in New Issue
Block a user