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

Unified Diff: src/elements.h

Issue 760883002: Add interceptor support for symbols (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test Created 6 years, 1 month 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 f4de4bb010d560a695a3db9aa6576e95f283fe74..9d86bbd657b5fde617ec05381de9e51cc06e1202 100644
--- a/src/elements.h
+++ b/src/elements.h
@@ -167,17 +167,14 @@ class ElementsAccessor {
}
MUST_USE_RESULT virtual MaybeHandle<FixedArray> AddElementsToFixedArray(
- Handle<Object> receiver,
- Handle<JSObject> holder,
- Handle<FixedArray> to,
- Handle<FixedArrayBase> from) = 0;
+ Handle<Object> receiver, Handle<JSObject> holder, Handle<FixedArray> to,
+ Handle<FixedArrayBase> from, FixedArray::KeyFilter filter) = 0;
MUST_USE_RESULT inline MaybeHandle<FixedArray> AddElementsToFixedArray(
- Handle<Object> receiver,
- Handle<JSObject> holder,
- Handle<FixedArray> to) {
- return AddElementsToFixedArray(
- receiver, holder, to, handle(holder->elements()));
+ Handle<Object> receiver, Handle<JSObject> holder, Handle<FixedArray> to,
+ FixedArray::KeyFilter filter) {
+ return AddElementsToFixedArray(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