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

Side by Side Diff: src/objects.h

Issue 2063013004: [wasm] Disassemble wasm code from script (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@wasm-frame-inspection
Patch Set: address comments Created 4 years, 6 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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 6415 matching lines...) Expand 10 before | Expand all | Expand 10 after
6426 // [shared_function_infos]: weak fixed array containing all shared 6426 // [shared_function_infos]: weak fixed array containing all shared
6427 // function infos created from this script. 6427 // function infos created from this script.
6428 DECL_ACCESSORS(shared_function_infos, Object) 6428 DECL_ACCESSORS(shared_function_infos, Object)
6429 6429
6430 // [flags]: Holds an exciting bitfield. 6430 // [flags]: Holds an exciting bitfield.
6431 DECL_INT_ACCESSORS(flags) 6431 DECL_INT_ACCESSORS(flags)
6432 6432
6433 // [source_url]: sourceURL from magic comment 6433 // [source_url]: sourceURL from magic comment
6434 DECL_ACCESSORS(source_url, Object) 6434 DECL_ACCESSORS(source_url, Object)
6435 6435
6436 // [source_url]: sourceMappingURL magic comment 6436 // [source_mapping_url]: sourceMappingURL magic comment
6437 DECL_ACCESSORS(source_mapping_url, Object) 6437 DECL_ACCESSORS(source_mapping_url, Object)
6438 6438
6439 // [wasm_object]: the wasm object this script belongs to.
6440 // This must only be called if the type of this script is TYPE_WASM.
6441 DECL_ACCESSORS(wasm_object, JSObject)
6442
6443 // [wasm_function_index]: the wasm function index this script belongs to.
6444 // This must only be called if the type of this script is TYPE_WASM.
6445 DECL_INT_ACCESSORS(wasm_function_index)
6446
6439 // [compilation_type]: how the the script was compiled. Encoded in the 6447 // [compilation_type]: how the the script was compiled. Encoded in the
6440 // 'flags' field. 6448 // 'flags' field.
6441 inline CompilationType compilation_type(); 6449 inline CompilationType compilation_type();
6442 inline void set_compilation_type(CompilationType type); 6450 inline void set_compilation_type(CompilationType type);
6443 6451
6444 // [compilation_state]: determines whether the script has already been 6452 // [compilation_state]: determines whether the script has already been
6445 // compiled. Encoded in the 'flags' field. 6453 // compiled. Encoded in the 'flags' field.
6446 inline CompilationState compilation_state(); 6454 inline CompilationState compilation_state();
6447 inline void set_compilation_state(CompilationState state); 6455 inline void set_compilation_state(CompilationState state);
6448 6456
(...skipping 4358 matching lines...) Expand 10 before | Expand all | Expand 10 after
10807 } 10815 }
10808 return value; 10816 return value;
10809 } 10817 }
10810 }; 10818 };
10811 10819
10812 10820
10813 } // NOLINT, false-positive due to second-order macros. 10821 } // NOLINT, false-positive due to second-order macros.
10814 } // NOLINT, false-positive due to second-order macros. 10822 } // NOLINT, false-positive due to second-order macros.
10815 10823
10816 #endif // V8_OBJECTS_H_ 10824 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698