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

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

Powered by Google App Engine
This is Rietveld 408576698