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

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

Issue 2245533003: [turbofan] Add inlined Array.prototype.push support. (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/access-builder.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/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 10
(...skipping 24 matching lines...) Expand all
35 typedef base::Flags<Flag> Flags; 35 typedef base::Flags<Flag> Flags;
36 36
37 JSBuiltinReducer(Editor* editor, JSGraph* jsgraph, Flags flags, 37 JSBuiltinReducer(Editor* editor, JSGraph* jsgraph, Flags flags,
38 CompilationDependencies* dependencies); 38 CompilationDependencies* dependencies);
39 ~JSBuiltinReducer() final {} 39 ~JSBuiltinReducer() final {}
40 40
41 Reduction Reduce(Node* node) final; 41 Reduction Reduce(Node* node) final;
42 42
43 private: 43 private:
44 Reduction ReduceArrayPop(Node* node); 44 Reduction ReduceArrayPop(Node* node);
45 Reduction ReduceArrayPush(Node* node);
45 Reduction ReduceMathAbs(Node* node); 46 Reduction ReduceMathAbs(Node* node);
46 Reduction ReduceMathAcos(Node* node); 47 Reduction ReduceMathAcos(Node* node);
47 Reduction ReduceMathAcosh(Node* node); 48 Reduction ReduceMathAcosh(Node* node);
48 Reduction ReduceMathAsin(Node* node); 49 Reduction ReduceMathAsin(Node* node);
49 Reduction ReduceMathAsinh(Node* node); 50 Reduction ReduceMathAsinh(Node* node);
50 Reduction ReduceMathAtan(Node* node); 51 Reduction ReduceMathAtan(Node* node);
51 Reduction ReduceMathAtanh(Node* node); 52 Reduction ReduceMathAtanh(Node* node);
52 Reduction ReduceMathAtan2(Node* node); 53 Reduction ReduceMathAtan2(Node* node);
53 Reduction ReduceMathCbrt(Node* node); 54 Reduction ReduceMathCbrt(Node* node);
54 Reduction ReduceMathCeil(Node* node); 55 Reduction ReduceMathCeil(Node* node);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 TypeCache const& type_cache_; 102 TypeCache const& type_cache_;
102 }; 103 };
103 104
104 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags) 105 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags)
105 106
106 } // namespace compiler 107 } // namespace compiler
107 } // namespace internal 108 } // namespace internal
108 } // namespace v8 109 } // namespace v8
109 110
110 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ 111 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_
OLDNEW
« no previous file with comments | « src/compiler/access-builder.cc ('k') | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698