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

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

Issue 1877823003: Revert of Fix printf formats (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 15 matching lines...) Expand all
26 // Simple accessors. 26 // Simple accessors.
27 MacroAssembler* masm() const { return masm_; } 27 MacroAssembler* masm() const { return masm_; }
28 CompilationInfo* info() const { return info_; } 28 CompilationInfo* info() const { return info_; }
29 Isolate* isolate() const { return info_->isolate(); } 29 Isolate* isolate() const { return info_->isolate(); }
30 Factory* factory() const { return isolate()->factory(); } 30 Factory* factory() const { return isolate()->factory(); }
31 Heap* heap() const { return isolate()->heap(); } 31 Heap* heap() const { return isolate()->heap(); }
32 Zone* zone() const { return zone_; } 32 Zone* zone() const { return zone_; }
33 LPlatformChunk* chunk() const { return chunk_; } 33 LPlatformChunk* chunk() const { return chunk_; }
34 HGraph* graph() const; 34 HGraph* graph() const;
35 35
36 void PRINTF_FORMAT(2, 3) Comment(const char* format, ...); 36 void FPRINTF_CHECKING Comment(const char* format, ...);
37 void DeoptComment(const Deoptimizer::DeoptInfo& deopt_info); 37 void DeoptComment(const Deoptimizer::DeoptInfo& deopt_info);
38 static Deoptimizer::DeoptInfo MakeDeoptInfo( 38 static Deoptimizer::DeoptInfo MakeDeoptInfo(
39 LInstruction* instr, Deoptimizer::DeoptReason deopt_reason); 39 LInstruction* instr, Deoptimizer::DeoptReason deopt_reason);
40 40
41 bool GenerateBody(); 41 bool GenerateBody();
42 virtual void GenerateBodyInstructionPre(LInstruction* instr) {} 42 virtual void GenerateBodyInstructionPre(LInstruction* instr) {}
43 virtual void GenerateBodyInstructionPost(LInstruction* instr) {} 43 virtual void GenerateBodyInstructionPost(LInstruction* instr) {}
44 44
45 virtual void EnsureSpaceForLazyDeopt(int space_needed) = 0; 45 virtual void EnsureSpaceForLazyDeopt(int space_needed) = 0;
46 virtual void RecordAndWritePosition(int position) = 0; 46 virtual void RecordAndWritePosition(int position) = 0;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Methods for code dependencies. 95 // Methods for code dependencies.
96 void AddDeprecationDependency(Handle<Map> map); 96 void AddDeprecationDependency(Handle<Map> map);
97 void AddStabilityDependency(Handle<Map> map); 97 void AddStabilityDependency(Handle<Map> map);
98 }; 98 };
99 99
100 100
101 } // namespace internal 101 } // namespace internal
102 } // namespace v8 102 } // namespace v8
103 103
104 #endif // V8_CRANKSHAFT_LITHIUM_CODEGEN_H_ 104 #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