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

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

Issue 2171083004: [interpreter] Implement OSR graph construction from bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_interpreter-osr-2
Patch Set: Fix build on Windows. Created 4 years, 4 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/bytecode-graph-builder.cc ('k') | src/compiler/osr.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_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/operator.h" 10 #include "src/compiler/operator.h"
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 static int GetJSCallContextParamIndex(int parameter_count) { 415 static int GetJSCallContextParamIndex(int parameter_count) {
416 return parameter_count + 2; // Parameter (arity + 2) is special. 416 return parameter_count + 2; // Parameter (arity + 2) is special.
417 } 417 }
418 418
419 // A special {Parameter} index for JSCalls that represents the closure. 419 // A special {Parameter} index for JSCalls that represents the closure.
420 static const int kJSCallClosureParamIndex = -1; 420 static const int kJSCallClosureParamIndex = -1;
421 421
422 // A special {OsrValue} index to indicate the context spill slot. 422 // A special {OsrValue} index to indicate the context spill slot.
423 static const int kOsrContextSpillSlotIndex = -1; 423 static const int kOsrContextSpillSlotIndex = -1;
424 424
425 // A special {OsrValue} index to indicate the accumulator register.
426 static const int kOsrAccumulatorRegisterIndex = -1;
427
425 private: 428 private:
426 CallDescriptor* const incoming_; 429 CallDescriptor* const incoming_;
427 430
428 DISALLOW_COPY_AND_ASSIGN(Linkage); 431 DISALLOW_COPY_AND_ASSIGN(Linkage);
429 }; 432 };
430 433
431 } // namespace compiler 434 } // namespace compiler
432 } // namespace internal 435 } // namespace internal
433 } // namespace v8 436 } // namespace v8
434 437
435 #endif // V8_COMPILER_LINKAGE_H_ 438 #endif // V8_COMPILER_LINKAGE_H_
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/compiler/osr.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698