Commit dbf5be00 authored by dslomov@chromium.org's avatar dslomov@chromium.org

Use FAR jump in GenerateCompareFlatAsciiStrings.

BUG=325487
R=jkummerow@chromium.org
LOG=N

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18288 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 3de79abd
......@@ -4335,7 +4335,10 @@ void StringCompareStub::GenerateCompareFlatAsciiStrings(MacroAssembler* masm,
// Compare loop.
Label result_not_equal;
GenerateAsciiCharsCompareLoop(masm, left, right, min_length, scratch2,
&result_not_equal, Label::kNear);
&result_not_equal,
// In debug-code mode, SmiTest below might push
// the target label outside the near range.
Label::kFar);
// Completed loop without finding different characters.
// Compare lengths (precomputed).
......
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