diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/v8/src/objects/arguments-inl.h | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/v8/src/objects/arguments-inl.h')
-rw-r--r-- | chromium/v8/src/objects/arguments-inl.h | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/chromium/v8/src/objects/arguments-inl.h b/chromium/v8/src/objects/arguments-inl.h index 8c49d909d2f..494a8960bd8 100644 --- a/chromium/v8/src/objects/arguments-inl.h +++ b/chromium/v8/src/objects/arguments-inl.h @@ -5,9 +5,8 @@ #ifndef V8_OBJECTS_ARGUMENTS_INL_H_ #define V8_OBJECTS_ARGUMENTS_INL_H_ -#include "src/objects/arguments.h" - #include "src/execution/isolate-inl.h" +#include "src/objects/arguments.h" #include "src/objects/contexts-inl.h" #include "src/objects/fixed-array-inl.h" #include "src/objects/objects-inl.h" @@ -18,38 +17,9 @@ namespace v8 { namespace internal { -OBJECT_CONSTRUCTORS_IMPL(SloppyArgumentsElements, FixedArray) TQ_OBJECT_CONSTRUCTORS_IMPL(JSArgumentsObject) TQ_OBJECT_CONSTRUCTORS_IMPL(AliasedArgumentsEntry) -CAST_ACCESSOR(SloppyArgumentsElements) - -DEF_GETTER(SloppyArgumentsElements, context, Context) { - return TaggedField<Context>::load(isolate, *this, - OffsetOfElementAt(kContextIndex)); -} - -DEF_GETTER(SloppyArgumentsElements, arguments, FixedArray) { - return TaggedField<FixedArray>::load(isolate, *this, - OffsetOfElementAt(kArgumentsIndex)); -} - -void SloppyArgumentsElements::set_arguments(FixedArray arguments) { - set(kArgumentsIndex, arguments); -} - -uint32_t SloppyArgumentsElements::parameter_map_length() { - return length() - kParameterMapStart; -} - -Object SloppyArgumentsElements::get_mapped_entry(uint32_t entry) { - return get(entry + kParameterMapStart); -} - -void SloppyArgumentsElements::set_mapped_entry(uint32_t entry, Object object) { - set(entry + kParameterMapStart, object); -} - } // namespace internal } // namespace v8 |