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

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

Issue 2180373005: [turbofan] Add support for String.prototype.charCodeAt/charAt. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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/effect-control-linearizer.cc ('k') | src/compiler/js-builtin-reducer.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_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/compiler/graph-reducer.h" 8 #include "src/compiler/graph-reducer.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 Reduction ReduceMathPow(Node* node); 56 Reduction ReduceMathPow(Node* node);
57 Reduction ReduceMathRound(Node* node); 57 Reduction ReduceMathRound(Node* node);
58 Reduction ReduceMathSign(Node* node); 58 Reduction ReduceMathSign(Node* node);
59 Reduction ReduceMathSin(Node* node); 59 Reduction ReduceMathSin(Node* node);
60 Reduction ReduceMathSinh(Node* node); 60 Reduction ReduceMathSinh(Node* node);
61 Reduction ReduceMathSqrt(Node* node); 61 Reduction ReduceMathSqrt(Node* node);
62 Reduction ReduceMathTan(Node* node); 62 Reduction ReduceMathTan(Node* node);
63 Reduction ReduceMathTanh(Node* node); 63 Reduction ReduceMathTanh(Node* node);
64 Reduction ReduceMathTrunc(Node* node); 64 Reduction ReduceMathTrunc(Node* node);
65 Reduction ReduceNumberParseInt(Node* node); 65 Reduction ReduceNumberParseInt(Node* node);
66 Reduction ReduceStringCharAt(Node* node);
67 Reduction ReduceStringCharCodeAt(Node* node);
66 Reduction ReduceStringFromCharCode(Node* node); 68 Reduction ReduceStringFromCharCode(Node* node);
67 69
68 Node* ToNumber(Node* value); 70 Node* ToNumber(Node* value);
69 Node* ToUint32(Node* value); 71 Node* ToUint32(Node* value);
70 72
71 Graph* graph() const; 73 Graph* graph() const;
72 JSGraph* jsgraph() const { return jsgraph_; } 74 JSGraph* jsgraph() const { return jsgraph_; }
73 Isolate* isolate() const; 75 Isolate* isolate() const;
74 CommonOperatorBuilder* common() const; 76 CommonOperatorBuilder* common() const;
75 SimplifiedOperatorBuilder* simplified() const; 77 SimplifiedOperatorBuilder* simplified() const;
76 78
77 JSGraph* const jsgraph_; 79 JSGraph* const jsgraph_;
78 TypeCache const& type_cache_; 80 TypeCache const& type_cache_;
79 }; 81 };
80 82
81 } // namespace compiler 83 } // namespace compiler
82 } // namespace internal 84 } // namespace internal
83 } // namespace v8 85 } // namespace v8
84 86
85 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ 87 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_
OLDNEW
« no previous file with comments | « src/compiler/effect-control-linearizer.cc ('k') | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698