Reviewers: William Hesse, Description: Fix win64 build by using int instead of size_t for position in StringBuilder
Please review this at http://codereview.chromium.org/6353002/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/x64/lithium-codegen-x64.cc Index: src/x64/lithium-codegen-x64.cc =================================================================== --- src/x64/lithium-codegen-x64.cc (revision 6311) +++ src/x64/lithium-codegen-x64.cc (working copy) @@ -83,7 +83,7 @@ // Copy the string before recording it in the assembler to avoid // issues when the stack allocated buffer goes out of scope. - size_t length = builder.position(); + int length = builder.position(); Vector<char> copy = Vector<char>::New(length + 1); memcpy(copy.start(), builder.Finalize(), copy.length()); masm()->RecordComment(copy.start()); -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
