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

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

Issue 1440193003: [builtins] One runtime fallback is enough for the String constructor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use correct temp registers. Created 5 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/ia32/builtins-ia32.cc ('k') | src/mips/builtins-mips.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 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 // from the stack, clobbering only the esp register. 834 // from the stack, clobbering only the esp register.
835 void Drop(int element_count); 835 void Drop(int element_count);
836 836
837 void Call(Label* target) { call(target); } 837 void Call(Label* target) { call(target); }
838 void Call(Handle<Code> target, RelocInfo::Mode rmode) { call(target, rmode); } 838 void Call(Handle<Code> target, RelocInfo::Mode rmode) { call(target, rmode); }
839 void Jump(Handle<Code> target, RelocInfo::Mode rmode) { jmp(target, rmode); } 839 void Jump(Handle<Code> target, RelocInfo::Mode rmode) { jmp(target, rmode); }
840 void Push(Register src) { push(src); } 840 void Push(Register src) { push(src); }
841 void Push(const Operand& src) { push(src); } 841 void Push(const Operand& src) { push(src); }
842 void Push(Immediate value) { push(value); } 842 void Push(Immediate value) { push(value); }
843 void Pop(Register dst) { pop(dst); } 843 void Pop(Register dst) { pop(dst); }
844 void Pop(const Operand& dst) { pop(dst); }
844 void PushReturnAddressFrom(Register src) { push(src); } 845 void PushReturnAddressFrom(Register src) { push(src); }
845 void PopReturnAddressTo(Register dst) { pop(dst); } 846 void PopReturnAddressTo(Register dst) { pop(dst); }
846 847
847 // Non-SSE2 instructions. 848 // Non-SSE2 instructions.
848 void Pextrd(Register dst, XMMRegister src, int8_t imm8); 849 void Pextrd(Register dst, XMMRegister src, int8_t imm8);
849 void Pinsrd(XMMRegister dst, Register src, int8_t imm8) { 850 void Pinsrd(XMMRegister dst, Register src, int8_t imm8) {
850 Pinsrd(dst, Operand(src), imm8); 851 Pinsrd(dst, Operand(src), imm8);
851 } 852 }
852 void Pinsrd(XMMRegister dst, const Operand& src, int8_t imm8); 853 void Pinsrd(XMMRegister dst, const Operand& src, int8_t imm8);
853 854
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 masm-> 1133 masm->
1133 #else 1134 #else
1134 #define ACCESS_MASM(masm) masm-> 1135 #define ACCESS_MASM(masm) masm->
1135 #endif 1136 #endif
1136 1137
1137 1138
1138 } // namespace internal 1139 } // namespace internal
1139 } // namespace v8 1140 } // namespace v8
1140 1141
1141 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1142 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/builtins-ia32.cc ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698