summaryrefslogtreecommitdiff
path: root/chromium/v8/src/objects/arguments.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-12 14:27:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-13 09:35:20 +0000
commitc30a6232df03e1efbd9f3b226777b07e087a1122 (patch)
treee992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/v8/src/objects/arguments.h
parent7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff)
downloadqtwebengine-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.h')
-rw-r--r--chromium/v8/src/objects/arguments.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/chromium/v8/src/objects/arguments.h b/chromium/v8/src/objects/arguments.h
index ed2d31d1dd4..41eaaed1a17 100644
--- a/chromium/v8/src/objects/arguments.h
+++ b/chromium/v8/src/objects/arguments.h
@@ -58,49 +58,6 @@ class JSStrictArgumentsObject : public JSArgumentsObject {
DISALLOW_IMPLICIT_CONSTRUCTORS(JSStrictArgumentsObject);
};
-// Helper class to access FAST_ and SLOW_SLOPPY_ARGUMENTS_ELEMENTS
-//
-// +---+-----------------------+
-// | 0 | Context context |
-// +---------------------------+
-// | 1 | FixedArray arguments +----+ HOLEY_ELEMENTS
-// +---------------------------+ v-----+-----------+
-// | 2 | Object param_1_map | | 0 | the_hole |
-// |...| ... | | ... | ... |
-// |n+1| Object param_n_map | | n-1 | the_hole |
-// +---------------------------+ | n | element_1 |
-// | ... | ... |
-// |n+m-1| element_m |
-// +-----------------+
-//
-// Parameter maps give the index into the provided context. If a map entry is
-// the_hole it means that the given entry has been deleted from the arguments
-// object.
-// The arguments backing store kind depends on the ElementsKind of the outer
-// JSArgumentsObject:
-// - FAST_SLOPPY_ARGUMENTS_ELEMENTS: HOLEY_ELEMENTS
-// - SLOW_SLOPPY_ARGUMENTS_ELEMENTS: DICTIONARY_ELEMENTS
-class SloppyArgumentsElements : public FixedArray {
- public:
- static const int kContextIndex = 0;
- static const int kArgumentsIndex = 1;
- static const uint32_t kParameterMapStart = 2;
-
- DECL_GETTER(context, Context)
- DECL_GETTER(arguments, FixedArray)
- inline void set_arguments(FixedArray arguments);
- inline uint32_t parameter_map_length();
- inline Object get_mapped_entry(uint32_t entry);
- inline void set_mapped_entry(uint32_t entry, Object object);
-
- DECL_CAST(SloppyArgumentsElements)
-#ifdef VERIFY_HEAP
- void SloppyArgumentsElementsVerify(Isolate* isolate, JSObject holder);
-#endif
-
- OBJECT_CONSTRUCTORS(SloppyArgumentsElements, FixedArray);
-};
-
// Representation of a slow alias as part of a sloppy arguments objects.
// For fast aliases (if HasSloppyArgumentsElements()):
// - the parameter map contains an index into the context