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

Side by Side Diff: src/wasm/wasm-debug.cc

Issue 2619803004: [wasm] Add support for compiling WASM_INTERPRETER_ENTRY stubs (Closed)
Patch Set: Change void* to uint8_t* Created 3 years, 11 months 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/runtime/runtime-wasm.cc ('k') | src/wasm/wasm-objects.h » ('j') | 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 #include "src/assert-scope.h" 5 #include "src/assert-scope.h"
6 #include "src/debug/debug.h" 6 #include "src/debug/debug.h"
7 #include "src/factory.h" 7 #include "src/factory.h"
8 #include "src/isolate.h" 8 #include "src/isolate.h"
9 #include "src/wasm/module-decoder.h" 9 #include "src/wasm/module-decoder.h"
10 #include "src/wasm/wasm-module.h" 10 #include "src/wasm/wasm-module.h"
(...skipping 18 matching lines...) Expand all
29 } 29 }
30 30
31 WasmDebugInfo *WasmDebugInfo::cast(Object *object) { 31 WasmDebugInfo *WasmDebugInfo::cast(Object *object) {
32 DCHECK(IsDebugInfo(object)); 32 DCHECK(IsDebugInfo(object));
33 return reinterpret_cast<WasmDebugInfo *>(object); 33 return reinterpret_cast<WasmDebugInfo *>(object);
34 } 34 }
35 35
36 WasmInstanceObject *WasmDebugInfo::wasm_instance() { 36 WasmInstanceObject *WasmDebugInfo::wasm_instance() {
37 return WasmInstanceObject::cast(get(kInstance)); 37 return WasmInstanceObject::cast(get(kInstance));
38 } 38 }
39
40 void WasmDebugInfo::RunInterpreter(Handle<WasmDebugInfo> debug_info,
41 int func_index, uint8_t *arg_buffer) {
42 // TODO(clemensh): Implement this.
43 UNIMPLEMENTED();
44 }
OLDNEW
« no previous file with comments | « src/runtime/runtime-wasm.cc ('k') | src/wasm/wasm-objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698