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

Side by Side Diff: src/ic/ia32/ic-ia32.cc

Issue 1351493002: Extra code to diagnose a crash bug. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Code comments. Created 5 years, 3 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 | « src/ic/arm64/ic-arm64.cc ('k') | src/ic/ic.h » ('j') | 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 #if V8_TARGET_ARCH_IA32 5 #if V8_TARGET_ARCH_IA32
6 6
7 #include "src/codegen.h" 7 #include "src/codegen.h"
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 #include "src/ic/ic-compiler.h" 9 #include "src/ic/ic-compiler.h"
10 #include "src/ic/stub-cache.h" 10 #include "src/ic/stub-cache.h"
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 665
666 __ pop(edi); 666 __ pop(edi);
667 __ push(receiver); 667 __ push(receiver);
668 __ push(name); 668 __ push(name);
669 __ push(slot); 669 __ push(slot);
670 __ push(vector); 670 __ push(vector);
671 __ push(edi); 671 __ push(edi);
672 } 672 }
673 673
674 674
675 void LoadIC::GenerateMiss(MacroAssembler* masm) { 675 void LoadIC::GenerateMiss(MacroAssembler* masm, int stress) {
676 // Return address is on the stack. 676 // Return address is on the stack.
677 __ IncrementCounter(masm->isolate()->counters()->load_miss(), 1); 677 __ IncrementCounter(masm->isolate()->counters()->load_miss(), 1);
678 LoadIC_PushArgs(masm); 678 LoadIC_PushArgs(masm);
679 679
680 // Perform tail call to the entry. 680 // Perform tail call to the entry.
681 int arg_count = 4; 681 int arg_count = 4;
682 __ TailCallRuntime(Runtime::kLoadIC_Miss, arg_count, 1); 682 __ TailCallRuntime(Runtime::kLoadIC_Miss, arg_count, 1);
683 } 683 }
684 684
685 685
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 Condition cc = 902 Condition cc =
903 (check == ENABLE_INLINED_SMI_CHECK) 903 (check == ENABLE_INLINED_SMI_CHECK)
904 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) 904 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero)
905 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); 905 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry);
906 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); 906 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc);
907 } 907 }
908 } // namespace internal 908 } // namespace internal
909 } // namespace v8 909 } // namespace v8
910 910
911 #endif // V8_TARGET_ARCH_IA32 911 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ic/arm64/ic-arm64.cc ('k') | src/ic/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698