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

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

Issue 1144133003: Add constants for FrameState input parameters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | src/compiler/instruction-selector.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/utils.h" 8 #include "src/utils.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 OutputFrameStateCombine const frame_state_combine_; 94 OutputFrameStateCombine const frame_state_combine_;
95 }; 95 };
96 96
97 bool operator==(FrameStateCallInfo const&, FrameStateCallInfo const&); 97 bool operator==(FrameStateCallInfo const&, FrameStateCallInfo const&);
98 bool operator!=(FrameStateCallInfo const&, FrameStateCallInfo const&); 98 bool operator!=(FrameStateCallInfo const&, FrameStateCallInfo const&);
99 99
100 size_t hash_value(FrameStateCallInfo const&); 100 size_t hash_value(FrameStateCallInfo const&);
101 101
102 std::ostream& operator<<(std::ostream&, FrameStateCallInfo const&); 102 std::ostream& operator<<(std::ostream&, FrameStateCallInfo const&);
103 103
104 static const int kFrameStateParametersInput = 0;
105 static const int kFrameStateLocalsInput = 1;
106 static const int kFrameStateStackInput = 2;
107 static const int kFrameStateContextInput = 3;
108 static const int kFrameStateFunctionInput = 4;
109 static const int kFrameStateOuterStateInput = 5;
110 static const int kFrameStateInputCount = kFrameStateOuterStateInput + 1;
104 111
105 } // namespace compiler 112 } // namespace compiler
106 } // namespace internal 113 } // namespace internal
107 } // namespace v8 114 } // namespace v8
108 115
109 #endif // V8_COMPILER_FRAME_STATES_H_ 116 #endif // V8_COMPILER_FRAME_STATES_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698