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

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

Issue 1978453002: [turbofan] Properly initialize mutable heap numbers in literals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5.1
Patch Set: Created 4 years, 7 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-create-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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_CREATE_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_CREATE_LOWERING_H_
6 #define V8_COMPILER_JS_CREATE_LOWERING_H_ 6 #define V8_COMPILER_JS_CREATE_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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 Node* AllocateElements(Node* effect, Node* control, 63 Node* AllocateElements(Node* effect, Node* control,
64 ElementsKind elements_kind, int capacity, 64 ElementsKind elements_kind, int capacity,
65 PretenureFlag pretenure); 65 PretenureFlag pretenure);
66 Node* AllocateFastLiteral(Node* effect, Node* control, 66 Node* AllocateFastLiteral(Node* effect, Node* control,
67 Handle<JSObject> boilerplate, 67 Handle<JSObject> boilerplate,
68 AllocationSiteUsageContext* site_context); 68 AllocationSiteUsageContext* site_context);
69 Node* AllocateFastLiteralElements(Node* effect, Node* control, 69 Node* AllocateFastLiteralElements(Node* effect, Node* control,
70 Handle<JSObject> boilerplate, 70 Handle<JSObject> boilerplate,
71 PretenureFlag pretenure, 71 PretenureFlag pretenure,
72 AllocationSiteUsageContext* site_context); 72 AllocationSiteUsageContext* site_context);
73 Node* AllocateMutableHeapNumber(double value, Node* effect, Node* control);
74 73
75 // Infers the LiteralsArray to use for a given {node}. 74 // Infers the LiteralsArray to use for a given {node}.
76 MaybeHandle<LiteralsArray> GetSpecializationLiterals(Node* node); 75 MaybeHandle<LiteralsArray> GetSpecializationLiterals(Node* node);
77 76
78 Factory* factory() const; 77 Factory* factory() const;
79 Graph* graph() const; 78 Graph* graph() const;
80 JSGraph* jsgraph() const { return jsgraph_; } 79 JSGraph* jsgraph() const { return jsgraph_; }
81 Isolate* isolate() const; 80 Isolate* isolate() const;
82 JSOperatorBuilder* javascript() const; 81 JSOperatorBuilder* javascript() const;
83 CommonOperatorBuilder* common() const; 82 CommonOperatorBuilder* common() const;
84 SimplifiedOperatorBuilder* simplified() const; 83 SimplifiedOperatorBuilder* simplified() const;
85 MachineOperatorBuilder* machine() const; 84 MachineOperatorBuilder* machine() const;
86 CompilationDependencies* dependencies() const { return dependencies_; } 85 CompilationDependencies* dependencies() const { return dependencies_; }
87 Zone* zone() const { return zone_; } 86 Zone* zone() const { return zone_; }
88 87
89 CompilationDependencies* const dependencies_; 88 CompilationDependencies* const dependencies_;
90 JSGraph* const jsgraph_; 89 JSGraph* const jsgraph_;
91 MaybeHandle<LiteralsArray> const literals_array_; 90 MaybeHandle<LiteralsArray> const literals_array_;
92 Zone* const zone_; 91 Zone* const zone_;
93 }; 92 };
94 93
95 } // namespace compiler 94 } // namespace compiler
96 } // namespace internal 95 } // namespace internal
97 } // namespace v8 96 } // namespace v8
98 97
99 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_ 98 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-create-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698