Index: sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart |
diff --git a/sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart b/sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart |
index fb7b5dfdef672a5635782c154e07f17d02699366..474148e4b47660ec025e4d8cc194787f2374be1a 100644 |
--- a/sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart |
+++ b/sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart |
@@ -324,9 +324,6 @@ enum JsGetName { |
TYPEDEF_TAG, |
/// Name used to tag a function type. |
FUNCTION_TYPE_TAG, |
- /// Name used to tag void return in function type representations in |
- /// JavaScript. |
- FUNCTION_TYPE_VOID_RETURN_TAG, |
/// Name used to tag return types in function type representations in |
/// JavaScript. |
FUNCTION_TYPE_RETURN_TYPE_TAG, |
@@ -381,6 +378,11 @@ enum JsBuiltin { |
/// JS_BUILTIN('=Object', JsBuiltin.createFunctionType) |
createFunctionTypeRti, |
+ /// Returns whether the given rti is a void rti. |
+ /// |
+ /// JS_BUILTIN("bool', JsBuiltin.isVoidRti, rti) |
+ isVoidRti, |
+ |
/// Returns the JavaScript-constructor name given an rti encoding. |
/// |
/// JS_BUILTIN('String', JsBuiltin.rawRtiToJsConstructorName, rti) |