OLD | NEW |
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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 LinkageLocation GetOsrValueLocation(int index) const; | 274 LinkageLocation GetOsrValueLocation(int index) const; |
275 | 275 |
276 // A special parameter index for JSCalls that represents the closure. | 276 // A special parameter index for JSCalls that represents the closure. |
277 static const int kJSFunctionCallClosureParamIndex = -1; | 277 static const int kJSFunctionCallClosureParamIndex = -1; |
278 | 278 |
279 // A special {OsrValue} index to indicate the context spill slot. | 279 // A special {OsrValue} index to indicate the context spill slot. |
280 static const int kOsrContextSpillSlotIndex = -1; | 280 static const int kOsrContextSpillSlotIndex = -1; |
281 | 281 |
282 // Special parameter indices used to pass fixed register data through | 282 // Special parameter indices used to pass fixed register data through |
283 // interpreter dispatches. | 283 // interpreter dispatches. |
284 static const int kInterpreterBytecodeParameter = 0; | 284 static const int kInterpreterBytecodeOffsetParameter = 0; |
285 static const int kInterpreterDispatchTableParameter = 1; | 285 static const int kInterpreterBytecodeArrayParameter = 1; |
| 286 static const int kInterpreterDispatchTableParameter = 2; |
286 | 287 |
287 private: | 288 private: |
288 CallDescriptor* const incoming_; | 289 CallDescriptor* const incoming_; |
289 | 290 |
290 DISALLOW_COPY_AND_ASSIGN(Linkage); | 291 DISALLOW_COPY_AND_ASSIGN(Linkage); |
291 }; | 292 }; |
292 | 293 |
293 } // namespace compiler | 294 } // namespace compiler |
294 } // namespace internal | 295 } // namespace internal |
295 } // namespace v8 | 296 } // namespace v8 |
296 | 297 |
297 #endif // V8_COMPILER_LINKAGE_H_ | 298 #endif // V8_COMPILER_LINKAGE_H_ |
OLD | NEW |