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

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

Issue 2944013002: Remove TypeFeedbackId parameters from assembler and full-code. (Closed)
Patch Set: REBASE+fixes. Created 3 years, 6 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/ia32/assembler-ia32-inl.h ('k') | src/ia32/macro-assembler-ia32.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 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 void BooleanBitTest(Register object, int field_offset, int bit_index); 610 void BooleanBitTest(Register object, int field_offset, int bit_index);
611 611
612 // Machine code version of Map::GetConstructor(). 612 // Machine code version of Map::GetConstructor().
613 // |temp| holds |result|'s map when done. 613 // |temp| holds |result|'s map when done.
614 void GetMapConstructor(Register result, Register map, Register temp); 614 void GetMapConstructor(Register result, Register map, Register temp);
615 615
616 // --------------------------------------------------------------------------- 616 // ---------------------------------------------------------------------------
617 // Runtime calls 617 // Runtime calls
618 618
619 // Call a code stub. Generate the code if necessary. 619 // Call a code stub. Generate the code if necessary.
620 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None()); 620 void CallStub(CodeStub* stub);
621 621
622 // Tail call a code stub (jump). Generate the code if necessary. 622 // Tail call a code stub (jump). Generate the code if necessary.
623 void TailCallStub(CodeStub* stub); 623 void TailCallStub(CodeStub* stub);
624 624
625 // Call a runtime routine. 625 // Call a runtime routine.
626 void CallRuntime(const Runtime::Function* f, int num_arguments, 626 void CallRuntime(const Runtime::Function* f, int num_arguments,
627 SaveFPRegsMode save_doubles = kDontSaveFPRegs); 627 SaveFPRegsMode save_doubles = kDontSaveFPRegs);
628 void CallRuntimeSaveDoubles(Runtime::FunctionId fid) { 628 void CallRuntimeSaveDoubles(Runtime::FunctionId fid) {
629 const Runtime::Function* function = Runtime::FunctionForId(fid); 629 const Runtime::Function* function = Runtime::FunctionForId(fid);
630 CallRuntime(function, function->nargs, kSaveFPRegs); 630 CallRuntime(function, function->nargs, kSaveFPRegs);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 sp_to_ra_offset_in_words) * 695 sp_to_ra_offset_in_words) *
696 kPointerSize; 696 kPointerSize;
697 mov(reg, Operand(esp, offset)); 697 mov(reg, Operand(esp, offset));
698 } 698 }
699 699
700 // Emit code to discard a non-negative number of pointer-sized elements 700 // Emit code to discard a non-negative number of pointer-sized elements
701 // from the stack, clobbering only the esp register. 701 // from the stack, clobbering only the esp register.
702 void Drop(int element_count); 702 void Drop(int element_count);
703 703
704 void Call(Label* target) { call(target); } 704 void Call(Label* target) { call(target); }
705 void Call(Handle<Code> target, RelocInfo::Mode rmode, 705 void Call(Handle<Code> target, RelocInfo::Mode rmode) { call(target, rmode); }
706 TypeFeedbackId id = TypeFeedbackId::None()) {
707 call(target, rmode, id);
708 }
709 void Jump(Handle<Code> target, RelocInfo::Mode rmode) { jmp(target, rmode); } 706 void Jump(Handle<Code> target, RelocInfo::Mode rmode) { jmp(target, rmode); }
710 void Push(Register src) { push(src); } 707 void Push(Register src) { push(src); }
711 void Push(const Operand& src) { push(src); } 708 void Push(const Operand& src) { push(src); }
712 void Push(Immediate value) { push(value); } 709 void Push(Immediate value) { push(value); }
713 void Pop(Register dst) { pop(dst); } 710 void Pop(Register dst) { pop(dst); }
714 void Pop(const Operand& dst) { pop(dst); } 711 void Pop(const Operand& dst) { pop(dst); }
715 void PushReturnAddressFrom(Register src) { push(src); } 712 void PushReturnAddressFrom(Register src) { push(src); }
716 void PopReturnAddressTo(Register dst) { pop(dst); } 713 void PopReturnAddressTo(Register dst) { pop(dst); }
717 714
718 // SSE/SSE2 instructions with AVX version. 715 // SSE/SSE2 instructions with AVX version.
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 inline Operand NativeContextOperand() { 962 inline Operand NativeContextOperand() {
966 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); 963 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX);
967 } 964 }
968 965
969 #define ACCESS_MASM(masm) masm-> 966 #define ACCESS_MASM(masm) masm->
970 967
971 } // namespace internal 968 } // namespace internal
972 } // namespace v8 969 } // namespace v8
973 970
974 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 971 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32-inl.h ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698