Commit 5378d727 authored by vegorov@chromium.org's avatar vegorov@chromium.org

Fix the Cygwin build after isolates merge.

Patch by Bert Belder.

Review URL: http://codereview.chromium.org/6776011

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7447 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 1358772e
This diff is collapsed.
...@@ -200,6 +200,7 @@ TEST(CodeRange) { ...@@ -200,6 +200,7 @@ TEST(CodeRange) {
size_t allocated = 0; size_t allocated = 0;
void* base = Isolate::Current()->code_range()-> void* base = Isolate::Current()->code_range()->
AllocateRawMemory(requested, &allocated); AllocateRawMemory(requested, &allocated);
CHECK(base != NULL);
blocks.Add(Block(base, static_cast<int>(allocated))); blocks.Add(Block(base, static_cast<int>(allocated)));
current_allocated += static_cast<int>(allocated); current_allocated += static_cast<int>(allocated);
total_allocated += static_cast<int>(allocated); total_allocated += static_cast<int>(allocated);
......
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