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/crankshaft/lithium-codegen.h

Issue 1956693002: [compiler] Pass inlining_id via relocation info. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. 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 | « src/crankshaft/ia32/lithium-codegen-ia32.cc ('k') | src/crankshaft/lithium-codegen.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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 void RegisterWeakObjectsInOptimizedCode(Handle<Code> code); 52 void RegisterWeakObjectsInOptimizedCode(Handle<Code> code);
53 53
54 void WriteTranslationFrame(LEnvironment* environment, 54 void WriteTranslationFrame(LEnvironment* environment,
55 Translation* translation); 55 Translation* translation);
56 int DefineDeoptimizationLiteral(Handle<Object> literal); 56 int DefineDeoptimizationLiteral(Handle<Object> literal);
57 57
58 void PopulateDeoptimizationData(Handle<Code> code); 58 void PopulateDeoptimizationData(Handle<Code> code);
59 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 59 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
60 60
61 void LogDeoptCallPosition(int pc_offset, int inlining_id);
62
63 // Check that an environment assigned via AssignEnvironment is actually being 61 // Check that an environment assigned via AssignEnvironment is actually being
64 // used. Redundant assignments keep things alive longer than necessary, and 62 // used. Redundant assignments keep things alive longer than necessary, and
65 // consequently lead to worse code, so it's important to minimize this. 63 // consequently lead to worse code, so it's important to minimize this.
66 void CheckEnvironmentUsage(); 64 void CheckEnvironmentUsage();
67 65
68 protected: 66 protected:
69 enum Status { 67 enum Status {
70 UNUSED, 68 UNUSED,
71 GENERATING, 69 GENERATING,
72 DONE, 70 DONE,
(...skipping 26 matching lines...) Expand all
99 // Methods for code dependencies. 97 // Methods for code dependencies.
100 void AddDeprecationDependency(Handle<Map> map); 98 void AddDeprecationDependency(Handle<Map> map);
101 void AddStabilityDependency(Handle<Map> map); 99 void AddStabilityDependency(Handle<Map> map);
102 }; 100 };
103 101
104 102
105 } // namespace internal 103 } // namespace internal
106 } // namespace v8 104 } // namespace v8
107 105
108 #endif // V8_CRANKSHAFT_LITHIUM_CODEGEN_H_ 106 #endif // V8_CRANKSHAFT_LITHIUM_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/crankshaft/ia32/lithium-codegen-ia32.cc ('k') | src/crankshaft/lithium-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698