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 3114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3125 inline bool IsAsmJsWasmFrame(int frame_ix) const; | 3125 inline bool IsAsmJsWasmFrame(int frame_ix) const; |
3126 inline int FrameCount() const; | 3126 inline int FrameCount() const; |
3127 | 3127 |
3128 void ShrinkToFit(); | 3128 void ShrinkToFit(); |
3129 | 3129 |
3130 // Flags. | 3130 // Flags. |
3131 static const int kIsWasmFrame = 1 << 0; | 3131 static const int kIsWasmFrame = 1 << 0; |
3132 static const int kIsAsmJsWasmFrame = 1 << 1; | 3132 static const int kIsAsmJsWasmFrame = 1 << 1; |
3133 static const int kIsStrict = 1 << 2; | 3133 static const int kIsStrict = 1 << 2; |
3134 static const int kForceConstructor = 1 << 3; | 3134 static const int kForceConstructor = 1 << 3; |
3135 static const int kAsmJsAtNumberConversion = 1 << 4; | |
3136 | 3135 |
3137 static Handle<FrameArray> AppendJSFrame(Handle<FrameArray> in, | 3136 static Handle<FrameArray> AppendJSFrame(Handle<FrameArray> in, |
3138 Handle<Object> receiver, | 3137 Handle<Object> receiver, |
3139 Handle<JSFunction> function, | 3138 Handle<JSFunction> function, |
3140 Handle<AbstractCode> code, int offset, | 3139 Handle<AbstractCode> code, int offset, |
3141 int flags); | 3140 int flags); |
3142 static Handle<FrameArray> AppendWasmFrame(Handle<FrameArray> in, | 3141 static Handle<FrameArray> AppendWasmFrame(Handle<FrameArray> in, |
3143 Handle<Object> wasm_instance, | 3142 Handle<Object> wasm_instance, |
3144 int wasm_function_index, | 3143 int wasm_function_index, |
3145 Handle<AbstractCode> code, | 3144 Handle<AbstractCode> code, |
(...skipping 8854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12000 } | 11999 } |
12001 return value; | 12000 return value; |
12002 } | 12001 } |
12003 }; | 12002 }; |
12004 | 12003 |
12005 | 12004 |
12006 } // NOLINT, false-positive due to second-order macros. | 12005 } // NOLINT, false-positive due to second-order macros. |
12007 } // NOLINT, false-positive due to second-order macros. | 12006 } // NOLINT, false-positive due to second-order macros. |
12008 | 12007 |
12009 #endif // V8_OBJECTS_H_ | 12008 #endif // V8_OBJECTS_H_ |
OLD | NEW |