Reviewers: Weiliang, mvstanton,

Message:
weiliang.
please review this patch.
thanks

Description:
X87: Error in CallFunctionNoFeedback ia32 made less efficient code

port r22191.

original commit message:
  Error in CallFunctionNoFeedback ia32 made less efficient code

BUG=

Please review this at https://codereview.chromium.org/371543003/

SVN Base: https://github.com/v8/v8.git@master

Affected files (+1, -1 lines):
  M src/x87/code-stubs-x87.cc


Index: src/x87/code-stubs-x87.cc
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc
index 02c9f15b37bd0a004d6a3e58374a147d7f8b4834..e429adb3cdde995bad8892a5529dd9248ff60dec 100644
--- a/src/x87/code-stubs-x87.cc
+++ b/src/x87/code-stubs-x87.cc
@@ -1946,7 +1946,7 @@ static void CallFunctionNoFeedback(MacroAssembler* masm,
     // Load the receiver from the stack.
     __ mov(eax, Operand(esp, (argc + 1) * kPointerSize));

-    if (call_as_method) {
+    if (needs_checks) {
       __ JumpIfSmi(eax, &wrap);

       __ CmpObjectType(eax, FIRST_SPEC_OBJECT_TYPE, ecx);


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to