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

Side by Side Diff: src/crankshaft/arm/lithium-arm.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 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_CRANKSHAFT_ARM_LITHIUM_ARM_H_ 5 #ifndef V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_
6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ 6 #define V8_CRANKSHAFT_ARM_LITHIUM_ARM_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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 bit_field_ = IsSyntacticTailCallBits::update(bit_field_, true); 226 bit_field_ = IsSyntacticTailCallBits::update(bit_field_, true);
227 } 227 }
228 bool IsSyntacticTailCall() const { 228 bool IsSyntacticTailCall() const {
229 return IsSyntacticTailCallBits::decode(bit_field_); 229 return IsSyntacticTailCallBits::decode(bit_field_);
230 } 230 }
231 231
232 // Interface to the register allocator and iterators. 232 // Interface to the register allocator and iterators.
233 bool ClobbersTemps() const { return IsCall(); } 233 bool ClobbersTemps() const { return IsCall(); }
234 bool ClobbersRegisters() const { return IsCall(); } 234 bool ClobbersRegisters() const { return IsCall(); }
235 virtual bool ClobbersDoubleRegisters(Isolate* isolate) const { 235 virtual bool ClobbersDoubleRegisters(Isolate* isolate) const {
236 return IsCall(); 236 return IsCall() || opcode() == LInstruction::kMaybeGrowElements;
237 } 237 }
238 238
239 // Interface to the register allocator and iterators. 239 // Interface to the register allocator and iterators.
240 bool IsMarkedAsCall() const { return IsCall(); } 240 bool IsMarkedAsCall() const { return IsCall(); }
241 241
242 virtual bool HasResult() const = 0; 242 virtual bool HasResult() const = 0;
243 virtual LOperand* result() const = 0; 243 virtual LOperand* result() const = 0;
244 244
245 LOperand* FirstInput() { return InputAt(0); } 245 LOperand* FirstInput() { return InputAt(0); }
246 LOperand* Output() { return HasResult() ? result() : NULL; } 246 LOperand* Output() { return HasResult() ? result() : NULL; }
(...skipping 2381 matching lines...) Expand 10 before | Expand all | Expand 10 after
2628 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2628 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2629 }; 2629 };
2630 2630
2631 #undef DECLARE_HYDROGEN_ACCESSOR 2631 #undef DECLARE_HYDROGEN_ACCESSOR
2632 #undef DECLARE_CONCRETE_INSTRUCTION 2632 #undef DECLARE_CONCRETE_INSTRUCTION
2633 2633
2634 } // namespace internal 2634 } // namespace internal
2635 } // namespace v8 2635 } // namespace v8
2636 2636
2637 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_ 2637 #endif // V8_CRANKSHAFT_ARM_LITHIUM_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698