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

Side by Side Diff: src/arm64/lithium-arm64.h

Issue 426233002: Land the Fan (disabled) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback, rebase and "git cl format" Created 6 years, 4 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/arm64/deoptimizer-arm64.cc ('k') | src/arm64/lithium-arm64.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_ARM64_LITHIUM_ARM64_H_ 5 #ifndef V8_ARM64_LITHIUM_ARM64_H_
6 #define V8_ARM64_LITHIUM_ARM64_H_ 6 #define V8_ARM64_LITHIUM_ARM64_H_
7 7
8 #include "src/hydrogen.h" 8 #include "src/hydrogen.h"
9 #include "src/lithium.h" 9 #include "src/lithium.h"
10 #include "src/lithium-allocator.h" 10 #include "src/lithium-allocator.h"
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 bool Is##type() const { return opcode() == k##type; } 227 bool Is##type() const { return opcode() == k##type; }
228 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_PREDICATE) 228 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_PREDICATE)
229 #undef DECLARE_PREDICATE 229 #undef DECLARE_PREDICATE
230 230
231 // Declare virtual predicates for instructions that don't have 231 // Declare virtual predicates for instructions that don't have
232 // an opcode. 232 // an opcode.
233 virtual bool IsGap() const { return false; } 233 virtual bool IsGap() const { return false; }
234 234
235 virtual bool IsControl() const { return false; } 235 virtual bool IsControl() const { return false; }
236 236
237 // Try deleting this instruction if possible.
238 virtual bool TryDelete() { return false; }
239
237 void set_environment(LEnvironment* env) { environment_ = env; } 240 void set_environment(LEnvironment* env) { environment_ = env; }
238 LEnvironment* environment() const { return environment_; } 241 LEnvironment* environment() const { return environment_; }
239 bool HasEnvironment() const { return environment_ != NULL; } 242 bool HasEnvironment() const { return environment_ != NULL; }
240 243
241 void set_pointer_map(LPointerMap* p) { pointer_map_.set(p); } 244 void set_pointer_map(LPointerMap* p) { pointer_map_.set(p); }
242 LPointerMap* pointer_map() const { return pointer_map_.get(); } 245 LPointerMap* pointer_map() const { return pointer_map_.get(); }
243 bool HasPointerMap() const { return pointer_map_.is_set(); } 246 bool HasPointerMap() const { return pointer_map_.is_set(); }
244 247
245 void set_hydrogen_value(HValue* value) { hydrogen_value_ = value; } 248 void set_hydrogen_value(HValue* value) { hydrogen_value_ = value; }
246 HValue* hydrogen_value() const { return hydrogen_value_; } 249 HValue* hydrogen_value() const { return hydrogen_value_; }
(...skipping 3012 matching lines...) Expand 10 before | Expand all | Expand 10 after
3259 3262
3260 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 3263 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
3261 }; 3264 };
3262 3265
3263 #undef DECLARE_HYDROGEN_ACCESSOR 3266 #undef DECLARE_HYDROGEN_ACCESSOR
3264 #undef DECLARE_CONCRETE_INSTRUCTION 3267 #undef DECLARE_CONCRETE_INSTRUCTION
3265 3268
3266 } } // namespace v8::internal 3269 } } // namespace v8::internal
3267 3270
3268 #endif // V8_ARM64_LITHIUM_ARM64_H_ 3271 #endif // V8_ARM64_LITHIUM_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/deoptimizer-arm64.cc ('k') | src/arm64/lithium-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698