Commit 946c2e50 authored by deanm@chromium.org's avatar deanm@chromium.org

Remove two cases of needlessly jumping to the next instruction. The jump...

Remove two cases of needlessly jumping to the next instruction.  The jump eliminator will remove these cases, but it's easy enough to just do statically in the code, and not require the eliminator to do it at runtime.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@391 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 5aa049e9
......@@ -1127,7 +1127,7 @@ void ToBooleanStub::Generate(MacroAssembler* masm) {
__ sahf();
__ pop(eax);
__ j(zero, &false_result);
__ jmp(&true_result);
// Fall through to |true_result|.
// Return 1/0 for true/false in eax.
__ bind(&true_result);
......@@ -1492,7 +1492,7 @@ void GenericBinaryOpStub::Generate(MacroAssembler* masm) {
__ bind(&slow);
__ mov(eax, Operand(esp, 1 * kPointerSize));
__ mov(edx, Operand(esp, 2 * kPointerSize));
__ jmp(&call_runtime);
// Fall through to |call_runtime|.
break;
}
case Token::BIT_OR:
......
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