Index: src/interpreter/interpreter-intrinsics.h |
diff --git a/src/interpreter/interpreter-intrinsics.h b/src/interpreter/interpreter-intrinsics.h |
index fc0c577fd4577756cceeeea9214101ffbabcab5c..1bc6a838732136c34e370bcac5f717e05a8f05b6 100644 |
--- a/src/interpreter/interpreter-intrinsics.h |
+++ b/src/interpreter/interpreter-intrinsics.h |
@@ -13,33 +13,36 @@ namespace interpreter { |
// List of supported intrisics, with upper case name, lower case name and |
// expected number of arguments (-1 denoting argument count is variable). |
-#define INTRINSICS_LIST(V) \ |
- V(AsyncGeneratorGetAwaitInputOrDebugPos, \ |
- async_generator_get_await_input_or_debug_pos, 1) \ |
- V(AsyncGeneratorReject, async_generator_reject, 2) \ |
- V(AsyncGeneratorResolve, async_generator_resolve, 3) \ |
- V(CreateJSGeneratorObject, create_js_generator_object, 2) \ |
- V(Call, call, -1) \ |
- V(ClassOf, class_of, 1) \ |
- V(CreateIterResultObject, create_iter_result_object, 2) \ |
- V(CreateAsyncFromSyncIterator, create_async_from_sync_iterator, 1) \ |
- V(HasProperty, has_property, 2) \ |
- V(IsArray, is_array, 1) \ |
- V(IsJSMap, is_js_map, 1) \ |
- V(IsJSMapIterator, is_js_map_iterator, 1) \ |
- V(IsJSProxy, is_js_proxy, 1) \ |
- V(IsJSReceiver, is_js_receiver, 1) \ |
- V(IsJSSet, is_js_set, 1) \ |
- V(IsJSSetIterator, is_js_set_iterator, 1) \ |
- V(IsJSWeakMap, is_js_weak_map, 1) \ |
- V(IsJSWeakSet, is_js_weak_set, 1) \ |
- V(IsSmi, is_smi, 1) \ |
- V(IsTypedArray, is_typed_array, 1) \ |
- V(SubString, sub_string, 3) \ |
- V(ToString, to_string, 1) \ |
- V(ToLength, to_length, 1) \ |
- V(ToInteger, to_integer, 1) \ |
- V(ToNumber, to_number, 1) \ |
+#define INTRINSICS_LIST(V) \ |
+ V(AsyncGeneratorGetAwaitInputOrDebugPos, \ |
+ async_generator_get_await_input_or_debug_pos, 1) \ |
+ V(AsyncGeneratorReject, async_generator_reject, 2) \ |
+ V(AsyncGeneratorResolve, async_generator_resolve, 3) \ |
+ V(CreateJSGeneratorObject, create_js_generator_object, 2) \ |
+ V(GeneratorGetContext, generator_get_context, 1) \ |
+ V(GeneratorGetResumeMode, generator_get_resume_mode, 1) \ |
+ V(GeneratorGetInputOrDebugPos, generator_get_input_or_debug_pos, 1) \ |
+ V(Call, call, -1) \ |
+ V(ClassOf, class_of, 1) \ |
+ V(CreateIterResultObject, create_iter_result_object, 2) \ |
+ V(CreateAsyncFromSyncIterator, create_async_from_sync_iterator, 1) \ |
+ V(HasProperty, has_property, 2) \ |
+ V(IsArray, is_array, 1) \ |
+ V(IsJSMap, is_js_map, 1) \ |
+ V(IsJSMapIterator, is_js_map_iterator, 1) \ |
+ V(IsJSProxy, is_js_proxy, 1) \ |
+ V(IsJSReceiver, is_js_receiver, 1) \ |
+ V(IsJSSet, is_js_set, 1) \ |
+ V(IsJSSetIterator, is_js_set_iterator, 1) \ |
+ V(IsJSWeakMap, is_js_weak_map, 1) \ |
+ V(IsJSWeakSet, is_js_weak_set, 1) \ |
+ V(IsSmi, is_smi, 1) \ |
+ V(IsTypedArray, is_typed_array, 1) \ |
+ V(SubString, sub_string, 3) \ |
+ V(ToString, to_string, 1) \ |
+ V(ToLength, to_length, 1) \ |
+ V(ToInteger, to_integer, 1) \ |
+ V(ToNumber, to_number, 1) \ |
V(ToObject, to_object, 1) |
class IntrinsicsHelper { |