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

Side by Side Diff: src/wasm/wasm-module-builder.cc

Issue 2383463002: [wasm] Rename encoder.(cc,h) to wasm-module-builder.(cc,h) (Closed)
Patch Set: Created 4 years, 2 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 #include "src/signature.h" 5 #include "src/signature.h"
6 6
7 #include "src/handles.h" 7 #include "src/handles.h"
8 #include "src/v8.h" 8 #include "src/v8.h"
9 #include "src/zone/zone-containers.h" 9 #include "src/zone/zone-containers.h"
10 10
11 #include "src/wasm/ast-decoder.h" 11 #include "src/wasm/ast-decoder.h"
12 #include "src/wasm/encoder.h"
13 #include "src/wasm/leb-helper.h" 12 #include "src/wasm/leb-helper.h"
14 #include "src/wasm/wasm-macro-gen.h" 13 #include "src/wasm/wasm-macro-gen.h"
14 #include "src/wasm/wasm-module-builder.h"
15 #include "src/wasm/wasm-module.h" 15 #include "src/wasm/wasm-module.h"
16 #include "src/wasm/wasm-opcodes.h" 16 #include "src/wasm/wasm-opcodes.h"
17 17
18 #include "src/v8memory.h" 18 #include "src/v8memory.h"
19 19
20 #if DEBUG 20 #if DEBUG
21 #define TRACE(...) \ 21 #define TRACE(...) \
22 do { \ 22 do { \
23 if (FLAG_trace_wasm_encoder) PrintF(__VA_ARGS__); \ 23 if (FLAG_trace_wasm_encoder) PrintF(__VA_ARGS__); \
24 } while (false) 24 } while (false)
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 function->name_.size()); 444 function->name_.size());
445 } 445 }
446 buffer.write_u8(0); 446 buffer.write_u8(0);
447 } 447 }
448 FixupSection(buffer, start); 448 FixupSection(buffer, start);
449 } 449 }
450 } 450 }
451 } // namespace wasm 451 } // namespace wasm
452 } // namespace internal 452 } // namespace internal
453 } // namespace v8 453 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698