Revision: 11480
Author: [email protected]
Date: Wed May 2 05:13:39 2012
Log: Small patch to save one jump instruction and one label bind in
JSEntryStub.
BUG=v8:2105
TEST=
Review URL: https://chromiumcodereview.appspot.com/10249003
Patch from Zhongping Wang <[email protected]>.
http://code.google.com/p/v8/source/detail?r=11480
Modified:
/branches/bleeding_edge/src/ia32/code-stubs-ia32.cc
=======================================
--- /branches/bleeding_edge/src/ia32/code-stubs-ia32.cc Thu Apr 19 03:28:17
2012
+++ /branches/bleeding_edge/src/ia32/code-stubs-ia32.cc Wed May 2 05:13:39
2012
@@ -5014,11 +5014,9 @@
__ j(not_equal, ¬_outermost_js, Label::kNear);
__ mov(Operand::StaticVariable(js_entry_sp), ebp);
__ push(Immediate(Smi::FromInt(StackFrame::OUTERMOST_JSENTRY_FRAME)));
- Label cont;
- __ jmp(&cont, Label::kNear);
+ __ jmp(&invoke, Label::kNear);
__ bind(¬_outermost_js);
__ push(Immediate(Smi::FromInt(StackFrame::INNER_JSENTRY_FRAME)));
- __ bind(&cont);
// Jump to a faked try block that does the invoke, with a faked catch
// block that sets the pending exception.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev