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

Side by Side Diff: src/crankshaft/lithium-codegen.h

Issue 1872203005: Fix printf formats (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix unused param found by GC mole Created 4 years, 8 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/crankshaft/lithium-allocator.h ('k') | src/disassembler.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_CRANKSHAFT_LITHIUM_CODEGEN_H_ 5 #ifndef V8_CRANKSHAFT_LITHIUM_CODEGEN_H_
6 #define V8_CRANKSHAFT_LITHIUM_CODEGEN_H_ 6 #define V8_CRANKSHAFT_LITHIUM_CODEGEN_H_
7 7
8 #include "src/bailout-reason.h" 8 #include "src/bailout-reason.h"
9 #include "src/compiler.h" 9 #include "src/compiler.h"
10 #include "src/deoptimizer.h" 10 #include "src/deoptimizer.h"
(...skipping 17 matching lines...) Expand all
28 // Simple accessors. 28 // Simple accessors.
29 MacroAssembler* masm() const { return masm_; } 29 MacroAssembler* masm() const { return masm_; }
30 CompilationInfo* info() const { return info_; } 30 CompilationInfo* info() const { return info_; }
31 Isolate* isolate() const { return info_->isolate(); } 31 Isolate* isolate() const { return info_->isolate(); }
32 Factory* factory() const { return isolate()->factory(); } 32 Factory* factory() const { return isolate()->factory(); }
33 Heap* heap() const { return isolate()->heap(); } 33 Heap* heap() const { return isolate()->heap(); }
34 Zone* zone() const { return zone_; } 34 Zone* zone() const { return zone_; }
35 LPlatformChunk* chunk() const { return chunk_; } 35 LPlatformChunk* chunk() const { return chunk_; }
36 HGraph* graph() const; 36 HGraph* graph() const;
37 37
38 void FPRINTF_CHECKING Comment(const char* format, ...); 38 void PRINTF_FORMAT(2, 3) Comment(const char* format, ...);
39 void DeoptComment(const Deoptimizer::DeoptInfo& deopt_info); 39 void DeoptComment(const Deoptimizer::DeoptInfo& deopt_info);
40 static Deoptimizer::DeoptInfo MakeDeoptInfo( 40 static Deoptimizer::DeoptInfo MakeDeoptInfo(
41 LInstruction* instr, Deoptimizer::DeoptReason deopt_reason); 41 LInstruction* instr, Deoptimizer::DeoptReason deopt_reason);
42 42
43 bool GenerateBody(); 43 bool GenerateBody();
44 virtual void GenerateBodyInstructionPre(LInstruction* instr) {} 44 virtual void GenerateBodyInstructionPre(LInstruction* instr) {}
45 virtual void GenerateBodyInstructionPost(LInstruction* instr) {} 45 virtual void GenerateBodyInstructionPost(LInstruction* instr) {}
46 46
47 virtual void EnsureSpaceForLazyDeopt(int space_needed) = 0; 47 virtual void EnsureSpaceForLazyDeopt(int space_needed) = 0;
48 virtual void RecordAndWritePosition(int position) = 0; 48 virtual void RecordAndWritePosition(int position) = 0;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // Methods for code dependencies. 97 // Methods for code dependencies.
98 void AddDeprecationDependency(Handle<Map> map); 98 void AddDeprecationDependency(Handle<Map> map);
99 void AddStabilityDependency(Handle<Map> map); 99 void AddStabilityDependency(Handle<Map> map);
100 }; 100 };
101 101
102 102
103 } // namespace internal 103 } // namespace internal
104 } // namespace v8 104 } // namespace v8
105 105
106 #endif // V8_CRANKSHAFT_LITHIUM_CODEGEN_H_ 106 #endif // V8_CRANKSHAFT_LITHIUM_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/crankshaft/lithium-allocator.h ('k') | src/disassembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698