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

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

Issue 2451853002: Uniform and precise source positions for inlining (Closed)
Patch Set: fixed gcmole issue Created 4 years, 1 month 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 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/deoptimizer.h" 9 #include "src/deoptimizer.h"
10 #include "src/source-position-table.h" 10 #include "src/source-position-table.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 void DeoptComment(const Deoptimizer::DeoptInfo& deopt_info); 43 void DeoptComment(const Deoptimizer::DeoptInfo& deopt_info);
44 static Deoptimizer::DeoptInfo MakeDeoptInfo(LInstruction* instr, 44 static Deoptimizer::DeoptInfo MakeDeoptInfo(LInstruction* instr,
45 DeoptimizeReason deopt_reason, 45 DeoptimizeReason deopt_reason,
46 int deopt_id); 46 int deopt_id);
47 47
48 bool GenerateBody(); 48 bool GenerateBody();
49 virtual void GenerateBodyInstructionPre(LInstruction* instr) {} 49 virtual void GenerateBodyInstructionPre(LInstruction* instr) {}
50 virtual void GenerateBodyInstructionPost(LInstruction* instr) {} 50 virtual void GenerateBodyInstructionPost(LInstruction* instr) {}
51 51
52 virtual void EnsureSpaceForLazyDeopt(int space_needed) = 0; 52 virtual void EnsureSpaceForLazyDeopt(int space_needed) = 0;
53 void RecordAndWritePosition(int position); 53 void RecordAndWritePosition(SourcePosition position);
54 54
55 int GetNextEmittedBlock() const; 55 int GetNextEmittedBlock() const;
56 56
57 void WriteTranslationFrame(LEnvironment* environment, 57 void WriteTranslationFrame(LEnvironment* environment,
58 Translation* translation); 58 Translation* translation);
59 int DefineDeoptimizationLiteral(Handle<Object> literal); 59 int DefineDeoptimizationLiteral(Handle<Object> literal);
60 60
61 void PopulateDeoptimizationData(Handle<Code> code); 61 void PopulateDeoptimizationData(Handle<Code> code);
62 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 62 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
63 63
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // Methods for code dependencies. 101 // Methods for code dependencies.
102 void AddDeprecationDependency(Handle<Map> map); 102 void AddDeprecationDependency(Handle<Map> map);
103 void AddStabilityDependency(Handle<Map> map); 103 void AddStabilityDependency(Handle<Map> map);
104 }; 104 };
105 105
106 106
107 } // namespace internal 107 } // namespace internal
108 } // namespace v8 108 } // namespace v8
109 109
110 #endif // V8_CRANKSHAFT_LITHIUM_CODEGEN_H_ 110 #endif // V8_CRANKSHAFT_LITHIUM_CODEGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698