aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/elements.h
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-05-29 15:05:24 -0700
committerisaacs <i@izs.me>2012-06-01 22:31:04 -0700
commitcbdf3393a21690178822c2d6ce2513270d70a02e (patch)
treeebbf375e5d7aa32bf5fe988d2b3fe5fe788b404d /deps/v8/src/elements.h
parent0262b6d2a563e8b96f02c3066b69fed66d956675 (diff)
downloadandroid-node-v8-cbdf3393a21690178822c2d6ce2513270d70a02e.tar.gz
android-node-v8-cbdf3393a21690178822c2d6ce2513270d70a02e.tar.bz2
android-node-v8-cbdf3393a21690178822c2d6ce2513270d70a02e.zip
Upgrade v8 to 3.11.7
Diffstat (limited to 'deps/v8/src/elements.h')
-rw-r--r--deps/v8/src/elements.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/v8/src/elements.h b/deps/v8/src/elements.h
index 55d6fa56f0..822fca50ee 100644
--- a/deps/v8/src/elements.h
+++ b/deps/v8/src/elements.h
@@ -28,6 +28,7 @@
#ifndef V8_ELEMENTS_H_
#define V8_ELEMENTS_H_
+#include "elements-kind.h"
#include "objects.h"
#include "heap.h"
#include "isolate.h"
@@ -45,6 +46,10 @@ class ElementsAccessor {
virtual ElementsKind kind() const = 0;
const char* name() const { return name_; }
+ // Checks the elements of an object for consistency, asserting when a problem
+ // is found.
+ virtual void Validate(JSObject* obj) = 0;
+
// Returns true if a holder contains an element with the specified key
// without iterating up the prototype chain. The caller can optionally pass
// in the backing store to use for the check, which must be compatible with