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

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

Issue 1734643002: [fullcodegen] Factor out EmitNamedPropertyLoad. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 4 years, 10 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/mips64/macro-assembler-mips64.h ('k') | 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 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 call(self, RelocInfo::CODE_TARGET); 763 call(self, RelocInfo::CODE_TARGET);
764 } 764 }
765 765
766 // Move if the registers are not identical. 766 // Move if the registers are not identical.
767 void Move(Register target, Register source); 767 void Move(Register target, Register source);
768 768
769 // Move a constant into a destination using the most efficient encoding. 769 // Move a constant into a destination using the most efficient encoding.
770 void Move(Register dst, const Immediate& x); 770 void Move(Register dst, const Immediate& x);
771 void Move(const Operand& dst, const Immediate& x); 771 void Move(const Operand& dst, const Immediate& x);
772 772
773 void Move(Register dst, Handle<Object> handle) { LoadObject(dst, handle); }
773 void Move(Register dst, Smi* source) { Move(dst, Immediate(source)); } 774 void Move(Register dst, Smi* source) { Move(dst, Immediate(source)); }
774 775
775 // Push a handle value. 776 // Push a handle value.
776 void Push(Handle<Object> handle) { push(Immediate(handle)); } 777 void Push(Handle<Object> handle) { push(Immediate(handle)); }
777 void Push(Smi* smi) { Push(Immediate(smi)); } 778 void Push(Smi* smi) { Push(Immediate(smi)); }
778 779
779 Handle<Object> CodeObject() { 780 Handle<Object> CodeObject() {
780 DCHECK(!code_object_.is_null()); 781 DCHECK(!code_object_.is_null());
781 return code_object_; 782 return code_object_;
782 } 783 }
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 } \ 1006 } \
1006 masm-> 1007 masm->
1007 #else 1008 #else
1008 #define ACCESS_MASM(masm) masm-> 1009 #define ACCESS_MASM(masm) masm->
1009 #endif 1010 #endif
1010 1011
1011 } // namespace internal 1012 } // namespace internal
1012 } // namespace v8 1013 } // namespace v8
1013 1014
1014 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1015 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/mips64/macro-assembler-mips64.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698