OLD | NEW |
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/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/builtins/builtins.h" | 9 #include "src/builtins/builtins.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 V(ClassOf, class_of, 1) \ | 28 V(ClassOf, class_of, 1) \ |
29 V(HasProperty, has_property, 2) \ | 29 V(HasProperty, has_property, 2) \ |
30 V(IsArray, is_array, 1) \ | 30 V(IsArray, is_array, 1) \ |
31 V(IsJSProxy, is_js_proxy, 1) \ | 31 V(IsJSProxy, is_js_proxy, 1) \ |
32 V(IsJSReceiver, is_js_receiver, 1) \ | 32 V(IsJSReceiver, is_js_receiver, 1) \ |
33 V(IsRegExp, is_regexp, 1) \ | 33 V(IsRegExp, is_regexp, 1) \ |
34 V(IsSmi, is_smi, 1) \ | 34 V(IsSmi, is_smi, 1) \ |
35 V(IsTypedArray, is_typed_array, 1) \ | 35 V(IsTypedArray, is_typed_array, 1) \ |
36 V(NewObject, new_object, 2) \ | 36 V(NewObject, new_object, 2) \ |
37 V(NumberToString, number_to_string, 1) \ | 37 V(NumberToString, number_to_string, 1) \ |
38 V(RegExpConstructResult, reg_exp_construct_result, 3) \ | |
39 V(RegExpExec, reg_exp_exec, 4) \ | 38 V(RegExpExec, reg_exp_exec, 4) \ |
40 V(SubString, sub_string, 3) \ | 39 V(SubString, sub_string, 3) \ |
41 V(ToString, to_string, 1) \ | 40 V(ToString, to_string, 1) \ |
42 V(ToLength, to_length, 1) \ | 41 V(ToLength, to_length, 1) \ |
43 V(ToInteger, to_integer, 1) \ | 42 V(ToInteger, to_integer, 1) \ |
44 V(ToNumber, to_number, 1) \ | 43 V(ToNumber, to_number, 1) \ |
45 V(ToObject, to_object, 1) \ | 44 V(ToObject, to_object, 1) \ |
46 V(ValueOf, value_of, 1) | 45 V(ValueOf, value_of, 1) |
47 | 46 |
48 class IntrinsicsHelper { | 47 class IntrinsicsHelper { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 InterpreterAssembler* assembler_; | 93 InterpreterAssembler* assembler_; |
95 | 94 |
96 DISALLOW_COPY_AND_ASSIGN(IntrinsicsHelper); | 95 DISALLOW_COPY_AND_ASSIGN(IntrinsicsHelper); |
97 }; | 96 }; |
98 | 97 |
99 } // namespace interpreter | 98 } // namespace interpreter |
100 } // namespace internal | 99 } // namespace internal |
101 } // namespace v8 | 100 } // namespace v8 |
102 | 101 |
103 #endif | 102 #endif |
OLD | NEW |