Author: [EMAIL PROTECTED]
Date: Sun Sep 28 05:21:12 2008
New Revision: 391
Modified:
branches/bleeding_edge/src/codegen-ia32.cc
Log:
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.
Modified: branches/bleeding_edge/src/codegen-ia32.cc
==============================================================================
--- branches/bleeding_edge/src/codegen-ia32.cc (original)
+++ branches/bleeding_edge/src/codegen-ia32.cc Sun Sep 28 05:21:12 2008
@@ -1127,7 +1127,7 @@
__ 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 @@
__ 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:
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---