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

Side by Side Diff: src/objects.h

Issue 2503393002: [cpu-profiler] use new source position information for deoptimization in cpu profiler (Closed)
Patch Set: addressed comment Created 4 years 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-codegen.cc ('k') | src/objects.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 5208 matching lines...) Expand 10 before | Expand all | Expand 10 after
5219 DECLARE_ENTRY_ACCESSORS(Pc, Smi) 5219 DECLARE_ENTRY_ACCESSORS(Pc, Smi)
5220 5220
5221 #undef DECLARE_ENTRY_ACCESSORS 5221 #undef DECLARE_ENTRY_ACCESSORS
5222 5222
5223 inline BailoutId AstId(int i); 5223 inline BailoutId AstId(int i);
5224 5224
5225 inline void SetAstId(int i, BailoutId value); 5225 inline void SetAstId(int i, BailoutId value);
5226 5226
5227 inline int DeoptCount(); 5227 inline int DeoptCount();
5228 5228
5229 static const int kNotInlinedIndex = -1;
5230
5231 // Returns the inlined function at the given position in LiteralArray, or the
5232 // outer function if index == kNotInlinedIndex.
5233 class SharedFunctionInfo* GetInlinedFunction(int index);
5234
5229 // Allocates a DeoptimizationInputData. 5235 // Allocates a DeoptimizationInputData.
5230 static Handle<DeoptimizationInputData> New(Isolate* isolate, 5236 static Handle<DeoptimizationInputData> New(Isolate* isolate,
5231 int deopt_entry_count, 5237 int deopt_entry_count,
5232 PretenureFlag pretenure); 5238 PretenureFlag pretenure);
5233 5239
5234 DECLARE_CAST(DeoptimizationInputData) 5240 DECLARE_CAST(DeoptimizationInputData)
5235 5241
5236 #ifdef ENABLE_DISASSEMBLER 5242 #ifdef ENABLE_DISASSEMBLER
5237 void DeoptimizationInputDataPrint(std::ostream& os); // NOLINT 5243 void DeoptimizationInputDataPrint(std::ostream& os); // NOLINT
5238 #endif 5244 #endif
(...skipping 6623 matching lines...) Expand 10 before | Expand all | Expand 10 after
11862 } 11868 }
11863 return value; 11869 return value;
11864 } 11870 }
11865 }; 11871 };
11866 11872
11867 11873
11868 } // NOLINT, false-positive due to second-order macros. 11874 } // NOLINT, false-positive due to second-order macros.
11869 } // NOLINT, false-positive due to second-order macros. 11875 } // NOLINT, false-positive due to second-order macros.
11870 11876
11871 #endif // V8_OBJECTS_H_ 11877 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/lithium-codegen.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698