| 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 ReduceBooleanConstructor(Node* node); | 42 Reduction ReduceBooleanConstructor(Node* node); |
| 43 Reduction ReduceCallApiFunction( | 43 Reduction ReduceCallApiFunction( |
| 44 Node* node, Node* target, | 44 Node* node, Node* target, |
| 45 Handle<FunctionTemplateInfo> function_template_info); | 45 Handle<FunctionTemplateInfo> function_template_info); |
| 46 Reduction ReduceNumberConstructor(Node* node); | 46 Reduction ReduceNumberConstructor(Node* node); |
| 47 Reduction ReduceFunctionPrototypeApply(Node* node); | 47 Reduction ReduceFunctionPrototypeApply(Node* node); |
| 48 Reduction ReduceFunctionPrototypeCall(Node* node); | 48 Reduction ReduceFunctionPrototypeCall(Node* node); |
| 49 Reduction ReduceFunctionPrototypeHasInstance(Node* node); | 49 Reduction ReduceFunctionPrototypeHasInstance(Node* node); |
| 50 Reduction ReduceObjectGetPrototype(Node* node, Node* object); |
| 51 Reduction ReduceObjectGetPrototypeOf(Node* node); |
| 50 Reduction ReduceObjectPrototypeGetProto(Node* node); | 52 Reduction ReduceObjectPrototypeGetProto(Node* node); |
| 53 Reduction ReduceReflectGetPrototypeOf(Node* node); |
| 51 Reduction ReduceSpreadCall(Node* node, int arity); | 54 Reduction ReduceSpreadCall(Node* node, int arity); |
| 52 Reduction ReduceJSConstruct(Node* node); | 55 Reduction ReduceJSConstruct(Node* node); |
| 53 Reduction ReduceJSConstructWithSpread(Node* node); | 56 Reduction ReduceJSConstructWithSpread(Node* node); |
| 54 Reduction ReduceJSCall(Node* node); | 57 Reduction ReduceJSCall(Node* node); |
| 55 Reduction ReduceJSCallWithSpread(Node* node); | 58 Reduction ReduceJSCallWithSpread(Node* node); |
| 56 | 59 |
| 57 enum HolderLookup { kHolderNotFound, kHolderIsReceiver, kHolderFound }; | 60 enum HolderLookup { kHolderNotFound, kHolderIsReceiver, kHolderFound }; |
| 58 | 61 |
| 59 HolderLookup LookupHolder(Handle<JSObject> object, | 62 HolderLookup LookupHolder(Handle<JSObject> object, |
| 60 Handle<FunctionTemplateInfo> function_template_info, | 63 Handle<FunctionTemplateInfo> function_template_info, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 73 JSGraph* const jsgraph_; | 76 JSGraph* const jsgraph_; |
| 74 Handle<Context> const native_context_; | 77 Handle<Context> const native_context_; |
| 75 CompilationDependencies* const dependencies_; | 78 CompilationDependencies* const dependencies_; |
| 76 }; | 79 }; |
| 77 | 80 |
| 78 } // namespace compiler | 81 } // namespace compiler |
| 79 } // namespace internal | 82 } // namespace internal |
| 80 } // namespace v8 | 83 } // namespace v8 |
| 81 | 84 |
| 82 #endif // V8_COMPILER_JS_CALL_REDUCER_H_ | 85 #endif // V8_COMPILER_JS_CALL_REDUCER_H_ |
| OLD | NEW |