Fix Windows 64 bit compile.
Review URL: https://chromiumcodereview.appspot.com/10034014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11269 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
0cdf6b50e7
commit
dd0be92a1c
@ -10871,7 +10871,8 @@ THREADED_TEST(ExternalAllocatedMemory) {
|
||||
CHECK(!env.IsEmpty());
|
||||
const intptr_t kSize = 1024*1024;
|
||||
CHECK_EQ(v8::V8::AdjustAmountOfExternalAllocatedMemory(kSize), kSize);
|
||||
CHECK_EQ(v8::V8::AdjustAmountOfExternalAllocatedMemory(-kSize), 0l);
|
||||
CHECK_EQ(v8::V8::AdjustAmountOfExternalAllocatedMemory(-kSize),
|
||||
static_cast<intptr_t>(0));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user