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_COMPILER_JS_CALL_REDUCER_H_ | 5 #ifndef V8_COMPILER_JS_CALL_REDUCER_H_ |
6 #define V8_COMPILER_JS_CALL_REDUCER_H_ | 6 #define V8_COMPILER_JS_CALL_REDUCER_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/compiler/graph-reducer.h" | 9 #include "src/compiler/graph-reducer.h" |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 private: | 40 private: |
41 Reduction ReduceArrayConstructor(Node* node); | 41 Reduction ReduceArrayConstructor(Node* node); |
42 Reduction ReduceCallApiFunction( | 42 Reduction ReduceCallApiFunction( |
43 Node* node, Node* target, | 43 Node* node, Node* target, |
44 Handle<FunctionTemplateInfo> function_template_info); | 44 Handle<FunctionTemplateInfo> function_template_info); |
45 Reduction ReduceNumberConstructor(Node* node); | 45 Reduction ReduceNumberConstructor(Node* node); |
46 Reduction ReduceFunctionPrototypeApply(Node* node); | 46 Reduction ReduceFunctionPrototypeApply(Node* node); |
47 Reduction ReduceFunctionPrototypeCall(Node* node); | 47 Reduction ReduceFunctionPrototypeCall(Node* node); |
48 Reduction ReduceFunctionPrototypeHasInstance(Node* node); | 48 Reduction ReduceFunctionPrototypeHasInstance(Node* node); |
49 Reduction ReduceObjectPrototypeGetProto(Node* node); | 49 Reduction ReduceObjectPrototypeGetProto(Node* node); |
| 50 Reduction ReduceObjectPrototypeHasOwnProperty(Node* node); |
50 Reduction ReduceSpreadCall(Node* node, int arity); | 51 Reduction ReduceSpreadCall(Node* node, int arity); |
51 Reduction ReduceJSConstruct(Node* node); | 52 Reduction ReduceJSConstruct(Node* node); |
52 Reduction ReduceJSConstructWithSpread(Node* node); | 53 Reduction ReduceJSConstructWithSpread(Node* node); |
53 Reduction ReduceJSCall(Node* node); | 54 Reduction ReduceJSCall(Node* node); |
54 Reduction ReduceJSCallWithSpread(Node* node); | 55 Reduction ReduceJSCallWithSpread(Node* node); |
55 | 56 |
56 enum HolderLookup { kHolderNotFound, kHolderIsReceiver, kHolderFound }; | 57 enum HolderLookup { kHolderNotFound, kHolderIsReceiver, kHolderFound }; |
57 | 58 |
58 HolderLookup LookupHolder(Handle<JSObject> object, | 59 HolderLookup LookupHolder(Handle<JSObject> object, |
59 Handle<FunctionTemplateInfo> function_template_info, | 60 Handle<FunctionTemplateInfo> function_template_info, |
(...skipping 12 matching lines...) Expand all Loading... |
72 JSGraph* const jsgraph_; | 73 JSGraph* const jsgraph_; |
73 Handle<Context> const native_context_; | 74 Handle<Context> const native_context_; |
74 CompilationDependencies* const dependencies_; | 75 CompilationDependencies* const dependencies_; |
75 }; | 76 }; |
76 | 77 |
77 } // namespace compiler | 78 } // namespace compiler |
78 } // namespace internal | 79 } // namespace internal |
79 } // namespace v8 | 80 } // namespace v8 |
80 | 81 |
81 #endif // V8_COMPILER_JS_CALL_REDUCER_H_ | 82 #endif // V8_COMPILER_JS_CALL_REDUCER_H_ |
OLD | NEW |