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

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

Issue 910773002: Propagate Deopt reason to cpu-profiler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments addressed Created 5 years, 10 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/ia32/lithium-codegen-ia32.cc ('k') | src/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_LITHIUM_CODEGEN_H_ 5 #ifndef V8_LITHIUM_CODEGEN_H_
6 #define V8_LITHIUM_CODEGEN_H_ 6 #define V8_LITHIUM_CODEGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 17 matching lines...) Expand all
28 MacroAssembler* masm() const { return masm_; } 28 MacroAssembler* masm() const { return masm_; }
29 CompilationInfo* info() const { return info_; } 29 CompilationInfo* info() const { return info_; }
30 Isolate* isolate() const { return info_->isolate(); } 30 Isolate* isolate() const { return info_->isolate(); }
31 Factory* factory() const { return isolate()->factory(); } 31 Factory* factory() const { return isolate()->factory(); }
32 Heap* heap() const { return isolate()->heap(); } 32 Heap* heap() const { return isolate()->heap(); }
33 Zone* zone() const { return zone_; } 33 Zone* zone() const { return zone_; }
34 LPlatformChunk* chunk() const { return chunk_; } 34 LPlatformChunk* chunk() const { return chunk_; }
35 HGraph* graph() const; 35 HGraph* graph() const;
36 36
37 void FPRINTF_CHECKING Comment(const char* format, ...); 37 void FPRINTF_CHECKING Comment(const char* format, ...);
38 void DeoptComment(const Deoptimizer::Reason& reason); 38 void DeoptComment(const Deoptimizer::DeoptInfo& deopt_info);
39 39
40 bool GenerateBody(); 40 bool GenerateBody();
41 virtual void GenerateBodyInstructionPre(LInstruction* instr) {} 41 virtual void GenerateBodyInstructionPre(LInstruction* instr) {}
42 virtual void GenerateBodyInstructionPost(LInstruction* instr) {} 42 virtual void GenerateBodyInstructionPost(LInstruction* instr) {}
43 43
44 virtual void EnsureSpaceForLazyDeopt(int space_needed) = 0; 44 virtual void EnsureSpaceForLazyDeopt(int space_needed) = 0;
45 virtual void RecordAndWritePosition(int position) = 0; 45 virtual void RecordAndWritePosition(int position) = 0;
46 46
47 int GetNextEmittedBlock() const; 47 int GetNextEmittedBlock() const;
48 48
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 // Methods for code dependencies. 82 // Methods for code dependencies.
83 void AddDeprecationDependency(Handle<Map> map); 83 void AddDeprecationDependency(Handle<Map> map);
84 void AddStabilityDependency(Handle<Map> map); 84 void AddStabilityDependency(Handle<Map> map);
85 }; 85 };
86 86
87 87
88 } } // namespace v8::internal 88 } } // namespace v8::internal
89 89
90 #endif // V8_LITHIUM_CODEGEN_H_ 90 #endif // V8_LITHIUM_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/lithium-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698