Commit 2ac5884b authored by rossberg@chromium.org's avatar rossberg@chromium.org

Fix cast warnings on Win32

R=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/12374087

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13812 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 5c93b18e
......@@ -7283,7 +7283,7 @@ void NameDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm,
kIsInternalizedMask);
__ j(not_zero, &good);
__ cmpb(FieldOperand(entity_name, Map::kInstanceTypeOffset),
static_cast<int8_t>(SYMBOL_TYPE));
static_cast<uint8_t>(SYMBOL_TYPE));
__ j(not_equal, miss);
__ bind(&good);
}
......@@ -7423,7 +7423,7 @@ void NameDictionaryLookupStub::Generate(MacroAssembler* masm) {
kIsInternalizedMask);
__ j(not_zero, &cont);
__ cmpb(FieldOperand(scratch, Map::kInstanceTypeOffset),
static_cast<int8_t>(SYMBOL_TYPE));
static_cast<uint8_t>(SYMBOL_TYPE));
__ j(not_equal, &maybe_in_dictionary);
__ bind(&cont);
}
......
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