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

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

Issue 1944323002: [compiler] Move inline function tracing to Crankshaft. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
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 | « 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
61 // Check that an environment assigned via AssignEnvironment is actually being 63 // Check that an environment assigned via AssignEnvironment is actually being
62 // used. Redundant assignments keep things alive longer than necessary, and 64 // used. Redundant assignments keep things alive longer than necessary, and
63 // consequently lead to worse code, so it's important to minimize this. 65 // consequently lead to worse code, so it's important to minimize this.
64 void CheckEnvironmentUsage(); 66 void CheckEnvironmentUsage();
65 67
66 protected: 68 protected:
67 enum Status { 69 enum Status {
68 UNUSED, 70 UNUSED,
69 GENERATING, 71 GENERATING,
70 DONE, 72 DONE,
(...skipping 26 matching lines...) Expand all
97 // Methods for code dependencies. 99 // Methods for code dependencies.
98 void AddDeprecationDependency(Handle<Map> map); 100 void AddDeprecationDependency(Handle<Map> map);
99 void AddStabilityDependency(Handle<Map> map); 101 void AddStabilityDependency(Handle<Map> map);
100 }; 102 };
101 103
102 104
103 } // namespace internal 105 } // namespace internal
104 } // namespace v8 106 } // namespace v8
105 107
106 #endif // V8_CRANKSHAFT_LITHIUM_CODEGEN_H_ 108 #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