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

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

Issue 1848003002: s390: Remove usages of Heap::NewSpaceStart and its external reference (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add kNear 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/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/s390/lithium-s390.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_S390_LITHIUM_S390_H_ 5 #ifndef V8_CRANKSHAFT_S390_LITHIUM_S390_H_
6 #define V8_CRANKSHAFT_S390_LITHIUM_S390_H_ 6 #define V8_CRANKSHAFT_S390_LITHIUM_S390_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 1927 matching lines...) Expand 10 before | Expand all | Expand 10 after
1938 void PrintDataTo(StringStream* stream) override; 1938 void PrintDataTo(StringStream* stream) override;
1939 1939
1940 Handle<Map> original_map() { return hydrogen()->original_map().handle(); } 1940 Handle<Map> original_map() { return hydrogen()->original_map().handle(); }
1941 Handle<Map> transitioned_map() { 1941 Handle<Map> transitioned_map() {
1942 return hydrogen()->transitioned_map().handle(); 1942 return hydrogen()->transitioned_map().handle();
1943 } 1943 }
1944 ElementsKind from_kind() { return hydrogen()->from_kind(); } 1944 ElementsKind from_kind() { return hydrogen()->from_kind(); }
1945 ElementsKind to_kind() { return hydrogen()->to_kind(); } 1945 ElementsKind to_kind() { return hydrogen()->to_kind(); }
1946 }; 1946 };
1947 1947
1948 class LTrapAllocationMemento final : public LTemplateInstruction<0, 1, 1> { 1948 class LTrapAllocationMemento final : public LTemplateInstruction<0, 1, 2> {
1949 public: 1949 public:
1950 LTrapAllocationMemento(LOperand* object, LOperand* temp) { 1950 LTrapAllocationMemento(LOperand* object, LOperand* temp1, LOperand* temp2) {
1951 inputs_[0] = object; 1951 inputs_[0] = object;
1952 temps_[0] = temp; 1952 temps_[0] = temp1;
1953 temps_[1] = temp2;
1953 } 1954 }
1954 1955
1955 LOperand* object() { return inputs_[0]; } 1956 LOperand* object() { return inputs_[0]; }
1956 LOperand* temp() { return temps_[0]; } 1957 LOperand* temp1() { return temps_[0]; }
1958 LOperand* temp2() { return temps_[1]; }
1957 1959
1958 DECLARE_CONCRETE_INSTRUCTION(TrapAllocationMemento, "trap-allocation-memento") 1960 DECLARE_CONCRETE_INSTRUCTION(TrapAllocationMemento, "trap-allocation-memento")
1959 }; 1961 };
1960 1962
1961 class LMaybeGrowElements final : public LTemplateInstruction<1, 5, 0> { 1963 class LMaybeGrowElements final : public LTemplateInstruction<1, 5, 0> {
1962 public: 1964 public:
1963 LMaybeGrowElements(LOperand* context, LOperand* object, LOperand* elements, 1965 LMaybeGrowElements(LOperand* context, LOperand* object, LOperand* elements,
1964 LOperand* key, LOperand* current_capacity) { 1966 LOperand* key, LOperand* current_capacity) {
1965 inputs_[0] = context; 1967 inputs_[0] = context;
1966 inputs_[1] = object; 1968 inputs_[1] = object;
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
2403 2405
2404 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2406 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2405 }; 2407 };
2406 2408
2407 #undef DECLARE_HYDROGEN_ACCESSOR 2409 #undef DECLARE_HYDROGEN_ACCESSOR
2408 #undef DECLARE_CONCRETE_INSTRUCTION 2410 #undef DECLARE_CONCRETE_INSTRUCTION
2409 } // namespace internal 2411 } // namespace internal
2410 } // namespace v8 2412 } // namespace v8
2411 2413
2412 #endif // V8_CRANKSHAFT_S390_LITHIUM_S390_H_ 2414 #endif // V8_CRANKSHAFT_S390_LITHIUM_S390_H_
OLDNEW
« no previous file with comments | « src/crankshaft/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/s390/lithium-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698