[builtins] Small cleanup of {Builtins::CallableFor}.
R=mvstanton@chromium.org Change-Id: Iff5a3741ba93ea2cc9d4b9f9907b22ce768b1cb3 Reviewed-on: https://chromium-review.googlesource.com/758840 Commit-Queue: Michael Stanton <mvstanton@chromium.org> Reviewed-by: Michael Stanton <mvstanton@chromium.org> Cr-Commit-Position: refs/heads/master@{#49269}
This commit is contained in:
parent
2d06b834b0
commit
1d77bc2900
@ -170,43 +170,15 @@ Callable Builtins::CallableFor(Isolate* isolate, Name name) {
|
|||||||
BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, CASE_OTHER,
|
BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, CASE_OTHER,
|
||||||
CASE_OTHER, CASE_OTHER, IGNORE_BUILTIN)
|
CASE_OTHER, CASE_OTHER, IGNORE_BUILTIN)
|
||||||
#undef CASE_OTHER
|
#undef CASE_OTHER
|
||||||
case kConsoleAssert: {
|
case kArrayFilterLoopEagerDeoptContinuation:
|
||||||
|
case kArrayFilterLoopLazyDeoptContinuation:
|
||||||
|
case kArrayForEach:
|
||||||
|
case kArrayForEachLoopEagerDeoptContinuation:
|
||||||
|
case kArrayForEachLoopLazyDeoptContinuation:
|
||||||
|
case kArrayMapLoopEagerDeoptContinuation:
|
||||||
|
case kArrayMapLoopLazyDeoptContinuation:
|
||||||
|
case kConsoleAssert:
|
||||||
return Callable(code, BuiltinDescriptor(isolate));
|
return Callable(code, BuiltinDescriptor(isolate));
|
||||||
}
|
|
||||||
case kArrayForEach: {
|
|
||||||
Handle<Code> code = BUILTIN_CODE(isolate, ArrayForEach);
|
|
||||||
return Callable(code, BuiltinDescriptor(isolate));
|
|
||||||
}
|
|
||||||
case kArrayForEachLoopEagerDeoptContinuation: {
|
|
||||||
Handle<Code> code =
|
|
||||||
BUILTIN_CODE(isolate, ArrayForEachLoopEagerDeoptContinuation);
|
|
||||||
return Callable(code, BuiltinDescriptor(isolate));
|
|
||||||
}
|
|
||||||
case kArrayForEachLoopLazyDeoptContinuation: {
|
|
||||||
Handle<Code> code =
|
|
||||||
BUILTIN_CODE(isolate, ArrayForEachLoopLazyDeoptContinuation);
|
|
||||||
return Callable(code, BuiltinDescriptor(isolate));
|
|
||||||
}
|
|
||||||
case kArrayMapLoopEagerDeoptContinuation: {
|
|
||||||
Handle<Code> code =
|
|
||||||
BUILTIN_CODE(isolate, ArrayMapLoopEagerDeoptContinuation);
|
|
||||||
return Callable(code, BuiltinDescriptor(isolate));
|
|
||||||
}
|
|
||||||
case kArrayMapLoopLazyDeoptContinuation: {
|
|
||||||
Handle<Code> code =
|
|
||||||
BUILTIN_CODE(isolate, ArrayMapLoopLazyDeoptContinuation);
|
|
||||||
return Callable(code, BuiltinDescriptor(isolate));
|
|
||||||
}
|
|
||||||
case kArrayFilterLoopEagerDeoptContinuation: {
|
|
||||||
Handle<Code> code =
|
|
||||||
BUILTIN_CODE(isolate, ArrayFilterLoopEagerDeoptContinuation);
|
|
||||||
return Callable(code, BuiltinDescriptor(isolate));
|
|
||||||
}
|
|
||||||
case kArrayFilterLoopLazyDeoptContinuation: {
|
|
||||||
Handle<Code> code =
|
|
||||||
BUILTIN_CODE(isolate, ArrayFilterLoopLazyDeoptContinuation);
|
|
||||||
return Callable(code, BuiltinDescriptor(isolate));
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user