Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Side by Side Diff: src/interpreter/interpreter-intrinsics.h

Issue 2861983002: [ignition] Optimize JSGenerator creation (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_INTERPRETER_INTERPRETER_INTRINSICS_H_ 5 #ifndef V8_INTERPRETER_INTERPRETER_INTRINSICS_H_
6 #define V8_INTERPRETER_INTERPRETER_INTRINSICS_H_ 6 #define V8_INTERPRETER_INTERPRETER_INTRINSICS_H_
7 7
8 #include "src/runtime/runtime.h" 8 #include "src/runtime/runtime.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 namespace interpreter { 12 namespace interpreter {
13 13
14 // List of supported intrisics, with upper case name, lower case name and 14 // List of supported intrisics, with upper case name, lower case name and
15 // expected number of arguments (-1 denoting argument count is variable). 15 // expected number of arguments (-1 denoting argument count is variable).
16 #define INTRINSICS_LIST(V) \ 16 #define INTRINSICS_LIST(V) \
17 V(AsyncGeneratorGetAwaitInputOrDebugPos, \ 17 V(AsyncGeneratorGetAwaitInputOrDebugPos, \
18 async_generator_get_await_input_or_debug_pos, 1) \ 18 async_generator_get_await_input_or_debug_pos, 1) \
19 V(AsyncGeneratorReject, async_generator_reject, 2) \ 19 V(AsyncGeneratorReject, async_generator_reject, 2) \
20 V(AsyncGeneratorResolve, async_generator_resolve, 3) \ 20 V(AsyncGeneratorResolve, async_generator_resolve, 3) \
21 V(CreateJSGeneratorObject, create_js_generator_object, 2) \
21 V(Call, call, -1) \ 22 V(Call, call, -1) \
22 V(ClassOf, class_of, 1) \ 23 V(ClassOf, class_of, 1) \
23 V(CreateIterResultObject, create_iter_result_object, 2) \ 24 V(CreateIterResultObject, create_iter_result_object, 2) \
24 V(CreateAsyncFromSyncIterator, create_async_from_sync_iterator, 1) \ 25 V(CreateAsyncFromSyncIterator, create_async_from_sync_iterator, 1) \
25 V(HasProperty, has_property, 2) \ 26 V(HasProperty, has_property, 2) \
26 V(IsArray, is_array, 1) \ 27 V(IsArray, is_array, 1) \
27 V(IsJSProxy, is_js_proxy, 1) \ 28 V(IsJSProxy, is_js_proxy, 1) \
28 V(IsJSReceiver, is_js_receiver, 1) \ 29 V(IsJSReceiver, is_js_receiver, 1) \
29 V(IsSmi, is_smi, 1) \ 30 V(IsSmi, is_smi, 1) \
30 V(IsTypedArray, is_typed_array, 1) \ 31 V(IsTypedArray, is_typed_array, 1) \
(...skipping 20 matching lines...) Expand all
51 52
52 private: 53 private:
53 DISALLOW_IMPLICIT_CONSTRUCTORS(IntrinsicsHelper); 54 DISALLOW_IMPLICIT_CONSTRUCTORS(IntrinsicsHelper);
54 }; 55 };
55 56
56 } // namespace interpreter 57 } // namespace interpreter
57 } // namespace internal 58 } // namespace internal
58 } // namespace v8 59 } // namespace v8
59 60
60 #endif 61 #endif
OLDNEW
« no previous file with comments | « src/interpreter/interpreter-assembler.cc ('k') | src/interpreter/interpreter-intrinsics-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698