Commit 8d4303e0 authored by danno@chromium.org's avatar danno@chromium.org

Fix Win64 build isolate problem

R=ager@chromium.org
BUG=none
TEST=none

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7471 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 6153267d
...@@ -8755,7 +8755,7 @@ ModuloFunction CreateModuloFunction() { ...@@ -8755,7 +8755,7 @@ ModuloFunction CreateModuloFunction() {
&actual_size, &actual_size,
true)); true));
CHECK(buffer); CHECK(buffer);
Assembler masm(buffer, static_cast<int>(actual_size)); Assembler masm(Isolate::Current(), buffer, static_cast<int>(actual_size));
// Generated code is put into a fixed, unmovable, buffer, and not into // Generated code is put into a fixed, unmovable, buffer, and not into
// the V8 heap. We can't, and don't, refer to any relocatable addresses // the V8 heap. We can't, and don't, refer to any relocatable addresses
// (e.g. the JavaScript nan-object). // (e.g. the JavaScript nan-object).
......
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