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

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

Issue 2029413005: [builtins] Migrate Math.log to TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo. Created 4 years, 6 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
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 19 matching lines...) Expand all
30 Reduction Reduce(Node* node) final; 30 Reduction Reduce(Node* node) final;
31 31
32 private: 32 private:
33 Reduction ReduceFunctionCall(Node* node); 33 Reduction ReduceFunctionCall(Node* node);
34 Reduction ReduceMathMax(Node* node); 34 Reduction ReduceMathMax(Node* node);
35 Reduction ReduceMathImul(Node* node); 35 Reduction ReduceMathImul(Node* node);
36 Reduction ReduceMathCeil(Node* node); 36 Reduction ReduceMathCeil(Node* node);
37 Reduction ReduceMathClz32(Node* node); 37 Reduction ReduceMathClz32(Node* node);
38 Reduction ReduceMathFloor(Node* node); 38 Reduction ReduceMathFloor(Node* node);
39 Reduction ReduceMathFround(Node* node); 39 Reduction ReduceMathFround(Node* node);
40 Reduction ReduceMathLog(Node* node);
40 Reduction ReduceMathRound(Node* node); 41 Reduction ReduceMathRound(Node* node);
41 Reduction ReduceMathSqrt(Node* node); 42 Reduction ReduceMathSqrt(Node* node);
42 Reduction ReduceMathTrunc(Node* node); 43 Reduction ReduceMathTrunc(Node* node);
43 Reduction ReduceStringFromCharCode(Node* node); 44 Reduction ReduceStringFromCharCode(Node* node);
44 45
45 Graph* graph() const; 46 Graph* graph() const;
46 JSGraph* jsgraph() const { return jsgraph_; } 47 JSGraph* jsgraph() const { return jsgraph_; }
47 Isolate* isolate() const; 48 Isolate* isolate() const;
48 CommonOperatorBuilder* common() const; 49 CommonOperatorBuilder* common() const;
49 MachineOperatorBuilder* machine() const; 50 MachineOperatorBuilder* machine() const;
50 SimplifiedOperatorBuilder* simplified() const; 51 SimplifiedOperatorBuilder* simplified() const;
51 52
52 JSGraph* const jsgraph_; 53 JSGraph* const jsgraph_;
53 TypeCache const& type_cache_; 54 TypeCache const& type_cache_;
54 }; 55 };
55 56
56 } // namespace compiler 57 } // namespace compiler
57 } // namespace internal 58 } // namespace internal
58 } // namespace v8 59 } // namespace v8
59 60
60 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ 61 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698