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

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

Issue 2638393002: [builtins] Add String.prototype.indexOf fast path in TF (Closed)
Patch Set: hardcode paramater massaging Created 3 years, 11 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/code-factory.cc ('k') | src/compiler/js-builtin-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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_BUILTIN_REDUCER_H_ 5 #ifndef V8_COMPILER_JS_BUILTIN_REDUCER_H_
6 #define V8_COMPILER_JS_BUILTIN_REDUCER_H_ 6 #define V8_COMPILER_JS_BUILTIN_REDUCER_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/base/flags.h" 9 #include "src/base/flags.h"
10 #include "src/compiler/graph-reducer.h" 10 #include "src/compiler/graph-reducer.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 Reduction ReduceMathTrunc(Node* node); 96 Reduction ReduceMathTrunc(Node* node);
97 Reduction ReduceNumberIsFinite(Node* node); 97 Reduction ReduceNumberIsFinite(Node* node);
98 Reduction ReduceNumberIsInteger(Node* node); 98 Reduction ReduceNumberIsInteger(Node* node);
99 Reduction ReduceNumberIsNaN(Node* node); 99 Reduction ReduceNumberIsNaN(Node* node);
100 Reduction ReduceNumberIsSafeInteger(Node* node); 100 Reduction ReduceNumberIsSafeInteger(Node* node);
101 Reduction ReduceNumberParseInt(Node* node); 101 Reduction ReduceNumberParseInt(Node* node);
102 Reduction ReduceObjectCreate(Node* node); 102 Reduction ReduceObjectCreate(Node* node);
103 Reduction ReduceStringCharAt(Node* node); 103 Reduction ReduceStringCharAt(Node* node);
104 Reduction ReduceStringCharCodeAt(Node* node); 104 Reduction ReduceStringCharCodeAt(Node* node);
105 Reduction ReduceStringFromCharCode(Node* node); 105 Reduction ReduceStringFromCharCode(Node* node);
106 Reduction ReduceStringIndexOf(Node* node);
106 Reduction ReduceStringIterator(Node* node); 107 Reduction ReduceStringIterator(Node* node);
107 Reduction ReduceStringIteratorNext(Node* node); 108 Reduction ReduceStringIteratorNext(Node* node);
108 Reduction ReduceArrayBufferViewAccessor(Node* node, 109 Reduction ReduceArrayBufferViewAccessor(Node* node,
109 InstanceType instance_type, 110 InstanceType instance_type,
110 FieldAccess const& access); 111 FieldAccess const& access);
111 112
112 Node* ToNumber(Node* value); 113 Node* ToNumber(Node* value);
113 Node* ToUint32(Node* value); 114 Node* ToUint32(Node* value);
114 115
115 Flags flags() const { return flags_; } 116 Flags flags() const { return flags_; }
(...skipping 14 matching lines...) Expand all
130 TypeCache const& type_cache_; 131 TypeCache const& type_cache_;
131 }; 132 };
132 133
133 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags) 134 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags)
134 135
135 } // namespace compiler 136 } // namespace compiler
136 } // namespace internal 137 } // namespace internal
137 } // namespace v8 138 } // namespace v8
138 139
139 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ 140 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_
OLDNEW
« no previous file with comments | « src/code-factory.cc ('k') | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698