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

Side by Side Diff: src/compiler/change-lowering.h

Issue 1894523002: [turbofan] Introduce ObjectIsString operator. (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 | « no previous file | src/compiler/change-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_CHANGE_LOWERING_H_ 5 #ifndef V8_COMPILER_CHANGE_LOWERING_H_
6 #define V8_COMPILER_CHANGE_LOWERING_H_ 6 #define V8_COMPILER_CHANGE_LOWERING_H_
7 7
8 #include "src/compiler/graph-reducer.h" 8 #include "src/compiler/graph-reducer.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 Reduction Allocate(Node* node); 57 Reduction Allocate(Node* node);
58 58
59 Node* IsSmi(Node* value); 59 Node* IsSmi(Node* value);
60 Node* LoadHeapObjectMap(Node* object, Node* control); 60 Node* LoadHeapObjectMap(Node* object, Node* control);
61 Node* LoadMapBitField(Node* map); 61 Node* LoadMapBitField(Node* map);
62 Node* LoadMapInstanceType(Node* map); 62 Node* LoadMapInstanceType(Node* map);
63 63
64 Reduction ObjectIsNumber(Node* node); 64 Reduction ObjectIsNumber(Node* node);
65 Reduction ObjectIsReceiver(Node* node); 65 Reduction ObjectIsReceiver(Node* node);
66 Reduction ObjectIsSmi(Node* node); 66 Reduction ObjectIsSmi(Node* node);
67 Reduction ObjectIsString(Node* node);
67 Reduction ObjectIsUndetectable(Node* node); 68 Reduction ObjectIsUndetectable(Node* node);
68 69
69 Node* ComputeIndex(const ElementAccess& access, Node* const key); 70 Node* ComputeIndex(const ElementAccess& access, Node* const key);
70 Graph* graph() const; 71 Graph* graph() const;
71 Isolate* isolate() const; 72 Isolate* isolate() const;
72 JSGraph* jsgraph() const { return jsgraph_; } 73 JSGraph* jsgraph() const { return jsgraph_; }
73 CommonOperatorBuilder* common() const; 74 CommonOperatorBuilder* common() const;
74 MachineOperatorBuilder* machine() const; 75 MachineOperatorBuilder* machine() const;
75 76
76 JSGraph* const jsgraph_; 77 JSGraph* const jsgraph_;
77 SetOncePointer<const Operator> allocate_heap_number_operator_; 78 SetOncePointer<const Operator> allocate_heap_number_operator_;
78 }; 79 };
79 80
80 } // namespace compiler 81 } // namespace compiler
81 } // namespace internal 82 } // namespace internal
82 } // namespace v8 83 } // namespace v8
83 84
84 #endif // V8_COMPILER_CHANGE_LOWERING_H_ 85 #endif // V8_COMPILER_CHANGE_LOWERING_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/change-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698