Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: src/elements.h

Issue 467013003: Add interceptor support for symbols (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Updated to filter out non-symbol keys from for-in enumeration Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arguments.h ('k') | src/elements.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/elements.h
diff --git a/src/elements.h b/src/elements.h
index d0bddf982d7934cf7a18e08ed08e419a4e136595..bf3c7973b7e93494f34485b0a1f8863a57d9d7ed 100644
--- a/src/elements.h
+++ b/src/elements.h
@@ -169,14 +169,16 @@ class ElementsAccessor {
Handle<Object> receiver,
Handle<JSObject> holder,
Handle<FixedArray> to,
- Handle<FixedArrayBase> from) = 0;
+ Handle<FixedArrayBase> from,
+ FixedArray::KeyFilter filter) = 0;
MUST_USE_RESULT inline MaybeHandle<FixedArray> AddElementsToFixedArray(
Handle<Object> receiver,
Handle<JSObject> holder,
- Handle<FixedArray> to) {
+ Handle<FixedArray> to,
+ FixedArray::KeyFilter filter) {
return AddElementsToFixedArray(
- receiver, holder, to, handle(holder->elements()));
+ receiver, holder, to, handle(holder->elements()), filter);
}
// Returns a shared ElementsAccessor for the specified ElementsKind.
« no previous file with comments | « src/arguments.h ('k') | src/elements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698