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:
erik.corry@gmail.com 2012-04-11 10:18:42 +00:00
parent 0cdf6b50e7
commit dd0be92a1c

View File

@ -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));
}