[cleanup] Remove obsolete %SetClear and %MapClear.

R=jgruber@chromium.org

Bug: v8:5717
Change-Id: I715aa8e807d479056044f364410bbce62d23c593
Reviewed-on: https://chromium-review.googlesource.com/560996
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46422}
This commit is contained in:
Benedikt Meurer 2017-07-06 06:48:08 +02:00 committed by Commit Bot
parent 97f4baaacd
commit 1af07362aa
2 changed files with 0 additions and 22 deletions

View File

@ -75,16 +75,6 @@ RUNTIME_FUNCTION(Runtime_SetShrink) {
return isolate->heap()->undefined_value();
}
// TODO(gsathya): Remove this when we delete crankshaft.
RUNTIME_FUNCTION(Runtime_SetClear) {
HandleScope scope(isolate);
DCHECK_EQ(1, args.length());
CONVERT_ARG_HANDLE_CHECKED(JSSet, holder, 0);
JSSet::Clear(holder);
return isolate->heap()->undefined_value();
}
RUNTIME_FUNCTION(Runtime_SetIteratorInitialize) {
HandleScope scope(isolate);
DCHECK_EQ(3, args.length());
@ -159,16 +149,6 @@ RUNTIME_FUNCTION(Runtime_MapShrink) {
return isolate->heap()->undefined_value();
}
// TODO(gsathya): Remove this when we delete crankshaft.
RUNTIME_FUNCTION(Runtime_MapClear) {
HandleScope scope(isolate);
DCHECK_EQ(1, args.length());
CONVERT_ARG_HANDLE_CHECKED(JSMap, holder, 0);
JSMap::Clear(holder);
return isolate->heap()->undefined_value();
}
RUNTIME_FUNCTION(Runtime_MapGrow) {
HandleScope scope(isolate);
DCHECK_EQ(1, args.length());

View File

@ -97,14 +97,12 @@ namespace internal {
F(SetInitialize, 1, 1) \
F(SetGrow, 1, 1) \
F(SetShrink, 1, 1) \
F(SetClear, 1, 1) \
F(SetIteratorInitialize, 3, 1) \
F(SetIteratorClone, 1, 1) \
F(SetIteratorNext, 2, 1) \
F(SetIteratorDetails, 1, 1) \
F(MapInitialize, 1, 1) \
F(MapShrink, 1, 1) \
F(MapClear, 1, 1) \
F(MapGrow, 1, 1) \
F(MapIteratorInitialize, 3, 1) \
F(MapIteratorClone, 1, 1) \