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

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

Issue 1845753005: PPC: Remove usages of Heap::NewSpaceStart and its external reference (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/ppc/lithium-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC_LITHIUM_PPC_H_ 5 #ifndef V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_
6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ 6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_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 2040 matching lines...) Expand 10 before | Expand all | Expand 10 after
2051 void PrintDataTo(StringStream* stream) override; 2051 void PrintDataTo(StringStream* stream) override;
2052 2052
2053 Handle<Map> original_map() { return hydrogen()->original_map().handle(); } 2053 Handle<Map> original_map() { return hydrogen()->original_map().handle(); }
2054 Handle<Map> transitioned_map() { 2054 Handle<Map> transitioned_map() {
2055 return hydrogen()->transitioned_map().handle(); 2055 return hydrogen()->transitioned_map().handle();
2056 } 2056 }
2057 ElementsKind from_kind() { return hydrogen()->from_kind(); } 2057 ElementsKind from_kind() { return hydrogen()->from_kind(); }
2058 ElementsKind to_kind() { return hydrogen()->to_kind(); } 2058 ElementsKind to_kind() { return hydrogen()->to_kind(); }
2059 }; 2059 };
2060 2060
2061 2061 class LTrapAllocationMemento final : public LTemplateInstruction<0, 1, 2> {
2062 class LTrapAllocationMemento final : public LTemplateInstruction<0, 1, 1> {
2063 public: 2062 public:
2064 LTrapAllocationMemento(LOperand* object, LOperand* temp) { 2063 LTrapAllocationMemento(LOperand* object, LOperand* temp1, LOperand* temp2) {
2065 inputs_[0] = object; 2064 inputs_[0] = object;
2066 temps_[0] = temp; 2065 temps_[0] = temp1;
2066 temps_[1] = temp2;
2067 } 2067 }
2068 2068
2069 LOperand* object() { return inputs_[0]; } 2069 LOperand* object() { return inputs_[0]; }
2070 LOperand* temp() { return temps_[0]; } 2070 LOperand* temp1() { return temps_[0]; }
2071 LOperand* temp2() { return temps_[1]; }
2071 2072
2072 DECLARE_CONCRETE_INSTRUCTION(TrapAllocationMemento, "trap-allocation-memento") 2073 DECLARE_CONCRETE_INSTRUCTION(TrapAllocationMemento, "trap-allocation-memento")
2073 }; 2074 };
2074 2075
2075 2076
2076 class LMaybeGrowElements final : public LTemplateInstruction<1, 5, 0> { 2077 class LMaybeGrowElements final : public LTemplateInstruction<1, 5, 0> {
2077 public: 2078 public:
2078 LMaybeGrowElements(LOperand* context, LOperand* object, LOperand* elements, 2079 LMaybeGrowElements(LOperand* context, LOperand* object, LOperand* elements,
2079 LOperand* key, LOperand* current_capacity) { 2080 LOperand* key, LOperand* current_capacity) {
2080 inputs_[0] = context; 2081 inputs_[0] = context;
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
2543 2544
2544 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2545 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2545 }; 2546 };
2546 2547
2547 #undef DECLARE_HYDROGEN_ACCESSOR 2548 #undef DECLARE_HYDROGEN_ACCESSOR
2548 #undef DECLARE_CONCRETE_INSTRUCTION 2549 #undef DECLARE_CONCRETE_INSTRUCTION
2549 } // namespace internal 2550 } // namespace internal
2550 } // namespace v8 2551 } // namespace v8
2551 2552
2552 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ 2553 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/ppc/lithium-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698