OLD | NEW |
---|---|
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_DEBUG_DEBUG_INTERFACE_H_ | 5 #ifndef V8_DEBUG_DEBUG_INTERFACE_H_ |
6 #define V8_DEBUG_DEBUG_INTERFACE_H_ | 6 #define V8_DEBUG_DEBUG_INTERFACE_H_ |
7 | 7 |
8 #include "include/v8-debug.h" | 8 #include "include/v8-debug.h" |
9 #include "include/v8-util.h" | 9 #include "include/v8-util.h" |
10 #include "include/v8.h" | 10 #include "include/v8.h" |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
195 | 195 |
196 private: | 196 private: |
197 int GetSourcePosition(const Location& location) const; | 197 int GetSourcePosition(const Location& location) const; |
198 }; | 198 }; |
199 | 199 |
200 /** | 200 /** |
201 * Return array of compiled scripts. | 201 * Return array of compiled scripts. |
202 */ | 202 */ |
203 static void GetLoadedScripts(Isolate* isolate, | 203 static void GetLoadedScripts(Isolate* isolate, |
204 PersistentValueVector<Script>& scripts); | 204 PersistentValueVector<Script>& scripts); |
205 | |
206 static std::pair<std::string, std::vector<std::tuple<uint32_t, int, int>>> | |
titzer
2016/11/11 10:59:02
Can we introduce a struct for this type, instead o
dgozman
2016/11/11 21:50:34
+1
It will also help with describing what this com
Clemens Hammacher
2016/11/16 11:36:28
As discussed offline with Ben:
Introducing a struc
kozy
2016/11/16 16:13:41
We already include debug-interface.h in debug.h an
| |
207 DisassembleWasmFunction(Isolate* isolate, v8::Local<v8::Object> script, | |
208 int function_index); | |
205 }; | 209 }; |
206 | 210 |
207 } // namespace v8 | 211 } // namespace v8 |
208 | 212 |
209 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ | 213 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ |
OLD | NEW |