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

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

Issue 1291693004: [Interpreter] Bytecode graph builder (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Incorporate comments on patch set 8. Created 5 years, 3 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 LinkageLocation GetOsrValueLocation(int index) const; 323 LinkageLocation GetOsrValueLocation(int index) const;
324 324
325 // A special parameter index for JSCalls that represents the closure. 325 // A special parameter index for JSCalls that represents the closure.
326 static const int kJSFunctionCallClosureParamIndex = -1; 326 static const int kJSFunctionCallClosureParamIndex = -1;
327 327
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 kInterpreterReceiverParameter = -1;
rmcilroy 2015/09/04 11:35:37 No, please don't make this an Interpreter paramete
oth 2015/09/04 16:15:46 Removed. Won't commit until this is resolved. Comm
Michael Starzinger 2015/09/04 16:35:50 Receiver and closure are to different things. One
333 static const int kInterpreterAccumulatorParameter = 0; 334 static const int kInterpreterAccumulatorParameter = 0;
334 static const int kInterpreterRegisterFileParameter = 1; 335 static const int kInterpreterRegisterFileParameter = 1;
335 static const int kInterpreterBytecodeOffsetParameter = 2; 336 static const int kInterpreterBytecodeOffsetParameter = 2;
336 static const int kInterpreterBytecodeArrayParameter = 3; 337 static const int kInterpreterBytecodeArrayParameter = 3;
337 static const int kInterpreterDispatchTableParameter = 4; 338 static const int kInterpreterDispatchTableParameter = 4;
338 static const int kInterpreterContextParameter = 5; 339 static const int kInterpreterContextParameter = 5;
339 340
340 private: 341 private:
341 CallDescriptor* const incoming_; 342 CallDescriptor* const incoming_;
342 343
343 DISALLOW_COPY_AND_ASSIGN(Linkage); 344 DISALLOW_COPY_AND_ASSIGN(Linkage);
344 }; 345 };
345 346
346 } // namespace compiler 347 } // namespace compiler
347 } // namespace internal 348 } // namespace internal
348 } // namespace v8 349 } // namespace v8
349 350
350 #endif // V8_COMPILER_LINKAGE_H_ 351 #endif // V8_COMPILER_LINKAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698