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

Side by Side Diff: src/compiler/machine-operator.h

Issue 621833003: Implement inlined stack-check guards in TurboFan. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_COMPILER_MACHINE_OPERATOR_H_ 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_
6 #define V8_COMPILER_MACHINE_OPERATOR_H_ 6 #define V8_COMPILER_MACHINE_OPERATOR_H_
7 7
8 #include "src/compiler/machine-type.h" 8 #include "src/compiler/machine-type.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 const Operator* Float64Equal(); 137 const Operator* Float64Equal();
138 const Operator* Float64LessThan(); 138 const Operator* Float64LessThan();
139 const Operator* Float64LessThanOrEqual(); 139 const Operator* Float64LessThanOrEqual();
140 140
141 // load [base + index] 141 // load [base + index]
142 const Operator* Load(LoadRepresentation rep); 142 const Operator* Load(LoadRepresentation rep);
143 143
144 // store [base + index], value 144 // store [base + index], value
145 const Operator* Store(StoreRepresentation rep); 145 const Operator* Store(StoreRepresentation rep);
146 146
147 // Access to the machine stack.
148 const Operator* LoadStackPointer();
149
147 // Target machine word-size assumed by this builder. 150 // Target machine word-size assumed by this builder.
148 bool Is32() const { return word() == kRepWord32; } 151 bool Is32() const { return word() == kRepWord32; }
149 bool Is64() const { return word() == kRepWord64; } 152 bool Is64() const { return word() == kRepWord64; }
150 MachineType word() const { return word_; } 153 MachineType word() const { return word_; }
151 154
152 // Pseudo operators that translate to 32/64-bit operators depending on the 155 // Pseudo operators that translate to 32/64-bit operators depending on the
153 // word-size of the target machine assumed by this builder. 156 // word-size of the target machine assumed by this builder.
154 #define PSEUDO_OP_LIST(V) \ 157 #define PSEUDO_OP_LIST(V) \
155 V(Word, And) \ 158 V(Word, And) \
156 V(Word, Or) \ 159 V(Word, Or) \
(...skipping 24 matching lines...) Expand all
181 private: 184 private:
182 const MachineOperatorBuilderImpl& impl_; 185 const MachineOperatorBuilderImpl& impl_;
183 const MachineType word_; 186 const MachineType word_;
184 }; 187 };
185 188
186 } // namespace compiler 189 } // namespace compiler
187 } // namespace internal 190 } // namespace internal
188 } // namespace v8 191 } // namespace v8
189 192
190 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ 193 #endif // V8_COMPILER_MACHINE_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698