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

Side by Side Diff: src/compiler/js-call-reducer.h

Issue 2763533002: [WIP] JSForInLowering and JSForInHasOwnProperty.
Patch Set: Hack around the issue with indices not being available always. Created 3 years, 9 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
« no previous file with comments | « src/compiler/effect-control-linearizer.cc ('k') | src/compiler/js-call-reducer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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
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
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_
OLDNEW
« no previous file with comments | « src/compiler/effect-control-linearizer.cc ('k') | src/compiler/js-call-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698