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

Side by Side Diff: src/compiler/js-type-hint-lowering.h

Issue 2956843002: [turbofan] Replace uninitialized JSCall nodes with SOFT deopt. (Closed)
Patch Set: Several improvements. Created 3 years, 5 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/js-call-reducer.cc ('k') | src/compiler/js-type-hint-lowering.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 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 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_TYPE_HINT_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_TYPE_HINT_LOWERING_H_
6 #define V8_COMPILER_JS_TYPE_HINT_LOWERING_H_ 6 #define V8_COMPILER_JS_TYPE_HINT_LOWERING_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 #include "src/deoptimize-reason.h" 10 #include "src/deoptimize-reason.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 // Potential reduction to ToNumber operations 58 // Potential reduction to ToNumber operations
59 Reduction ReduceToNumberOperation(Node* value, Node* effect, Node* control, 59 Reduction ReduceToNumberOperation(Node* value, Node* effect, Node* control,
60 FeedbackSlot slot) const; 60 FeedbackSlot slot) const;
61 61
62 // Potential reduction to ToPrimitiveToString operations 62 // Potential reduction to ToPrimitiveToString operations
63 Reduction ReduceToPrimitiveToStringOperation(Node* value, Node* effect, 63 Reduction ReduceToPrimitiveToStringOperation(Node* value, Node* effect,
64 Node* control, 64 Node* control,
65 FeedbackSlot slot) const; 65 FeedbackSlot slot) const;
66 66
67 // Potential reduction of call operations.
68 Reduction ReduceCallOperation(const Operator* op, Node* const* args,
69 int arg_count, Node* effect, Node* control,
70 FeedbackSlot slot) const;
71
67 // Potential reduction of property access operations. 72 // Potential reduction of property access operations.
68 Reduction ReduceLoadNamedOperation(const Operator* op, Node* obj, 73 Reduction ReduceLoadNamedOperation(const Operator* op, Node* obj,
69 Node* effect, Node* control, 74 Node* effect, Node* control,
70 FeedbackSlot slot) const; 75 FeedbackSlot slot) const;
71 Reduction ReduceLoadKeyedOperation(const Operator* op, Node* obj, Node* key, 76 Reduction ReduceLoadKeyedOperation(const Operator* op, Node* obj, Node* key,
72 Node* effect, Node* control, 77 Node* effect, Node* control,
73 FeedbackSlot slot) const; 78 FeedbackSlot slot) const;
74 Reduction ReduceStoreNamedOperation(const Operator* op, Node* obj, Node* val, 79 Reduction ReduceStoreNamedOperation(const Operator* op, Node* obj, Node* val,
75 Node* effect, Node* control, 80 Node* effect, Node* control,
76 FeedbackSlot slot) const; 81 FeedbackSlot slot) const;
(...skipping 17 matching lines...) Expand all
94 Handle<FeedbackVector> feedback_vector_; 99 Handle<FeedbackVector> feedback_vector_;
95 100
96 DISALLOW_COPY_AND_ASSIGN(JSTypeHintLowering); 101 DISALLOW_COPY_AND_ASSIGN(JSTypeHintLowering);
97 }; 102 };
98 103
99 } // namespace compiler 104 } // namespace compiler
100 } // namespace internal 105 } // namespace internal
101 } // namespace v8 106 } // namespace v8
102 107
103 #endif // V8_COMPILER_JS_TYPE_HINT_LOWERING_H_ 108 #endif // V8_COMPILER_JS_TYPE_HINT_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/js-call-reducer.cc ('k') | src/compiler/js-type-hint-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698