diff options
Diffstat (limited to 'deps/v8/src/compiler/linkage.h')
-rw-r--r-- | deps/v8/src/compiler/linkage.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/v8/src/compiler/linkage.h b/deps/v8/src/compiler/linkage.h index 0be3053274..5ebfedf4fd 100644 --- a/deps/v8/src/compiler/linkage.h +++ b/deps/v8/src/compiler/linkage.h @@ -153,7 +153,9 @@ class LinkageLocation { LinkageLocation(LocationType type, int32_t location, MachineType machine_type) { bit_field_ = TypeField::encode(type) | - ((location << LocationField::kShift) & LocationField::kMask); + // {location} can be -1 (ANY_REGISTER). + ((static_cast<uint32_t>(location) << LocationField::kShift) & + LocationField::kMask); machine_type_ = machine_type; } @@ -315,6 +317,8 @@ class V8_EXPORT_PRIVATE CallDescriptor final int GetStackParameterDelta(const CallDescriptor* tail_caller) const; + int GetTaggedParameterSlots() const; + bool CanTailCall(const Node* call) const; int CalculateFixedFrameSize() const; |