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

Side by Side Diff: src/compiler/linkage.h

Issue 1213043005: [turbofan] Use OSR value for innermost context value. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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/compiler/ast-graph-builder.cc ('k') | src/compiler/linkage-impl.h » ('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_COMPILER_LINKAGE_H_ 5 #ifndef V8_COMPILER_LINKAGE_H_
6 #define V8_COMPILER_LINKAGE_H_ 6 #define V8_COMPILER_LINKAGE_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/frame.h" 9 #include "src/compiler/frame.h"
10 #include "src/compiler/machine-type.h" 10 #include "src/compiler/machine-type.h"
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 FrameOffset GetFrameOffset(int spill_slot, Frame* frame, int extra = 0) const; 261 FrameOffset GetFrameOffset(int spill_slot, Frame* frame, int extra = 0) const;
262 262
263 static int FrameStateInputCount(Runtime::FunctionId function); 263 static int FrameStateInputCount(Runtime::FunctionId function);
264 264
265 // Get the location where an incoming OSR value is stored. 265 // Get the location where an incoming OSR value is stored.
266 LinkageLocation GetOsrValueLocation(int index) const; 266 LinkageLocation GetOsrValueLocation(int index) const;
267 267
268 // A special parameter index for JSCalls that represents the closure. 268 // A special parameter index for JSCalls that represents the closure.
269 static const int kJSFunctionCallClosureParamIndex = -1; 269 static const int kJSFunctionCallClosureParamIndex = -1;
270 270
271 // A special {OsrValue} index to indicate the context spill slot.
272 static const int kOsrContextSpillSlotIndex = -1;
273
271 private: 274 private:
272 CallDescriptor* const incoming_; 275 CallDescriptor* const incoming_;
273 276
274 DISALLOW_COPY_AND_ASSIGN(Linkage); 277 DISALLOW_COPY_AND_ASSIGN(Linkage);
275 }; 278 };
276 279
277 } // namespace compiler 280 } // namespace compiler
278 } // namespace internal 281 } // namespace internal
279 } // namespace v8 282 } // namespace v8
280 283
281 #endif // V8_COMPILER_LINKAGE_H_ 284 #endif // V8_COMPILER_LINKAGE_H_
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/linkage-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698