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

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

Issue 2676513008: [wasm] Managed<T> ensures T's lifetime does not leak past Isolate's (Closed)
Patch Set: renamed to ManagedObjectFinalizer, and using "finalizer"` Created 3 years, 10 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/wasm/managed.h ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_MODULE_H_ 5 #ifndef V8_WASM_MODULE_H_
6 #define V8_WASM_MODULE_H_ 6 #define V8_WASM_MODULE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/api.h" 10 #include "src/api.h"
11 #include "src/debug/debug-interface.h" 11 #include "src/debug/debug-interface.h"
12 #include "src/globals.h" 12 #include "src/globals.h"
13 #include "src/handles.h" 13 #include "src/handles.h"
14 #include "src/managed.h"
14 #include "src/parsing/preparse-data.h" 15 #include "src/parsing/preparse-data.h"
15 16
16 #include "src/wasm/managed.h"
17 #include "src/wasm/signature-map.h" 17 #include "src/wasm/signature-map.h"
18 #include "src/wasm/wasm-opcodes.h" 18 #include "src/wasm/wasm-opcodes.h"
19 19
20 namespace v8 { 20 namespace v8 {
21 namespace internal { 21 namespace internal {
22 22
23 class WasmCompiledModule; 23 class WasmCompiledModule;
24 class WasmDebugInfo; 24 class WasmDebugInfo;
25 class WasmModuleObject; 25 class WasmModuleObject;
26 class WasmInstanceObject; 26 class WasmInstanceObject;
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 int instance_count); 449 int instance_count);
450 void ValidateModuleState(Isolate* isolate, Handle<WasmModuleObject> module_obj); 450 void ValidateModuleState(Isolate* isolate, Handle<WasmModuleObject> module_obj);
451 void ValidateOrphanedInstance(Isolate* isolate, 451 void ValidateOrphanedInstance(Isolate* isolate,
452 Handle<WasmInstanceObject> instance); 452 Handle<WasmInstanceObject> instance);
453 } // namespace testing 453 } // namespace testing
454 } // namespace wasm 454 } // namespace wasm
455 } // namespace internal 455 } // namespace internal
456 } // namespace v8 456 } // namespace v8
457 457
458 #endif // V8_WASM_MODULE_H_ 458 #endif // V8_WASM_MODULE_H_
OLDNEW
« no previous file with comments | « src/wasm/managed.h ('k') | src/wasm/wasm-objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698