Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/x87/code-stubs-x87.cc

Issue 371543003: X87: Error in CallFunctionNoFeedback ia32 made less efficient code (Closed) Base URL: https://github.com/v8/v8.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X87 7 #if V8_TARGET_ARCH_X87
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 1928 matching lines...) Expand 10 before | Expand all | Expand 10 after
1939 ParameterCount actual(argc); 1939 ParameterCount actual(argc);
1940 1940
1941 if (call_as_method) { 1941 if (call_as_method) {
1942 if (needs_checks) { 1942 if (needs_checks) {
1943 EmitContinueIfStrictOrNative(masm, &cont); 1943 EmitContinueIfStrictOrNative(masm, &cont);
1944 } 1944 }
1945 1945
1946 // Load the receiver from the stack. 1946 // Load the receiver from the stack.
1947 __ mov(eax, Operand(esp, (argc + 1) * kPointerSize)); 1947 __ mov(eax, Operand(esp, (argc + 1) * kPointerSize));
1948 1948
1949 if (call_as_method) { 1949 if (needs_checks) {
1950 __ JumpIfSmi(eax, &wrap); 1950 __ JumpIfSmi(eax, &wrap);
1951 1951
1952 __ CmpObjectType(eax, FIRST_SPEC_OBJECT_TYPE, ecx); 1952 __ CmpObjectType(eax, FIRST_SPEC_OBJECT_TYPE, ecx);
1953 __ j(below, &wrap); 1953 __ j(below, &wrap);
1954 } else { 1954 } else {
1955 __ jmp(&wrap); 1955 __ jmp(&wrap);
1956 } 1956 }
1957 1957
1958 __ bind(&cont); 1958 __ bind(&cont);
1959 } 1959 }
(...skipping 2668 matching lines...) Expand 10 before | Expand all | Expand 10 after
4628 Operand(ebp, 7 * kPointerSize), 4628 Operand(ebp, 7 * kPointerSize),
4629 NULL); 4629 NULL);
4630 } 4630 }
4631 4631
4632 4632
4633 #undef __ 4633 #undef __
4634 4634
4635 } } // namespace v8::internal 4635 } } // namespace v8::internal
4636 4636
4637 #endif // V8_TARGET_ARCH_X87 4637 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698