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

Side by Side Diff: src/ia32/lithium-ia32.h

Issue 885593002: Continue learning for calls in crankshaft. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Don't remove inlining text size limit yet, just alter it. Created 5 years, 10 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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 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_IA32_LITHIUM_IA32_H_ 5 #ifndef V8_IA32_LITHIUM_IA32_H_
6 #define V8_IA32_LITHIUM_IA32_H_ 6 #define V8_IA32_LITHIUM_IA32_H_
7 7
8 #include "src/hydrogen.h" 8 #include "src/hydrogen.h"
9 #include "src/lithium.h" 9 #include "src/lithium.h"
10 #include "src/lithium-allocator.h" 10 #include "src/lithium-allocator.h"
(...skipping 1931 matching lines...) Expand 10 before | Expand all | Expand 10 after
1942 1942
1943 DECLARE_CONCRETE_INSTRUCTION(InvokeFunction, "invoke-function") 1943 DECLARE_CONCRETE_INSTRUCTION(InvokeFunction, "invoke-function")
1944 DECLARE_HYDROGEN_ACCESSOR(InvokeFunction) 1944 DECLARE_HYDROGEN_ACCESSOR(InvokeFunction)
1945 1945
1946 void PrintDataTo(StringStream* stream) OVERRIDE; 1946 void PrintDataTo(StringStream* stream) OVERRIDE;
1947 1947
1948 int arity() const { return hydrogen()->argument_count() - 1; } 1948 int arity() const { return hydrogen()->argument_count() - 1; }
1949 }; 1949 };
1950 1950
1951 1951
1952 class LCallFunction FINAL : public LTemplateInstruction<1, 2, 0> { 1952 class LCallFunction FINAL : public LTemplateInstruction<1, 2, 2> {
1953 public: 1953 public:
1954 explicit LCallFunction(LOperand* context, LOperand* function) { 1954 LCallFunction(LOperand* context, LOperand* function, LOperand* slot,
1955 LOperand* vector) {
1955 inputs_[0] = context; 1956 inputs_[0] = context;
1956 inputs_[1] = function; 1957 inputs_[1] = function;
1958 temps_[0] = slot;
1959 temps_[1] = vector;
1957 } 1960 }
1958 1961
1959 LOperand* context() { return inputs_[0]; } 1962 LOperand* context() { return inputs_[0]; }
1960 LOperand* function() { return inputs_[1]; } 1963 LOperand* function() { return inputs_[1]; }
1964 LOperand* temp_slot() { return temps_[0]; }
1965 LOperand* temp_vector() { return temps_[1]; }
1961 1966
1962 DECLARE_CONCRETE_INSTRUCTION(CallFunction, "call-function") 1967 DECLARE_CONCRETE_INSTRUCTION(CallFunction, "call-function")
1963 DECLARE_HYDROGEN_ACCESSOR(CallFunction) 1968 DECLARE_HYDROGEN_ACCESSOR(CallFunction)
1964 1969
1970 void PrintDataTo(StringStream* stream) OVERRIDE;
1965 int arity() const { return hydrogen()->argument_count() - 1; } 1971 int arity() const { return hydrogen()->argument_count() - 1; }
1966 }; 1972 };
1967 1973
1968 1974
1969 class LCallNew FINAL : public LTemplateInstruction<1, 2, 0> { 1975 class LCallNew FINAL : public LTemplateInstruction<1, 2, 0> {
1970 public: 1976 public:
1971 LCallNew(LOperand* context, LOperand* constructor) { 1977 LCallNew(LOperand* context, LOperand* constructor) {
1972 inputs_[0] = context; 1978 inputs_[0] = context;
1973 inputs_[1] = constructor; 1979 inputs_[1] = constructor;
1974 } 1980 }
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after
2872 2878
2873 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2879 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2874 }; 2880 };
2875 2881
2876 #undef DECLARE_HYDROGEN_ACCESSOR 2882 #undef DECLARE_HYDROGEN_ACCESSOR
2877 #undef DECLARE_CONCRETE_INSTRUCTION 2883 #undef DECLARE_CONCRETE_INSTRUCTION
2878 2884
2879 } } // namespace v8::internal 2885 } } // namespace v8::internal
2880 2886
2881 #endif // V8_IA32_LITHIUM_IA32_H_ 2887 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698