diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /third_party/rust/jsparagus-stencil/src/opcode_info.rs | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/rust/jsparagus-stencil/src/opcode_info.rs')
-rw-r--r-- | third_party/rust/jsparagus-stencil/src/opcode_info.rs | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/third_party/rust/jsparagus-stencil/src/opcode_info.rs b/third_party/rust/jsparagus-stencil/src/opcode_info.rs new file mode 100644 index 0000000000..a841cc0774 --- /dev/null +++ b/third_party/rust/jsparagus-stencil/src/opcode_info.rs @@ -0,0 +1,47 @@ +pub fn get_async_function_resolve_kind() -> &'static str { + include_str!("copy/AsyncFunctionResolveKind.h") +} + +pub fn get_bytecode_format_flags() -> &'static str { + include_str!("copy/BytecodeFormatFlags.h") +} + +pub fn get_check_is_object_kind() -> &'static str { + include_str!("copy/CheckIsObjectKind.h") +} + +pub fn get_function_flags() -> &'static str { + include_str!("copy/FunctionFlags.h") +} + +pub fn get_generator_and_async_kind() -> &'static str { + include_str!("copy/GeneratorAndAsyncKind.h") +} + +pub fn get_function_prefix_kind() -> &'static str { + include_str!("copy/FunctionPrefixKind.h") +} + +pub fn get_generator_resume_kind() -> &'static str { + include_str!("copy/GeneratorResumeKind.h") +} + +pub fn get_opcodes_source() -> &'static str { + include_str!("copy/Opcodes.h") +} + +pub fn get_source_notes() -> &'static str { + include_str!("copy/SourceNotes.h") +} + +pub fn get_stencil_enums() -> &'static str { + include_str!("copy/StencilEnums.h") +} + +pub fn get_symbol() -> &'static str { + include_str!("copy/Symbol.h") +} + +pub fn get_throw_msg_kind() -> &'static str { + include_str!("copy/ThrowMsgKind.h") +} |