Loading .cargo/config.in +1 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ replace-with = "vendored-sources" [source."https://github.com/mozilla-spidermonkey/jsparagus"] git = "https://github.com/mozilla-spidermonkey/jsparagus" rev = "688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" rev = "64ba08e24749616de2344112f226d1ef4ba893ae" replace-with = "vendored-sources" [source."https://github.com/mozilla/application-services"] Loading Cargo.lock +8 −8 Original line number Diff line number Diff line Loading @@ -2828,7 +2828,7 @@ version = "0.3.100" [[package]] name = "jsparagus" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "jsparagus-ast", "jsparagus-emitter", Loading @@ -2842,7 +2842,7 @@ dependencies = [ [[package]] name = "jsparagus-ast" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "bumpalo", "indexmap", Loading @@ -2851,7 +2851,7 @@ dependencies = [ [[package]] name = "jsparagus-emitter" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "bumpalo", "byteorder", Loading @@ -2864,7 +2864,7 @@ dependencies = [ [[package]] name = "jsparagus-generated-parser" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "bumpalo", "jsparagus-ast", Loading @@ -2874,12 +2874,12 @@ dependencies = [ [[package]] name = "jsparagus-json-log" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" [[package]] name = "jsparagus-parser" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "arrayvec", "bumpalo", Loading @@ -2891,7 +2891,7 @@ dependencies = [ [[package]] name = "jsparagus-scope" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "indexmap", "jsparagus-ast", Loading @@ -2901,7 +2901,7 @@ dependencies = [ [[package]] name = "jsparagus-stencil" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "jsparagus-ast", ] Loading js/src/frontend/smoosh/Cargo.toml +2 −2 Original line number Diff line number Diff line Loading @@ -12,12 +12,12 @@ log = "0.4" # Disable regex feature for code size. env_logger = {version = "0.9", default-features = false} # For non-jsparagus developers. jsparagus = { git = "https://github.com/mozilla-spidermonkey/jsparagus", rev = "688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" } jsparagus = { git = "https://github.com/mozilla-spidermonkey/jsparagus", rev = "64ba08e24749616de2344112f226d1ef4ba893ae" } # For local development, replace above with # jsparagus = { path = "{path to jsparagus}" } [build-dependencies] # For non-jsparagus developers. jsparagus = { git = "https://github.com/mozilla-spidermonkey/jsparagus", rev = "688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" } jsparagus = { git = "https://github.com/mozilla-spidermonkey/jsparagus", rev = "64ba08e24749616de2344112f226d1ef4ba893ae" } # For local development, replace above with # jsparagus = { path = "{path to jsparagus}" } third_party/rust/jsparagus-emitter/.cargo-checksum.json +1 −1 Original line number Diff line number Diff line {"files":{"Cargo.toml":"00c740f44b5681e3277e519d2e143e6edfbff186ca31a07ddce2eb46b803ddd7","src/array_emitter.rs":"bbc6528321f1d11d7c86c4f2bfdcfc9dced8f0b8b1c30c9f0a5355f300d196b6","src/ast_emitter.rs":"050858e25f6bab6787771058afe504c66e74e9026e9ce873160bccc6366eca47","src/block_emitter.rs":"78965260d87a66c5324d6f3bdfea0f1938f8037f70adde148dbb2db599d1b2c0","src/compilation_info.rs":"b0d91b0f8d6940cb7087b474c3c814b758c8ce8d9027c415b76ad4af78be6140","src/control_structures.rs":"b32fbfff53bd378dcb45d63620006bea15c2fec1e7bc0bb163567dfe086e4931","src/dis.rs":"4a335d813fa965482ca0f20a7b9295a55ce7625b577d42bd8b33b156b81c6306","src/emitter.rs":"c476e801565bd83f8a90089875bf9f5063538631f4dbecfd83734eb8c5d45ef0","src/emitter_scope.rs":"93c2b2a324ccb46b74adb2a28f56360a32652088e59c03641b4f1b608549dc78","src/expression_emitter.rs":"f8e02785dffb179bbe9fe58e45bbfccc08adc3ad0a071a0073bed0feedc8ed9a","src/function_declaration_emitter.rs":"0e6ae706ced215882f3a45b6e13f022ec1effa8edf1026b7ba7988810646982b","src/lib.rs":"f91576fb0f1e3cf444dd1d8ee25ee9bfd0b1e890e427a3863fdb6a4ad1611b61","src/object_emitter.rs":"998423b3d6ef8797fadef6763803627df72fde292b1b34d6a41b2e66a331a181","src/reference_op_emitter.rs":"e1507033c17318f59dbbdd1514d1bd1263f0c7d72530d0f2b2ab071d58b39f72","src/script_emitter.rs":"150a3d6330f40099ad1df8c52cd1831e3ef0fd4eecf44a20e3fff7acef2dd640"},"package":null} No newline at end of file {"files":{"Cargo.toml":"00c740f44b5681e3277e519d2e143e6edfbff186ca31a07ddce2eb46b803ddd7","src/array_emitter.rs":"bbc6528321f1d11d7c86c4f2bfdcfc9dced8f0b8b1c30c9f0a5355f300d196b6","src/ast_emitter.rs":"050858e25f6bab6787771058afe504c66e74e9026e9ce873160bccc6366eca47","src/block_emitter.rs":"78965260d87a66c5324d6f3bdfea0f1938f8037f70adde148dbb2db599d1b2c0","src/compilation_info.rs":"b0d91b0f8d6940cb7087b474c3c814b758c8ce8d9027c415b76ad4af78be6140","src/control_structures.rs":"b32fbfff53bd378dcb45d63620006bea15c2fec1e7bc0bb163567dfe086e4931","src/dis.rs":"4a335d813fa965482ca0f20a7b9295a55ce7625b577d42bd8b33b156b81c6306","src/emitter.rs":"41a6a642d1970e625c264fc58bf245c6975b1e2d86707481ce4f942798c4b48a","src/emitter_scope.rs":"93c2b2a324ccb46b74adb2a28f56360a32652088e59c03641b4f1b608549dc78","src/expression_emitter.rs":"f8e02785dffb179bbe9fe58e45bbfccc08adc3ad0a071a0073bed0feedc8ed9a","src/function_declaration_emitter.rs":"0e6ae706ced215882f3a45b6e13f022ec1effa8edf1026b7ba7988810646982b","src/lib.rs":"f91576fb0f1e3cf444dd1d8ee25ee9bfd0b1e890e427a3863fdb6a4ad1611b61","src/object_emitter.rs":"998423b3d6ef8797fadef6763803627df72fde292b1b34d6a41b2e66a331a181","src/reference_op_emitter.rs":"e1507033c17318f59dbbdd1514d1bd1263f0c7d72530d0f2b2ab071d58b39f72","src/script_emitter.rs":"150a3d6330f40099ad1df8c52cd1831e3ef0fd4eecf44a20e3fff7acef2dd640"},"package":null} No newline at end of file third_party/rust/jsparagus-emitter/src/emitter.rs +5 −2 Original line number Diff line number Diff line Loading @@ -74,6 +74,7 @@ pub enum ThrowMsgKind { MissingPrivateOnGet = 5, MissingPrivateOnSet = 6, AssignToPrivateMethod = 7, DecoratorInvalidReturnType = 8, } #[derive(Debug, Clone, Copy)] Loading Loading @@ -1203,12 +1204,14 @@ impl InstructionWriter { self.emit_op(Opcode::DebugLeaveLexicalEnv); } pub fn recreate_lexical_env(&mut self) { pub fn recreate_lexical_env(&mut self, lexical_scope_index: GCThingIndex) { self.emit_op(Opcode::RecreateLexicalEnv); self.write_g_c_thing_index(lexical_scope_index); } pub fn freshen_lexical_env(&mut self) { pub fn freshen_lexical_env(&mut self, lexical_scope_index: GCThingIndex) { self.emit_op(Opcode::FreshenLexicalEnv); self.write_g_c_thing_index(lexical_scope_index); } pub fn push_class_body_env(&mut self, lexical_scope_index: GCThingIndex) { Loading Loading
.cargo/config.in +1 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ replace-with = "vendored-sources" [source."https://github.com/mozilla-spidermonkey/jsparagus"] git = "https://github.com/mozilla-spidermonkey/jsparagus" rev = "688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" rev = "64ba08e24749616de2344112f226d1ef4ba893ae" replace-with = "vendored-sources" [source."https://github.com/mozilla/application-services"] Loading
Cargo.lock +8 −8 Original line number Diff line number Diff line Loading @@ -2828,7 +2828,7 @@ version = "0.3.100" [[package]] name = "jsparagus" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "jsparagus-ast", "jsparagus-emitter", Loading @@ -2842,7 +2842,7 @@ dependencies = [ [[package]] name = "jsparagus-ast" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "bumpalo", "indexmap", Loading @@ -2851,7 +2851,7 @@ dependencies = [ [[package]] name = "jsparagus-emitter" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "bumpalo", "byteorder", Loading @@ -2864,7 +2864,7 @@ dependencies = [ [[package]] name = "jsparagus-generated-parser" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "bumpalo", "jsparagus-ast", Loading @@ -2874,12 +2874,12 @@ dependencies = [ [[package]] name = "jsparagus-json-log" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" [[package]] name = "jsparagus-parser" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "arrayvec", "bumpalo", Loading @@ -2891,7 +2891,7 @@ dependencies = [ [[package]] name = "jsparagus-scope" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "indexmap", "jsparagus-ast", Loading @@ -2901,7 +2901,7 @@ dependencies = [ [[package]] name = "jsparagus-stencil" version = "0.1.0" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=688a6574cf830b4a3adaf9c5d41efc1f7dd4017f#688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" source = "git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae#64ba08e24749616de2344112f226d1ef4ba893ae" dependencies = [ "jsparagus-ast", ] Loading
js/src/frontend/smoosh/Cargo.toml +2 −2 Original line number Diff line number Diff line Loading @@ -12,12 +12,12 @@ log = "0.4" # Disable regex feature for code size. env_logger = {version = "0.9", default-features = false} # For non-jsparagus developers. jsparagus = { git = "https://github.com/mozilla-spidermonkey/jsparagus", rev = "688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" } jsparagus = { git = "https://github.com/mozilla-spidermonkey/jsparagus", rev = "64ba08e24749616de2344112f226d1ef4ba893ae" } # For local development, replace above with # jsparagus = { path = "{path to jsparagus}" } [build-dependencies] # For non-jsparagus developers. jsparagus = { git = "https://github.com/mozilla-spidermonkey/jsparagus", rev = "688a6574cf830b4a3adaf9c5d41efc1f7dd4017f" } jsparagus = { git = "https://github.com/mozilla-spidermonkey/jsparagus", rev = "64ba08e24749616de2344112f226d1ef4ba893ae" } # For local development, replace above with # jsparagus = { path = "{path to jsparagus}" }
third_party/rust/jsparagus-emitter/.cargo-checksum.json +1 −1 Original line number Diff line number Diff line {"files":{"Cargo.toml":"00c740f44b5681e3277e519d2e143e6edfbff186ca31a07ddce2eb46b803ddd7","src/array_emitter.rs":"bbc6528321f1d11d7c86c4f2bfdcfc9dced8f0b8b1c30c9f0a5355f300d196b6","src/ast_emitter.rs":"050858e25f6bab6787771058afe504c66e74e9026e9ce873160bccc6366eca47","src/block_emitter.rs":"78965260d87a66c5324d6f3bdfea0f1938f8037f70adde148dbb2db599d1b2c0","src/compilation_info.rs":"b0d91b0f8d6940cb7087b474c3c814b758c8ce8d9027c415b76ad4af78be6140","src/control_structures.rs":"b32fbfff53bd378dcb45d63620006bea15c2fec1e7bc0bb163567dfe086e4931","src/dis.rs":"4a335d813fa965482ca0f20a7b9295a55ce7625b577d42bd8b33b156b81c6306","src/emitter.rs":"c476e801565bd83f8a90089875bf9f5063538631f4dbecfd83734eb8c5d45ef0","src/emitter_scope.rs":"93c2b2a324ccb46b74adb2a28f56360a32652088e59c03641b4f1b608549dc78","src/expression_emitter.rs":"f8e02785dffb179bbe9fe58e45bbfccc08adc3ad0a071a0073bed0feedc8ed9a","src/function_declaration_emitter.rs":"0e6ae706ced215882f3a45b6e13f022ec1effa8edf1026b7ba7988810646982b","src/lib.rs":"f91576fb0f1e3cf444dd1d8ee25ee9bfd0b1e890e427a3863fdb6a4ad1611b61","src/object_emitter.rs":"998423b3d6ef8797fadef6763803627df72fde292b1b34d6a41b2e66a331a181","src/reference_op_emitter.rs":"e1507033c17318f59dbbdd1514d1bd1263f0c7d72530d0f2b2ab071d58b39f72","src/script_emitter.rs":"150a3d6330f40099ad1df8c52cd1831e3ef0fd4eecf44a20e3fff7acef2dd640"},"package":null} No newline at end of file {"files":{"Cargo.toml":"00c740f44b5681e3277e519d2e143e6edfbff186ca31a07ddce2eb46b803ddd7","src/array_emitter.rs":"bbc6528321f1d11d7c86c4f2bfdcfc9dced8f0b8b1c30c9f0a5355f300d196b6","src/ast_emitter.rs":"050858e25f6bab6787771058afe504c66e74e9026e9ce873160bccc6366eca47","src/block_emitter.rs":"78965260d87a66c5324d6f3bdfea0f1938f8037f70adde148dbb2db599d1b2c0","src/compilation_info.rs":"b0d91b0f8d6940cb7087b474c3c814b758c8ce8d9027c415b76ad4af78be6140","src/control_structures.rs":"b32fbfff53bd378dcb45d63620006bea15c2fec1e7bc0bb163567dfe086e4931","src/dis.rs":"4a335d813fa965482ca0f20a7b9295a55ce7625b577d42bd8b33b156b81c6306","src/emitter.rs":"41a6a642d1970e625c264fc58bf245c6975b1e2d86707481ce4f942798c4b48a","src/emitter_scope.rs":"93c2b2a324ccb46b74adb2a28f56360a32652088e59c03641b4f1b608549dc78","src/expression_emitter.rs":"f8e02785dffb179bbe9fe58e45bbfccc08adc3ad0a071a0073bed0feedc8ed9a","src/function_declaration_emitter.rs":"0e6ae706ced215882f3a45b6e13f022ec1effa8edf1026b7ba7988810646982b","src/lib.rs":"f91576fb0f1e3cf444dd1d8ee25ee9bfd0b1e890e427a3863fdb6a4ad1611b61","src/object_emitter.rs":"998423b3d6ef8797fadef6763803627df72fde292b1b34d6a41b2e66a331a181","src/reference_op_emitter.rs":"e1507033c17318f59dbbdd1514d1bd1263f0c7d72530d0f2b2ab071d58b39f72","src/script_emitter.rs":"150a3d6330f40099ad1df8c52cd1831e3ef0fd4eecf44a20e3fff7acef2dd640"},"package":null} No newline at end of file
third_party/rust/jsparagus-emitter/src/emitter.rs +5 −2 Original line number Diff line number Diff line Loading @@ -74,6 +74,7 @@ pub enum ThrowMsgKind { MissingPrivateOnGet = 5, MissingPrivateOnSet = 6, AssignToPrivateMethod = 7, DecoratorInvalidReturnType = 8, } #[derive(Debug, Clone, Copy)] Loading Loading @@ -1203,12 +1204,14 @@ impl InstructionWriter { self.emit_op(Opcode::DebugLeaveLexicalEnv); } pub fn recreate_lexical_env(&mut self) { pub fn recreate_lexical_env(&mut self, lexical_scope_index: GCThingIndex) { self.emit_op(Opcode::RecreateLexicalEnv); self.write_g_c_thing_index(lexical_scope_index); } pub fn freshen_lexical_env(&mut self) { pub fn freshen_lexical_env(&mut self, lexical_scope_index: GCThingIndex) { self.emit_op(Opcode::FreshenLexicalEnv); self.write_g_c_thing_index(lexical_scope_index); } pub fn push_class_body_env(&mut self, lexical_scope_index: GCThingIndex) { Loading