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 2961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2972 FRAME_ARRAY_FIELD_LIST(DECLARE_FRAME_ARRAY_ACCESSORS) | 2972 FRAME_ARRAY_FIELD_LIST(DECLARE_FRAME_ARRAY_ACCESSORS) |
2973 #undef DECLARE_FRAME_ARRAY_ACCESSORS | 2973 #undef DECLARE_FRAME_ARRAY_ACCESSORS |
2974 | 2974 |
2975 inline bool IsWasmFrame(int frame_ix) const; | 2975 inline bool IsWasmFrame(int frame_ix) const; |
2976 inline int FrameCount() const; | 2976 inline int FrameCount() const; |
2977 | 2977 |
2978 void ShrinkToFit(); | 2978 void ShrinkToFit(); |
2979 | 2979 |
2980 // Flags. | 2980 // Flags. |
2981 static const int kIsWasmFrame = 1 << 0; | 2981 static const int kIsWasmFrame = 1 << 0; |
2982 static const int kIsStrict = 1 << 1; | 2982 static const int kIsAsmWasmFrame = 1 << 1; |
2983 static const int kForceConstructor = 1 << 2; | 2983 static const int kIsStrict = 1 << 2; |
| 2984 static const int kForceConstructor = 1 << 3; |
2984 | 2985 |
2985 static Handle<FrameArray> AppendJSFrame(Handle<FrameArray> in, | 2986 static Handle<FrameArray> AppendJSFrame(Handle<FrameArray> in, |
2986 Handle<Object> receiver, | 2987 Handle<Object> receiver, |
2987 Handle<JSFunction> function, | 2988 Handle<JSFunction> function, |
2988 Handle<AbstractCode> code, int offset, | 2989 Handle<AbstractCode> code, int offset, |
2989 int flags); | 2990 int flags); |
2990 static Handle<FrameArray> AppendWasmFrame(Handle<FrameArray> in, | 2991 static Handle<FrameArray> AppendWasmFrame(Handle<FrameArray> in, |
2991 Handle<Object> wasm_object, | 2992 Handle<Object> wasm_object, |
2992 int wasm_function_index, | 2993 int wasm_function_index, |
2993 Handle<AbstractCode> code, | 2994 Handle<AbstractCode> code, |
(...skipping 8456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11450 } | 11451 } |
11451 return value; | 11452 return value; |
11452 } | 11453 } |
11453 }; | 11454 }; |
11454 | 11455 |
11455 | 11456 |
11456 } // NOLINT, false-positive due to second-order macros. | 11457 } // NOLINT, false-positive due to second-order macros. |
11457 } // NOLINT, false-positive due to second-order macros. | 11458 } // NOLINT, false-positive due to second-order macros. |
11458 | 11459 |
11459 #endif // V8_OBJECTS_H_ | 11460 #endif // V8_OBJECTS_H_ |
OLD | NEW |