Chromium Code Reviews| 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>>> | |
|
dgozman
2016/11/16 19:00:09
Let's have a comment describing this structure at
Clemens Hammacher
2016/11/16 20:31:30
Ups, I thought I did this, but it was only on the
| |
| 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 |