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

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

Issue 2470063002: X87: [compiler] Sanitize IC counts for vector based ICs. (Closed)
Patch Set: 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 | « 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 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_MACRO_ASSEMBLER_X87_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 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 sp_to_ra_offset_in_words) * 776 sp_to_ra_offset_in_words) *
777 kPointerSize; 777 kPointerSize;
778 mov(reg, Operand(esp, offset)); 778 mov(reg, Operand(esp, offset));
779 } 779 }
780 780
781 // Emit code to discard a non-negative number of pointer-sized elements 781 // Emit code to discard a non-negative number of pointer-sized elements
782 // from the stack, clobbering only the esp register. 782 // from the stack, clobbering only the esp register.
783 void Drop(int element_count); 783 void Drop(int element_count);
784 784
785 void Call(Label* target) { call(target); } 785 void Call(Label* target) { call(target); }
786 void Call(Handle<Code> target, RelocInfo::Mode rmode) { call(target, rmode); } 786 void Call(Handle<Code> target, RelocInfo::Mode rmode,
787 TypeFeedbackId id = TypeFeedbackId::None()) {
788 call(target, rmode, id);
789 }
787 void Jump(Handle<Code> target, RelocInfo::Mode rmode) { jmp(target, rmode); } 790 void Jump(Handle<Code> target, RelocInfo::Mode rmode) { jmp(target, rmode); }
788 void Push(Register src) { push(src); } 791 void Push(Register src) { push(src); }
789 void Push(const Operand& src) { push(src); } 792 void Push(const Operand& src) { push(src); }
790 void Push(Immediate value) { push(value); } 793 void Push(Immediate value) { push(value); }
791 void Pop(Register dst) { pop(dst); } 794 void Pop(Register dst) { pop(dst); }
792 void Pop(const Operand& dst) { pop(dst); } 795 void Pop(const Operand& dst) { pop(dst); }
793 void PushReturnAddressFrom(Register src) { push(src); } 796 void PushReturnAddressFrom(Register src) { push(src); }
794 void PopReturnAddressTo(Register dst) { pop(dst); } 797 void PopReturnAddressTo(Register dst) { pop(dst); }
795 798
796 void Lzcnt(Register dst, Register src) { Lzcnt(dst, Operand(src)); } 799 void Lzcnt(Register dst, Register src) { Lzcnt(dst, Operand(src)); }
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 inline Operand NativeContextOperand() { 1032 inline Operand NativeContextOperand() {
1030 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); 1033 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX);
1031 } 1034 }
1032 1035
1033 #define ACCESS_MASM(masm) masm-> 1036 #define ACCESS_MASM(masm) masm->
1034 1037
1035 } // namespace internal 1038 } // namespace internal
1036 } // namespace v8 1039 } // namespace v8
1037 1040
1038 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1041 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
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