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

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

Issue 389283002: Use register parameters in ElementsTransitionGenerator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/ia32/ic-ia32.cc ('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/frames.h" 9 #include "src/frames.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 12 matching lines...) Expand all
23 kPointersToHereAreAlwaysInteresting 23 kPointersToHereAreAlwaysInteresting
24 }; 24 };
25 25
26 26
27 enum RegisterValueType { 27 enum RegisterValueType {
28 REGISTER_VALUE_IS_SMI, 28 REGISTER_VALUE_IS_SMI,
29 REGISTER_VALUE_IS_INT32 29 REGISTER_VALUE_IS_INT32
30 }; 30 };
31 31
32 32
33 bool AreAliased(Register r1, Register r2, Register r3, Register r4); 33 #ifdef DEBUG
34 bool AreAliased(Register reg1,
35 Register reg2,
36 Register reg3 = no_reg,
37 Register reg4 = no_reg,
38 Register reg5 = no_reg,
39 Register reg6 = no_reg,
40 Register reg7 = no_reg,
41 Register reg8 = no_reg);
42 #endif
34 43
35 44
36 // MacroAssembler implements a collection of frequently used macros. 45 // MacroAssembler implements a collection of frequently used macros.
37 class MacroAssembler: public Assembler { 46 class MacroAssembler: public Assembler {
38 public: 47 public:
39 // The isolate parameter can be NULL if the macro assembler should 48 // The isolate parameter can be NULL if the macro assembler should
40 // not use isolate-dependent functionality. In this case, it's the 49 // not use isolate-dependent functionality. In this case, it's the
41 // responsibility of the caller to never invoke such function on the 50 // responsibility of the caller to never invoke such function on the
42 // macro assembler. 51 // macro assembler.
43 MacroAssembler(Isolate* isolate, void* buffer, int size); 52 MacroAssembler(Isolate* isolate, void* buffer, int size);
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 } \ 1117 } \
1109 masm-> 1118 masm->
1110 #else 1119 #else
1111 #define ACCESS_MASM(masm) masm-> 1120 #define ACCESS_MASM(masm) masm->
1112 #endif 1121 #endif
1113 1122
1114 1123
1115 } } // namespace v8::internal 1124 } } // namespace v8::internal
1116 1125
1117 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1126 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698