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

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: moved cctest 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
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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 void ValidateModuleState(Isolate* isolate, Handle<WasmModuleObject> module_obj); 472 void ValidateModuleState(Isolate* isolate, Handle<WasmModuleObject> module_obj);
473 void ValidateOrphanedInstance(Isolate* isolate, 473 void ValidateOrphanedInstance(Isolate* isolate,
474 Handle<WasmInstanceObject> instance); 474 Handle<WasmInstanceObject> instance);
475 475
476 } // namespace testing 476 } // namespace testing
477 } // namespace wasm 477 } // namespace wasm
478 } // namespace internal 478 } // namespace internal
479 } // namespace v8 479 } // namespace v8
480 480
481 #endif // V8_WASM_MODULE_H_ 481 #endif // V8_WASM_MODULE_H_
OLDNEW
« src/isolate.cc ('K') | « 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