| 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; |
| 3135 | 3136 |
| 3136 static Handle<FrameArray> AppendJSFrame(Handle<FrameArray> in, | 3137 static Handle<FrameArray> AppendJSFrame(Handle<FrameArray> in, |
| 3137 Handle<Object> receiver, | 3138 Handle<Object> receiver, |
| 3138 Handle<JSFunction> function, | 3139 Handle<JSFunction> function, |
| 3139 Handle<AbstractCode> code, int offset, | 3140 Handle<AbstractCode> code, int offset, |
| 3140 int flags); | 3141 int flags); |
| 3141 static Handle<FrameArray> AppendWasmFrame(Handle<FrameArray> in, | 3142 static Handle<FrameArray> AppendWasmFrame(Handle<FrameArray> in, |
| 3142 Handle<Object> wasm_instance, | 3143 Handle<Object> wasm_instance, |
| 3143 int wasm_function_index, | 3144 int wasm_function_index, |
| 3144 Handle<AbstractCode> code, | 3145 Handle<AbstractCode> code, |
| (...skipping 8863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12008 } | 12009 } |
| 12009 return value; | 12010 return value; |
| 12010 } | 12011 } |
| 12011 }; | 12012 }; |
| 12012 | 12013 |
| 12013 | 12014 |
| 12014 } // NOLINT, false-positive due to second-order macros. | 12015 } // NOLINT, false-positive due to second-order macros. |
| 12015 } // NOLINT, false-positive due to second-order macros. | 12016 } // NOLINT, false-positive due to second-order macros. |
| 12016 | 12017 |
| 12017 #endif // V8_OBJECTS_H_ | 12018 #endif // V8_OBJECTS_H_ |
| OLD | NEW |