Revision: 3570
Author: [email protected]
Date: Fri Jan 8 04:42:58 2010
Log: Fix Windows build.
Review URL: http://codereview.chromium.org/527031
http://code.google.com/p/v8/source/detail?r=3570
Modified:
/branches/bleeding_edge/src/ia32/codegen-ia32.cc
=======================================
--- /branches/bleeding_edge/src/ia32/codegen-ia32.cc Fri Jan 8 03:58:15
2010
+++ /branches/bleeding_edge/src/ia32/codegen-ia32.cc Fri Jan 8 04:42:58
2010
@@ -2208,8 +2208,9 @@
__ bind(&comparison);
// Compare the first character of the string with out constant
// 1-character string.
- __ cmp(Operand(temp2.reg()),
- Immediate(String::cast(*right_side.handle())->Get(0)));
+ uint8_t char_value =
+
static_cast<uint8_t>(String::cast(*right_side.handle())->Get(0));
+ __ cmp(Operand(temp2.reg()), Immediate(char_value));
Label characters_were_different;
__ j(not_equal, &characters_were_different);
// If the first character is the same then the long string sorts
after
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev