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

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

Issue 2719023002: [turbofan] Inline Array.isArray in JSBuiltinReducer. (Closed)
Patch Set: 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 | « no previous file | 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 Reduction ReduceArrayIterator(Node* node, IterationKind kind); 48 Reduction ReduceArrayIterator(Node* node, IterationKind kind);
49 Reduction ReduceTypedArrayIterator(Node* node, IterationKind kind); 49 Reduction ReduceTypedArrayIterator(Node* node, IterationKind kind);
50 Reduction ReduceArrayIterator(Handle<Map> receiver_map, Node* node, 50 Reduction ReduceArrayIterator(Handle<Map> receiver_map, Node* node,
51 IterationKind kind, 51 IterationKind kind,
52 ArrayIteratorKind iter_kind); 52 ArrayIteratorKind iter_kind);
53 Reduction ReduceArrayIteratorNext(Node* node); 53 Reduction ReduceArrayIteratorNext(Node* node);
54 Reduction ReduceFastArrayIteratorNext(Handle<Map> iterator_map, Node* node, 54 Reduction ReduceFastArrayIteratorNext(Handle<Map> iterator_map, Node* node,
55 IterationKind kind); 55 IterationKind kind);
56 Reduction ReduceTypedArrayIteratorNext(Handle<Map> iterator_map, Node* node, 56 Reduction ReduceTypedArrayIteratorNext(Handle<Map> iterator_map, Node* node,
57 IterationKind kind); 57 IterationKind kind);
58 Reduction ReduceArrayIsArray(Node* node);
58 Reduction ReduceArrayPop(Node* node); 59 Reduction ReduceArrayPop(Node* node);
59 Reduction ReduceArrayPush(Node* node); 60 Reduction ReduceArrayPush(Node* node);
60 Reduction ReduceDateNow(Node* node); 61 Reduction ReduceDateNow(Node* node);
61 Reduction ReduceDateGetTime(Node* node); 62 Reduction ReduceDateGetTime(Node* node);
62 Reduction ReduceGlobalIsFinite(Node* node); 63 Reduction ReduceGlobalIsFinite(Node* node);
63 Reduction ReduceGlobalIsNaN(Node* node); 64 Reduction ReduceGlobalIsNaN(Node* node);
64 Reduction ReduceMathAbs(Node* node); 65 Reduction ReduceMathAbs(Node* node);
65 Reduction ReduceMathAcos(Node* node); 66 Reduction ReduceMathAcos(Node* node);
66 Reduction ReduceMathAcosh(Node* node); 67 Reduction ReduceMathAcosh(Node* node);
67 Reduction ReduceMathAsin(Node* node); 68 Reduction ReduceMathAsin(Node* node);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 TypeCache const& type_cache_; 132 TypeCache const& type_cache_;
132 }; 133 };
133 134
134 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags) 135 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags)
135 136
136 } // namespace compiler 137 } // namespace compiler
137 } // namespace internal 138 } // namespace internal
138 } // namespace v8 139 } // namespace v8
139 140
140 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ 141 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698