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

Side by Side Diff: src/compiler/effect-control-linearizer.h

Issue 2646763003: [turbofan] Optimize typeof o === "object" checks. (Closed)
Patch Set: Address comment. 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 | « no previous file | src/compiler/effect-control-linearizer.cc » ('j') | src/compiler/typer.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_EFFECT_CONTROL_LINEARIZER_H_ 5 #ifndef V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
6 #define V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ 6 #define V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/graph-assembler.h" 9 #include "src/compiler/graph-assembler.h"
10 #include "src/compiler/node.h" 10 #include "src/compiler/node.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 Node* LowerCheckedTaggedToInt32(Node* node, Node* frame_state); 73 Node* LowerCheckedTaggedToInt32(Node* node, Node* frame_state);
74 Node* LowerCheckedTaggedToFloat64(Node* node, Node* frame_state); 74 Node* LowerCheckedTaggedToFloat64(Node* node, Node* frame_state);
75 Node* LowerCheckedTaggedToTaggedSigned(Node* node, Node* frame_state); 75 Node* LowerCheckedTaggedToTaggedSigned(Node* node, Node* frame_state);
76 Node* LowerCheckedTaggedToTaggedPointer(Node* node, Node* frame_state); 76 Node* LowerCheckedTaggedToTaggedPointer(Node* node, Node* frame_state);
77 Node* LowerChangeTaggedToFloat64(Node* node); 77 Node* LowerChangeTaggedToFloat64(Node* node);
78 Node* LowerTruncateTaggedToBit(Node* node); 78 Node* LowerTruncateTaggedToBit(Node* node);
79 Node* LowerTruncateTaggedToFloat64(Node* node); 79 Node* LowerTruncateTaggedToFloat64(Node* node);
80 Node* LowerTruncateTaggedToWord32(Node* node); 80 Node* LowerTruncateTaggedToWord32(Node* node);
81 Node* LowerCheckedTruncateTaggedToWord32(Node* node, Node* frame_state); 81 Node* LowerCheckedTruncateTaggedToWord32(Node* node, Node* frame_state);
82 Node* LowerObjectIsCallable(Node* node); 82 Node* LowerObjectIsCallable(Node* node);
83 Node* LowerObjectIsNonCallable(Node* node);
83 Node* LowerObjectIsNumber(Node* node); 84 Node* LowerObjectIsNumber(Node* node);
84 Node* LowerObjectIsReceiver(Node* node); 85 Node* LowerObjectIsReceiver(Node* node);
85 Node* LowerObjectIsSmi(Node* node); 86 Node* LowerObjectIsSmi(Node* node);
86 Node* LowerObjectIsString(Node* node); 87 Node* LowerObjectIsString(Node* node);
87 Node* LowerObjectIsUndetectable(Node* node); 88 Node* LowerObjectIsUndetectable(Node* node);
88 Node* LowerNewRestParameterElements(Node* node); 89 Node* LowerNewRestParameterElements(Node* node);
89 Node* LowerNewUnmappedArgumentsElements(Node* node); 90 Node* LowerNewUnmappedArgumentsElements(Node* node);
90 Node* LowerArrayBufferWasNeutered(Node* node); 91 Node* LowerArrayBufferWasNeutered(Node* node);
91 Node* LowerStringCharAt(Node* node); 92 Node* LowerStringCharAt(Node* node);
92 Node* LowerStringCharCodeAt(Node* node); 93 Node* LowerStringCharCodeAt(Node* node);
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 RegionObservability region_observability_ = RegionObservability::kObservable; 149 RegionObservability region_observability_ = RegionObservability::kObservable;
149 SourcePositionTable* source_positions_; 150 SourcePositionTable* source_positions_;
150 GraphAssembler graph_assembler_; 151 GraphAssembler graph_assembler_;
151 }; 152 };
152 153
153 } // namespace compiler 154 } // namespace compiler
154 } // namespace internal 155 } // namespace internal
155 } // namespace v8 156 } // namespace v8
156 157
157 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ 158 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/effect-control-linearizer.cc » ('j') | src/compiler/typer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698