OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #include "src/interface-descriptors.h" | 5 #include "src/interface-descriptors.h" |
6 | 6 |
7 namespace v8 { | 7 namespace v8 { |
8 namespace internal { | 8 namespace internal { |
9 | 9 |
10 namespace { | 10 namespace { |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 function->InitParameter(i, AnyTagged(zone)); | 521 function->InitParameter(i, AnyTagged(zone)); |
522 } | 522 } |
523 return function; | 523 return function; |
524 } | 524 } |
525 | 525 |
526 FunctionType* | 526 FunctionType* |
527 InterpreterDispatchDescriptor::BuildCallInterfaceDescriptorFunctionType( | 527 InterpreterDispatchDescriptor::BuildCallInterfaceDescriptorFunctionType( |
528 Isolate* isolate, int parameter_count) { | 528 Isolate* isolate, int parameter_count) { |
529 Zone* zone = isolate->interface_descriptor_zone(); | 529 Zone* zone = isolate->interface_descriptor_zone(); |
530 FunctionType* function = | 530 FunctionType* function = |
531 Type::Function(AnyTagged(zone), Type::Undefined(), 5, zone)->AsFunction(); | 531 Type::Function(AnyTagged(zone), Type::Undefined(), 4, zone)->AsFunction(); |
532 function->InitParameter(kAccumulatorParameter, AnyTagged(zone)); | 532 function->InitParameter(kAccumulatorParameter, AnyTagged(zone)); |
533 function->InitParameter(kRegisterFileParameter, ExternalPointer(zone)); | |
534 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone)); | 533 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone)); |
535 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone)); | 534 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone)); |
536 function->InitParameter(kDispatchTableParameter, AnyTagged(zone)); | 535 function->InitParameter(kDispatchTableParameter, AnyTagged(zone)); |
537 return function; | 536 return function; |
538 } | 537 } |
539 | 538 |
540 } // namespace internal | 539 } // namespace internal |
541 } // namespace v8 | 540 } // namespace v8 |
OLD | NEW |