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

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

Issue 2511223003: [turbofan] Properly optimize instanceof (even in the presence of @@hasInstance). (Closed)
Patch Set: Created 4 years, 1 month 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
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 ReduceArrayPop(Node* node); 58 Reduction ReduceArrayPop(Node* node);
59 Reduction ReduceArrayPush(Node* node); 59 Reduction ReduceArrayPush(Node* node);
60 Reduction ReduceDateGetTime(Node* node); 60 Reduction ReduceDateGetTime(Node* node);
61 Reduction ReduceFunctionHasInstance(Node* node);
61 Reduction ReduceGlobalIsFinite(Node* node); 62 Reduction ReduceGlobalIsFinite(Node* node);
62 Reduction ReduceGlobalIsNaN(Node* node); 63 Reduction ReduceGlobalIsNaN(Node* node);
63 Reduction ReduceMathAbs(Node* node); 64 Reduction ReduceMathAbs(Node* node);
64 Reduction ReduceMathAcos(Node* node); 65 Reduction ReduceMathAcos(Node* node);
65 Reduction ReduceMathAcosh(Node* node); 66 Reduction ReduceMathAcosh(Node* node);
66 Reduction ReduceMathAsin(Node* node); 67 Reduction ReduceMathAsin(Node* node);
67 Reduction ReduceMathAsinh(Node* node); 68 Reduction ReduceMathAsinh(Node* node);
68 Reduction ReduceMathAtan(Node* node); 69 Reduction ReduceMathAtan(Node* node);
69 Reduction ReduceMathAtanh(Node* node); 70 Reduction ReduceMathAtanh(Node* node);
70 Reduction ReduceMathAtan2(Node* node); 71 Reduction ReduceMathAtan2(Node* node);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 TypeCache const& type_cache_; 129 TypeCache const& type_cache_;
129 }; 130 };
130 131
131 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags) 132 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags)
132 133
133 } // namespace compiler 134 } // namespace compiler
134 } // namespace internal 135 } // namespace internal
135 } // namespace v8 136 } // namespace v8
136 137
137 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ 138 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698