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

Side by Side Diff: src/ia32/macro-assembler-ia32.h

Issue 2472653002: [compiler] Sanitize IC counts for vector based ICs. (Closed)
Patch Set: Fix compile. Created 4 years, 1 month 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/full-codegen/x87/full-codegen-x87.cc ('k') | src/runtime-profiler.cc » ('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 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 sp_to_ra_offset_in_words) * 787 sp_to_ra_offset_in_words) *
788 kPointerSize; 788 kPointerSize;
789 mov(reg, Operand(esp, offset)); 789 mov(reg, Operand(esp, offset));
790 } 790 }
791 791
792 // Emit code to discard a non-negative number of pointer-sized elements 792 // Emit code to discard a non-negative number of pointer-sized elements
793 // from the stack, clobbering only the esp register. 793 // from the stack, clobbering only the esp register.
794 void Drop(int element_count); 794 void Drop(int element_count);
795 795
796 void Call(Label* target) { call(target); } 796 void Call(Label* target) { call(target); }
797 void Call(Handle<Code> target, RelocInfo::Mode rmode) { call(target, rmode); } 797 void Call(Handle<Code> target, RelocInfo::Mode rmode,
798 TypeFeedbackId id = TypeFeedbackId::None()) {
799 call(target, rmode, id);
800 }
798 void Jump(Handle<Code> target, RelocInfo::Mode rmode) { jmp(target, rmode); } 801 void Jump(Handle<Code> target, RelocInfo::Mode rmode) { jmp(target, rmode); }
799 void Push(Register src) { push(src); } 802 void Push(Register src) { push(src); }
800 void Push(const Operand& src) { push(src); } 803 void Push(const Operand& src) { push(src); }
801 void Push(Immediate value) { push(value); } 804 void Push(Immediate value) { push(value); }
802 void Pop(Register dst) { pop(dst); } 805 void Pop(Register dst) { pop(dst); }
803 void Pop(const Operand& dst) { pop(dst); } 806 void Pop(const Operand& dst) { pop(dst); }
804 void PushReturnAddressFrom(Register src) { push(src); } 807 void PushReturnAddressFrom(Register src) { push(src); }
805 void PopReturnAddressTo(Register dst) { pop(dst); } 808 void PopReturnAddressTo(Register dst) { pop(dst); }
806 809
807 // Non-SSE2 instructions. 810 // Non-SSE2 instructions.
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 inline Operand NativeContextOperand() { 1053 inline Operand NativeContextOperand() {
1051 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); 1054 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX);
1052 } 1055 }
1053 1056
1054 #define ACCESS_MASM(masm) masm-> 1057 #define ACCESS_MASM(masm) masm->
1055 1058
1056 } // namespace internal 1059 } // namespace internal
1057 } // namespace v8 1060 } // namespace v8
1058 1061
1059 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1062 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/runtime-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698