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

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

Issue 2206333003: [stubs] Convert GrowElementsStub to TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove dead code Created 4 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
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_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ 5 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_
6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_
7 7
8 #include "src/crankshaft/hydrogen.h" 8 #include "src/crankshaft/hydrogen.h"
9 #include "src/crankshaft/lithium.h" 9 #include "src/crankshaft/lithium.h"
10 #include "src/crankshaft/lithium-allocator.h" 10 #include "src/crankshaft/lithium-allocator.h"
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 bit_field_ = IsSyntacticTailCallBits::update(bit_field_, true); 237 bit_field_ = IsSyntacticTailCallBits::update(bit_field_, true);
238 } 238 }
239 bool IsSyntacticTailCall() const { 239 bool IsSyntacticTailCall() const {
240 return IsSyntacticTailCallBits::decode(bit_field_); 240 return IsSyntacticTailCallBits::decode(bit_field_);
241 } 241 }
242 242
243 // Interface to the register allocator and iterators. 243 // Interface to the register allocator and iterators.
244 bool ClobbersTemps() const { return IsCall(); } 244 bool ClobbersTemps() const { return IsCall(); }
245 bool ClobbersRegisters() const { return IsCall(); } 245 bool ClobbersRegisters() const { return IsCall(); }
246 virtual bool ClobbersDoubleRegisters(Isolate* isolate) const { 246 virtual bool ClobbersDoubleRegisters(Isolate* isolate) const {
247 return IsCall(); 247 return IsCall() || opcode() == LInstruction::kMaybeGrowElements;
248 } 248 }
249 bool IsMarkedAsCall() const { return IsCall(); } 249 bool IsMarkedAsCall() const { return IsCall(); }
250 250
251 virtual bool HasResult() const = 0; 251 virtual bool HasResult() const = 0;
252 virtual LOperand* result() const = 0; 252 virtual LOperand* result() const = 0;
253 253
254 virtual int InputCount() = 0; 254 virtual int InputCount() = 0;
255 virtual LOperand* InputAt(int i) = 0; 255 virtual LOperand* InputAt(int i) = 0;
256 virtual int TempCount() = 0; 256 virtual int TempCount() = 0;
257 virtual LOperand* TempAt(int i) = 0; 257 virtual LOperand* TempAt(int i) = 0;
(...skipping 2732 matching lines...) Expand 10 before | Expand all | Expand 10 after
2990 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2990 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2991 }; 2991 };
2992 2992
2993 #undef DECLARE_HYDROGEN_ACCESSOR 2993 #undef DECLARE_HYDROGEN_ACCESSOR
2994 #undef DECLARE_CONCRETE_INSTRUCTION 2994 #undef DECLARE_CONCRETE_INSTRUCTION
2995 2995
2996 } // namespace internal 2996 } // namespace internal
2997 } // namespace v8 2997 } // namespace v8
2998 2998
2999 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ 2999 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698