Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(967)

Side by Side Diff: src/wasm/wasm-objects.h

Issue 2503403005: [wasm] Remove two obsolete functions (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/wasm/wasm-module.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_WASM_OBJECTS_H_ 5 #ifndef V8_WASM_OBJECTS_H_
6 #define V8_WASM_OBJECTS_H_ 6 #define V8_WASM_OBJECTS_H_
7 7
8 #include "src/objects-inl.h" 8 #include "src/objects-inl.h"
9 #include "src/wasm/managed.h" 9 #include "src/wasm/managed.h"
10 10
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 private: 268 private:
269 void InitId(); 269 void InitId();
270 270
271 DISALLOW_IMPLICIT_CONSTRUCTORS(WasmCompiledModule); 271 DISALLOW_IMPLICIT_CONSTRUCTORS(WasmCompiledModule);
272 }; 272 };
273 273
274 class WasmDebugInfo : public FixedArray { 274 class WasmDebugInfo : public FixedArray {
275 public: 275 public:
276 enum class Fields { kFieldCount }; 276 enum class Fields { kFieldCount };
277 277
278 static Handle<WasmDebugInfo> New(Handle<JSObject> wasm); 278 static Handle<WasmDebugInfo> New(Handle<WasmInstanceObject> instance);
279 279
280 static bool IsDebugInfo(Object* object); 280 static bool IsDebugInfo(Object* object);
281 static WasmDebugInfo* cast(Object* object); 281 static WasmDebugInfo* cast(Object* object);
282 282
283 JSObject* wasm_instance(); 283 WasmInstanceObject* wasm_instance();
284 284
285 bool SetBreakPoint(int byte_offset); 285 bool SetBreakPoint(int byte_offset);
286 286
287 // Get the Script for the specified function. 287 // Get the Script for the specified function.
288 static Script* GetFunctionScript(Handle<WasmDebugInfo> debug_info, 288 static Script* GetFunctionScript(Handle<WasmDebugInfo> debug_info,
289 int func_index); 289 int func_index);
290 290
291 // Disassemble the specified function from this module. 291 // Disassemble the specified function from this module.
292 static Handle<String> DisassembleFunction(Handle<WasmDebugInfo> debug_info, 292 static Handle<String> DisassembleFunction(Handle<WasmDebugInfo> debug_info,
293 int func_index); 293 int func_index);
(...skipping 11 matching lines...) Expand all
305 int func_index, int byte_offset); 305 int func_index, int byte_offset);
306 }; 306 };
307 307
308 #undef DECLARE_ACCESSORS 308 #undef DECLARE_ACCESSORS
309 #undef DECLARE_OPTIONAL_ACCESSORS 309 #undef DECLARE_OPTIONAL_ACCESSORS
310 310
311 } // namespace internal 311 } // namespace internal
312 } // namespace v8 312 } // namespace v8
313 313
314 #endif // V8_WASM_OBJECTS_H_ 314 #endif // V8_WASM_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/wasm/wasm-module.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698