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

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

Issue 2411703002: [turbofan] Optimize typeof operator without storing strings in Type (Closed)
Patch Set: Created 4 years, 2 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-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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 Reduction ReduceJSToStringInput(Node* input); 63 Reduction ReduceJSToStringInput(Node* input);
64 Reduction ReduceJSToString(Node* node); 64 Reduction ReduceJSToString(Node* node);
65 Reduction ReduceJSToObject(Node* node); 65 Reduction ReduceJSToObject(Node* node);
66 Reduction ReduceJSConvertReceiver(Node* node); 66 Reduction ReduceJSConvertReceiver(Node* node);
67 Reduction ReduceJSCallConstruct(Node* node); 67 Reduction ReduceJSCallConstruct(Node* node);
68 Reduction ReduceJSCallFunction(Node* node); 68 Reduction ReduceJSCallFunction(Node* node);
69 Reduction ReduceJSForInNext(Node* node); 69 Reduction ReduceJSForInNext(Node* node);
70 Reduction ReduceJSGeneratorStore(Node* node); 70 Reduction ReduceJSGeneratorStore(Node* node);
71 Reduction ReduceJSGeneratorRestoreContinuation(Node* node); 71 Reduction ReduceJSGeneratorRestoreContinuation(Node* node);
72 Reduction ReduceJSGeneratorRestoreRegister(Node* node); 72 Reduction ReduceJSGeneratorRestoreRegister(Node* node);
73 Reduction ReduceJSTypeOf(Node* node);
73 Reduction ReduceNumberBinop(Node* node); 74 Reduction ReduceNumberBinop(Node* node);
74 Reduction ReduceInt32Binop(Node* node); 75 Reduction ReduceInt32Binop(Node* node);
75 Reduction ReduceUI32Shift(Node* node, Signedness signedness); 76 Reduction ReduceUI32Shift(Node* node, Signedness signedness);
76 Reduction ReduceCreateConsString(Node* node); 77 Reduction ReduceCreateConsString(Node* node);
77 78
78 Factory* factory() const; 79 Factory* factory() const;
79 Graph* graph() const; 80 Graph* graph() const;
80 JSGraph* jsgraph() const { return jsgraph_; } 81 JSGraph* jsgraph() const { return jsgraph_; }
81 Isolate* isolate() const; 82 Isolate* isolate() const;
82 JSOperatorBuilder* javascript() const; 83 JSOperatorBuilder* javascript() const;
(...skipping 10 matching lines...) Expand all
93 TypeCache const& type_cache_; 94 TypeCache const& type_cache_;
94 }; 95 };
95 96
96 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) 97 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags)
97 98
98 } // namespace compiler 99 } // namespace compiler
99 } // namespace internal 100 } // namespace internal
100 } // namespace v8 101 } // namespace v8
101 102
102 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ 103 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698