OLD | NEW |
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 Loading... |
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 | |
5239 // Allocates a DeoptimizationInputData. | 5233 // Allocates a DeoptimizationInputData. |
5240 static Handle<DeoptimizationInputData> New(Isolate* isolate, | 5234 static Handle<DeoptimizationInputData> New(Isolate* isolate, |
5241 int deopt_entry_count, | 5235 int deopt_entry_count, |
5242 PretenureFlag pretenure); | 5236 PretenureFlag pretenure); |
5243 | 5237 |
5244 DECLARE_CAST(DeoptimizationInputData) | 5238 DECLARE_CAST(DeoptimizationInputData) |
5245 | 5239 |
5246 #ifdef ENABLE_DISASSEMBLER | 5240 #ifdef ENABLE_DISASSEMBLER |
5247 void DeoptimizationInputDataPrint(std::ostream& os); // NOLINT | 5241 void DeoptimizationInputDataPrint(std::ostream& os); // NOLINT |
5248 #endif | 5242 #endif |
(...skipping 6624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11873 } | 11867 } |
11874 return value; | 11868 return value; |
11875 } | 11869 } |
11876 }; | 11870 }; |
11877 | 11871 |
11878 | 11872 |
11879 } // NOLINT, false-positive due to second-order macros. | 11873 } // NOLINT, false-positive due to second-order macros. |
11880 } // NOLINT, false-positive due to second-order macros. | 11874 } // NOLINT, false-positive due to second-order macros. |
11881 | 11875 |
11882 #endif // V8_OBJECTS_H_ | 11876 #endif // V8_OBJECTS_H_ |
OLD | NEW |