OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 // The infrastructure used for (localized) message reporting in V8. | 5 // The infrastructure used for (localized) message reporting in V8. |
6 // | 6 // |
7 // Note: there's a big unresolved issue about ownership of the data | 7 // Note: there's a big unresolved issue about ownership of the data |
8 // structures used by this framework. | 8 // structures used by this framework. |
9 | 9 |
10 #ifndef V8_MESSAGES_H_ | 10 #ifndef V8_MESSAGES_H_ |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 }; | 165 }; |
166 | 166 |
167 class AsmJsWasmStackFrame : public WasmStackFrame { | 167 class AsmJsWasmStackFrame : public WasmStackFrame { |
168 public: | 168 public: |
169 virtual ~AsmJsWasmStackFrame() {} | 169 virtual ~AsmJsWasmStackFrame() {} |
170 | 170 |
171 Handle<Object> GetReceiver() const override; | 171 Handle<Object> GetReceiver() const override; |
172 Handle<Object> GetFunction() const override; | 172 Handle<Object> GetFunction() const override; |
173 | 173 |
174 Handle<Object> GetFileName() override; | 174 Handle<Object> GetFileName() override; |
175 Handle<Object> GetFunctionName() override; | |
176 Handle<Object> GetScriptNameOrSourceUrl() override; | 175 Handle<Object> GetScriptNameOrSourceUrl() override; |
177 | 176 |
178 int GetPosition() const override; | 177 int GetPosition() const override; |
179 int GetLineNumber() override; | 178 int GetLineNumber() override; |
180 int GetColumnNumber() override; | 179 int GetColumnNumber() override; |
181 | 180 |
182 MaybeHandle<String> ToString() override; | 181 MaybeHandle<String> ToString() override; |
183 }; | 182 }; |
184 | 183 |
185 class FrameArrayIterator { | 184 class FrameArrayIterator { |
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); | 703 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); |
705 static std::unique_ptr<char[]> GetLocalizedMessage(Isolate* isolate, | 704 static std::unique_ptr<char[]> GetLocalizedMessage(Isolate* isolate, |
706 Handle<Object> data); | 705 Handle<Object> data); |
707 }; | 706 }; |
708 | 707 |
709 | 708 |
710 } // namespace internal | 709 } // namespace internal |
711 } // namespace v8 | 710 } // namespace v8 |
712 | 711 |
713 #endif // V8_MESSAGES_H_ | 712 #endif // V8_MESSAGES_H_ |
OLD | NEW |