Revision: 6313
Author: [email protected]
Date: Fri Jan 14 03:54:38 2011
Log: Fix win64 build by using int instead of size_t for position in
StringBuilder
Review URL: http://codereview.chromium.org/6353002
http://code.google.com/p/v8/source/detail?r=6313
Modified:
/branches/bleeding_edge/src/x64/lithium-codegen-x64.cc
=======================================
--- /branches/bleeding_edge/src/x64/lithium-codegen-x64.cc Fri Jan 14
03:35:02 2011
+++ /branches/bleeding_edge/src/x64/lithium-codegen-x64.cc Fri Jan 14
03:54:38 2011
@@ -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