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

Side by Side Diff: src/wasm/encoder.h

Issue 2175233003: Replace SmartPointer<T> with unique_ptr<T> (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@smart-array
Patch Set: Created 4 years, 4 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_ENCODER_H_ 5 #ifndef V8_WASM_ENCODER_H_
6 #define V8_WASM_ENCODER_H_ 6 #define V8_WASM_ENCODER_H_
7 7
8 #include "src/signature.h" 8 #include "src/signature.h"
9 #include "src/zone-containers.h" 9 #include "src/zone-containers.h"
10 10
11 #include "src/base/smart-pointers.h"
12
13 #include "src/wasm/leb-helper.h" 11 #include "src/wasm/leb-helper.h"
14 #include "src/wasm/wasm-macro-gen.h" 12 #include "src/wasm/wasm-macro-gen.h"
15 #include "src/wasm/wasm-module.h" 13 #include "src/wasm/wasm-module.h"
16 #include "src/wasm/wasm-opcodes.h" 14 #include "src/wasm/wasm-opcodes.h"
17 #include "src/wasm/wasm-result.h" 15 #include "src/wasm/wasm-result.h"
18 16
19 namespace v8 { 17 namespace v8 {
20 namespace internal { 18 namespace internal {
21 namespace wasm { 19 namespace wasm {
22 20
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 ZoneVector<std::pair<LocalType, bool>> globals_; 196 ZoneVector<std::pair<LocalType, bool>> globals_;
199 SignatureMap signature_map_; 197 SignatureMap signature_map_;
200 int start_function_index_; 198 int start_function_index_;
201 }; 199 };
202 200
203 } // namespace wasm 201 } // namespace wasm
204 } // namespace internal 202 } // namespace internal
205 } // namespace v8 203 } // namespace v8
206 204
207 #endif // V8_WASM_ENCODER_H_ 205 #endif // V8_WASM_ENCODER_H_
OLDNEW
« src/profiler/heap-profiler.h ('K') | « src/wasm/decoder.h ('k') | src/wasm/wasm-module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698