Commit 1670dce1 authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

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
parent a5247c03
......@@ -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(),
......
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