5 #include "src/builtins/builtins-utils.h" 6 #include "src/builtins/builtins.h" 7 #include "src/counters.h" 8 #include "src/interface-descriptors.h" 9 #include "src/objects-inl.h" 18 BUILTIN(EmptyFunction) {
return ReadOnlyRoots(isolate).undefined_value(); }
20 BUILTIN(UnsupportedThrower) {
21 HandleScope scope(isolate);
22 THROW_NEW_ERROR_RETURN_FAILURE(isolate,
23 NewError(MessageTemplate::kUnsupported));
26 BUILTIN(StrictPoisonPillThrower) {
27 HandleScope scope(isolate);
28 THROW_NEW_ERROR_RETURN_FAILURE(
29 isolate, NewTypeError(MessageTemplate::kStrictPoisonPill));