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

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

Issue 393693003: MIPS: Use register parameters in ElementsTransitionGenerator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add mips64 port. Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/mips64/ic-mips64.cc ('k') | src/mips64/macro-assembler-mips64.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_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips64/assembler-mips64.h" 10 #include "src/mips64/assembler-mips64.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 }; 83 };
84 enum RAStatus { kRAHasNotBeenSaved, kRAHasBeenSaved }; 84 enum RAStatus { kRAHasNotBeenSaved, kRAHasBeenSaved };
85 85
86 Register GetRegisterThatIsNotOneOf(Register reg1, 86 Register GetRegisterThatIsNotOneOf(Register reg1,
87 Register reg2 = no_reg, 87 Register reg2 = no_reg,
88 Register reg3 = no_reg, 88 Register reg3 = no_reg,
89 Register reg4 = no_reg, 89 Register reg4 = no_reg,
90 Register reg5 = no_reg, 90 Register reg5 = no_reg,
91 Register reg6 = no_reg); 91 Register reg6 = no_reg);
92 92
93 bool AreAliased(Register r1, Register r2, Register r3, Register r4); 93 bool AreAliased(Register reg1,
94 Register reg2,
95 Register reg3 = no_reg,
96 Register reg4 = no_reg,
97 Register reg5 = no_reg,
98 Register reg6 = no_reg,
99 Register reg7 = no_reg,
100 Register reg8 = no_reg);
94 101
95 102
96 // ----------------------------------------------------------------------------- 103 // -----------------------------------------------------------------------------
97 // Static helper functions. 104 // Static helper functions.
98 105
99 inline MemOperand ContextOperand(Register context, int index) { 106 inline MemOperand ContextOperand(Register context, int index) {
100 return MemOperand(context, Context::SlotOffset(index)); 107 return MemOperand(context, Context::SlotOffset(index));
101 } 108 }
102 109
103 110
(...skipping 1670 matching lines...) Expand 10 before | Expand all | Expand 10 after
1774 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1781 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1775 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1782 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1776 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1783 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1777 #else 1784 #else
1778 #define ACCESS_MASM(masm) masm-> 1785 #define ACCESS_MASM(masm) masm->
1779 #endif 1786 #endif
1780 1787
1781 } } // namespace v8::internal 1788 } } // namespace v8::internal
1782 1789
1783 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1790 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips64/ic-mips64.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698