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

Side by Side Diff: src/objects.h

Issue 2559743002: Merged: [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 5212 matching lines...) Expand 10 before | Expand all | Expand 10 after
5223 DECLARE_ENTRY_ACCESSORS(Pc, Smi) 5223 DECLARE_ENTRY_ACCESSORS(Pc, Smi)
5224 5224
5225 #undef DECLARE_ENTRY_ACCESSORS 5225 #undef DECLARE_ENTRY_ACCESSORS
5226 5226
5227 inline BailoutId AstId(int i); 5227 inline BailoutId AstId(int i);
5228 5228
5229 inline void SetAstId(int i, BailoutId value); 5229 inline void SetAstId(int i, BailoutId value);
5230 5230
5231 inline int DeoptCount(); 5231 inline int DeoptCount();
5232 5232
5233 static const int kNotInlinedIndex = -1;
5234
5235 // Returns the inlined function at the given position in LiteralArray, or the
5236 // outer function if index == kNotInlinedIndex.
5237 class SharedFunctionInfo* GetInlinedFunction(int index);
5238
5233 // Allocates a DeoptimizationInputData. 5239 // Allocates a DeoptimizationInputData.
5234 static Handle<DeoptimizationInputData> New(Isolate* isolate, 5240 static Handle<DeoptimizationInputData> New(Isolate* isolate,
5235 int deopt_entry_count, 5241 int deopt_entry_count,
5236 PretenureFlag pretenure); 5242 PretenureFlag pretenure);
5237 5243
5238 DECLARE_CAST(DeoptimizationInputData) 5244 DECLARE_CAST(DeoptimizationInputData)
5239 5245
5240 #ifdef ENABLE_DISASSEMBLER 5246 #ifdef ENABLE_DISASSEMBLER
5241 void DeoptimizationInputDataPrint(std::ostream& os); // NOLINT 5247 void DeoptimizationInputDataPrint(std::ostream& os); // NOLINT
5242 #endif 5248 #endif
(...skipping 6624 matching lines...) Expand 10 before | Expand all | Expand 10 after
11867 } 11873 }
11868 return value; 11874 return value;
11869 } 11875 }
11870 }; 11876 };
11871 11877
11872 11878
11873 } // NOLINT, false-positive due to second-order macros. 11879 } // NOLINT, false-positive due to second-order macros.
11874 } // NOLINT, false-positive due to second-order macros. 11880 } // NOLINT, false-positive due to second-order macros.
11875 11881
11876 #endif // V8_OBJECTS_H_ 11882 #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