Prefix usage of kExternalFloatArray and kExternalDoubleArray with v8.
TBR=mstarzinger@chromium.org Review URL: https://chromiumcodereview.appspot.com/9417002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10715 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
bd79e299e5
commit
2fa1cc03ac
@ -12902,8 +12902,8 @@ static void ExternalArrayTestHelper(v8::ExternalArrayType array_type,
|
||||
"}"
|
||||
"ext_array[7];");
|
||||
CHECK_EQ(0, result->Int32Value());
|
||||
if (array_type == kExternalDoubleArray ||
|
||||
array_type == kExternalFloatArray) {
|
||||
if (array_type == v8::kExternalDoubleArray ||
|
||||
array_type == v8::kExternalFloatArray) {
|
||||
CHECK_EQ(
|
||||
static_cast<int>(0x80000000),
|
||||
static_cast<int>(jsobj->GetElement(7)->ToObjectChecked()->Number()));
|
||||
|
Loading…
Reference in New Issue
Block a user