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

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

Issue 1898653003: [turbofan] Optimize typeof in abstract/strict equality comparison. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/change-lowering.cc ('k') | src/compiler/js-typed-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 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_TYPED_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_
6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ 6 #define V8_COMPILER_JS_TYPED_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/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 Reduction ReduceJSModulus(Node* node); 52 Reduction ReduceJSModulus(Node* node);
53 Reduction ReduceJSBitwiseOr(Node* node); 53 Reduction ReduceJSBitwiseOr(Node* node);
54 Reduction ReduceJSMultiply(Node* node); 54 Reduction ReduceJSMultiply(Node* node);
55 Reduction ReduceJSComparison(Node* node); 55 Reduction ReduceJSComparison(Node* node);
56 Reduction ReduceJSLoadNamed(Node* node); 56 Reduction ReduceJSLoadNamed(Node* node);
57 Reduction ReduceJSLoadProperty(Node* node); 57 Reduction ReduceJSLoadProperty(Node* node);
58 Reduction ReduceJSStoreProperty(Node* node); 58 Reduction ReduceJSStoreProperty(Node* node);
59 Reduction ReduceJSInstanceOf(Node* node); 59 Reduction ReduceJSInstanceOf(Node* node);
60 Reduction ReduceJSLoadContext(Node* node); 60 Reduction ReduceJSLoadContext(Node* node);
61 Reduction ReduceJSStoreContext(Node* node); 61 Reduction ReduceJSStoreContext(Node* node);
62 Reduction ReduceJSEqualTypeOf(Node* node, bool invert);
62 Reduction ReduceJSEqual(Node* node, bool invert); 63 Reduction ReduceJSEqual(Node* node, bool invert);
63 Reduction ReduceJSStrictEqual(Node* node, bool invert); 64 Reduction ReduceJSStrictEqual(Node* node, bool invert);
64 Reduction ReduceJSToBoolean(Node* node); 65 Reduction ReduceJSToBoolean(Node* node);
65 Reduction ReduceJSToInteger(Node* node); 66 Reduction ReduceJSToInteger(Node* node);
66 Reduction ReduceJSToLength(Node* node); 67 Reduction ReduceJSToLength(Node* node);
67 Reduction ReduceJSToNumberInput(Node* input); 68 Reduction ReduceJSToNumberInput(Node* input);
68 Reduction ReduceJSToNumber(Node* node); 69 Reduction ReduceJSToNumber(Node* node);
69 Reduction ReduceJSToStringInput(Node* input); 70 Reduction ReduceJSToStringInput(Node* input);
70 Reduction ReduceJSToString(Node* node); 71 Reduction ReduceJSToString(Node* node);
71 Reduction ReduceJSToObject(Node* node); 72 Reduction ReduceJSToObject(Node* node);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 TypeCache const& type_cache_; 105 TypeCache const& type_cache_;
105 }; 106 };
106 107
107 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) 108 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags)
108 109
109 } // namespace compiler 110 } // namespace compiler
110 } // namespace internal 111 } // namespace internal
111 } // namespace v8 112 } // namespace v8
112 113
113 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ 114 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/change-lowering.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698