Commit dd0be92a authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

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
parent 0cdf6b50
......@@ -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));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment