Fix same Windows compiler error in another place.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3571 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
erik.corry@gmail.com 2010-01-08 13:48:27 +00:00
parent a5247c039c
commit 1670dce1bf

View File

@ -2191,8 +2191,10 @@ void CodeGenerator::Comparison(AstNode* node,
__ cmp(FieldOperand(left_side.reg(), String::kLengthOffset),
Immediate(1));
__ j(not_equal, &comparison_done);
uint8_t char_value =
static_cast<uint8_t>(String::cast(*right_side.handle())->Get(0));
__ cmpb(FieldOperand(left_side.reg(), SeqAsciiString::kHeaderSize),
String::cast(*right_side.handle())->Get(0));
char_value);
__ bind(&comparison_done);
} else {
__ mov(temp2.reg(),