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

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

Issue 1294133004: [Interpreter] Pass context to interpreter bytecode handlers and add LoadConstextSlot (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 // A special {OsrValue} index to indicate the context spill slot. 328 // A special {OsrValue} index to indicate the context spill slot.
329 static const int kOsrContextSpillSlotIndex = -1; 329 static const int kOsrContextSpillSlotIndex = -1;
330 330
331 // Special parameter indices used to pass fixed register data through 331 // Special parameter indices used to pass fixed register data through
332 // interpreter dispatches. 332 // interpreter dispatches.
333 static const int kInterpreterAccumulatorParameter = 0; 333 static const int kInterpreterAccumulatorParameter = 0;
334 static const int kInterpreterRegisterFileParameter = 1; 334 static const int kInterpreterRegisterFileParameter = 1;
335 static const int kInterpreterBytecodeOffsetParameter = 2; 335 static const int kInterpreterBytecodeOffsetParameter = 2;
336 static const int kInterpreterBytecodeArrayParameter = 3; 336 static const int kInterpreterBytecodeArrayParameter = 3;
337 static const int kInterpreterDispatchTableParameter = 4; 337 static const int kInterpreterDispatchTableParameter = 4;
338 static const int kInterpreterContextParameter = 5;
338 339
339 private: 340 private:
340 CallDescriptor* const incoming_; 341 CallDescriptor* const incoming_;
341 342
342 DISALLOW_COPY_AND_ASSIGN(Linkage); 343 DISALLOW_COPY_AND_ASSIGN(Linkage);
343 }; 344 };
344 345
345 } // namespace compiler 346 } // namespace compiler
346 } // namespace internal 347 } // namespace internal
347 } // namespace v8 348 } // namespace v8
348 349
349 #endif // V8_COMPILER_LINKAGE_H_ 350 #endif // V8_COMPILER_LINKAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698