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

Side by Side Diff: src/compiler/frame-states.h

Issue 1435873002: [turbofan] Initial support for constructor call inlining. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 5 years, 1 month 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/compiler/code-generator.cc ('k') | src/compiler/frame-states.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_COMPILER_FRAME_STATES_H_ 5 #ifndef V8_COMPILER_FRAME_STATES_H_
6 #define V8_COMPILER_FRAME_STATES_H_ 6 #define V8_COMPILER_FRAME_STATES_H_
7 7
8 #include "src/handles.h" 8 #include "src/handles.h"
9 #include "src/utils.h" 9 #include "src/utils.h"
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 : kind_(kind), parameter_(parameter) {} 70 : kind_(kind), parameter_(parameter) {}
71 71
72 Kind const kind_; 72 Kind const kind_;
73 size_t const parameter_; 73 size_t const parameter_;
74 }; 74 };
75 75
76 76
77 // The type of stack frame that a FrameState node represents. 77 // The type of stack frame that a FrameState node represents.
78 enum class FrameStateType { 78 enum class FrameStateType {
79 kJavaScriptFunction, // Represents an unoptimized JavaScriptFrame. 79 kJavaScriptFunction, // Represents an unoptimized JavaScriptFrame.
80 kArgumentsAdaptor // Represents an ArgumentsAdaptorFrame. 80 kArgumentsAdaptor, // Represents an ArgumentsAdaptorFrame.
81 kConstructStub // Represents a ConstructStubFrame.
81 }; 82 };
82 83
83 84
84 enum ContextCallingMode { 85 enum ContextCallingMode {
85 CALL_MAINTAINS_NATIVE_CONTEXT, 86 CALL_MAINTAINS_NATIVE_CONTEXT,
86 CALL_CHANGES_NATIVE_CONTEXT 87 CALL_CHANGES_NATIVE_CONTEXT
87 }; 88 };
88 89
89 90
90 class FrameStateFunctionInfo { 91 class FrameStateFunctionInfo {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 static const int kFrameStateContextInput = 3; 162 static const int kFrameStateContextInput = 3;
162 static const int kFrameStateFunctionInput = 4; 163 static const int kFrameStateFunctionInput = 4;
163 static const int kFrameStateOuterStateInput = 5; 164 static const int kFrameStateOuterStateInput = 5;
164 static const int kFrameStateInputCount = kFrameStateOuterStateInput + 1; 165 static const int kFrameStateInputCount = kFrameStateOuterStateInput + 1;
165 166
166 } // namespace compiler 167 } // namespace compiler
167 } // namespace internal 168 } // namespace internal
168 } // namespace v8 169 } // namespace v8
169 170
170 #endif // V8_COMPILER_FRAME_STATES_H_ 171 #endif // V8_COMPILER_FRAME_STATES_H_
OLDNEW
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/compiler/frame-states.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698