diff --git a/Cargo.lock b/Cargo.lock index c9c7510cf13..ba19b3e1181 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1178,6 +1178,7 @@ dependencies = [ "anyhow", "backtrace", "fxhash", + "log", "napi", "napi-build", "napi-derive", @@ -2260,7 +2261,7 @@ checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c" [[package]] name = "swc" -version = "0.34.0" +version = "0.35.0" dependencies = [ "ahash 0.7.4", "anyhow", @@ -2353,7 +2354,7 @@ dependencies = [ [[package]] name = "swc_bundler" -version = "0.48.0" +version = "0.49.0" dependencies = [ "ahash 0.7.4", "anyhow", @@ -2390,7 +2391,7 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.11.1" +version = "0.11.2" dependencies = [ "arbitrary", "ast_node", @@ -2432,7 +2433,7 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "0.64.3" +version = "0.65.0" dependencies = [ "bitflags", "num-bigint", @@ -2502,7 +2503,7 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.16.1" +version = "0.17.0" dependencies = [ "ansi_term 0.12.1", "anyhow", @@ -2557,7 +2558,7 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "0.31.0" +version = "0.32.0" dependencies = [ "dashmap", "fxhash", @@ -2583,7 +2584,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "0.61.0" +version = "0.62.0" dependencies = [ "pretty_assertions 0.6.1", "sourcemap", @@ -2610,7 +2611,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.24.1" +version = "0.25.0" dependencies = [ "fxhash", "once_cell", @@ -2629,7 +2630,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_classes" -version = "0.10.0" +version = "0.11.0" dependencies = [ "swc_atoms", "swc_common", @@ -2641,7 +2642,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "0.27.0" +version = "0.28.0" dependencies = [ "arrayvec", "fxhash", @@ -2677,7 +2678,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "0.28.0" +version = "0.29.0" dependencies = [ "Inflector", "anyhow", @@ -2700,7 +2701,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "0.31.0" +version = "0.32.0" dependencies = [ "dashmap", "fxhash", @@ -2727,7 +2728,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "0.28.0" +version = "0.29.0" dependencies = [ "either", "fxhash", @@ -2749,7 +2750,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "0.29.0" +version = "0.30.0" dependencies = [ "base64 0.13.0", "dashmap", @@ -2775,7 +2776,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_testing" -version = "0.24.0" +version = "0.25.0" dependencies = [ "ansi_term 0.12.1", "serde", @@ -2793,7 +2794,7 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "0.30.1" +version = "0.31.0" dependencies = [ "fxhash", "serde", @@ -2829,7 +2830,7 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "0.35.0" +version = "0.35.1" dependencies = [ "num-bigint", "swc_atoms", @@ -2840,7 +2841,7 @@ dependencies = [ [[package]] name = "swc_ecmascript" -version = "0.50.0" +version = "0.51.0" dependencies = [ "swc_ecma_ast", "swc_ecma_codegen", @@ -2884,7 +2885,7 @@ dependencies = [ [[package]] name = "swc_visit" -version = "0.2.4" +version = "0.2.5" dependencies = [ "either", "swc_visit_macros", diff --git a/Cargo.toml b/Cargo.toml index 45beab27e55..9802714aaa7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc" repository = "https://github.com/swc-project/swc.git" -version = "0.34.0" +version = "0.35.0" [lib] name = "swc" @@ -29,16 +29,16 @@ serde = {version = "1", features = ["derive"]} serde_json = "1" sourcemap = "6" swc_atoms = {version = "0.2", path = "./atoms"} -swc_bundler = {version = "0.48.0", path = "./bundler"} +swc_bundler = {version = "0.49.0", path = "./bundler"} swc_common = {version = "0.11.0", path = "./common", features = ["sourcemap", "concurrent"]} swc_ecma_ast = {version = "0.49.0", path = "./ecmascript/ast"} -swc_ecma_codegen = {version = "0.64.0", path = "./ecmascript/codegen"} +swc_ecma_codegen = {version = "0.65.0", path = "./ecmascript/codegen"} swc_ecma_ext_transforms = {version = "0.23.0", path = "./ecmascript/ext-transforms"} swc_ecma_loader = {version = "0.12.0", path = "./ecmascript/loader", features = ["lru", "node", "tsc"]} -swc_ecma_minifier = {version = "0.16.0", path = "./ecmascript/minifier"} +swc_ecma_minifier = {version = "0.17.0", path = "./ecmascript/minifier"} swc_ecma_parser = {version = "0.65.0", path = "./ecmascript/parser"} -swc_ecma_preset_env = {version = "0.31.0", path = "./ecmascript/preset-env"} -swc_ecma_transforms = {version = "0.61.0", path = "./ecmascript/transforms", features = [ +swc_ecma_preset_env = {version = "0.32.0", path = "./ecmascript/preset-env"} +swc_ecma_transforms = {version = "0.62.0", path = "./ecmascript/transforms", features = [ "compat", "module", "optimization", @@ -46,7 +46,7 @@ swc_ecma_transforms = {version = "0.61.0", path = "./ecmascript/transforms", fea "react", "typescript", ]} -swc_ecma_transforms_base = {version = "0.24.1", path = "./ecmascript/transforms/base"} +swc_ecma_transforms_base = {version = "0.25.0", path = "./ecmascript/transforms/base"} swc_ecma_utils = {version = "0.41.0", path = "./ecmascript/utils"} swc_ecma_visit = {version = "0.35.0", path = "./ecmascript/visit"} swc_node_base = {version = "0.2.0", path = "./node/base"} diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml index b9c5b55578d..6e9bfbd91b7 100644 --- a/bundler/Cargo.toml +++ b/bundler/Cargo.toml @@ -9,7 +9,7 @@ include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"] license = "Apache-2.0/MIT" name = "swc_bundler" repository = "https://github.com/swc-project/swc.git" -version = "0.48.0" +version = "0.49.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] @@ -34,10 +34,10 @@ retain_mut = "0.1.2" swc_atoms = {version = "0.2.4", path = "../atoms"} swc_common = {version = "0.11.0", path = "../common"} swc_ecma_ast = {version = "0.49.0", path = "../ecmascript/ast"} -swc_ecma_codegen = {version = "0.64.0", path = "../ecmascript/codegen"} +swc_ecma_codegen = {version = "0.65.0", path = "../ecmascript/codegen"} swc_ecma_loader = {version = "0.12.0", path = "../ecmascript/loader"} swc_ecma_parser = {version = "0.65.0", path = "../ecmascript/parser"} -swc_ecma_transforms = {version = "0.61.0", path = "../ecmascript/transforms", features = ["optimization"]} +swc_ecma_transforms = {version = "0.62.0", path = "../ecmascript/transforms", features = ["optimization"]} swc_ecma_utils = {version = "0.41.0", path = "../ecmascript/utils"} swc_ecma_visit = {version = "0.35.0", path = "../ecmascript/visit"} @@ -46,7 +46,7 @@ hex = "0.4" ntest = "0.7.2" reqwest = {version = "0.10.8", features = ["blocking"]} sha-1 = "0.9" -swc_ecma_transforms = {version = "0.61.0", path = "../ecmascript/transforms", features = ["react", "typescript"]} +swc_ecma_transforms = {version = "0.62.0", path = "../ecmascript/transforms", features = ["react", "typescript"]} tempfile = "3.1.0" testing = {version = "0.12.0", path = "../testing"} url = "2.1.1" diff --git a/bundler/src/hash.rs b/bundler/src/hash.rs index f77ce5a1974..f4b5e7ad0c8 100644 --- a/bundler/src/hash.rs +++ b/bundler/src/hash.rs @@ -2,7 +2,7 @@ use anyhow::{Context, Error}; use crc::{crc64, crc64::Digest, Hasher64}; use std::io; use swc_common::{sync::Lrc, SourceMap, Span}; -use swc_ecma_ast::Module; +use swc_ecma_ast::{EsVersion, Module}; use swc_ecma_codegen::{text_writer::WriteJs, Emitter}; pub(crate) fn calc_hash(cm: Lrc, m: &Module) -> Result { @@ -38,6 +38,10 @@ impl Hasher { } impl WriteJs for &mut Hasher { + fn target(&self) -> EsVersion { + EsVersion::latest() + } + fn increase_indent(&mut self) -> io::Result<()> { Ok(()) } diff --git a/common/Cargo.toml b/common/Cargo.toml index 9c07ce10345..6909746a324 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_common" repository = "https://github.com/swc-project/swc.git" -version = "0.11.1" +version = "0.11.2" [features] concurrent = ["parking_lot"] diff --git a/common/src/syntax_pos.rs b/common/src/syntax_pos.rs index f7bac9ec6f1..a0418f6a309 100644 --- a/common/src/syntax_pos.rs +++ b/common/src/syntax_pos.rs @@ -361,6 +361,34 @@ impl Span { *self = Span::new(span.lo, span.hi, span.ctxt); mark } + + /// Returns `true` if `self` is marked with `mark`. + /// + /// Panics if `mark` is not a valid mark. + #[inline] + pub fn has_mark(self, mark: Mark) -> bool { + debug_assert_ne!( + mark, + Mark::root(), + "Cannot check if a span contains a `ROOT` mark" + ); + + let mut ctxt = self.ctxt; + + loop { + if ctxt == SyntaxContext::empty() { + return false; + } + + let m = ctxt.remove_mark(); + if m == mark { + return true; + } + if m == Mark::root() { + return false; + } + } + } } #[derive(Clone, Debug)] diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml index 4bc5e895355..d1be78f4b2d 100644 --- a/ecmascript/Cargo.toml +++ b/ecmascript/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecmascript" repository = "https://github.com/swc-project/swc.git" -version = "0.50.0" +version = "0.51.0" [package.metadata.docs.rs] all-features = true @@ -32,11 +32,11 @@ typescript = ["typescript-parser", "swc_ecma_transforms/typescript"] [dependencies] swc_ecma_ast = {version = "0.49.0", path = "./ast"} -swc_ecma_codegen = {version = "0.64.0", path = "./codegen", optional = true} +swc_ecma_codegen = {version = "0.65.0", path = "./codegen", optional = true} swc_ecma_dep_graph = {version = "0.33.0", path = "./dep-graph", optional = true} -swc_ecma_minifier = {version = "0.16.0", path = "./minifier", optional = true} +swc_ecma_minifier = {version = "0.17.0", path = "./minifier", optional = true} swc_ecma_parser = {version = "0.65.0", path = "./parser", optional = true, default-features = false} -swc_ecma_transforms = {version = "0.61.0", path = "./transforms", optional = true} +swc_ecma_transforms = {version = "0.62.0", path = "./transforms", optional = true} swc_ecma_utils = {version = "0.41.0", path = "./utils", optional = true} swc_ecma_visit = {version = "0.35.0", path = "./visit", optional = true} diff --git a/ecmascript/ast/src/ident.rs b/ecmascript/ast/src/ident.rs index bc169ac189c..f78020ffbfd 100644 --- a/ecmascript/ast/src/ident.rs +++ b/ecmascript/ast/src/ident.rs @@ -172,3 +172,5 @@ pub trait IdentExt: AsRef { impl IdentExt for JsWord {} impl IdentExt for Ident {} +impl IdentExt for &'_ str {} +impl IdentExt for String {} diff --git a/ecmascript/codegen/Cargo.toml b/ecmascript/codegen/Cargo.toml index 53b38c54bde..7e71f20670e 100644 --- a/ecmascript/codegen/Cargo.toml +++ b/ecmascript/codegen/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0/MIT" name = "swc_ecma_codegen" repository = "https://github.com/swc-project/swc.git" -version = "0.64.3" +version = "0.65.0" [dependencies] bitflags = "1" diff --git a/ecmascript/codegen/scripts/compare-file.sh b/ecmascript/codegen/scripts/compare-file.sh new file mode 100755 index 00000000000..5634cc337fc --- /dev/null +++ b/ecmascript/codegen/scripts/compare-file.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +set -eu + +echo '' +echo '' +echo '' +echo "Comparing $1" +EXPECTED=$(terser "$1" | xargs) +ACTUAL=$(cat "$1" | xargs) + +if [[ $EXPECTED == $ACTUAL || $EXPECTED == "$ACTUAL;" ]]; then + echo "PASSED"; + git add "$1" +else + echo $EXPECTED + echo $ACTUAL + echo "FAILED" +fi diff --git a/ecmascript/codegen/scripts/compare.sh b/ecmascript/codegen/scripts/compare.sh new file mode 100755 index 00000000000..7f16de2a0e7 --- /dev/null +++ b/ecmascript/codegen/scripts/compare.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -eu + +git status -u --porcelain \ + | grep '?? ecmascript/codegen/tests' \ + | sed -e 's!^?? ecmascript/codegen/!!' \ + | xargs -L 1 ./scripts/compare-file.sh \ No newline at end of file diff --git a/ecmascript/codegen/src/decl.rs b/ecmascript/codegen/src/decl.rs index e4afda0d03c..22c634931e5 100644 --- a/ecmascript/codegen/src/decl.rs +++ b/ecmascript/codegen/src/decl.rs @@ -81,7 +81,19 @@ impl<'a> Emitter<'a> { let span = self.cm.span_until_char(node.span, ' '); keyword!(span, node.kind.as_str()); } - space!(); + + let starts_with_ident = match node.decls.first() { + Some(VarDeclarator { + name: Pat::Array(..) | Pat::Rest(..) | Pat::Object(..), + .. + }) => false, + _ => true, + }; + if starts_with_ident { + space!(); + } else { + formatting_space!(); + } self.emit_list( node.span(), diff --git a/ecmascript/codegen/src/lib.rs b/ecmascript/codegen/src/lib.rs index e30ef1de4ac..074f75b7b7d 100644 --- a/ecmascript/codegen/src/lib.rs +++ b/ecmascript/codegen/src/lib.rs @@ -1,6 +1,8 @@ #![recursion_limit = "1024"] #![allow(unused_variables)] +use crate::util::EndsWithAlphaNum; + pub use self::config::Config; use self::{ list::ListFormat, @@ -132,8 +134,15 @@ impl<'a> Emitter<'a> { keyword!("export"); space!(); keyword!("default"); - space!(); - emit!(node.expr); + { + let starts_with_alpha_num = node.expr.starts_with_alpha_num(); + if starts_with_alpha_num { + space!(); + } else { + formatting_space!(); + } + emit!(node.expr); + } formatting_semi!(); } @@ -158,7 +167,16 @@ impl<'a> Emitter<'a> { self.emit_leading_comments_of_span(node.span(), false)?; keyword!("import"); - space!(); + let starts_with_ident = !node.specifiers.is_empty() + && match &node.specifiers[0] { + ImportSpecifier::Default(_) => true, + _ => false, + }; + if starts_with_ident { + space!(); + } else { + formatting_space!(); + } let mut specifiers = vec![]; let mut emitted_default = false; @@ -182,7 +200,7 @@ impl<'a> Emitter<'a> { assert!(node.specifiers.len() <= 2); punct!("*"); - space!(); + formatting_space!(); keyword!("as"); space!(); emit!(ns.local); @@ -344,11 +362,11 @@ impl<'a> Emitter<'a> { self.emit_leading_comments_of_span(node.span(), false)?; keyword!("export"); - space!(); + formatting_space!(); punct!("*"); formatting_space!(); keyword!("from"); - space!(); + formatting_space!(); emit!(node.src); formatting_semi!(); } @@ -440,7 +458,18 @@ impl<'a> Emitter<'a> { if num.value.is_sign_negative() && num.value == 0.0 { self.wr.write_str_lit(num.span, "-0")?; } else { - self.wr.write_str_lit(num.span, &format!("{}", num.value))?; + let mut s = num.value.to_string(); + if self.cfg.minify { + if !s.contains('.') && !s.contains('e') && s.ends_with("000") { + let cnt = s.as_bytes().iter().rev().filter(|&&v| v == b'0').count(); + + s.truncate(s.len() - cnt); + s.push('e'); + s.push_str(&cnt.to_string()); + } + } + + self.wr.write_str_lit(num.span, &s)?; } } } @@ -589,7 +618,14 @@ impl<'a> Emitter<'a> { let span = self.cm.span_until_char(node.span, ' '); keyword!(span, "new"); } - space!(); + + let starts_with_alpha_num = node.callee.starts_with_alpha_num(); + + if starts_with_alpha_num { + space!(); + } else { + formatting_space!(); + } emit!(node.callee); if let Some(type_args) = &node.type_args { @@ -745,16 +781,27 @@ impl<'a> Emitter<'a> { fn emit_bin_expr_trailing(&mut self, node: &BinExpr) -> Result { // let indent_before_op = needs_indention(node, &node.left, node.op); // let indent_after_op = needs_indention(node, node.op, &node.right); - let need_space = match node.op { + let is_kwd_op = match node.op { op!("in") | op!("instanceof") => true, _ => false, }; - let need_pre_space = need_space - || match *node.left { - Expr::Update(UpdateExpr { prefix: false, .. }) => true, - _ => false, - }; + let need_pre_space = if self.cfg.minify { + if is_kwd_op { + node.left.ends_with_alpha_num() + } else { + match *node.left { + Expr::Update(UpdateExpr { prefix: false, .. }) => true, + _ => false, + } + } + } else { + is_kwd_op + || match *node.left { + Expr::Update(UpdateExpr { prefix: false, .. }) => true, + _ => false, + } + }; if need_pre_space { space!(self); } else { @@ -762,11 +809,42 @@ impl<'a> Emitter<'a> { } operator!(self, node.op.as_str()); - let need_post_space = need_space - || match *node.right { - Expr::Unary(..) | Expr::Update(UpdateExpr { prefix: true, .. }) => true, - _ => false, - }; + let need_post_space = if self.cfg.minify { + if is_kwd_op { + node.right.starts_with_alpha_num() + } else { + match (node.op, &*node.right) { + ( + _, + Expr::Unary(UnaryExpr { + op: op!("typeof") | op!("void") | op!("delete"), + .. + }), + ) => false, + + (op!("||") | op!("&&"), Expr::Unary(UnaryExpr { op: op!("!"), .. })) => false, + + (op!("*") | op!("/"), Expr::Unary(..)) => false, + + ( + op!("||") | op!("&&"), + Expr::Unary(UnaryExpr { + op: op!(unary, "+") | op!(unary, "-") | op!("!"), + .. + }), + ) => false, + + (_, Expr::Update(UpdateExpr { prefix: true, .. }) | Expr::Unary(..)) => true, + _ => false, + } + } + } else { + is_kwd_op + || match *node.right { + Expr::Unary(..) | Expr::Update(UpdateExpr { prefix: true, .. }) => true, + _ => false, + } + }; if need_post_space { space!(self); } else { @@ -844,7 +922,17 @@ impl<'a> Emitter<'a> { if node.super_class.is_some() { space!(); keyword!("extends"); - space!(); + + { + let starts_with_alpha_num = + node.super_class.as_ref().unwrap().starts_with_alpha_num(); + + if starts_with_alpha_num { + space!(); + } else { + formatting_space!() + } + } emit!(node.super_class); } @@ -923,7 +1011,26 @@ impl<'a> Emitter<'a> { if n.is_static { keyword!("static"); - space!(); + + let starts_with_alpha_num = match n.kind { + MethodKind::Method => { + if n.function.is_async { + true + } else if n.function.is_generator { + false + } else { + n.key.starts_with_alpha_num() + } + } + MethodKind::Getter => true, + MethodKind::Setter => true, + }; + + if starts_with_alpha_num { + space!(); + } else { + formatting_space!(); + } } match n.kind { MethodKind::Method => { @@ -939,13 +1046,23 @@ impl<'a> Emitter<'a> { } MethodKind::Getter => { keyword!("get"); - space!(); + + if n.key.starts_with_alpha_num() { + space!(); + } else { + formatting_space!() + } emit!(n.key); } MethodKind::Setter => { keyword!("set"); - space!(); + + if n.key.starts_with_alpha_num() { + space!(); + } else { + formatting_space!() + } emit!(n.key); } @@ -1286,7 +1403,7 @@ impl<'a> Emitter<'a> { } if let Some(ref arg) = node.arg { - if arg.starts_with_alpha_num() { + if !node.delegate && arg.starts_with_alpha_num() { space!() } else { formatting_space!() @@ -1350,7 +1467,7 @@ impl<'a> Emitter<'a> { self.emit_list( node.span(), Some(&node.props), - ListFormat::ObjectLiteralExpressionProperties, + ListFormat::ObjectLiteralExpressionProperties | ListFormat::CanSkipTrailingComma, )?; if !self.cfg.minify { self.wr.write_line()?; @@ -1394,9 +1511,18 @@ impl<'a> Emitter<'a> { self.emit_leading_comments_of_span(node.span(), false)?; keyword!("get"); - space!(); + + let starts_with_alpha_num = match node.key { + PropName::Str(_) | PropName::Computed(_) => false, + _ => true, + }; + if starts_with_alpha_num { + space!(); + } else { + formatting_space!(); + } emit!(node.key); - space!(); + formatting_space!(); punct!("("); punct!(")"); formatting_space!(); @@ -1408,9 +1534,20 @@ impl<'a> Emitter<'a> { self.emit_leading_comments_of_span(node.span(), false)?; keyword!("set"); - space!(); + + let starts_with_alpha_num = match node.key { + PropName::Str(_) | PropName::Computed(_) => false, + _ => true, + }; + + if starts_with_alpha_num { + space!(); + } else { + formatting_space!(); + } + emit!(node.key); - space!(); + formatting_space!(); punct!("("); emit!(node.param); @@ -1663,8 +1800,10 @@ impl<'a> Emitter<'a> { }; if has_trailing_comma && format.contains(ListFormat::CommaDelimited) { - punct!(self, ","); - formatting_space!(self); + if !self.cfg.minify || !format.contains(ListFormat::CanSkipTrailingComma) { + punct!(self, ","); + formatting_space!(self); + } } { @@ -1843,7 +1982,11 @@ impl<'a> Emitter<'a> { }; punct!("{"); - self.emit_list(node.span(), Some(&node.props), format)?; + self.emit_list( + node.span(), + Some(&node.props), + format | ListFormat::CanSkipTrailingComma, + )?; punct!("}"); if node.optional { punct!("?"); @@ -1873,7 +2016,7 @@ impl<'a> Emitter<'a> { punct!(":"); formatting_space!(); emit!(node.value); - space!(); + formatting_space!(); } #[emitter] @@ -1885,7 +2028,7 @@ impl<'a> Emitter<'a> { if let Some(ref value) = node.value { punct!("="); emit!(node.value); - space!(); + formatting_space!(); } } @@ -2014,7 +2157,11 @@ impl<'a> Emitter<'a> { if need_paren { punct!("("); } else { - space!(); + if arg.starts_with_alpha_num() { + space!(); + } else { + formatting_space!(); + } } emit!(arg); @@ -2120,7 +2267,7 @@ impl<'a> Emitter<'a> { punct!(")"); } - space!(); + formatting_space!(); emit!(node.body); } @@ -2131,7 +2278,15 @@ impl<'a> Emitter<'a> { if let Some(ref test) = node.test { keyword!("case"); - space!(); + + let starts_with_alpha_num = test.starts_with_alpha_num(); + + if starts_with_alpha_num { + space!(); + } else { + formatting_space!(); + } + emit!(test); } else { keyword!("default"); @@ -2164,8 +2319,15 @@ impl<'a> Emitter<'a> { let throw_span = self.cm.span_until_char(node.span, ' '); keyword!(throw_span, "throw"); - space!(); - emit!(node.arg); + + { + if node.arg.starts_with_alpha_num() { + space!(); + } else { + formatting_space!(); + } + emit!(node.arg); + } formatting_semi!(); } @@ -2247,10 +2409,25 @@ impl<'a> Emitter<'a> { keyword!("for"); punct!("("); emit!(node.left); - space!(); + + if node.left.ends_with_alpha_num() { + space!(); + } else { + formatting_space!(); + } keyword!("in"); - space!(); - emit!(node.right); + + { + let starts_with_alpha_num = node.right.starts_with_alpha_num(); + + if starts_with_alpha_num { + space!(); + } else { + formatting_space!() + } + emit!(node.right); + } + punct!(")"); emit!(node.body); @@ -2268,10 +2445,23 @@ impl<'a> Emitter<'a> { formatting_space!(); punct!("("); emit!(node.left); - space!(); + if node.left.ends_with_alpha_num() { + space!(); + } else { + formatting_space!(); + } keyword!("of"); - space!(); - emit!(node.right); + + { + let starts_with_alpha_num = node.right.starts_with_alpha_num(); + + if starts_with_alpha_num { + space!(); + } else { + formatting_space!() + } + emit!(node.right); + } punct!(")"); emit!(node.body); } diff --git a/ecmascript/codegen/src/list.rs b/ecmascript/codegen/src/list.rs index b2ff4501ed8..4e4d357d28e 100644 --- a/ecmascript/codegen/src/list.rs +++ b/ecmascript/codegen/src/list.rs @@ -79,6 +79,10 @@ add_bitflags!( NoSpaceIfEmpty: 1 << 18, SingleElement: 1 << 19, }, + // Optimization. + Values { + CanSkipTrailingComma: 1 << 20 + }, /// Precomputed Formats Values { Modifiers: SingleLine | SpaceBetweenSiblings | NoInterveningComments, diff --git a/ecmascript/codegen/src/tests.rs b/ecmascript/codegen/src/tests.rs index 601d5fb2e79..97f1e377e2c 100644 --- a/ecmascript/codegen/src/tests.rs +++ b/ecmascript/codegen/src/tests.rs @@ -594,7 +594,7 @@ fn issue_1619_1() { assert_min_target( "\"\\x00\" + \"\\x31\"", "\"\\x00\"+\"\\x31\"", - EsVersion::Es3, + EsVersion::latest(), ); } diff --git a/ecmascript/codegen/src/text_writer.rs b/ecmascript/codegen/src/text_writer.rs index f0472fc56c8..e94d2260b03 100644 --- a/ecmascript/codegen/src/text_writer.rs +++ b/ecmascript/codegen/src/text_writer.rs @@ -20,9 +20,7 @@ pub trait WriteJs { /// /// Implementor **should return same value** regardless how much time it is /// called. - fn target(&self) -> JscTarget { - JscTarget::Es2020 - } + fn target(&self) -> JscTarget; fn increase_indent(&mut self) -> Result; fn decrease_indent(&mut self) -> Result; diff --git a/ecmascript/codegen/src/text_writer/semicolon.rs b/ecmascript/codegen/src/text_writer/semicolon.rs index b3968b27722..6feb6f8a304 100644 --- a/ecmascript/codegen/src/text_writer/semicolon.rs +++ b/ecmascript/codegen/src/text_writer/semicolon.rs @@ -55,9 +55,26 @@ impl WriteJs for OmitTrailingSemi { with_semi!(write_symbol(span: Span, s: &str)); fn write_punct(&mut self, span: Option, s: &'static str) -> Result { - self.pending_semi = false; + match s { + "\"" | "'" => { + self.commit_pending_semi()?; + } + + "{" | "(" => { + self.commit_pending_semi()?; + } + + _ => { + self.pending_semi = false; + } + } + Ok(self.inner.write_punct(span, s)?) } + + fn target(&self) -> swc_ecma_ast::EsVersion { + self.inner.target() + } } impl OmitTrailingSemi { diff --git a/ecmascript/codegen/src/util.rs b/ecmascript/codegen/src/util.rs index 61829bf5a24..c33097c0bee 100644 --- a/ecmascript/codegen/src/util.rs +++ b/ecmascript/codegen/src/util.rs @@ -151,11 +151,70 @@ impl SourceMapperExt for Rc { } } +pub trait EndsWithAlphaNum { + fn ends_with_alpha_num(&self) -> bool; +} + +impl EndsWithAlphaNum for VarDeclOrPat { + fn ends_with_alpha_num(&self) -> bool { + match self { + VarDeclOrPat::VarDecl(n) => n.ends_with_alpha_num(), + VarDeclOrPat::Pat(n) => n.ends_with_alpha_num(), + } + } +} + +impl EndsWithAlphaNum for Pat { + fn ends_with_alpha_num(&self) -> bool { + match self { + Pat::Object(_) | Pat::Array(_) => false, + Pat::Rest(p) => p.arg.ends_with_alpha_num(), + Pat::Assign(p) => p.right.ends_with_alpha_num(), + Pat::Expr(p) => p.ends_with_alpha_num(), + _ => true, + } + } +} + +impl EndsWithAlphaNum for VarDecl { + fn ends_with_alpha_num(&self) -> bool { + match self.decls.last() { + None => true, + Some(d) => match d.init.as_deref() { + Some(e) => e.ends_with_alpha_num(), + None => d.name.ends_with_alpha_num(), + }, + } + } +} + +impl EndsWithAlphaNum for Expr { + fn ends_with_alpha_num(&self) -> bool { + match self { + Expr::Array(..) + | Expr::Object(..) + | Expr::Lit(Lit::Str(..)) + | Expr::Paren(..) + | Expr::Member(MemberExpr { computed: true, .. }) => false, + _ => true, + } + } +} + /// Leftmost recursion pub trait StartsWithAlphaNum { fn starts_with_alpha_num(&self) -> bool; } +impl StartsWithAlphaNum for PropName { + fn starts_with_alpha_num(&self) -> bool { + match self { + PropName::Str(_) | PropName::Computed(_) => false, + PropName::Ident(_) | PropName::Num(_) | PropName::BigInt(_) => true, + } + } +} + impl StartsWithAlphaNum for Expr { fn starts_with_alpha_num(&self) -> bool { match *self { diff --git a/ecmascript/codegen/tests/fixture.rs b/ecmascript/codegen/tests/fixture.rs index 826cd63162e..9a4b55a6542 100644 --- a/ecmascript/codegen/tests/fixture.rs +++ b/ecmascript/codegen/tests/fixture.rs @@ -1,18 +1,26 @@ -use std::path::PathBuf; - +use std::path::{Path, PathBuf}; use swc_common::input::SourceFileInput; use swc_ecma_ast::EsVersion; -use swc_ecma_codegen::{text_writer::JsWriter, Emitter}; +use swc_ecma_codegen::{ + text_writer::{JsWriter, WriteJs}, + Emitter, +}; use swc_ecma_parser::{lexer::Lexer, Parser, Syntax}; use testing::{run_test2, NormalizedOutput}; -#[testing::fixture("tests/fixture/**/input.ts")] -fn test_fixture(input: PathBuf) { +fn run(input: &Path, minify: bool) { let dir = input.parent().unwrap(); - let output = dir.join(format!( - "output.{}", - input.extension().unwrap().to_string_lossy() - )); + let output = if minify { + dir.join(format!( + "output.min.{}", + input.extension().unwrap().to_string_lossy() + )) + } else { + dir.join(format!( + "output.{}", + input.extension().unwrap().to_string_lossy() + )) + }; run_test2(false, |cm, _| { let fm = cm.load_file(&input).unwrap(); @@ -31,11 +39,18 @@ fn test_fixture(input: PathBuf) { let mut buf = vec![]; { + let mut wr = + Box::new(JsWriter::new(cm.clone(), "\n", &mut buf, None)) as Box; + + if minify { + wr = Box::new(swc_ecma_codegen::text_writer::omit_trailing_semi(wr)); + } + let mut emitter = Emitter { - cfg: swc_ecma_codegen::Config { minify: false }, + cfg: swc_ecma_codegen::Config { minify }, cm: cm.clone(), comments: None, - wr: Box::new(JsWriter::new(cm.clone(), "\n", &mut buf, None)), + wr, }; emitter.emit_module(&m).unwrap(); @@ -49,3 +64,14 @@ fn test_fixture(input: PathBuf) { }) .unwrap(); } + +#[testing::fixture("tests/fixture/**/input.ts")] +fn ts(input: PathBuf) { + run(&input, false); +} + +#[testing::fixture("tests/fixture/**/input.js")] +fn js(input: PathBuf) { + run(&input, false); + run(&input, true); +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-array/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-array/input.js new file mode 100644 index 00000000000..bd2fa7e2ca3 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-array/input.js @@ -0,0 +1,6 @@ +import other from 'other' +const [foo] = other +export var __N_SSG = true +export default function Home() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-array/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-array/output.js new file mode 100644 index 00000000000..fd7791460af --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-array/output.js @@ -0,0 +1,6 @@ +import other from 'other'; +const [foo] = other; +export var __N_SSG = true; +export default function Home() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-array/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-array/output.min.js new file mode 100644 index 00000000000..9c2b43d2adf --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-array/output.min.js @@ -0,0 +1 @@ +import other from'other';const[foo]=other;export var __N_SSG=true;export default function Home(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-object/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-object/input.js new file mode 100644 index 00000000000..d9d0086bae9 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-object/input.js @@ -0,0 +1,6 @@ +import other from 'other' +const { a, cat: bar } = other +export var __N_SSG = true +export default function Home() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-object/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-object/output.js new file mode 100644 index 00000000000..1f908539cb6 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-object/output.js @@ -0,0 +1,6 @@ +import other from 'other'; +const { a , cat: bar } = other; +export var __N_SSG = true; +export default function Home() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-object/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-object/output.min.js new file mode 100644 index 00000000000..d454b6ec8a9 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/destructuring-assignment-object/output.min.js @@ -0,0 +1 @@ +import other from'other';const{a,cat:bar}=other;export var __N_SSG=true;export default function Home(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-crash-for-class-declarations/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-crash-for-class-declarations/input.js new file mode 100644 index 00000000000..3a6bd07759a --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-crash-for-class-declarations/input.js @@ -0,0 +1,5 @@ +export var __N_SSG = true +export class MyClass {} +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-crash-for-class-declarations/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-crash-for-class-declarations/output.js new file mode 100644 index 00000000000..265f29b76ce --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-crash-for-class-declarations/output.js @@ -0,0 +1,6 @@ +export var __N_SSG = true; +export class MyClass { +} +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-crash-for-class-declarations/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-crash-for-class-declarations/output.min.js new file mode 100644 index 00000000000..6896fea5bfa --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-crash-for-class-declarations/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export class MyClass{}export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-mix-up-bindings/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-mix-up-bindings/input.js new file mode 100644 index 00000000000..a5115b8a6ab --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-mix-up-bindings/input.js @@ -0,0 +1,11 @@ +function Function1() { + return { + a: function bug(a) { + return 2 + }, + } +} +function Function2() { + var bug = 1 + return { bug } +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-mix-up-bindings/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-mix-up-bindings/output.js new file mode 100644 index 00000000000..2b748e7fe95 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-mix-up-bindings/output.js @@ -0,0 +1,13 @@ +function Function1() { + return { + a: function bug(a) { + return 2; + } + }; +} +function Function2() { + var bug = 1; + return { + bug + }; +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-mix-up-bindings/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-mix-up-bindings/output.min.js new file mode 100644 index 00000000000..291f42a1f12 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-mix-up-bindings/output.min.js @@ -0,0 +1 @@ +function Function1(){return{a:function bug(a){return 2}}}function Function2(){var bug=1;return{bug}} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-function-declarations/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-function-declarations/input.js new file mode 100644 index 00000000000..75349dd2964 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-function-declarations/input.js @@ -0,0 +1,5 @@ +export var __N_SSG = true +export function Noop() {} +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-function-declarations/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-function-declarations/output.js new file mode 100644 index 00000000000..2c91fa8bdfd --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-function-declarations/output.js @@ -0,0 +1,6 @@ +export var __N_SSG = true; +export function Noop() { +} +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-function-declarations/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-function-declarations/output.min.js new file mode 100644 index 00000000000..5c6efe83fda --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-function-declarations/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export function Noop(){}export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-variable-declarations/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-variable-declarations/input.js new file mode 100644 index 00000000000..582269c79a1 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-variable-declarations/input.js @@ -0,0 +1,5 @@ +export var __N_SSG = true +export const foo = 2 +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-variable-declarations/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-variable-declarations/output.js new file mode 100644 index 00000000000..3c0db25f400 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-variable-declarations/output.js @@ -0,0 +1,5 @@ +export var __N_SSG = true; +export const foo = 2; +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-variable-declarations/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-variable-declarations/output.min.js new file mode 100644 index 00000000000..f58841da34a --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-not-remove-extra-named-export-variable-declarations/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export const foo=2;export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-combined-named-export-specifiers/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-combined-named-export-specifiers/input.js new file mode 100644 index 00000000000..495a40db45d --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-combined-named-export-specifiers/input.js @@ -0,0 +1,4 @@ +export var __N_SSG = true +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-combined-named-export-specifiers/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-combined-named-export-specifiers/output.js new file mode 100644 index 00000000000..36f999f61b4 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-combined-named-export-specifiers/output.js @@ -0,0 +1,4 @@ +export var __N_SSG = true; +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-combined-named-export-specifiers/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-combined-named-export-specifiers/output.min.js new file mode 100644 index 00000000000..6e3c5da4fc7 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-combined-named-export-specifiers/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-extra-named-export-speicifers/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-extra-named-export-speicifers/input.js new file mode 100644 index 00000000000..442a2f2ff0d --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-extra-named-export-speicifers/input.js @@ -0,0 +1,5 @@ +export var __N_SSG = true +export { foo, bar as baz } from '.' +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-extra-named-export-speicifers/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-extra-named-export-speicifers/output.js new file mode 100644 index 00000000000..2606e69ee3d --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-extra-named-export-speicifers/output.js @@ -0,0 +1,5 @@ +export var __N_SSG = true; +export { foo, bar as baz } from '.'; +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-extra-named-export-speicifers/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-extra-named-export-speicifers/output.min.js new file mode 100644 index 00000000000..c50ffdfd0c3 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-extra-named-export-speicifers/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export{foo,bar as baz}from'.';export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations-async/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations-async/input.js new file mode 100644 index 00000000000..495a40db45d --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations-async/input.js @@ -0,0 +1,4 @@ +export var __N_SSG = true +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations-async/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations-async/output.js new file mode 100644 index 00000000000..36f999f61b4 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations-async/output.js @@ -0,0 +1,4 @@ +export var __N_SSG = true; +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations-async/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations-async/output.min.js new file mode 100644 index 00000000000..6e3c5da4fc7 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations-async/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations/input.js new file mode 100644 index 00000000000..495a40db45d --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations/input.js @@ -0,0 +1,4 @@ +export var __N_SSG = true +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations/output.js new file mode 100644 index 00000000000..36f999f61b4 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations/output.js @@ -0,0 +1,4 @@ +export var __N_SSG = true; +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations/output.min.js new file mode 100644 index 00000000000..6e3c5da4fc7 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-function-declarations/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations-async/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations-async/input.js new file mode 100644 index 00000000000..495a40db45d --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations-async/input.js @@ -0,0 +1,4 @@ +export var __N_SSG = true +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations-async/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations-async/output.js new file mode 100644 index 00000000000..36f999f61b4 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations-async/output.js @@ -0,0 +1,4 @@ +export var __N_SSG = true; +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations-async/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations-async/output.min.js new file mode 100644 index 00000000000..6e3c5da4fc7 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations-async/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations/input.js new file mode 100644 index 00000000000..495a40db45d --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations/input.js @@ -0,0 +1,4 @@ +export var __N_SSG = true +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations/output.js new file mode 100644 index 00000000000..36f999f61b4 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations/output.js @@ -0,0 +1,4 @@ +export var __N_SSG = true; +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations/output.min.js new file mode 100644 index 00000000000..6e3c5da4fc7 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-named-export-variable-declarations/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations-dependents-variables-functions-imports/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations-dependents-variables-functions-imports/input.js new file mode 100644 index 00000000000..6a9308b537b --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations-dependents-variables-functions-imports/input.js @@ -0,0 +1,10 @@ +import keep_me from 'hello' +import { keep_me2 } from 'hello2' +import * as keep_me3 from 'hello3' +import { but_not_me } from 'bar' +var leave_me_alone = 1 +function dont_bug_me_either() {} +export var __N_SSG = true +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations-dependents-variables-functions-imports/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations-dependents-variables-functions-imports/output.js new file mode 100644 index 00000000000..7d84af1e926 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations-dependents-variables-functions-imports/output.js @@ -0,0 +1,11 @@ +import keep_me from 'hello'; +import { keep_me2 } from 'hello2'; +import * as keep_me3 from 'hello3'; +import { but_not_me } from 'bar'; +var leave_me_alone = 1; +function dont_bug_me_either() { +} +export var __N_SSG = true; +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations-dependents-variables-functions-imports/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations-dependents-variables-functions-imports/output.min.js new file mode 100644 index 00000000000..6876bf71290 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations-dependents-variables-functions-imports/output.min.js @@ -0,0 +1 @@ +import keep_me from'hello';import{keep_me2}from'hello2';import*as keep_me3 from'hello3';import{but_not_me}from'bar';var leave_me_alone=1;function dont_bug_me_either(){}export var __N_SSG=true;export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations/input.js new file mode 100644 index 00000000000..495a40db45d --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations/input.js @@ -0,0 +1,4 @@ +export var __N_SSG = true +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations/output.js new file mode 100644 index 00000000000..36f999f61b4 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations/output.js @@ -0,0 +1,4 @@ +export var __N_SSG = true; +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations/output.min.js new file mode 100644 index 00000000000..6e3c5da4fc7 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-function-declarations/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations-safe/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations-safe/input.js new file mode 100644 index 00000000000..007e0fd05c4 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations-safe/input.js @@ -0,0 +1,5 @@ +const a = 2 +export var __N_SSG = true +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations-safe/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations-safe/output.js new file mode 100644 index 00000000000..4cc3c6971d4 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations-safe/output.js @@ -0,0 +1,5 @@ +const a = 2; +export var __N_SSG = true; +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations-safe/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations-safe/output.min.js new file mode 100644 index 00000000000..b6fb746ebf7 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations-safe/output.min.js @@ -0,0 +1 @@ +const a=2;export var __N_SSG=true;export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations/input.js new file mode 100644 index 00000000000..495a40db45d --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations/input.js @@ -0,0 +1,4 @@ +export var __N_SSG = true +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations/output.js new file mode 100644 index 00000000000..36f999f61b4 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations/output.js @@ -0,0 +1,4 @@ +export var __N_SSG = true; +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations/output.min.js new file mode 100644 index 00000000000..6e3c5da4fc7 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-re-exported-variable-declarations/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-separate-named-export-specifiers/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-separate-named-export-specifiers/input.js new file mode 100644 index 00000000000..495a40db45d --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-separate-named-export-specifiers/input.js @@ -0,0 +1,4 @@ +export var __N_SSG = true +export default function Test() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-separate-named-export-specifiers/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-separate-named-export-specifiers/output.js new file mode 100644 index 00000000000..36f999f61b4 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-separate-named-export-specifiers/output.js @@ -0,0 +1,4 @@ +export var __N_SSG = true; +export default function Test() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-separate-named-export-specifiers/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-separate-named-export-specifiers/output.min.js new file mode 100644 index 00000000000..6e3c5da4fc7 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-remove-separate-named-export-specifiers/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export default function Test(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-babel-style-memoized-function/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-babel-style-memoized-function/input.js new file mode 100644 index 00000000000..2f0d20d71d7 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-babel-style-memoized-function/input.js @@ -0,0 +1,4 @@ +export var __N_SSG = true +export default function Home() { + return __jsx('div', null) +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-babel-style-memoized-function/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-babel-style-memoized-function/output.js new file mode 100644 index 00000000000..9c9453213f1 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-babel-style-memoized-function/output.js @@ -0,0 +1,4 @@ +export var __N_SSG = true; +export default function Home() { + return __jsx('div', null); +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-babel-style-memoized-function/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-babel-style-memoized-function/output.min.js new file mode 100644 index 00000000000..eb23536992e --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-babel-style-memoized-function/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export default function Home(){return __jsx('div',null)} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports-2/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports-2/input.js new file mode 100644 index 00000000000..ff86dad98b1 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports-2/input.js @@ -0,0 +1,7 @@ +class Test extends React.Component { + render() { + return __jsx('div', null) + } +} +export var __N_SSG = true +export default Test diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports-2/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports-2/output.js new file mode 100644 index 00000000000..de2e5ec70ce --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports-2/output.js @@ -0,0 +1,7 @@ +class Test extends React.Component { + render() { + return __jsx('div', null); + } +} +export var __N_SSG = true; +export default Test; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports-2/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports-2/output.min.js new file mode 100644 index 00000000000..ae85f32acc1 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports-2/output.min.js @@ -0,0 +1 @@ +class Test extends React.Component{render(){return __jsx('div',null)}}export var __N_SSG=true;export default Test diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports/input.js new file mode 100644 index 00000000000..c3cf72d42bf --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports/input.js @@ -0,0 +1,6 @@ +export var __N_SSG = true +export default class Test extends React.Component { + render() { + return __jsx('div', null) + } +} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports/output.js new file mode 100644 index 00000000000..093a9afbffc --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports/output.js @@ -0,0 +1,6 @@ +export var __N_SSG = true; +export default class Test extends React.Component { + render() { + return __jsx('div', null); + } +}; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports/output.min.js new file mode 100644 index 00000000000..929385dc6a4 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-class-exports/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export default class Test extends React.Component{render(){return __jsx('div',null)}} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-a-class/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-a-class/input.js new file mode 100644 index 00000000000..9bae7762b35 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-a-class/input.js @@ -0,0 +1,8 @@ +class El extends React.Component { + render() { + return __jsx('div', null) + } +} +const a = 5 +export var __N_SSG = true +export { El as default, a } diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-a-class/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-a-class/output.js new file mode 100644 index 00000000000..8ea87664722 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-a-class/output.js @@ -0,0 +1,8 @@ +class El extends React.Component { + render() { + return __jsx('div', null); + } +} +const a = 5; +export var __N_SSG = true; +export { El as default, a }; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-a-class/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-a-class/output.min.js new file mode 100644 index 00000000000..ae7eecc42b8 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-a-class/output.min.js @@ -0,0 +1 @@ +class El extends React.Component{render(){return __jsx('div',null)}}const a=5;export var __N_SSG=true;export{El as default,a} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-other-specifiers/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-other-specifiers/input.js new file mode 100644 index 00000000000..97da95c0384 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-other-specifiers/input.js @@ -0,0 +1,6 @@ +function El() { + return __jsx('div', null) +} +const a = 5 +export var __N_SSG = true +export { El as default, a } diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-other-specifiers/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-other-specifiers/output.js new file mode 100644 index 00000000000..ec6da14747c --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-other-specifiers/output.js @@ -0,0 +1,6 @@ +function El() { + return __jsx('div', null); +} +const a = 5; +export var __N_SSG = true; +export { El as default, a }; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-other-specifiers/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-other-specifiers/output.min.js new file mode 100644 index 00000000000..1333583840d --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-export-named-as-default-with-other-specifiers/output.min.js @@ -0,0 +1 @@ +function El(){return __jsx('div',null)}const a=5;export var __N_SSG=true;export{El as default,a} diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-full-re-export/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-full-re-export/input.js new file mode 100644 index 00000000000..c1a9ba77d36 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-full-re-export/input.js @@ -0,0 +1,2 @@ +export var __N_SSG = true +export { default } from 'a' diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-full-re-export/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-full-re-export/output.js new file mode 100644 index 00000000000..45fafe12ed5 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-full-re-export/output.js @@ -0,0 +1,2 @@ +export var __N_SSG = true; +export { default } from 'a'; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-full-re-export/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-full-re-export/output.min.js new file mode 100644 index 00000000000..a187cc82fef --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-full-re-export/output.min.js @@ -0,0 +1 @@ +export var __N_SSG=true;export{default}from'a' diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-named-export-as-default/input.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-named-export-as-default/input.js new file mode 100644 index 00000000000..0e5f256d739 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-named-export-as-default/input.js @@ -0,0 +1,5 @@ +function El() { + return __jsx('div', null) +} +export var __N_SSG = true +export { El as default } diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-named-export-as-default/output.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-named-export-as-default/output.js new file mode 100644 index 00000000000..f1a26781de4 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-named-export-as-default/output.js @@ -0,0 +1,5 @@ +function El() { + return __jsx('div', null); +} +export var __N_SSG = true; +export { El as default }; diff --git a/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-named-export-as-default/output.min.js b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-named-export-as-default/output.min.js new file mode 100644 index 00000000000..f3eeaebc351 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/next/ssg/getStaticProps/should-support-named-export-as-default/output.min.js @@ -0,0 +1 @@ +function El(){return __jsx('div',null)}export var __N_SSG=true;export{El as default} diff --git a/ecmascript/codegen/tests/fixture/semi/pending/001/input.js b/ecmascript/codegen/tests/fixture/semi/pending/001/input.js new file mode 100644 index 00000000000..65daee4ec42 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/semi/pending/001/input.js @@ -0,0 +1,4 @@ +foo +if (foo) { + +} \ No newline at end of file diff --git a/ecmascript/codegen/tests/fixture/semi/pending/001/output.js b/ecmascript/codegen/tests/fixture/semi/pending/001/output.js new file mode 100644 index 00000000000..76e99966f8a --- /dev/null +++ b/ecmascript/codegen/tests/fixture/semi/pending/001/output.js @@ -0,0 +1,3 @@ +foo; +if (foo) { +} diff --git a/ecmascript/codegen/tests/fixture/semi/pending/001/output.min.js b/ecmascript/codegen/tests/fixture/semi/pending/001/output.min.js new file mode 100644 index 00000000000..f5d40967a37 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/semi/pending/001/output.min.js @@ -0,0 +1 @@ +foo;if(foo){} diff --git a/ecmascript/codegen/tests/fixture/semi/pending/002/input.js b/ecmascript/codegen/tests/fixture/semi/pending/002/input.js new file mode 100644 index 00000000000..b2a026d92f9 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/semi/pending/002/input.js @@ -0,0 +1,2 @@ +foo +"s" \ No newline at end of file diff --git a/ecmascript/codegen/tests/fixture/semi/pending/002/output.js b/ecmascript/codegen/tests/fixture/semi/pending/002/output.js new file mode 100644 index 00000000000..3c7bc795769 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/semi/pending/002/output.js @@ -0,0 +1,2 @@ +foo; +"s"; diff --git a/ecmascript/codegen/tests/fixture/semi/pending/002/output.min.js b/ecmascript/codegen/tests/fixture/semi/pending/002/output.min.js new file mode 100644 index 00000000000..0dc6ad536cb --- /dev/null +++ b/ecmascript/codegen/tests/fixture/semi/pending/002/output.min.js @@ -0,0 +1 @@ +foo;"s" diff --git a/ecmascript/codegen/tests/fixture/semi/pending/003/input.js b/ecmascript/codegen/tests/fixture/semi/pending/003/input.js new file mode 100644 index 00000000000..a907ec3f431 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/semi/pending/003/input.js @@ -0,0 +1,2 @@ +foo +bar \ No newline at end of file diff --git a/ecmascript/codegen/tests/fixture/semi/pending/003/output.js b/ecmascript/codegen/tests/fixture/semi/pending/003/output.js new file mode 100644 index 00000000000..3883bd35313 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/semi/pending/003/output.js @@ -0,0 +1,2 @@ +foo; +bar; diff --git a/ecmascript/codegen/tests/fixture/semi/pending/003/output.min.js b/ecmascript/codegen/tests/fixture/semi/pending/003/output.min.js new file mode 100644 index 00000000000..4cc0db539b2 --- /dev/null +++ b/ecmascript/codegen/tests/fixture/semi/pending/003/output.min.js @@ -0,0 +1 @@ +foo;bar diff --git a/ecmascript/codegen/tests/fixture/stc/0001/output.min.ts b/ecmascript/codegen/tests/fixture/stc/0001/output.min.ts new file mode 100644 index 00000000000..423e524dceb --- /dev/null +++ b/ecmascript/codegen/tests/fixture/stc/0001/output.min.ts @@ -0,0 +1,12 @@ +interface I { + (strs: TemplateStringsArray, ...subs: number[]) : I; + member: { + new(s: string): { + new(n: number): { + new(): boolean; + }; + }; + }; +} +var f: I; +var x = new new new f`abc${0}def`.member("hello")(42) === true; diff --git a/ecmascript/codegen/tests/test262-min/005dc7dff71d4b97.js b/ecmascript/codegen/tests/test262-min/005dc7dff71d4b97.js new file mode 100644 index 00000000000..7660873d103 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/005dc7dff71d4b97.js @@ -0,0 +1 @@ +[1] diff --git a/ecmascript/codegen/tests/test262-min/006949a4f1471866.js b/ecmascript/codegen/tests/test262-min/006949a4f1471866.js new file mode 100644 index 00000000000..eced618c8ae --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/006949a4f1471866.js @@ -0,0 +1 @@ +if(a){} diff --git a/ecmascript/codegen/tests/test262-min/00b851b06af02cc0.js b/ecmascript/codegen/tests/test262-min/00b851b06af02cc0.js new file mode 100644 index 00000000000..ca734e36c0b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/00b851b06af02cc0.js @@ -0,0 +1 @@ +a.b('c').d('e',function(f){return f}).g('h',function(i){return i}) diff --git a/ecmascript/codegen/tests/test262-min/00bd68a9d0203f10.js b/ecmascript/codegen/tests/test262-min/00bd68a9d0203f10.js new file mode 100644 index 00000000000..3437b1ccda4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/00bd68a9d0203f10.js @@ -0,0 +1 @@ +if(a){b();c();d()}else{e();f();g()} diff --git a/ecmascript/codegen/tests/test262-min/00c79d09c52df3ec.js b/ecmascript/codegen/tests/test262-min/00c79d09c52df3ec.js new file mode 100644 index 00000000000..c42408faccd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/00c79d09c52df3ec.js @@ -0,0 +1 @@ +for([a,b[a],{c,d=e,[f]:[g,h().a,(1).i,...j[2]]}]in 3); diff --git a/ecmascript/codegen/tests/test262-min/0140c25a4177e5f7.module.js b/ecmascript/codegen/tests/test262-min/0140c25a4177e5f7.module.js new file mode 100644 index 00000000000..e5bb99b888b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0140c25a4177e5f7.module.js @@ -0,0 +1 @@ +export default(1+2) diff --git a/ecmascript/codegen/tests/test262-min/01533b37d1d9ede8.js b/ecmascript/codegen/tests/test262-min/01533b37d1d9ede8.js new file mode 100644 index 00000000000..c893212a1c8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/01533b37d1d9ede8.js @@ -0,0 +1 @@ +1-2 diff --git a/ecmascript/codegen/tests/test262-min/017a45a1919f4006.js b/ecmascript/codegen/tests/test262-min/017a45a1919f4006.js new file mode 100644 index 00000000000..c4e023d31ed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/017a45a1919f4006.js @@ -0,0 +1 @@ +a:while(true){continue a} diff --git a/ecmascript/codegen/tests/test262-min/01f27ee3c1bb68e5.js b/ecmascript/codegen/tests/test262-min/01f27ee3c1bb68e5.js new file mode 100644 index 00000000000..a48b89e8397 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/01f27ee3c1bb68e5.js @@ -0,0 +1 @@ +a>>=1 diff --git a/ecmascript/codegen/tests/test262-min/01fd8e8a0a42307b.js b/ecmascript/codegen/tests/test262-min/01fd8e8a0a42307b.js new file mode 100644 index 00000000000..ad154940637 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/01fd8e8a0a42307b.js @@ -0,0 +1 @@ +(function*(){yield*a}) diff --git a/ecmascript/codegen/tests/test262-min/02028e3b961bfee0.js b/ecmascript/codegen/tests/test262-min/02028e3b961bfee0.js new file mode 100644 index 00000000000..dac5d9be7c4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/02028e3b961bfee0.js @@ -0,0 +1 @@ +({get:1}) diff --git a/ecmascript/codegen/tests/test262-min/0228be549a7706e7.js b/ecmascript/codegen/tests/test262-min/0228be549a7706e7.js new file mode 100644 index 00000000000..b67448eae6e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0228be549a7706e7.js @@ -0,0 +1 @@ +(class{prototype(){}}) diff --git a/ecmascript/codegen/tests/test262-min/023e4178e1ad1a82.module.js b/ecmascript/codegen/tests/test262-min/023e4178e1ad1a82.module.js new file mode 100644 index 00000000000..82f9ec879bd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/023e4178e1ad1a82.module.js @@ -0,0 +1 @@ +import*as a from"a" diff --git a/ecmascript/codegen/tests/test262-min/024f7b95336f7fad.js b/ecmascript/codegen/tests/test262-min/024f7b95336f7fad.js new file mode 100644 index 00000000000..bb845e72a4e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/024f7b95336f7fad.js @@ -0,0 +1 @@ +a=(b,c) diff --git a/ecmascript/codegen/tests/test262-min/0262c247b28885e2.js b/ecmascript/codegen/tests/test262-min/0262c247b28885e2.js new file mode 100644 index 00000000000..ea8fa8b2446 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0262c247b28885e2.js @@ -0,0 +1 @@ +({if:1}) diff --git a/ecmascript/codegen/tests/test262-min/0266b93cf3014995.js b/ecmascript/codegen/tests/test262-min/0266b93cf3014995.js new file mode 100644 index 00000000000..60fc874768f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0266b93cf3014995.js @@ -0,0 +1 @@ +!a diff --git a/ecmascript/codegen/tests/test262-min/027abe815032df72.js b/ecmascript/codegen/tests/test262-min/027abe815032df72.js new file mode 100644 index 00000000000..4af666d4bd8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/027abe815032df72.js @@ -0,0 +1 @@ +/p/ diff --git a/ecmascript/codegen/tests/test262-min/028846a58c67687f.js b/ecmascript/codegen/tests/test262-min/028846a58c67687f.js new file mode 100644 index 00000000000..442a0f3ae5e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/028846a58c67687f.js @@ -0,0 +1 @@ +{;}a();{};{{};};b();{} diff --git a/ecmascript/codegen/tests/test262-min/02b924339f85fe00.js b/ecmascript/codegen/tests/test262-min/02b924339f85fe00.js new file mode 100644 index 00000000000..f0f03f62cc3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/02b924339f85fe00.js @@ -0,0 +1 @@ +for(var{a,b}in c); diff --git a/ecmascript/codegen/tests/test262-min/02cf1a37af2403fe.js b/ecmascript/codegen/tests/test262-min/02cf1a37af2403fe.js new file mode 100644 index 00000000000..eef36037393 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/02cf1a37af2403fe.js @@ -0,0 +1 @@ +a:for(;;)break a diff --git a/ecmascript/codegen/tests/test262-min/02dad3c9ec38d3c7.js b/ecmascript/codegen/tests/test262-min/02dad3c9ec38d3c7.js new file mode 100644 index 00000000000..ba7ad73a40a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/02dad3c9ec38d3c7.js @@ -0,0 +1 @@ +({a:b=c=1}=2) diff --git a/ecmascript/codegen/tests/test262-min/034ded949b5c2fa3.js b/ecmascript/codegen/tests/test262-min/034ded949b5c2fa3.js new file mode 100644 index 00000000000..d048e6e2a10 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/034ded949b5c2fa3.js @@ -0,0 +1 @@ +function*a(){yield++a} diff --git a/ecmascript/codegen/tests/test262-min/03608b6e222ae700.js b/ecmascript/codegen/tests/test262-min/03608b6e222ae700.js new file mode 100644 index 00000000000..60f10240e00 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/03608b6e222ae700.js @@ -0,0 +1 @@ +a&&(()=>{}) diff --git a/ecmascript/codegen/tests/test262-min/0371eb8b8c28569d.js b/ecmascript/codegen/tests/test262-min/0371eb8b8c28569d.js new file mode 100644 index 00000000000..24e3ccda7aa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0371eb8b8c28569d.js @@ -0,0 +1 @@ +`$$$` diff --git a/ecmascript/codegen/tests/test262-min/037ecd1db38c230c.module.js b/ecmascript/codegen/tests/test262-min/037ecd1db38c230c.module.js new file mode 100644 index 00000000000..db9c67ecf8d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/037ecd1db38c230c.module.js @@ -0,0 +1 @@ +export const a=1 diff --git a/ecmascript/codegen/tests/test262-min/03d1cf071a76d061.js b/ecmascript/codegen/tests/test262-min/03d1cf071a76d061.js new file mode 100644 index 00000000000..b576dbfeea1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/03d1cf071a76d061.js @@ -0,0 +1 @@ +[...a[1]]=2 diff --git a/ecmascript/codegen/tests/test262-min/040001f3b0eb3bde.js b/ecmascript/codegen/tests/test262-min/040001f3b0eb3bde.js new file mode 100644 index 00000000000..ca34a20827b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/040001f3b0eb3bde.js @@ -0,0 +1 @@ +function eval(){function a(){"use strict"}} diff --git a/ecmascript/codegen/tests/test262-min/0453974dd98e662d.js b/ecmascript/codegen/tests/test262-min/0453974dd98e662d.js new file mode 100644 index 00000000000..bc60c81ac51 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0453974dd98e662d.js @@ -0,0 +1 @@ +a={get:1} diff --git a/ecmascript/codegen/tests/test262-min/0458e0c30e8e6fb0.module.js b/ecmascript/codegen/tests/test262-min/0458e0c30e8e6fb0.module.js new file mode 100644 index 00000000000..9defcf92b70 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0458e0c30e8e6fb0.module.js @@ -0,0 +1 @@ +import a,*as b from"foo" diff --git a/ecmascript/codegen/tests/test262-min/0466764f0fb9af62.js b/ecmascript/codegen/tests/test262-min/0466764f0fb9af62.js new file mode 100644 index 00000000000..28cb3c395c0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0466764f0fb9af62.js @@ -0,0 +1 @@ +function*a(){yield} diff --git a/ecmascript/codegen/tests/test262-min/046a0bb70d03d0cc.js b/ecmascript/codegen/tests/test262-min/046a0bb70d03d0cc.js new file mode 100644 index 00000000000..32e68a06b75 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/046a0bb70d03d0cc.js @@ -0,0 +1 @@ +T‌ diff --git a/ecmascript/codegen/tests/test262-min/046b1012ef9b0e26.js b/ecmascript/codegen/tests/test262-min/046b1012ef9b0e26.js new file mode 100644 index 00000000000..23963f40b7e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/046b1012ef9b0e26.js @@ -0,0 +1 @@ +/[a-c]/i diff --git a/ecmascript/codegen/tests/test262-min/04b26d042948d474.js b/ecmascript/codegen/tests/test262-min/04b26d042948d474.js new file mode 100644 index 00000000000..6ed50b58b58 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/04b26d042948d474.js @@ -0,0 +1 @@ +(function(){a(),1,2}()) diff --git a/ecmascript/codegen/tests/test262-min/04df09188055748a.js b/ecmascript/codegen/tests/test262-min/04df09188055748a.js new file mode 100644 index 00000000000..4dd859e1fbb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/04df09188055748a.js @@ -0,0 +1 @@ +if(a){b()}else if(c){d()}else if(e){f()}if(a){b()}else if(c){d()}else if(e){f()}else{g()} diff --git a/ecmascript/codegen/tests/test262-min/0507b18e39d58a9f.js b/ecmascript/codegen/tests/test262-min/0507b18e39d58a9f.js new file mode 100644 index 00000000000..9ed57e36434 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0507b18e39d58a9f.js @@ -0,0 +1 @@ +var a=class b extends 1{} diff --git a/ecmascript/codegen/tests/test262-min/05089e6cc717523e.js b/ecmascript/codegen/tests/test262-min/05089e6cc717523e.js new file mode 100644 index 00000000000..925a74699d4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/05089e6cc717523e.js @@ -0,0 +1 @@ +(function(){}(1,2,3)) diff --git a/ecmascript/codegen/tests/test262-min/051696d4c46ad99b.js b/ecmascript/codegen/tests/test262-min/051696d4c46ad99b.js new file mode 100644 index 00000000000..c6f300293fc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/051696d4c46ad99b.js @@ -0,0 +1 @@ +a:while(true){break a} diff --git a/ecmascript/codegen/tests/test262-min/053480e541f54faf.js b/ecmascript/codegen/tests/test262-min/053480e541f54faf.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/053480e541f54faf.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/053c0475e49bd36b.js b/ecmascript/codegen/tests/test262-min/053c0475e49bd36b.js new file mode 100644 index 00000000000..d0e810922f9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/053c0475e49bd36b.js @@ -0,0 +1 @@ +for(const a in b)c(a) diff --git a/ecmascript/codegen/tests/test262-min/05448bc107f9b759.js b/ecmascript/codegen/tests/test262-min/05448bc107f9b759.js new file mode 100644 index 00000000000..5b245e29221 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/05448bc107f9b759.js @@ -0,0 +1 @@ +class a{b(){};c(){};} diff --git a/ecmascript/codegen/tests/test262-min/054620d2d7fbe8fb.js b/ecmascript/codegen/tests/test262-min/054620d2d7fbe8fb.js new file mode 100644 index 00000000000..0dd7eb597bb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/054620d2d7fbe8fb.js @@ -0,0 +1 @@ +function a(){if(false){var a=1}} diff --git a/ecmascript/codegen/tests/test262-min/058c33e92f0d37a5.js b/ecmascript/codegen/tests/test262-min/058c33e92f0d37a5.js new file mode 100644 index 00000000000..8e866c24a53 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/058c33e92f0d37a5.js @@ -0,0 +1 @@ +var a;if(b()){new a(1)}else{a(2)} diff --git a/ecmascript/codegen/tests/test262-min/059b850298ae3352.js b/ecmascript/codegen/tests/test262-min/059b850298ae3352.js new file mode 100644 index 00000000000..cf637de5885 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/059b850298ae3352.js @@ -0,0 +1 @@ +`` diff --git a/ecmascript/codegen/tests/test262-min/05b849122b429743.js b/ecmascript/codegen/tests/test262-min/05b849122b429743.js new file mode 100644 index 00000000000..43a8b95859a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/05b849122b429743.js @@ -0,0 +1 @@ +var _፩፪፫፬፭፮፯፰፱ diff --git a/ecmascript/codegen/tests/test262-min/05b9c5f007cbaa56.js b/ecmascript/codegen/tests/test262-min/05b9c5f007cbaa56.js new file mode 100644 index 00000000000..f862df67c4a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/05b9c5f007cbaa56.js @@ -0,0 +1 @@ +a>=b diff --git a/ecmascript/codegen/tests/test262-min/05d268921a1f6899.js b/ecmascript/codegen/tests/test262-min/05d268921a1f6899.js new file mode 100644 index 00000000000..d7e28f9c598 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/05d268921a1f6899.js @@ -0,0 +1 @@ +do continue;while(true) diff --git a/ecmascript/codegen/tests/test262-min/05d5195f0d388d98.js b/ecmascript/codegen/tests/test262-min/05d5195f0d388d98.js new file mode 100644 index 00000000000..1ed5c3ddb81 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/05d5195f0d388d98.js @@ -0,0 +1 @@ +var ABC diff --git a/ecmascript/codegen/tests/test262-min/05d93894463f57ca.js b/ecmascript/codegen/tests/test262-min/05d93894463f57ca.js new file mode 100644 index 00000000000..bd29a07aed0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/05d93894463f57ca.js @@ -0,0 +1 @@ +a:for(;;)continue a diff --git a/ecmascript/codegen/tests/test262-min/05fcc31bfd8d3e60.js b/ecmascript/codegen/tests/test262-min/05fcc31bfd8d3e60.js new file mode 100644 index 00000000000..28d391c007d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/05fcc31bfd8d3e60.js @@ -0,0 +1 @@ +function a({b,c}){} diff --git a/ecmascript/codegen/tests/test262-min/066b76285ce79182.js b/ecmascript/codegen/tests/test262-min/066b76285ce79182.js new file mode 100644 index 00000000000..cf2613e92c0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/066b76285ce79182.js @@ -0,0 +1 @@ +class a{set b(c){}get b(){}} diff --git a/ecmascript/codegen/tests/test262-min/066e2ec2de8a7c6e.js b/ecmascript/codegen/tests/test262-min/066e2ec2de8a7c6e.js new file mode 100644 index 00000000000..d0c8e1f213c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/066e2ec2de8a7c6e.js @@ -0,0 +1 @@ +c:{a();switch(1){case 2:b();if(a)break c;d();case 3+4:e();break;default:f()}} diff --git a/ecmascript/codegen/tests/test262-min/0671ec3d0b8ded79.js b/ecmascript/codegen/tests/test262-min/0671ec3d0b8ded79.js new file mode 100644 index 00000000000..a89b4d080a7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0671ec3d0b8ded79.js @@ -0,0 +1 @@ +(1,a)();(2,b.a)() diff --git a/ecmascript/codegen/tests/test262-min/068fd501eb381dba.js b/ecmascript/codegen/tests/test262-min/068fd501eb381dba.js new file mode 100644 index 00000000000..511bdf71bad --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/068fd501eb381dba.js @@ -0,0 +1 @@ +a=>b diff --git a/ecmascript/codegen/tests/test262-min/06981f39d0844079.js b/ecmascript/codegen/tests/test262-min/06981f39d0844079.js new file mode 100644 index 00000000000..e87c9f94655 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/06981f39d0844079.js @@ -0,0 +1 @@ +function*a(){yield/=3/} diff --git a/ecmascript/codegen/tests/test262-min/06c7efc128ce74a0.js b/ecmascript/codegen/tests/test262-min/06c7efc128ce74a0.js new file mode 100644 index 00000000000..24091d7563b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/06c7efc128ce74a0.js @@ -0,0 +1 @@ +(function(){a()})() diff --git a/ecmascript/codegen/tests/test262-min/06d84c003dc8a3af.js b/ecmascript/codegen/tests/test262-min/06d84c003dc8a3af.js new file mode 100644 index 00000000000..05e6061bea5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/06d84c003dc8a3af.js @@ -0,0 +1 @@ +"use strict";a={b:1,b:2} diff --git a/ecmascript/codegen/tests/test262-min/06f0deb843fbf358.js b/ecmascript/codegen/tests/test262-min/06f0deb843fbf358.js new file mode 100644 index 00000000000..ed2b7a6f51c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/06f0deb843fbf358.js @@ -0,0 +1 @@ +'use\x20strict';with(a)b=c diff --git a/ecmascript/codegen/tests/test262-min/06f7278423cef571.js b/ecmascript/codegen/tests/test262-min/06f7278423cef571.js new file mode 100644 index 00000000000..990c228d535 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/06f7278423cef571.js @@ -0,0 +1 @@ +({Infinity:1}) diff --git a/ecmascript/codegen/tests/test262-min/070d82d1b3b3a975.js b/ecmascript/codegen/tests/test262-min/070d82d1b3b3a975.js new file mode 100644 index 00000000000..d53fb7952b9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/070d82d1b3b3a975.js @@ -0,0 +1 @@ +(function(){var a;eval('a');function b(){a=a+=1}}()) diff --git a/ecmascript/codegen/tests/test262-min/071f05b40ea0163f.js b/ecmascript/codegen/tests/test262-min/071f05b40ea0163f.js new file mode 100644 index 00000000000..6bf0e41bb90 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/071f05b40ea0163f.js @@ -0,0 +1 @@ +new a("aa, [bb]",'return aa;');new a("aa, {bb}",'return aa;');new a("[[aa]], [{bb}]",'return aa;') diff --git a/ecmascript/codegen/tests/test262-min/075c7204d0b0af60.js b/ecmascript/codegen/tests/test262-min/075c7204d0b0af60.js new file mode 100644 index 00000000000..19bf3544a76 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/075c7204d0b0af60.js @@ -0,0 +1 @@ +({get a(){}}) diff --git a/ecmascript/codegen/tests/test262-min/079b7b699d0cacab.js b/ecmascript/codegen/tests/test262-min/079b7b699d0cacab.js new file mode 100644 index 00000000000..80d95569206 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/079b7b699d0cacab.js @@ -0,0 +1 @@ +(function(){arguments[1]=2;var a=3}()) diff --git a/ecmascript/codegen/tests/test262-min/07a74deab99e85eb.js b/ecmascript/codegen/tests/test262-min/07a74deab99e85eb.js new file mode 100644 index 00000000000..8a5a274754e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/07a74deab99e85eb.js @@ -0,0 +1 @@ +var a=class extends b{} diff --git a/ecmascript/codegen/tests/test262-min/07bce073a241288b.js b/ecmascript/codegen/tests/test262-min/07bce073a241288b.js new file mode 100644 index 00000000000..9b5e1024203 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/07bce073a241288b.js @@ -0,0 +1 @@ +```xx\`x``${a+1}`` foo ${b+`baz ${c}`}` diff --git a/ecmascript/codegen/tests/test262-min/07cfd31162dc117a.js b/ecmascript/codegen/tests/test262-min/07cfd31162dc117a.js new file mode 100644 index 00000000000..a5924026700 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/07cfd31162dc117a.js @@ -0,0 +1 @@ +let{a,b=1,c:d,e:f=2,[g]:[h]}=3 diff --git a/ecmascript/codegen/tests/test262-min/07d4bedb35fb60b6.js b/ecmascript/codegen/tests/test262-min/07d4bedb35fb60b6.js new file mode 100644 index 00000000000..59c4e9d4872 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/07d4bedb35fb60b6.js @@ -0,0 +1 @@ +(1,a.a)() diff --git a/ecmascript/codegen/tests/test262-min/0813adc754c82a98.js b/ecmascript/codegen/tests/test262-min/0813adc754c82a98.js new file mode 100644 index 00000000000..867de0a3f98 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0813adc754c82a98.js @@ -0,0 +1 @@ +class a{constructor(){}} diff --git a/ecmascript/codegen/tests/test262-min/0821d3a84023aca2.js b/ecmascript/codegen/tests/test262-min/0821d3a84023aca2.js new file mode 100644 index 00000000000..56eae51b0e2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0821d3a84023aca2.js @@ -0,0 +1 @@ +var[{a},b]=c diff --git a/ecmascript/codegen/tests/test262-min/0827a8316cca777a.js b/ecmascript/codegen/tests/test262-min/0827a8316cca777a.js new file mode 100644 index 00000000000..99bdf240881 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0827a8316cca777a.js @@ -0,0 +1 @@ +(class{get a(){}}) diff --git a/ecmascript/codegen/tests/test262-min/08358cb4732d8ce1.js b/ecmascript/codegen/tests/test262-min/08358cb4732d8ce1.js new file mode 100644 index 00000000000..e1ad50f51db --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/08358cb4732d8ce1.js @@ -0,0 +1 @@ +var 𞸊𞸋 diff --git a/ecmascript/codegen/tests/test262-min/0860caf88460e363.js b/ecmascript/codegen/tests/test262-min/0860caf88460e363.js new file mode 100644 index 00000000000..1485544bd01 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0860caf88460e363.js @@ -0,0 +1 @@ +((a,a),(a,a)) diff --git a/ecmascript/codegen/tests/test262-min/0889a34434e586e9.js b/ecmascript/codegen/tests/test262-min/0889a34434e586e9.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0889a34434e586e9.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/08a39e4289b0c3f3.js b/ecmascript/codegen/tests/test262-min/08a39e4289b0c3f3.js new file mode 100644 index 00000000000..ac6055a42ca --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/08a39e4289b0c3f3.js @@ -0,0 +1 @@ +T‍ diff --git a/ecmascript/codegen/tests/test262-min/08ba81b9af0132ea.js b/ecmascript/codegen/tests/test262-min/08ba81b9af0132ea.js new file mode 100644 index 00000000000..05fcf4a9567 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/08ba81b9af0132ea.js @@ -0,0 +1 @@ +(function(){for(var a;a<1;++a);}()) diff --git a/ecmascript/codegen/tests/test262-min/08c3105bb3f7ccb7.js b/ecmascript/codegen/tests/test262-min/08c3105bb3f7ccb7.js new file mode 100644 index 00000000000..0c4c0f61596 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/08c3105bb3f7ccb7.js @@ -0,0 +1 @@ +function*a(){var b=function(yield){}} diff --git a/ecmascript/codegen/tests/test262-min/091d00847cbf8a9d.js b/ecmascript/codegen/tests/test262-min/091d00847cbf8a9d.js new file mode 100644 index 00000000000..44dca027410 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/091d00847cbf8a9d.js @@ -0,0 +1 @@ +var{a,b}={a:1,b:2} diff --git a/ecmascript/codegen/tests/test262-min/09245ed873c9e7ea.js b/ecmascript/codegen/tests/test262-min/09245ed873c9e7ea.js new file mode 100644 index 00000000000..4861a3ecc25 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/09245ed873c9e7ea.js @@ -0,0 +1 @@ +a(...b) diff --git a/ecmascript/codegen/tests/test262-min/0986e63317738f46.js b/ecmascript/codegen/tests/test262-min/0986e63317738f46.js new file mode 100644 index 00000000000..7eec244c9d9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0986e63317738f46.js @@ -0,0 +1 @@ +var a,b;if(a&&!(a+"1")&&b){var c;d()}else{e()}if(a||!!(a+"1")||b){d()}else{var f;e()} diff --git a/ecmascript/codegen/tests/test262-min/098e1fe1335e222b.js b/ecmascript/codegen/tests/test262-min/098e1fe1335e222b.js new file mode 100644 index 00000000000..0ca24869754 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/098e1fe1335e222b.js @@ -0,0 +1 @@ +[a,...{0:b}]=1 diff --git a/ecmascript/codegen/tests/test262-min/09be3a3198b40536.js b/ecmascript/codegen/tests/test262-min/09be3a3198b40536.js new file mode 100644 index 00000000000..3139625d320 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/09be3a3198b40536.js @@ -0,0 +1 @@ +function a([]){} diff --git a/ecmascript/codegen/tests/test262-min/09c1c4b95bf0df77.js b/ecmascript/codegen/tests/test262-min/09c1c4b95bf0df77.js new file mode 100644 index 00000000000..5ffff948194 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/09c1c4b95bf0df77.js @@ -0,0 +1 @@ +({__proto__,__proto__:1}) diff --git a/ecmascript/codegen/tests/test262-min/09e84f25af85b836.js b/ecmascript/codegen/tests/test262-min/09e84f25af85b836.js new file mode 100644 index 00000000000..923700c9d23 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/09e84f25af85b836.js @@ -0,0 +1 @@ +({set a(yield){}}) diff --git a/ecmascript/codegen/tests/test262-min/0a068bc70fe14c94.js b/ecmascript/codegen/tests/test262-min/0a068bc70fe14c94.js new file mode 100644 index 00000000000..1ad9f42cbc6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0a068bc70fe14c94.js @@ -0,0 +1 @@ +("a") diff --git a/ecmascript/codegen/tests/test262-min/0a2fc93b6a63bbd3.js b/ecmascript/codegen/tests/test262-min/0a2fc93b6a63bbd3.js new file mode 100644 index 00000000000..774127d88b5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0a2fc93b6a63bbd3.js @@ -0,0 +1 @@ +[...a]=b diff --git a/ecmascript/codegen/tests/test262-min/0a38bb9fff27bc21.js b/ecmascript/codegen/tests/test262-min/0a38bb9fff27bc21.js new file mode 100644 index 00000000000..61eebe56284 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0a38bb9fff27bc21.js @@ -0,0 +1 @@ +(function(){var a;function b(){a=a+=1}}()) diff --git a/ecmascript/codegen/tests/test262-min/0a616ee6dd067bc6.js b/ecmascript/codegen/tests/test262-min/0a616ee6dd067bc6.js new file mode 100644 index 00000000000..9bf3837ef88 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0a616ee6dd067bc6.js @@ -0,0 +1 @@ +(function(){a("b")}()) diff --git a/ecmascript/codegen/tests/test262-min/0a9e4cbb36d95f7c.js b/ecmascript/codegen/tests/test262-min/0a9e4cbb36d95f7c.js new file mode 100644 index 00000000000..6cf28444ef0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0a9e4cbb36d95f7c.js @@ -0,0 +1 @@ +function a(){var b=1;c();{c();c()}} diff --git a/ecmascript/codegen/tests/test262-min/0aa6aab640155051.js b/ecmascript/codegen/tests/test262-min/0aa6aab640155051.js new file mode 100644 index 00000000000..f679aac26a4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0aa6aab640155051.js @@ -0,0 +1 @@ +class a extends b{constructor(){()=>{super()}}} diff --git a/ecmascript/codegen/tests/test262-min/0aa9242278e1393b.js b/ecmascript/codegen/tests/test262-min/0aa9242278e1393b.js new file mode 100644 index 00000000000..f0a5d072659 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0aa9242278e1393b.js @@ -0,0 +1 @@ +class a extends b{c(){return super.d}} diff --git a/ecmascript/codegen/tests/test262-min/0aeb95f62766e684.js b/ecmascript/codegen/tests/test262-min/0aeb95f62766e684.js new file mode 100644 index 00000000000..06ab4fec7aa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0aeb95f62766e684.js @@ -0,0 +1 @@ +"\u0061" diff --git a/ecmascript/codegen/tests/test262-min/0b1fc7208759253b.js b/ecmascript/codegen/tests/test262-min/0b1fc7208759253b.js new file mode 100644 index 00000000000..b11122e4fe6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0b1fc7208759253b.js @@ -0,0 +1 @@ +'\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20\x21\x22\x23\x24\x25\x26\x27\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe'+a diff --git a/ecmascript/codegen/tests/test262-min/0b2804600405dbf6.js b/ecmascript/codegen/tests/test262-min/0b2804600405dbf6.js new file mode 100644 index 00000000000..004f67dc9c6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0b2804600405dbf6.js @@ -0,0 +1 @@ +var a,b,c,d;a=(b(),c(),d())?1:2 diff --git a/ecmascript/codegen/tests/test262-min/0b281915a3227177.js b/ecmascript/codegen/tests/test262-min/0b281915a3227177.js new file mode 100644 index 00000000000..e631fd5a97e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0b281915a3227177.js @@ -0,0 +1 @@ +"Hello\012World" diff --git a/ecmascript/codegen/tests/test262-min/0b4e932ec15cdae4.js b/ecmascript/codegen/tests/test262-min/0b4e932ec15cdae4.js new file mode 100644 index 00000000000..88bb9dc5870 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0b4e932ec15cdae4.js @@ -0,0 +1 @@ +for(var a=1;;){let a} diff --git a/ecmascript/codegen/tests/test262-min/0b50309b4112013e.js b/ecmascript/codegen/tests/test262-min/0b50309b4112013e.js new file mode 100644 index 00000000000..800f19f5c59 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0b50309b4112013e.js @@ -0,0 +1 @@ +var a;(a) diff --git a/ecmascript/codegen/tests/test262-min/0b5f023129f23abf.js b/ecmascript/codegen/tests/test262-min/0b5f023129f23abf.js new file mode 100644 index 00000000000..ee404251333 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0b5f023129f23abf.js @@ -0,0 +1 @@ +a=[1] diff --git a/ecmascript/codegen/tests/test262-min/0b6dfcd5427a43a6.js b/ecmascript/codegen/tests/test262-min/0b6dfcd5427a43a6.js new file mode 100644 index 00000000000..45a4fb75db8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0b6dfcd5427a43a6.js @@ -0,0 +1 @@ +8 diff --git a/ecmascript/codegen/tests/test262-min/0b881b80b7220fad.js b/ecmascript/codegen/tests/test262-min/0b881b80b7220fad.js new file mode 100644 index 00000000000..5af4319bb8b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0b881b80b7220fad.js @@ -0,0 +1 @@ +a={b(...c){}} diff --git a/ecmascript/codegen/tests/test262-min/0ba326a76aa2a0ae.js b/ecmascript/codegen/tests/test262-min/0ba326a76aa2a0ae.js new file mode 100644 index 00000000000..9704b46055d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0ba326a76aa2a0ae.js @@ -0,0 +1 @@ +let{a:{}}=1 diff --git a/ecmascript/codegen/tests/test262-min/0bbda5d7d8ae8990.js b/ecmascript/codegen/tests/test262-min/0bbda5d7d8ae8990.js new file mode 100644 index 00000000000..b8b0b9da7f1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0bbda5d7d8ae8990.js @@ -0,0 +1 @@ +function a(){while(true){}var b} diff --git a/ecmascript/codegen/tests/test262-min/0bef54f61acccbe5.js b/ecmascript/codegen/tests/test262-min/0bef54f61acccbe5.js new file mode 100644 index 00000000000..9969ddd1f57 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0bef54f61acccbe5.js @@ -0,0 +1 @@ +(function(){return 1;var a=2}()) diff --git a/ecmascript/codegen/tests/test262-min/0c44152a1a3e2f90.js b/ecmascript/codegen/tests/test262-min/0c44152a1a3e2f90.js new file mode 100644 index 00000000000..27d1cb378b8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0c44152a1a3e2f90.js @@ -0,0 +1 @@ +-(1-2-3) diff --git a/ecmascript/codegen/tests/test262-min/0c7719169ed21a87.js b/ecmascript/codegen/tests/test262-min/0c7719169ed21a87.js new file mode 100644 index 00000000000..fd4ce119087 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0c7719169ed21a87.js @@ -0,0 +1 @@ +class a{b(){new super.c()}} diff --git a/ecmascript/codegen/tests/test262-min/0c8a07486c1ff18e.js b/ecmascript/codegen/tests/test262-min/0c8a07486c1ff18e.js new file mode 100644 index 00000000000..511bdf71bad --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0c8a07486c1ff18e.js @@ -0,0 +1 @@ +a=>b diff --git a/ecmascript/codegen/tests/test262-min/0cd7b76d7d1431d6.js b/ecmascript/codegen/tests/test262-min/0cd7b76d7d1431d6.js new file mode 100644 index 00000000000..5efd5c39e15 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0cd7b76d7d1431d6.js @@ -0,0 +1 @@ +function a(b,c){return b-- >=c} diff --git a/ecmascript/codegen/tests/test262-min/0ce4fa8fdf700065.js b/ecmascript/codegen/tests/test262-min/0ce4fa8fdf700065.js new file mode 100644 index 00000000000..5960ebe7fd3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0ce4fa8fdf700065.js @@ -0,0 +1 @@ +new(function(){var a=1}) diff --git a/ecmascript/codegen/tests/test262-min/0cf1df0ef867a7f4.js b/ecmascript/codegen/tests/test262-min/0cf1df0ef867a7f4.js new file mode 100644 index 00000000000..7380f30fc56 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0cf1df0ef867a7f4.js @@ -0,0 +1 @@ +({yield}) diff --git a/ecmascript/codegen/tests/test262-min/0d137e8a97ffe083.js b/ecmascript/codegen/tests/test262-min/0d137e8a97ffe083.js new file mode 100644 index 00000000000..0aeec56c72f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0d137e8a97ffe083.js @@ -0,0 +1 @@ +function*a(){({get b(){yield}})} diff --git a/ecmascript/codegen/tests/test262-min/0d6e503c739611e2.js b/ecmascript/codegen/tests/test262-min/0d6e503c739611e2.js new file mode 100644 index 00000000000..e61ef7b965e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0d6e503c739611e2.js @@ -0,0 +1 @@ +aa diff --git a/ecmascript/codegen/tests/test262-min/0d7e3e1647af9ba6.js b/ecmascript/codegen/tests/test262-min/0d7e3e1647af9ba6.js new file mode 100644 index 00000000000..d6c7d1d9701 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0d7e3e1647af9ba6.js @@ -0,0 +1 @@ +do{}while(true) diff --git a/ecmascript/codegen/tests/test262-min/0d9f26fe4d91ad07.js b/ecmascript/codegen/tests/test262-min/0d9f26fe4d91ad07.js new file mode 100644 index 00000000000..b50393fae9b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0d9f26fe4d91ad07.js @@ -0,0 +1 @@ +[{a=1},{a=2}]=3 diff --git a/ecmascript/codegen/tests/test262-min/0da4b57d03d33129.js b/ecmascript/codegen/tests/test262-min/0da4b57d03d33129.js new file mode 100644 index 00000000000..32496d1b7ed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0da4b57d03d33129.js @@ -0,0 +1 @@ +typeof(1,a,2) diff --git a/ecmascript/codegen/tests/test262-min/0da6496ed75822b1.module.js b/ecmascript/codegen/tests/test262-min/0da6496ed75822b1.module.js new file mode 100644 index 00000000000..946339a1a0a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0da6496ed75822b1.module.js @@ -0,0 +1 @@ +export function a(){}false diff --git a/ecmascript/codegen/tests/test262-min/0de4ef1344cbb907.js b/ecmascript/codegen/tests/test262-min/0de4ef1344cbb907.js new file mode 100644 index 00000000000..58a55eeed75 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0de4ef1344cbb907.js @@ -0,0 +1 @@ +function a(){return{}/1} diff --git a/ecmascript/codegen/tests/test262-min/0de707242475664c.js b/ecmascript/codegen/tests/test262-min/0de707242475664c.js new file mode 100644 index 00000000000..c8102f26d6a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0de707242475664c.js @@ -0,0 +1 @@ +for(;a();){b();c();if(d())break;e();f()} diff --git a/ecmascript/codegen/tests/test262-min/0de805d0c921e235.js b/ecmascript/codegen/tests/test262-min/0de805d0c921e235.js new file mode 100644 index 00000000000..cc0f38fd7e1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0de805d0c921e235.js @@ -0,0 +1 @@ +a<<=1 diff --git a/ecmascript/codegen/tests/test262-min/0def12c63f682470.js b/ecmascript/codegen/tests/test262-min/0def12c63f682470.js new file mode 100644 index 00000000000..e78a9dfae6a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0def12c63f682470.js @@ -0,0 +1 @@ +[]=1 diff --git a/ecmascript/codegen/tests/test262-min/0e22e969622bf137.js b/ecmascript/codegen/tests/test262-min/0e22e969622bf137.js new file mode 100644 index 00000000000..59cdc20d3d9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0e22e969622bf137.js @@ -0,0 +1 @@ +({*a(){}}) diff --git a/ecmascript/codegen/tests/test262-min/0e3ca454ddfb4729.js b/ecmascript/codegen/tests/test262-min/0e3ca454ddfb4729.js new file mode 100644 index 00000000000..8d257f2d919 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0e3ca454ddfb4729.js @@ -0,0 +1 @@ +for(a[b in c]in d); diff --git a/ecmascript/codegen/tests/test262-min/0eb53d0e06cd5417.js b/ecmascript/codegen/tests/test262-min/0eb53d0e06cd5417.js new file mode 100644 index 00000000000..a0d876d2774 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0eb53d0e06cd5417.js @@ -0,0 +1 @@ +function*a(){yield b=c,yield*d=e,f} diff --git a/ecmascript/codegen/tests/test262-min/0f18951fd55b8c07.js b/ecmascript/codegen/tests/test262-min/0f18951fd55b8c07.js new file mode 100644 index 00000000000..16be7cfb29b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0f18951fd55b8c07.js @@ -0,0 +1 @@ +switch(a){case b:{c}} diff --git a/ecmascript/codegen/tests/test262-min/0f59aedfe2c7682c.js b/ecmascript/codegen/tests/test262-min/0f59aedfe2c7682c.js new file mode 100644 index 00000000000..b9a09e64c75 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0f59aedfe2c7682c.js @@ -0,0 +1 @@ +({null:1}) diff --git a/ecmascript/codegen/tests/test262-min/0f630e67e4542867.js b/ecmascript/codegen/tests/test262-min/0f630e67e4542867.js new file mode 100644 index 00000000000..1f505dc1671 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0f630e67e4542867.js @@ -0,0 +1 @@ +var[a]=[1] diff --git a/ecmascript/codegen/tests/test262-min/0f809258920b3469.js b/ecmascript/codegen/tests/test262-min/0f809258920b3469.js new file mode 100644 index 00000000000..186becf23bb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0f809258920b3469.js @@ -0,0 +1 @@ +c:{a();switch(1){case 2:b();if(a)break c;for(var b=3;b<4;b++){if(b>5)break;d.e(b)}f();case 6+7:g();break;default:h()}} diff --git a/ecmascript/codegen/tests/test262-min/0f9f10c894a7d811.js b/ecmascript/codegen/tests/test262-min/0f9f10c894a7d811.js new file mode 100644 index 00000000000..84ab67a85e0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0f9f10c894a7d811.js @@ -0,0 +1 @@ +(0) diff --git a/ecmascript/codegen/tests/test262-min/0fa2102f53acd283.js b/ecmascript/codegen/tests/test262-min/0fa2102f53acd283.js new file mode 100644 index 00000000000..d5c9f5e7bed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0fa2102f53acd283.js @@ -0,0 +1 @@ +(a)++ diff --git a/ecmascript/codegen/tests/test262-min/0fc7d5705a324efb.js b/ecmascript/codegen/tests/test262-min/0fc7d5705a324efb.js new file mode 100644 index 00000000000..94616285fd5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0fc7d5705a324efb.js @@ -0,0 +1 @@ +(function(){a=1;for(b=2;;);}()) diff --git a/ecmascript/codegen/tests/test262-min/0fe1f55610641156.js b/ecmascript/codegen/tests/test262-min/0fe1f55610641156.js new file mode 100644 index 00000000000..07578ccefe6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0fe1f55610641156.js @@ -0,0 +1 @@ +a["b"]="c" diff --git a/ecmascript/codegen/tests/test262-min/0fe2654034a20f6b.module.js b/ecmascript/codegen/tests/test262-min/0fe2654034a20f6b.module.js new file mode 100644 index 00000000000..48465d3acb6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0fe2654034a20f6b.module.js @@ -0,0 +1 @@ +import{a,b}from"foo" diff --git a/ecmascript/codegen/tests/test262-min/0ffdc03e2ffcb5dc.js b/ecmascript/codegen/tests/test262-min/0ffdc03e2ffcb5dc.js new file mode 100644 index 00000000000..f0f8101f9dd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/0ffdc03e2ffcb5dc.js @@ -0,0 +1 @@ +void/test/ diff --git a/ecmascript/codegen/tests/test262-min/10786cdac00d0c02.module.js b/ecmascript/codegen/tests/test262-min/10786cdac00d0c02.module.js new file mode 100644 index 00000000000..bb10f273f07 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/10786cdac00d0c02.module.js @@ -0,0 +1 @@ +import{a,b}from"c" diff --git a/ecmascript/codegen/tests/test262-min/10857a84ed2962f1.js b/ecmascript/codegen/tests/test262-min/10857a84ed2962f1.js new file mode 100644 index 00000000000..dadda65667f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/10857a84ed2962f1.js @@ -0,0 +1 @@ +class a{get b(){}set b(c){}} diff --git a/ecmascript/codegen/tests/test262-min/10a21e1cf65c5afb.js b/ecmascript/codegen/tests/test262-min/10a21e1cf65c5afb.js new file mode 100644 index 00000000000..d41588d7822 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/10a21e1cf65c5afb.js @@ -0,0 +1 @@ +[,a,]=1 diff --git a/ecmascript/codegen/tests/test262-min/10d6486502949e74.js b/ecmascript/codegen/tests/test262-min/10d6486502949e74.js new file mode 100644 index 00000000000..d413bafa565 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/10d6486502949e74.js @@ -0,0 +1 @@ +({__proto__:null,get __proto__(){}}) diff --git a/ecmascript/codegen/tests/test262-min/10f0ef998c05c611.js b/ecmascript/codegen/tests/test262-min/10f0ef998c05c611.js new file mode 100644 index 00000000000..e284548ffcc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/10f0ef998c05c611.js @@ -0,0 +1 @@ +do{}while(false)a() diff --git a/ecmascript/codegen/tests/test262-min/10fda5cd119b39a5.js b/ecmascript/codegen/tests/test262-min/10fda5cd119b39a5.js new file mode 100644 index 00000000000..d2df2c98f8f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/10fda5cd119b39a5.js @@ -0,0 +1 @@ +[...eval]=a diff --git a/ecmascript/codegen/tests/test262-min/110fa1efdd0868b8.js b/ecmascript/codegen/tests/test262-min/110fa1efdd0868b8.js new file mode 100644 index 00000000000..baca5be8aca --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/110fa1efdd0868b8.js @@ -0,0 +1 @@ +"Hello\ \nworld" diff --git a/ecmascript/codegen/tests/test262-min/111668493e3e0823.js b/ecmascript/codegen/tests/test262-min/111668493e3e0823.js new file mode 100644 index 00000000000..be42fcf64dc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/111668493e3e0823.js @@ -0,0 +1 @@ +/[a-z]/i diff --git a/ecmascript/codegen/tests/test262-min/1145e94ad27e7ba6.js b/ecmascript/codegen/tests/test262-min/1145e94ad27e7ba6.js new file mode 100644 index 00000000000..ee27ca6d24d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1145e94ad27e7ba6.js @@ -0,0 +1 @@ +function a(){b()}if(a()||true){c()} diff --git a/ecmascript/codegen/tests/test262-min/11611f2a3d32994e.js b/ecmascript/codegen/tests/test262-min/11611f2a3d32994e.js new file mode 100644 index 00000000000..0767264aa26 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/11611f2a3d32994e.js @@ -0,0 +1 @@ +function a(){new.target} diff --git a/ecmascript/codegen/tests/test262-min/116cacc3c80a5a3e.js b/ecmascript/codegen/tests/test262-min/116cacc3c80a5a3e.js new file mode 100644 index 00000000000..14fb87f2ab7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/116cacc3c80a5a3e.js @@ -0,0 +1 @@ +do{a()}while(false)b() diff --git a/ecmascript/codegen/tests/test262-min/119e9dce4feae643.js b/ecmascript/codegen/tests/test262-min/119e9dce4feae643.js new file mode 100644 index 00000000000..24262b98552 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/119e9dce4feae643.js @@ -0,0 +1 @@ +var a={b:null,set c(d){},get c(){return this.b}} diff --git a/ecmascript/codegen/tests/test262-min/11a021c9efe0e432.js b/ecmascript/codegen/tests/test262-min/11a021c9efe0e432.js new file mode 100644 index 00000000000..09a7ca55ce3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/11a021c9efe0e432.js @@ -0,0 +1 @@ +--eval diff --git a/ecmascript/codegen/tests/test262-min/121491a690a13543.js b/ecmascript/codegen/tests/test262-min/121491a690a13543.js new file mode 100644 index 00000000000..d296ce0bdd5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/121491a690a13543.js @@ -0,0 +1 @@ +a(()=>{}) diff --git a/ecmascript/codegen/tests/test262-min/1223609b0f7a2129.js b/ecmascript/codegen/tests/test262-min/1223609b0f7a2129.js new file mode 100644 index 00000000000..f528f662d94 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1223609b0f7a2129.js @@ -0,0 +1 @@ +!function(){a()}(),!function(){b()}(),c()+1 diff --git a/ecmascript/codegen/tests/test262-min/123285734ee7f954.js b/ecmascript/codegen/tests/test262-min/123285734ee7f954.js new file mode 100644 index 00000000000..825d03635fd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/123285734ee7f954.js @@ -0,0 +1 @@ +with(a)b=c diff --git a/ecmascript/codegen/tests/test262-min/123bfcc3f6cf379f.js b/ecmascript/codegen/tests/test262-min/123bfcc3f6cf379f.js new file mode 100644 index 00000000000..68cae6d1c7a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/123bfcc3f6cf379f.js @@ -0,0 +1 @@ +function a(b,...c){} diff --git a/ecmascript/codegen/tests/test262-min/123f89c06747ced2.js b/ecmascript/codegen/tests/test262-min/123f89c06747ced2.js new file mode 100644 index 00000000000..60f17a941ed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/123f89c06747ced2.js @@ -0,0 +1 @@ +`\u{000042}\u0042\x42u0\A` diff --git a/ecmascript/codegen/tests/test262-min/124490e0f2dbbac7.js b/ecmascript/codegen/tests/test262-min/124490e0f2dbbac7.js new file mode 100644 index 00000000000..c11d08f5ce7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/124490e0f2dbbac7.js @@ -0,0 +1 @@ +a%b diff --git a/ecmascript/codegen/tests/test262-min/12556d5e39db1cea.js b/ecmascript/codegen/tests/test262-min/12556d5e39db1cea.js new file mode 100644 index 00000000000..a5161cffce4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/12556d5e39db1cea.js @@ -0,0 +1 @@ +function*yield(){} diff --git a/ecmascript/codegen/tests/test262-min/126a6455f0f721fe.js b/ecmascript/codegen/tests/test262-min/126a6455f0f721fe.js new file mode 100644 index 00000000000..28395e37410 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/126a6455f0f721fe.js @@ -0,0 +1 @@ +({a(b){}}) diff --git a/ecmascript/codegen/tests/test262-min/12752899d5c5eb00.js b/ecmascript/codegen/tests/test262-min/12752899d5c5eb00.js new file mode 100644 index 00000000000..5f058d868e8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/12752899d5c5eb00.js @@ -0,0 +1,3 @@ +`\n\r\\ \t\ \ +\ +` diff --git a/ecmascript/codegen/tests/test262-min/129c95a57d234b7b.js b/ecmascript/codegen/tests/test262-min/129c95a57d234b7b.js new file mode 100644 index 00000000000..7ff6c529278 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/129c95a57d234b7b.js @@ -0,0 +1 @@ +a*b%c diff --git a/ecmascript/codegen/tests/test262-min/12d4b327a5e20850.js b/ecmascript/codegen/tests/test262-min/12d4b327a5e20850.js new file mode 100644 index 00000000000..a738ce69e56 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/12d4b327a5e20850.js @@ -0,0 +1 @@ +if(a){b()} diff --git a/ecmascript/codegen/tests/test262-min/12d5bedf1812952a.js b/ecmascript/codegen/tests/test262-min/12d5bedf1812952a.js new file mode 100644 index 00000000000..8d836c40d1b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/12d5bedf1812952a.js @@ -0,0 +1 @@ +class a{static get b(){}static get c(){}} diff --git a/ecmascript/codegen/tests/test262-min/12e59b6d403833ae.js b/ecmascript/codegen/tests/test262-min/12e59b6d403833ae.js new file mode 100644 index 00000000000..0234e9ec6c3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/12e59b6d403833ae.js @@ -0,0 +1 @@ +'use strict';a() diff --git a/ecmascript/codegen/tests/test262-min/12ea3bf0653f8409.js b/ecmascript/codegen/tests/test262-min/12ea3bf0653f8409.js new file mode 100644 index 00000000000..b6b69a62e81 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/12ea3bf0653f8409.js @@ -0,0 +1 @@ +a={"__proto__":1} diff --git a/ecmascript/codegen/tests/test262-min/12edb6ae55d95b59.js b/ecmascript/codegen/tests/test262-min/12edb6ae55d95b59.js new file mode 100644 index 00000000000..e39f76c126f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/12edb6ae55d95b59.js @@ -0,0 +1 @@ +{let a=1,b=2,c=3} diff --git a/ecmascript/codegen/tests/test262-min/12ef713cb7737bdd.js b/ecmascript/codegen/tests/test262-min/12ef713cb7737bdd.js new file mode 100644 index 00000000000..cf0a5f89542 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/12ef713cb7737bdd.js @@ -0,0 +1 @@ +class a{b(){};c(){}} diff --git a/ecmascript/codegen/tests/test262-min/13045bfdda0434e0.js b/ecmascript/codegen/tests/test262-min/13045bfdda0434e0.js new file mode 100644 index 00000000000..26424d9c276 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/13045bfdda0434e0.js @@ -0,0 +1 @@ +({set a(b){}}) diff --git a/ecmascript/codegen/tests/test262-min/1325417193f50cc3.js b/ecmascript/codegen/tests/test262-min/1325417193f50cc3.js new file mode 100644 index 00000000000..2b5568a6b8e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1325417193f50cc3.js @@ -0,0 +1 @@ +if(a){}else{b()} diff --git a/ecmascript/codegen/tests/test262-min/14199f22a45c7e30.js b/ecmascript/codegen/tests/test262-min/14199f22a45c7e30.js new file mode 100644 index 00000000000..8ce902892e2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/14199f22a45c7e30.js @@ -0,0 +1 @@ +let=1 diff --git a/ecmascript/codegen/tests/test262-min/1426cb41eb6d515f.js b/ecmascript/codegen/tests/test262-min/1426cb41eb6d515f.js new file mode 100644 index 00000000000..3941bbced41 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1426cb41eb6d515f.js @@ -0,0 +1 @@ +while(true){break;a} diff --git a/ecmascript/codegen/tests/test262-min/14360fa75e6ae228.js b/ecmascript/codegen/tests/test262-min/14360fa75e6ae228.js new file mode 100644 index 00000000000..9619d9b18ed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/14360fa75e6ae228.js @@ -0,0 +1 @@ +function a({b}={b:1}){} diff --git a/ecmascript/codegen/tests/test262-min/1450a897a4ba83a7.js b/ecmascript/codegen/tests/test262-min/1450a897a4ba83a7.js new file mode 100644 index 00000000000..114555a6532 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1450a897a4ba83a7.js @@ -0,0 +1 @@ +'use strict';var a={'0':'b'} diff --git a/ecmascript/codegen/tests/test262-min/14551b80fa8a0ce1.module.js b/ecmascript/codegen/tests/test262-min/14551b80fa8a0ce1.module.js new file mode 100644 index 00000000000..0f895fcb596 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/14551b80fa8a0ce1.module.js @@ -0,0 +1 @@ +export function a(){} diff --git a/ecmascript/codegen/tests/test262-min/14a62ce75845f5dd.js b/ecmascript/codegen/tests/test262-min/14a62ce75845f5dd.js new file mode 100644 index 00000000000..94367ffb4db --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/14a62ce75845f5dd.js @@ -0,0 +1 @@ +[a,b]=[b,a] diff --git a/ecmascript/codegen/tests/test262-min/14bb381a17b683e3.js b/ecmascript/codegen/tests/test262-min/14bb381a17b683e3.js new file mode 100644 index 00000000000..348cf889e8d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/14bb381a17b683e3.js @@ -0,0 +1 @@ +for(var[a,b]in c); diff --git a/ecmascript/codegen/tests/test262-min/14c205bb81db8014.js b/ecmascript/codegen/tests/test262-min/14c205bb81db8014.js new file mode 100644 index 00000000000..5e0ef0afc1d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/14c205bb81db8014.js @@ -0,0 +1 @@ +price_9̶9̶_89 diff --git a/ecmascript/codegen/tests/test262-min/14df05a5ad02af18.js b/ecmascript/codegen/tests/test262-min/14df05a5ad02af18.js new file mode 100644 index 00000000000..016b7e722d7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/14df05a5ad02af18.js @@ -0,0 +1 @@ +class a{;} diff --git a/ecmascript/codegen/tests/test262-min/14f95b3c9a9e7480.js b/ecmascript/codegen/tests/test262-min/14f95b3c9a9e7480.js new file mode 100644 index 00000000000..97b6b867977 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/14f95b3c9a9e7480.js @@ -0,0 +1 @@ +/(()(?:\2)((\4)))/ diff --git a/ecmascript/codegen/tests/test262-min/14fb22cf10e20236.js b/ecmascript/codegen/tests/test262-min/14fb22cf10e20236.js new file mode 100644 index 00000000000..47fc7ca3e75 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/14fb22cf10e20236.js @@ -0,0 +1 @@ +typeof(1,a) diff --git a/ecmascript/codegen/tests/test262-min/151d4db59b774864.js b/ecmascript/codegen/tests/test262-min/151d4db59b774864.js new file mode 100644 index 00000000000..96884529ea5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/151d4db59b774864.js @@ -0,0 +1 @@ +var ℘ diff --git a/ecmascript/codegen/tests/test262-min/1530c2c5484d867f.js b/ecmascript/codegen/tests/test262-min/1530c2c5484d867f.js new file mode 100644 index 00000000000..05a9b76ce28 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1530c2c5484d867f.js @@ -0,0 +1 @@ +a=>1 diff --git a/ecmascript/codegen/tests/test262-min/153688477d7e69ba.js b/ecmascript/codegen/tests/test262-min/153688477d7e69ba.js new file mode 100644 index 00000000000..c6578c130b4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/153688477d7e69ba.js @@ -0,0 +1 @@ +(function(){while(!a||!b()){c()}}()) diff --git a/ecmascript/codegen/tests/test262-min/153bd6819f5fa69b.js b/ecmascript/codegen/tests/test262-min/153bd6819f5fa69b.js new file mode 100644 index 00000000000..59adb86c311 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/153bd6819f5fa69b.js @@ -0,0 +1 @@ +({yield(){}}) diff --git a/ecmascript/codegen/tests/test262-min/159c17331c90a465.module.js b/ecmascript/codegen/tests/test262-min/159c17331c90a465.module.js new file mode 100644 index 00000000000..0456ce62855 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/159c17331c90a465.module.js @@ -0,0 +1 @@ +export default class a{} diff --git a/ecmascript/codegen/tests/test262-min/15a12468ff312d51.js b/ecmascript/codegen/tests/test262-min/15a12468ff312d51.js new file mode 100644 index 00000000000..05b3a0da28b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/15a12468ff312d51.js @@ -0,0 +1 @@ +60221417e16 diff --git a/ecmascript/codegen/tests/test262-min/15d072c60817cdca.js b/ecmascript/codegen/tests/test262-min/15d072c60817cdca.js new file mode 100644 index 00000000000..6fb39f3e5a5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/15d072c60817cdca.js @@ -0,0 +1 @@ +new a(...b,c,d) diff --git a/ecmascript/codegen/tests/test262-min/15dfd62aa10c8b18.js b/ecmascript/codegen/tests/test262-min/15dfd62aa10c8b18.js new file mode 100644 index 00000000000..66bdd609799 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/15dfd62aa10c8b18.js @@ -0,0 +1 @@ +function a(){'use strict';0} diff --git a/ecmascript/codegen/tests/test262-min/1623cc76ec1fb540.js b/ecmascript/codegen/tests/test262-min/1623cc76ec1fb540.js new file mode 100644 index 00000000000..c34c62b18fe --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1623cc76ec1fb540.js @@ -0,0 +1 @@ +(function(){if(a!=true){b()}if(a!=false){b()}}()) diff --git a/ecmascript/codegen/tests/test262-min/162fd7b4a7647a1b.js b/ecmascript/codegen/tests/test262-min/162fd7b4a7647a1b.js new file mode 100644 index 00000000000..05939f3081e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/162fd7b4a7647a1b.js @@ -0,0 +1 @@ +(function(){var a;with(b){a.c=(d(),e())}}()) diff --git a/ecmascript/codegen/tests/test262-min/163e6a68a09abaed.js b/ecmascript/codegen/tests/test262-min/163e6a68a09abaed.js new file mode 100644 index 00000000000..22ae6d1dc44 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/163e6a68a09abaed.js @@ -0,0 +1 @@ +function*a(){yield null} diff --git a/ecmascript/codegen/tests/test262-min/166431dca77feba6.module.js b/ecmascript/codegen/tests/test262-min/166431dca77feba6.module.js new file mode 100644 index 00000000000..541193223ed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/166431dca77feba6.module.js @@ -0,0 +1 @@ +import a,{b,d as c}from"a" diff --git a/ecmascript/codegen/tests/test262-min/16b9227a4a41bc7e.js b/ecmascript/codegen/tests/test262-min/16b9227a4a41bc7e.js new file mode 100644 index 00000000000..e56502451a4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/16b9227a4a41bc7e.js @@ -0,0 +1 @@ +function a(){var{a,b}=c} diff --git a/ecmascript/codegen/tests/test262-min/16c7073c546fdd58.js b/ecmascript/codegen/tests/test262-min/16c7073c546fdd58.js new file mode 100644 index 00000000000..eef2a00cb1c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/16c7073c546fdd58.js @@ -0,0 +1 @@ +new function(){var a=1;this.arguments} diff --git a/ecmascript/codegen/tests/test262-min/16d0c12aad83f9b3.js b/ecmascript/codegen/tests/test262-min/16d0c12aad83f9b3.js new file mode 100644 index 00000000000..e3f7629c267 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/16d0c12aad83f9b3.js @@ -0,0 +1 @@ +function a(){}function b(){return c}function d(){return void 1}function e(){return void 2}function f(){return}function g(h,i){j.k(h,i);l(h);return}function m(h,i){j.k(h,i);if(h){n(i);l(h);return h+i}return c}function o(h,i){j.k(h,i);if(h){n(i);l(h);return void 3}return h+i}function p(h,i){n(h);q(i);return void 4}function r(h,i){n(h);q(i);return c}function s(){return false}function t(){return null}function u(){return 5} diff --git a/ecmascript/codegen/tests/test262-min/1714b06e6a415766.js b/ecmascript/codegen/tests/test262-min/1714b06e6a415766.js new file mode 100644 index 00000000000..77c94b4d576 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1714b06e6a415766.js @@ -0,0 +1 @@ +a={false:1} diff --git a/ecmascript/codegen/tests/test262-min/1717229250780255.js b/ecmascript/codegen/tests/test262-min/1717229250780255.js new file mode 100644 index 00000000000..209ea4fbd8d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1717229250780255.js @@ -0,0 +1 @@ +function a(){(class b{});class c{};} diff --git a/ecmascript/codegen/tests/test262-min/17302b9b0cab0c69.module.js b/ecmascript/codegen/tests/test262-min/17302b9b0cab0c69.module.js new file mode 100644 index 00000000000..6e8c2d53a8d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/17302b9b0cab0c69.module.js @@ -0,0 +1 @@ +export{};1 diff --git a/ecmascript/codegen/tests/test262-min/17326734a7bf9629.js b/ecmascript/codegen/tests/test262-min/17326734a7bf9629.js new file mode 100644 index 00000000000..9266e46ba76 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/17326734a7bf9629.js @@ -0,0 +1 @@ +function a(b,c,d){"use asm";var e=b.f.e;var g=b.f.g;var h=new b.i(d);function j(k,l){k=k|1;l=l|2;var m=0,n=3,o=4;for(n=k<<5,o=l<<6;(n|7)<(o|8);n=(n+9)|10){m=m+ +g(h[n>>11])}return+m}function p(k,l){k=k|12;l=l|13;return+e(+j(k,l)/+((l-k)|14))}return{p:p}}function q(b,c,d){var e=b.f.e;var g=b.f.g;var h=new b.i(d);function j(k,l){k=k|15;l=l|16;var m=0,n=17,o=18;for(n=k<<19,o=l<<20;(n|21)<(o|22);n=(n+23)|24){m=m+ +g(h[n>>25])}return+m}function p(k,l){k=k|26;l=l|27;return+e(+j(k,l)/+((l-k)|28))}return{p:p}} diff --git a/ecmascript/codegen/tests/test262-min/174d05abbd69a960.js b/ecmascript/codegen/tests/test262-min/174d05abbd69a960.js new file mode 100644 index 00000000000..393160ab92e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/174d05abbd69a960.js @@ -0,0 +1 @@ +for(var{a,b}of c); diff --git a/ecmascript/codegen/tests/test262-min/175a032b2252eb0d.js b/ecmascript/codegen/tests/test262-min/175a032b2252eb0d.js new file mode 100644 index 00000000000..31a80eecfc0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/175a032b2252eb0d.js @@ -0,0 +1 @@ +(function(){var a;(1,a)()}()) diff --git a/ecmascript/codegen/tests/test262-min/177fef3d002eb873.js b/ecmascript/codegen/tests/test262-min/177fef3d002eb873.js new file mode 100644 index 00000000000..79aad6b2174 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/177fef3d002eb873.js @@ -0,0 +1 @@ +function*a(){(class extends(yield){})} diff --git a/ecmascript/codegen/tests/test262-min/17a2de2c9e102bba.js b/ecmascript/codegen/tests/test262-min/17a2de2c9e102bba.js new file mode 100644 index 00000000000..3df25016457 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/17a2de2c9e102bba.js @@ -0,0 +1 @@ +switch(a){case 1:b()} diff --git a/ecmascript/codegen/tests/test262-min/17bd5dc47ec4a3ba.js b/ecmascript/codegen/tests/test262-min/17bd5dc47ec4a3ba.js new file mode 100644 index 00000000000..8f53129a7b3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/17bd5dc47ec4a3ba.js @@ -0,0 +1 @@ +new a(b,...c,d) diff --git a/ecmascript/codegen/tests/references/17bd95dfa6a302f2.js b/ecmascript/codegen/tests/test262-min/17bd95dfa6a302f2.js similarity index 100% rename from ecmascript/codegen/tests/references/17bd95dfa6a302f2.js rename to ecmascript/codegen/tests/test262-min/17bd95dfa6a302f2.js diff --git a/ecmascript/codegen/tests/test262-min/17cc7c10e02028be.js b/ecmascript/codegen/tests/test262-min/17cc7c10e02028be.js new file mode 100644 index 00000000000..d5636f4f887 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/17cc7c10e02028be.js @@ -0,0 +1 @@ +if(1)/ foo/ diff --git a/ecmascript/codegen/tests/test262-min/17d63bb0b9482189.js b/ecmascript/codegen/tests/test262-min/17d63bb0b9482189.js new file mode 100644 index 00000000000..89c683285b4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/17d63bb0b9482189.js @@ -0,0 +1 @@ +var a='very cute' diff --git a/ecmascript/codegen/tests/test262-min/17d881105a9a6c85.js b/ecmascript/codegen/tests/test262-min/17d881105a9a6c85.js new file mode 100644 index 00000000000..4438cab81e4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/17d881105a9a6c85.js @@ -0,0 +1 @@ +for(var a in b)(function(){c('d')}()) diff --git a/ecmascript/codegen/tests/test262-min/1819ffb142e9c5ea.js b/ecmascript/codegen/tests/test262-min/1819ffb142e9c5ea.js new file mode 100644 index 00000000000..573541ac970 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1819ffb142e9c5ea.js @@ -0,0 +1 @@ +0 diff --git a/ecmascript/codegen/tests/test262-min/185dc3ee443bb737.js b/ecmascript/codegen/tests/test262-min/185dc3ee443bb737.js new file mode 100644 index 00000000000..c956e4bb412 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/185dc3ee443bb737.js @@ -0,0 +1 @@ +a[b]=b diff --git a/ecmascript/codegen/tests/test262-min/18cc9a6b7038070f.js b/ecmascript/codegen/tests/test262-min/18cc9a6b7038070f.js new file mode 100644 index 00000000000..ab4dc3381a3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/18cc9a6b7038070f.js @@ -0,0 +1 @@ +(function(a){});(function([a]){});(function([a,b]){});(function([[a]]){});(function([[a,b]]){});(function([a,[b]]){});(function([[b],a]){});(function({a}){});(function({a,b}){});(function([{a}]){});(function([{a,b}]){});(function([a,{b}]){});(function([{b},a]){});([a])=>{};([a,b])=>{};({a})=>{};({a,b,c,d,e})=>{};([a])=>b;([a,b])=>c;({a})=>b;({a,b})=>c diff --git a/ecmascript/codegen/tests/test262-min/18e32b70e6a5574c.js b/ecmascript/codegen/tests/test262-min/18e32b70e6a5574c.js new file mode 100644 index 00000000000..2de7e2110cc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/18e32b70e6a5574c.js @@ -0,0 +1 @@ +Infinity.a();NaN.a() diff --git a/ecmascript/codegen/tests/test262-min/18f05b95a72dffa1.js b/ecmascript/codegen/tests/test262-min/18f05b95a72dffa1.js new file mode 100644 index 00000000000..a22dd754ec3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/18f05b95a72dffa1.js @@ -0,0 +1 @@ +function*a(){yield/a/} diff --git a/ecmascript/codegen/tests/test262-min/18f731daf0845475.js b/ecmascript/codegen/tests/test262-min/18f731daf0845475.js new file mode 100644 index 00000000000..affa81490f0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/18f731daf0845475.js @@ -0,0 +1 @@ +a[b,c] diff --git a/ecmascript/codegen/tests/test262-min/1908280b73954ef7.js b/ecmascript/codegen/tests/test262-min/1908280b73954ef7.js new file mode 100644 index 00000000000..e0b8ced669f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1908280b73954ef7.js @@ -0,0 +1 @@ +/foo\/bar/ diff --git a/ecmascript/codegen/tests/test262-min/1938db3bb862ded1.js b/ecmascript/codegen/tests/test262-min/1938db3bb862ded1.js new file mode 100644 index 00000000000..fcda28aed62 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1938db3bb862ded1.js @@ -0,0 +1 @@ +function*a({yield:b}){} diff --git a/ecmascript/codegen/tests/test262-min/194b702816a7e5e5.js b/ecmascript/codegen/tests/test262-min/194b702816a7e5e5.js new file mode 100644 index 00000000000..29690f3268a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/194b702816a7e5e5.js @@ -0,0 +1 @@ +var yield=function yield(){} diff --git a/ecmascript/codegen/tests/test262-min/1972b64c4704a1eb.js b/ecmascript/codegen/tests/test262-min/1972b64c4704a1eb.js new file mode 100644 index 00000000000..549722b69f9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1972b64c4704a1eb.js @@ -0,0 +1 @@ +((a))() diff --git a/ecmascript/codegen/tests/test262-min/19d1d07fe88ec849.js b/ecmascript/codegen/tests/test262-min/19d1d07fe88ec849.js new file mode 100644 index 00000000000..9faec00262b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/19d1d07fe88ec849.js @@ -0,0 +1 @@ +({a:yield}=1) diff --git a/ecmascript/codegen/tests/test262-min/19ffea7e9e887e08.js b/ecmascript/codegen/tests/test262-min/19ffea7e9e887e08.js new file mode 100644 index 00000000000..3feabd6c98d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/19ffea7e9e887e08.js @@ -0,0 +1 @@ +({set null(a){a}}) diff --git a/ecmascript/codegen/tests/test262-min/1a0dac12dbd33ef6.js b/ecmascript/codegen/tests/test262-min/1a0dac12dbd33ef6.js new file mode 100644 index 00000000000..d6834be6d71 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1a0dac12dbd33ef6.js @@ -0,0 +1 @@ +a={} diff --git a/ecmascript/codegen/tests/test262-min/1a1c717109ab67e1.js b/ecmascript/codegen/tests/test262-min/1a1c717109ab67e1.js new file mode 100644 index 00000000000..d78c2a643c9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1a1c717109ab67e1.js @@ -0,0 +1 @@ +var a=/[\uD834\uDF06-\uD834\uDF08a-z]/u diff --git a/ecmascript/codegen/tests/test262-min/1a7800a74a866638.js b/ecmascript/codegen/tests/test262-min/1a7800a74a866638.js new file mode 100644 index 00000000000..014165e7944 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1a7800a74a866638.js @@ -0,0 +1 @@ +var eval=1,arguments=2 diff --git a/ecmascript/codegen/tests/test262-min/1b0c0fc32b9e5e35.js b/ecmascript/codegen/tests/test262-min/1b0c0fc32b9e5e35.js new file mode 100644 index 00000000000..c2062a3acc0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1b0c0fc32b9e5e35.js @@ -0,0 +1 @@ +void function(){var a;a=function(){return 1}}.b(this) diff --git a/ecmascript/codegen/tests/test262-min/1b542dd79e4444c7.module.js b/ecmascript/codegen/tests/test262-min/1b542dd79e4444c7.module.js new file mode 100644 index 00000000000..23ea1fa783c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1b542dd79e4444c7.module.js @@ -0,0 +1 @@ +import"foo" diff --git a/ecmascript/codegen/tests/test262-min/1b6e33ab982844af.js b/ecmascript/codegen/tests/test262-min/1b6e33ab982844af.js new file mode 100644 index 00000000000..3c5dc9bff5f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1b6e33ab982844af.js @@ -0,0 +1 @@ +class a{;b(){};c(){};} diff --git a/ecmascript/codegen/tests/test262-min/1b87f88ae8ea1cb1.js b/ecmascript/codegen/tests/test262-min/1b87f88ae8ea1cb1.js new file mode 100644 index 00000000000..655aae75568 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1b87f88ae8ea1cb1.js @@ -0,0 +1 @@ +switch(a){case 1:default:} diff --git a/ecmascript/codegen/tests/test262-min/1b884461ff1acfc6.js b/ecmascript/codegen/tests/test262-min/1b884461ff1acfc6.js new file mode 100644 index 00000000000..b257cedea43 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1b884461ff1acfc6.js @@ -0,0 +1 @@ +(function({a}){}) diff --git a/ecmascript/codegen/tests/references/1ba78d63a36ea567.js b/ecmascript/codegen/tests/test262-min/1ba78d63a36ea567.js similarity index 100% rename from ecmascript/codegen/tests/references/1ba78d63a36ea567.js rename to ecmascript/codegen/tests/test262-min/1ba78d63a36ea567.js diff --git a/ecmascript/codegen/tests/test262-min/1bbe65871120530b.js b/ecmascript/codegen/tests/test262-min/1bbe65871120530b.js new file mode 100644 index 00000000000..15db943869e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1bbe65871120530b.js @@ -0,0 +1 @@ +({a:b}=c) diff --git a/ecmascript/codegen/tests/test262-min/1c055d256ec34f17.js b/ecmascript/codegen/tests/test262-min/1c055d256ec34f17.js new file mode 100644 index 00000000000..49e4be4c3fa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1c055d256ec34f17.js @@ -0,0 +1 @@ +(a,b,c,d)+e diff --git a/ecmascript/codegen/tests/test262-min/1c2f680b78692645.js b/ecmascript/codegen/tests/test262-min/1c2f680b78692645.js new file mode 100644 index 00000000000..28ae99d3c83 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1c2f680b78692645.js @@ -0,0 +1 @@ +for(var a=1,b=2;;); diff --git a/ecmascript/codegen/tests/test262-min/1c6424d9a7209f81.js b/ecmascript/codegen/tests/test262-min/1c6424d9a7209f81.js new file mode 100644 index 00000000000..203db8d514d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1c6424d9a7209f81.js @@ -0,0 +1 @@ +a>b diff --git a/ecmascript/codegen/tests/test262-min/1c6c67fcd71f2d08.js b/ecmascript/codegen/tests/test262-min/1c6c67fcd71f2d08.js new file mode 100644 index 00000000000..421712c8ad0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1c6c67fcd71f2d08.js @@ -0,0 +1 @@ +({set a(b=1){}}) diff --git a/ecmascript/codegen/tests/test262-min/1c7e1e347f726166.js b/ecmascript/codegen/tests/test262-min/1c7e1e347f726166.js new file mode 100644 index 00000000000..49d55967221 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1c7e1e347f726166.js @@ -0,0 +1 @@ +{a} diff --git a/ecmascript/codegen/tests/test262-min/1ca991b39b6e7754.js b/ecmascript/codegen/tests/test262-min/1ca991b39b6e7754.js new file mode 100644 index 00000000000..5b5bdcffbf5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1ca991b39b6e7754.js @@ -0,0 +1 @@ +void'test string' diff --git a/ecmascript/codegen/tests/test262-min/1cb2c267c552028f.js b/ecmascript/codegen/tests/test262-min/1cb2c267c552028f.js new file mode 100644 index 00000000000..12895beaaf3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1cb2c267c552028f.js @@ -0,0 +1 @@ +b:while(1){continue;a} diff --git a/ecmascript/codegen/tests/test262-min/1cdce2d337e64b4f.js b/ecmascript/codegen/tests/test262-min/1cdce2d337e64b4f.js new file mode 100644 index 00000000000..12895beaaf3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1cdce2d337e64b4f.js @@ -0,0 +1 @@ +b:while(1){continue;a} diff --git a/ecmascript/codegen/tests/test262-min/1ce4afd9b35e3312.js b/ecmascript/codegen/tests/test262-min/1ce4afd9b35e3312.js new file mode 100644 index 00000000000..afb9d08a319 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1ce4afd9b35e3312.js @@ -0,0 +1 @@ +[a.b=b]=c diff --git a/ecmascript/codegen/tests/test262-min/1d1037fcfa0c7958.js b/ecmascript/codegen/tests/test262-min/1d1037fcfa0c7958.js new file mode 100644 index 00000000000..e2ae5017c10 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1d1037fcfa0c7958.js @@ -0,0 +1 @@ +[1,2,3,] diff --git a/ecmascript/codegen/tests/test262-min/1d1ac5ee0d1a9bd4.js b/ecmascript/codegen/tests/test262-min/1d1ac5ee0d1a9bd4.js new file mode 100644 index 00000000000..f25de702bdf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1d1ac5ee0d1a9bd4.js @@ -0,0 +1 @@ +let[[]]=1 diff --git a/ecmascript/codegen/tests/test262-min/1d3dd296a717e478.js b/ecmascript/codegen/tests/test262-min/1d3dd296a717e478.js new file mode 100644 index 00000000000..647e1f22a74 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1d3dd296a717e478.js @@ -0,0 +1 @@ +(eval=1)=>2 diff --git a/ecmascript/codegen/tests/test262-min/1db0d98ff1726af8.js b/ecmascript/codegen/tests/test262-min/1db0d98ff1726af8.js new file mode 100644 index 00000000000..24406dbcf2a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1db0d98ff1726af8.js @@ -0,0 +1 @@ +class a{static["prototype"](){}} diff --git a/ecmascript/codegen/tests/test262-min/1db76a05c7b9a090.js b/ecmascript/codegen/tests/test262-min/1db76a05c7b9a090.js new file mode 100644 index 00000000000..6bc9ea72adc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1db76a05c7b9a090.js @@ -0,0 +1 @@ +a>>>b diff --git a/ecmascript/codegen/tests/test262-min/1de765c987733026.js b/ecmascript/codegen/tests/test262-min/1de765c987733026.js new file mode 100644 index 00000000000..cf243d407fd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1de765c987733026.js @@ -0,0 +1 @@ +/[\s-\w]/ diff --git a/ecmascript/codegen/tests/test262-min/1e3f57c4ec83f5bc.js b/ecmascript/codegen/tests/test262-min/1e3f57c4ec83f5bc.js new file mode 100644 index 00000000000..477d587c55b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1e3f57c4ec83f5bc.js @@ -0,0 +1 @@ +a(b(c+'d'),b('d'+c)) diff --git a/ecmascript/codegen/tests/test262-min/1e61843633dcb483.js b/ecmascript/codegen/tests/test262-min/1e61843633dcb483.js new file mode 100644 index 00000000000..8ed9db24cad --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1e61843633dcb483.js @@ -0,0 +1 @@ +(function(){'use\nstrict';with(a);}()) diff --git a/ecmascript/codegen/tests/test262-min/1ea254c74f1071de.js b/ecmascript/codegen/tests/test262-min/1ea254c74f1071de.js new file mode 100644 index 00000000000..59cdc20d3d9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1ea254c74f1071de.js @@ -0,0 +1 @@ +({*a(){}}) diff --git a/ecmascript/codegen/tests/test262-min/1ef3bdd7e919cca8.js b/ecmascript/codegen/tests/test262-min/1ef3bdd7e919cca8.js new file mode 100644 index 00000000000..c3b62379211 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1ef3bdd7e919cca8.js @@ -0,0 +1 @@ +function*a(){b.c(yield)} diff --git a/ecmascript/codegen/tests/test262-min/1efde9ddd9d6e6ce.module.js b/ecmascript/codegen/tests/test262-min/1efde9ddd9d6e6ce.module.js new file mode 100644 index 00000000000..5fd1759fe49 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1efde9ddd9d6e6ce.module.js @@ -0,0 +1 @@ +(function*(){yield;a}) diff --git a/ecmascript/codegen/tests/test262-min/1f039e0eeb1bc271.js b/ecmascript/codegen/tests/test262-min/1f039e0eeb1bc271.js new file mode 100644 index 00000000000..103ea3d8120 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1f039e0eeb1bc271.js @@ -0,0 +1 @@ +a={get b(){}} diff --git a/ecmascript/codegen/tests/test262-min/1f3808cbdfab97e4.js b/ecmascript/codegen/tests/test262-min/1f3808cbdfab97e4.js new file mode 100644 index 00000000000..1168dea8299 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1f3808cbdfab97e4.js @@ -0,0 +1 @@ +a:c:b:while(true){continue a} diff --git a/ecmascript/codegen/tests/test262-min/1f5de1d7092dcd82.js b/ecmascript/codegen/tests/test262-min/1f5de1d7092dcd82.js new file mode 100644 index 00000000000..ad7de10ca07 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1f5de1d7092dcd82.js @@ -0,0 +1 @@ +var a diff --git a/ecmascript/codegen/tests/test262-min/1f89cd96db326f7a.js b/ecmascript/codegen/tests/test262-min/1f89cd96db326f7a.js new file mode 100644 index 00000000000..de06c5cef46 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1f89cd96db326f7a.js @@ -0,0 +1 @@ +new a(...b,c,...d) diff --git a/ecmascript/codegen/tests/test262-min/1f988cc22167927b.js b/ecmascript/codegen/tests/test262-min/1f988cc22167927b.js new file mode 100644 index 00000000000..6a4ee829537 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1f988cc22167927b.js @@ -0,0 +1 @@ +(function(){1,2,3}()) diff --git a/ecmascript/codegen/tests/test262-min/1fbf374c8a04fb23.js b/ecmascript/codegen/tests/test262-min/1fbf374c8a04fb23.js new file mode 100644 index 00000000000..45a4fb75db8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1fbf374c8a04fb23.js @@ -0,0 +1 @@ +8 diff --git a/ecmascript/codegen/tests/test262-min/1fc4349ef394b505.js b/ecmascript/codegen/tests/test262-min/1fc4349ef394b505.js new file mode 100644 index 00000000000..e2933699e06 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1fc4349ef394b505.js @@ -0,0 +1 @@ +while(true){continue} diff --git a/ecmascript/codegen/tests/test262-min/1fd743f03945fd05.js b/ecmascript/codegen/tests/test262-min/1fd743f03945fd05.js new file mode 100644 index 00000000000..eb2ab3c9731 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/1fd743f03945fd05.js @@ -0,0 +1 @@ +a(b,c) diff --git a/ecmascript/codegen/tests/test262-min/2010526ea64db82e.js b/ecmascript/codegen/tests/test262-min/2010526ea64db82e.js new file mode 100644 index 00000000000..72ddd884ab2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2010526ea64db82e.js @@ -0,0 +1 @@ +class a extends b{constructor(){super()}} diff --git a/ecmascript/codegen/tests/test262-min/20644d335e3cd008.js b/ecmascript/codegen/tests/test262-min/20644d335e3cd008.js new file mode 100644 index 00000000000..2ed789c0cad --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/20644d335e3cd008.js @@ -0,0 +1 @@ +"Hello\312World" diff --git a/ecmascript/codegen/tests/test262-min/206ebb4e67a6daa9.js b/ecmascript/codegen/tests/test262-min/206ebb4e67a6daa9.js new file mode 100644 index 00000000000..d5b7576a2e3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/206ebb4e67a6daa9.js @@ -0,0 +1 @@ +var a=/[\u{0000000000000061}-\u{7A}]/u diff --git a/ecmascript/codegen/tests/test262-min/2072cb8131a4ae2b.js b/ecmascript/codegen/tests/test262-min/2072cb8131a4ae2b.js new file mode 100644 index 00000000000..c56aa3ada68 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2072cb8131a4ae2b.js @@ -0,0 +1 @@ +void((a)?b:1) diff --git a/ecmascript/codegen/tests/test262-min/209fc98bea7b9d67.js b/ecmascript/codegen/tests/test262-min/209fc98bea7b9d67.js new file mode 100644 index 00000000000..9aa9c0e29fc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/209fc98bea7b9d67.js @@ -0,0 +1 @@ +if(true)a();else; diff --git a/ecmascript/codegen/tests/test262-min/20aca21e32bf7772.js b/ecmascript/codegen/tests/test262-min/20aca21e32bf7772.js new file mode 100644 index 00000000000..f2b521ac8ff --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/20aca21e32bf7772.js @@ -0,0 +1 @@ +('\u{10FFFF}') diff --git a/ecmascript/codegen/tests/test262-min/20b873ad024b210f.js b/ecmascript/codegen/tests/test262-min/20b873ad024b210f.js new file mode 100644 index 00000000000..8edd055145d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/20b873ad024b210f.js @@ -0,0 +1 @@ +(class{}) diff --git a/ecmascript/codegen/tests/test262-min/20f9bec9f3215688.js b/ecmascript/codegen/tests/test262-min/20f9bec9f3215688.js new file mode 100644 index 00000000000..47b99580987 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/20f9bec9f3215688.js @@ -0,0 +1 @@ +function a(){function b(){}} diff --git a/ecmascript/codegen/tests/test262-min/2100bec1b92b51ae.js b/ecmascript/codegen/tests/test262-min/2100bec1b92b51ae.js new file mode 100644 index 00000000000..bbf3f8815ad --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2100bec1b92b51ae.js @@ -0,0 +1 @@ +(function(){if(false){var a=1}b()}()) diff --git a/ecmascript/codegen/tests/test262-min/212d2ca66d97a90f.js b/ecmascript/codegen/tests/test262-min/212d2ca66d97a90f.js new file mode 100644 index 00000000000..d8f192e07e7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/212d2ca66d97a90f.js @@ -0,0 +1 @@ +const{a:b}={} diff --git a/ecmascript/codegen/tests/test262-min/213c3b05c6690d2d.js b/ecmascript/codegen/tests/test262-min/213c3b05c6690d2d.js new file mode 100644 index 00000000000..d05d14b191c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/213c3b05c6690d2d.js @@ -0,0 +1 @@ +([yield]=a) diff --git a/ecmascript/codegen/tests/test262-min/213e3455c8f8ceb2.js b/ecmascript/codegen/tests/test262-min/213e3455c8f8ceb2.js new file mode 100644 index 00000000000..346272f6a93 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/213e3455c8f8ceb2.js @@ -0,0 +1 @@ +(class a{}) diff --git a/ecmascript/codegen/tests/test262-min/2160fc99c3589501.js b/ecmascript/codegen/tests/test262-min/2160fc99c3589501.js new file mode 100644 index 00000000000..a163e71b8b4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2160fc99c3589501.js @@ -0,0 +1 @@ +debugger diff --git a/ecmascript/codegen/tests/test262-min/218ca74570bf06b5.module.js b/ecmascript/codegen/tests/test262-min/218ca74570bf06b5.module.js new file mode 100644 index 00000000000..b782410319d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/218ca74570bf06b5.module.js @@ -0,0 +1 @@ +export{a as default,b}from"foo" diff --git a/ecmascript/codegen/tests/test262-min/218e751b8b453b9b.js b/ecmascript/codegen/tests/test262-min/218e751b8b453b9b.js new file mode 100644 index 00000000000..5b2f06af16b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/218e751b8b453b9b.js @@ -0,0 +1 @@ +if(a){(function(){b('c')}());try{b("d")}catch(e){}} diff --git a/ecmascript/codegen/tests/test262-min/21ebb8746371268b.module.js b/ecmascript/codegen/tests/test262-min/21ebb8746371268b.module.js new file mode 100644 index 00000000000..ecd899a6898 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/21ebb8746371268b.module.js @@ -0,0 +1 @@ +import{b as a,c}from"foo" diff --git a/ecmascript/codegen/tests/test262-min/21f1173fff072ee5.js b/ecmascript/codegen/tests/test262-min/21f1173fff072ee5.js new file mode 100644 index 00000000000..da394efcc64 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/21f1173fff072ee5.js @@ -0,0 +1 @@ +let a diff --git a/ecmascript/codegen/tests/test262-min/21f5ce68788d4ffa.js b/ecmascript/codegen/tests/test262-min/21f5ce68788d4ffa.js new file mode 100644 index 00000000000..2288a0f3d13 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/21f5ce68788d4ffa.js @@ -0,0 +1 @@ +while(a<1){a++;b--} diff --git a/ecmascript/codegen/tests/test262-min/2207b24e625f30db.js b/ecmascript/codegen/tests/test262-min/2207b24e625f30db.js new file mode 100644 index 00000000000..746f9d8a464 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2207b24e625f30db.js @@ -0,0 +1 @@ +(function(){var a={};a.b=(c(),1)}()) diff --git a/ecmascript/codegen/tests/test262-min/22119a1d30256255.js b/ecmascript/codegen/tests/test262-min/22119a1d30256255.js new file mode 100644 index 00000000000..d5eb6b4cacc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/22119a1d30256255.js @@ -0,0 +1 @@ +a|b diff --git a/ecmascript/codegen/tests/test262-min/227118dffd2c9935.js b/ecmascript/codegen/tests/test262-min/227118dffd2c9935.js new file mode 100644 index 00000000000..fb517a92183 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/227118dffd2c9935.js @@ -0,0 +1 @@ +class a extends b{static get c(){}} diff --git a/ecmascript/codegen/tests/test262-min/22b24d1deb35baf3.js b/ecmascript/codegen/tests/test262-min/22b24d1deb35baf3.js new file mode 100644 index 00000000000..98c591d4320 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/22b24d1deb35baf3.js @@ -0,0 +1 @@ +(a=>a) diff --git a/ecmascript/codegen/tests/test262-min/22dc0bb1d4e8d89f.js b/ecmascript/codegen/tests/test262-min/22dc0bb1d4e8d89f.js new file mode 100644 index 00000000000..c18a6d888be --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/22dc0bb1d4e8d89f.js @@ -0,0 +1 @@ +function a({yield:b}){} diff --git a/ecmascript/codegen/tests/test262-min/22eba6e3841edeec.js b/ecmascript/codegen/tests/test262-min/22eba6e3841edeec.js new file mode 100644 index 00000000000..4c34a08d4f5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/22eba6e3841edeec.js @@ -0,0 +1 @@ +switch(a){} diff --git a/ecmascript/codegen/tests/test262-min/230da70c908c1859.js b/ecmascript/codegen/tests/test262-min/230da70c908c1859.js new file mode 100644 index 00000000000..1313d1a88fc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/230da70c908c1859.js @@ -0,0 +1 @@ +'use strict';var a={delete:1} diff --git a/ecmascript/codegen/tests/test262-min/23869c020fc2cb0f.js b/ecmascript/codegen/tests/test262-min/23869c020fc2cb0f.js new file mode 100644 index 00000000000..a669eb7a960 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/23869c020fc2cb0f.js @@ -0,0 +1 @@ +({"__proto__":null,__proto__(){}}) diff --git a/ecmascript/codegen/tests/references/23d6a92eed7f18fa.js b/ecmascript/codegen/tests/test262-min/23d6a92eed7f18fa.js similarity index 100% rename from ecmascript/codegen/tests/references/23d6a92eed7f18fa.js rename to ecmascript/codegen/tests/test262-min/23d6a92eed7f18fa.js diff --git a/ecmascript/codegen/tests/test262-min/2418fddf06e515f8.js b/ecmascript/codegen/tests/test262-min/2418fddf06e515f8.js new file mode 100644 index 00000000000..63cae232010 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2418fddf06e515f8.js @@ -0,0 +1 @@ +a in b diff --git a/ecmascript/codegen/tests/test262-min/242ede66951e11b1.js b/ecmascript/codegen/tests/test262-min/242ede66951e11b1.js new file mode 100644 index 00000000000..d4499772dc3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/242ede66951e11b1.js @@ -0,0 +1 @@ +(function(){a('b')}());try{}catch(c){} diff --git a/ecmascript/codegen/tests/test262-min/24557730b5076325.js b/ecmascript/codegen/tests/test262-min/24557730b5076325.js new file mode 100644 index 00000000000..156ac8bcb72 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/24557730b5076325.js @@ -0,0 +1 @@ +(function(){a(),1,b()}()) diff --git a/ecmascript/codegen/tests/test262-min/24e299720285b6c1.js b/ecmascript/codegen/tests/test262-min/24e299720285b6c1.js new file mode 100644 index 00000000000..e499d39e773 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/24e299720285b6c1.js @@ -0,0 +1 @@ +var a=/foo\/bar/ diff --git a/ecmascript/codegen/tests/test262-min/24fa28a37061a18f.js b/ecmascript/codegen/tests/test262-min/24fa28a37061a18f.js new file mode 100644 index 00000000000..aa2a5c4587a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/24fa28a37061a18f.js @@ -0,0 +1 @@ +"use strict";({yield(){}}) diff --git a/ecmascript/codegen/tests/test262-min/250ced8c8e83b389.js b/ecmascript/codegen/tests/test262-min/250ced8c8e83b389.js new file mode 100644 index 00000000000..721692f3cf3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/250ced8c8e83b389.js @@ -0,0 +1 @@ +var[,a]=1 diff --git a/ecmascript/codegen/tests/test262-min/25296359c69440e8.js b/ecmascript/codegen/tests/test262-min/25296359c69440e8.js new file mode 100644 index 00000000000..7eb28ae3f0f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/25296359c69440e8.js @@ -0,0 +1 @@ +for(let a in[1,2])3 diff --git a/ecmascript/codegen/tests/test262-min/252bb992a448270e.js b/ecmascript/codegen/tests/test262-min/252bb992a448270e.js new file mode 100644 index 00000000000..7f5e998e931 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/252bb992a448270e.js @@ -0,0 +1 @@ +({get if(){}}) diff --git a/ecmascript/codegen/tests/test262-min/25542e65ad9d2bf1.js b/ecmascript/codegen/tests/test262-min/25542e65ad9d2bf1.js new file mode 100644 index 00000000000..9f237e1b254 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/25542e65ad9d2bf1.js @@ -0,0 +1 @@ +(function(){var a;b(typeof a==='c')}()) diff --git a/ecmascript/codegen/tests/test262-min/2565ae4b2f2956b0.module.js b/ecmascript/codegen/tests/test262-min/2565ae4b2f2956b0.module.js new file mode 100644 index 00000000000..0427d2d46a9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2565ae4b2f2956b0.module.js @@ -0,0 +1 @@ +import*as a from"foo" diff --git a/ecmascript/codegen/tests/test262-min/257f15ea5c44a423.js b/ecmascript/codegen/tests/test262-min/257f15ea5c44a423.js new file mode 100644 index 00000000000..8ef21340707 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/257f15ea5c44a423.js @@ -0,0 +1 @@ +for(let a=1,b=2;;); diff --git a/ecmascript/codegen/tests/test262-min/25824f6a683e7467.module.js b/ecmascript/codegen/tests/test262-min/25824f6a683e7467.module.js new file mode 100644 index 00000000000..e01498ed075 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/25824f6a683e7467.module.js @@ -0,0 +1 @@ +export class a{}; diff --git a/ecmascript/codegen/tests/test262-min/25fd48ccc3bef96a.js b/ecmascript/codegen/tests/test262-min/25fd48ccc3bef96a.js new file mode 100644 index 00000000000..fc9b87930a7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/25fd48ccc3bef96a.js @@ -0,0 +1 @@ +(function(){a(typeof b!=='c')}()) diff --git a/ecmascript/codegen/tests/test262-min/2619be6c7f521c49.js b/ecmascript/codegen/tests/test262-min/2619be6c7f521c49.js new file mode 100644 index 00000000000..f85ef5b0f29 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2619be6c7f521c49.js @@ -0,0 +1 @@ +function a(){b={c(){return 1}}} diff --git a/ecmascript/codegen/tests/test262-min/264266c68369c672.js b/ecmascript/codegen/tests/test262-min/264266c68369c672.js new file mode 100644 index 00000000000..c982b4a9693 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/264266c68369c672.js @@ -0,0 +1 @@ +function a(){var b;if(b='b'){return b}else{return b}};a() diff --git a/ecmascript/codegen/tests/test262-min/26974bc54e93b191.js b/ecmascript/codegen/tests/test262-min/26974bc54e93b191.js new file mode 100644 index 00000000000..d089a036927 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/26974bc54e93b191.js @@ -0,0 +1 @@ +a[b] diff --git a/ecmascript/codegen/tests/test262-min/26998ded3750f7d8.js b/ecmascript/codegen/tests/test262-min/26998ded3750f7d8.js new file mode 100644 index 00000000000..d9ded5cc130 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/26998ded3750f7d8.js @@ -0,0 +1 @@ +(function a(){var b=1;c(b)}()) diff --git a/ecmascript/codegen/tests/test262-min/26a4b2dddf53ab39.js b/ecmascript/codegen/tests/test262-min/26a4b2dddf53ab39.js new file mode 100644 index 00000000000..3d5be509c15 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/26a4b2dddf53ab39.js @@ -0,0 +1 @@ +/\uD834\uDF06\u{1d306}/u diff --git a/ecmascript/codegen/tests/test262-min/26aa785e12e00fb1.js b/ecmascript/codegen/tests/test262-min/26aa785e12e00fb1.js new file mode 100644 index 00000000000..0adaab2b642 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/26aa785e12e00fb1.js @@ -0,0 +1 @@ +(function(){if(a)return;else return}()) diff --git a/ecmascript/codegen/tests/test262-min/26aa8b685715d445.module.js b/ecmascript/codegen/tests/test262-min/26aa8b685715d445.module.js new file mode 100644 index 00000000000..02eca780001 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/26aa8b685715d445.module.js @@ -0,0 +1 @@ +export const a={} diff --git a/ecmascript/codegen/tests/test262-min/26b946d7cc01c226.js b/ecmascript/codegen/tests/test262-min/26b946d7cc01c226.js new file mode 100644 index 00000000000..ed03ed120a3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/26b946d7cc01c226.js @@ -0,0 +1 @@ +var yield diff --git a/ecmascript/codegen/tests/test262-min/26edf4bcd3ed9e74.js b/ecmascript/codegen/tests/test262-min/26edf4bcd3ed9e74.js new file mode 100644 index 00000000000..da1731a5cfc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/26edf4bcd3ed9e74.js @@ -0,0 +1 @@ +(function(){void((a)?1:b)}()) diff --git a/ecmascript/codegen/tests/test262-min/26f27d747e98d3eb.js b/ecmascript/codegen/tests/test262-min/26f27d747e98d3eb.js new file mode 100644 index 00000000000..be9e134813a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/26f27d747e98d3eb.js @@ -0,0 +1 @@ +function a(){if(b){let c;let d;var e;var f}} diff --git a/ecmascript/codegen/tests/test262-min/26f632a0a4d60150.js b/ecmascript/codegen/tests/test262-min/26f632a0a4d60150.js new file mode 100644 index 00000000000..eeb23d5187b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/26f632a0a4d60150.js @@ -0,0 +1 @@ +switch(1){case 2:a();case 3+4:b();break;case 5+6+7:c()} diff --git a/ecmascript/codegen/tests/test262-min/27409f5b7b692b24.js b/ecmascript/codegen/tests/test262-min/27409f5b7b692b24.js new file mode 100644 index 00000000000..099d59cdf36 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/27409f5b7b692b24.js @@ -0,0 +1 @@ +(function({a=1}){}) diff --git a/ecmascript/codegen/tests/test262-min/2754a9872f3512ed.js b/ecmascript/codegen/tests/test262-min/2754a9872f3512ed.js new file mode 100644 index 00000000000..ce9b9dbf307 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2754a9872f3512ed.js @@ -0,0 +1 @@ +function a(){"use strict"+1} diff --git a/ecmascript/codegen/tests/test262-min/27ac24465c731ff9.js b/ecmascript/codegen/tests/test262-min/27ac24465c731ff9.js new file mode 100644 index 00000000000..fc72b7eb69d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/27ac24465c731ff9.js @@ -0,0 +1 @@ +var a=/[x-z]/i diff --git a/ecmascript/codegen/tests/test262-min/27b5d00cc75de02f.js b/ecmascript/codegen/tests/test262-min/27b5d00cc75de02f.js new file mode 100644 index 00000000000..bbe5da688f3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/27b5d00cc75de02f.js @@ -0,0 +1 @@ +function a(b){if(b){return}else{return 1}} diff --git a/ecmascript/codegen/tests/test262-min/27ca96102da82628.js b/ecmascript/codegen/tests/test262-min/27ca96102da82628.js new file mode 100644 index 00000000000..327e71d360a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/27ca96102da82628.js @@ -0,0 +1 @@ +"Hello\712World" diff --git a/ecmascript/codegen/tests/test262-min/27ed2f0fdb7f53f6.module.js b/ecmascript/codegen/tests/test262-min/27ed2f0fdb7f53f6.module.js new file mode 100644 index 00000000000..af78ceb157b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/27ed2f0fdb7f53f6.module.js @@ -0,0 +1 @@ +export{a,b}from"foo" diff --git a/ecmascript/codegen/tests/test262-min/284ca169f09605be.js b/ecmascript/codegen/tests/test262-min/284ca169f09605be.js new file mode 100644 index 00000000000..dad56a12ba4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/284ca169f09605be.js @@ -0,0 +1 @@ +[a,...b]=c diff --git a/ecmascript/codegen/tests/test262-min/285648c16156804f.js b/ecmascript/codegen/tests/test262-min/285648c16156804f.js new file mode 100644 index 00000000000..5b557b85a53 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/285648c16156804f.js @@ -0,0 +1 @@ +(function(){return;a}) diff --git a/ecmascript/codegen/tests/test262-min/286876d6fdab22d7.js b/ecmascript/codegen/tests/test262-min/286876d6fdab22d7.js new file mode 100644 index 00000000000..782831c33fe --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/286876d6fdab22d7.js @@ -0,0 +1 @@ +__proto__:while(true){continue __proto__} diff --git a/ecmascript/codegen/tests/test262-min/28a54e6410ad3f19.js b/ecmascript/codegen/tests/test262-min/28a54e6410ad3f19.js new file mode 100644 index 00000000000..82b034766bd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/28a54e6410ad3f19.js @@ -0,0 +1 @@ +for(;;){if(a){if(b){continue}else{;}}else{;}} diff --git a/ecmascript/codegen/tests/test262-min/290fdc5a2f826ead.js b/ecmascript/codegen/tests/test262-min/290fdc5a2f826ead.js new file mode 100644 index 00000000000..6f14af019a0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/290fdc5a2f826ead.js @@ -0,0 +1 @@ +(function a(b,c){}) diff --git a/ecmascript/codegen/tests/test262-min/2935f62bfe48ca1b.js b/ecmascript/codegen/tests/test262-min/2935f62bfe48ca1b.js new file mode 100644 index 00000000000..ff0c5322f60 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2935f62bfe48ca1b.js @@ -0,0 +1 @@ +function a(){return(a,void 1)} diff --git a/ecmascript/codegen/tests/test262-min/2976a1598d3a75e1.js b/ecmascript/codegen/tests/test262-min/2976a1598d3a75e1.js new file mode 100644 index 00000000000..458a2527848 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2976a1598d3a75e1.js @@ -0,0 +1 @@ +let{a}={} diff --git a/ecmascript/codegen/tests/test262-min/29bcad4873d3581b.js b/ecmascript/codegen/tests/test262-min/29bcad4873d3581b.js new file mode 100644 index 00000000000..56cd9079e12 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/29bcad4873d3581b.js @@ -0,0 +1 @@ +function a(){new new.target} diff --git a/ecmascript/codegen/tests/test262-min/29e41f46ede71f11.js b/ecmascript/codegen/tests/test262-min/29e41f46ede71f11.js new file mode 100644 index 00000000000..39ea28c16da --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/29e41f46ede71f11.js @@ -0,0 +1 @@ +yield=>1 diff --git a/ecmascript/codegen/tests/test262-min/29ef8a7a1cbfda7f.js b/ecmascript/codegen/tests/test262-min/29ef8a7a1cbfda7f.js new file mode 100644 index 00000000000..570e44e2ec2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/29ef8a7a1cbfda7f.js @@ -0,0 +1 @@ +a.in;{}/foo/ diff --git a/ecmascript/codegen/tests/test262-min/2a11bb318142547e.js b/ecmascript/codegen/tests/test262-min/2a11bb318142547e.js new file mode 100644 index 00000000000..dfe11b1ee95 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2a11bb318142547e.js @@ -0,0 +1 @@ +if(a()){if(b()){c()}else{d()}}else{d()}if(a()){if(b()){c()}} diff --git a/ecmascript/codegen/tests/test262-min/2a327fdbcc6cb870.js b/ecmascript/codegen/tests/test262-min/2a327fdbcc6cb870.js new file mode 100644 index 00000000000..f29f3e1419e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2a327fdbcc6cb870.js @@ -0,0 +1 @@ +a({["b"+"b"]:1}) diff --git a/ecmascript/codegen/tests/test262-min/2a7d131074016ba6.js b/ecmascript/codegen/tests/test262-min/2a7d131074016ba6.js new file mode 100644 index 00000000000..908a009e995 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2a7d131074016ba6.js @@ -0,0 +1 @@ +'use strict';var a=function(b){b();a()} diff --git a/ecmascript/codegen/tests/test262-min/2aa1db78027ba395.js b/ecmascript/codegen/tests/test262-min/2aa1db78027ba395.js new file mode 100644 index 00000000000..570c4763a0e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2aa1db78027ba395.js @@ -0,0 +1 @@ +()=>(a)=1 diff --git a/ecmascript/codegen/tests/test262-min/2ab9ca1f6a30c203.js b/ecmascript/codegen/tests/test262-min/2ab9ca1f6a30c203.js new file mode 100644 index 00000000000..0e7b0676279 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2ab9ca1f6a30c203.js @@ -0,0 +1 @@ +if(a){{{{}}}if(b){c()}{{}}}else{d()}if(a){for(var e=1;e<2;++e)if(b)c()}else{d()} diff --git a/ecmascript/codegen/tests/test262-min/2acc83b037420689.js b/ecmascript/codegen/tests/test262-min/2acc83b037420689.js new file mode 100644 index 00000000000..920d211cde3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2acc83b037420689.js @@ -0,0 +1 @@ +class a extends b{constructor(){()=>super()}} diff --git a/ecmascript/codegen/tests/test262-min/2afc5d4b75dbf12d.js b/ecmascript/codegen/tests/test262-min/2afc5d4b75dbf12d.js new file mode 100644 index 00000000000..899b7af2248 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2afc5d4b75dbf12d.js @@ -0,0 +1 @@ +(function(){void 1}()) diff --git a/ecmascript/codegen/tests/test262-min/2b0727c871857af5.js b/ecmascript/codegen/tests/test262-min/2b0727c871857af5.js new file mode 100644 index 00000000000..3fbfd648616 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2b0727c871857af5.js @@ -0,0 +1 @@ +let a,b diff --git a/ecmascript/codegen/tests/test262-min/2b1f4f042cff07a3.js b/ecmascript/codegen/tests/test262-min/2b1f4f042cff07a3.js new file mode 100644 index 00000000000..0d8cb6a70fa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2b1f4f042cff07a3.js @@ -0,0 +1 @@ +(function(){if(true){var a=1}}()) diff --git a/ecmascript/codegen/tests/test262-min/2b393e093a0e2fb3.module.js b/ecmascript/codegen/tests/test262-min/2b393e093a0e2fb3.module.js new file mode 100644 index 00000000000..5408f14c994 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2b393e093a0e2fb3.module.js @@ -0,0 +1 @@ +export{a as default}from"foo" diff --git a/ecmascript/codegen/tests/test262-min/2b478bb5ceb2e18b.js b/ecmascript/codegen/tests/test262-min/2b478bb5ceb2e18b.js new file mode 100644 index 00000000000..eccc524f106 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2b478bb5ceb2e18b.js @@ -0,0 +1 @@ +a++ diff --git a/ecmascript/codegen/tests/test262-min/2b83dea123ed2e2e.js b/ecmascript/codegen/tests/test262-min/2b83dea123ed2e2e.js new file mode 100644 index 00000000000..4bb1eb826d5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2b83dea123ed2e2e.js @@ -0,0 +1 @@ +({a:[a,b]},...c)=>{} diff --git a/ecmascript/codegen/tests/test262-min/2b9d4a632590814a.js b/ecmascript/codegen/tests/test262-min/2b9d4a632590814a.js new file mode 100644 index 00000000000..66bdd609799 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2b9d4a632590814a.js @@ -0,0 +1 @@ +function a(){'use strict';0} diff --git a/ecmascript/codegen/tests/test262-min/2ba11d8ca169ab6c.js b/ecmascript/codegen/tests/test262-min/2ba11d8ca169ab6c.js new file mode 100644 index 00000000000..4c85b24ff9d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2ba11d8ca169ab6c.js @@ -0,0 +1 @@ +b:while(a)break b;c:while(a)break diff --git a/ecmascript/codegen/tests/test262-min/2bd8ae9202baa31e.js b/ecmascript/codegen/tests/test262-min/2bd8ae9202baa31e.js new file mode 100644 index 00000000000..a3654b98166 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2bd8ae9202baa31e.js @@ -0,0 +1 @@ +([])=>1 diff --git a/ecmascript/codegen/tests/test262-min/2bdb271c1ff34f35.js b/ecmascript/codegen/tests/test262-min/2bdb271c1ff34f35.js new file mode 100644 index 00000000000..348e84f9105 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2bdb271c1ff34f35.js @@ -0,0 +1 @@ +for(let a=1;;); diff --git a/ecmascript/codegen/tests/test262-min/2c16af589c5c8535.js b/ecmascript/codegen/tests/test262-min/2c16af589c5c8535.js new file mode 100644 index 00000000000..7bc1ac4179e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2c16af589c5c8535.js @@ -0,0 +1 @@ +class a{static*b(c){yield c}} diff --git a/ecmascript/codegen/tests/test262-min/2c4b264884006a8e.js b/ecmascript/codegen/tests/test262-min/2c4b264884006a8e.js new file mode 100644 index 00000000000..557129175db --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2c4b264884006a8e.js @@ -0,0 +1 @@ +(function(){throw'a';with(b);}()) diff --git a/ecmascript/codegen/tests/test262-min/2c5f4d039f9c7740.js b/ecmascript/codegen/tests/test262-min/2c5f4d039f9c7740.js new file mode 100644 index 00000000000..18c472519b2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2c5f4d039f9c7740.js @@ -0,0 +1 @@ +function a(){with((a(),void 1)){}} diff --git a/ecmascript/codegen/tests/test262-min/2c7a69627f1d8062.js b/ecmascript/codegen/tests/test262-min/2c7a69627f1d8062.js new file mode 100644 index 00000000000..ffc53c4d99d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2c7a69627f1d8062.js @@ -0,0 +1 @@ +while(a){{b();b()}} diff --git a/ecmascript/codegen/tests/test262-min/2c7e2fecbc1cb477.js b/ecmascript/codegen/tests/test262-min/2c7e2fecbc1cb477.js new file mode 100644 index 00000000000..7fc78c0d365 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2c7e2fecbc1cb477.js @@ -0,0 +1 @@ +(function(){for(!!!a&&a();!!!b&&a();!!!b&&a()){}}()) diff --git a/ecmascript/codegen/tests/test262-min/2ccf4707fe3749ff.js b/ecmascript/codegen/tests/test262-min/2ccf4707fe3749ff.js new file mode 100644 index 00000000000..44958dadfce --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2ccf4707fe3749ff.js @@ -0,0 +1 @@ +((1,2),3) diff --git a/ecmascript/codegen/tests/test262-min/2cda5eb51a2d97e7.js b/ecmascript/codegen/tests/test262-min/2cda5eb51a2d97e7.js new file mode 100644 index 00000000000..d9f5daaa9c6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2cda5eb51a2d97e7.js @@ -0,0 +1 @@ +class a extends b{constructor(){super.c}} diff --git a/ecmascript/codegen/tests/test262-min/2cdf798a24c241e3.js b/ecmascript/codegen/tests/test262-min/2cdf798a24c241e3.js new file mode 100644 index 00000000000..0a1e2917d04 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2cdf798a24c241e3.js @@ -0,0 +1 @@ +a*b*c diff --git a/ecmascript/codegen/tests/test262-min/2d10fed2af94fbd1.js b/ecmascript/codegen/tests/test262-min/2d10fed2af94fbd1.js new file mode 100644 index 00000000000..eaef689ee41 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2d10fed2af94fbd1.js @@ -0,0 +1 @@ +a=>{'use strict'} diff --git a/ecmascript/codegen/tests/test262-min/2d1ecf6fb0d1afe2.js b/ecmascript/codegen/tests/test262-min/2d1ecf6fb0d1afe2.js new file mode 100644 index 00000000000..de075854546 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2d1ecf6fb0d1afe2.js @@ -0,0 +1 @@ +({0:a,1:a}=1) diff --git a/ecmascript/codegen/tests/test262-min/2d3273e0386e9cb8.js b/ecmascript/codegen/tests/test262-min/2d3273e0386e9cb8.js new file mode 100644 index 00000000000..54c0189a279 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2d3273e0386e9cb8.js @@ -0,0 +1 @@ +function*a(){} diff --git a/ecmascript/codegen/tests/test262-min/2d614e07c62fc32d.js b/ecmascript/codegen/tests/test262-min/2d614e07c62fc32d.js new file mode 100644 index 00000000000..d7aca024bac --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2d614e07c62fc32d.js @@ -0,0 +1 @@ +while(true){break} diff --git a/ecmascript/codegen/tests/test262-min/2db5219f0ac5dd71.js b/ecmascript/codegen/tests/test262-min/2db5219f0ac5dd71.js new file mode 100644 index 00000000000..15b61045b52 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2db5219f0ac5dd71.js @@ -0,0 +1 @@ +a(`${b}`,`${d}`) diff --git a/ecmascript/codegen/tests/test262-min/2dc0ded5a1bff643.js b/ecmascript/codegen/tests/test262-min/2dc0ded5a1bff643.js new file mode 100644 index 00000000000..0117019e269 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2dc0ded5a1bff643.js @@ -0,0 +1 @@ +a=[1,,];b=[2,3,c];d=[4,,5,];e=[6,c,7] diff --git a/ecmascript/codegen/tests/test262-min/2dc1c08d0bff6eba.js b/ecmascript/codegen/tests/test262-min/2dc1c08d0bff6eba.js new file mode 100644 index 00000000000..e1904c7b2e7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2dc1c08d0bff6eba.js @@ -0,0 +1 @@ +([a,...b])=>1 diff --git a/ecmascript/codegen/tests/test262-min/2dd810da4984502b.js b/ecmascript/codegen/tests/test262-min/2dd810da4984502b.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2dd810da4984502b.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/2df813ffa8a0a9e1.js b/ecmascript/codegen/tests/test262-min/2df813ffa8a0a9e1.js new file mode 100644 index 00000000000..a2e49685629 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2df813ffa8a0a9e1.js @@ -0,0 +1 @@ +function a(){return"comment in"} diff --git a/ecmascript/codegen/tests/test262-min/2e371094f1b1ac51.js b/ecmascript/codegen/tests/test262-min/2e371094f1b1ac51.js new file mode 100644 index 00000000000..864c3fda0f1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2e371094f1b1ac51.js @@ -0,0 +1 @@ +('\1111') diff --git a/ecmascript/codegen/tests/test262-min/2e5fbf7b1685fa1b.js b/ecmascript/codegen/tests/test262-min/2e5fbf7b1685fa1b.js new file mode 100644 index 00000000000..72cd724e3cd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2e5fbf7b1685fa1b.js @@ -0,0 +1 @@ +(function(){var a=1;arguments[2]=3;(function(){eval('')}())}()) diff --git a/ecmascript/codegen/tests/test262-min/2e7336dc8eba87ef.js b/ecmascript/codegen/tests/test262-min/2e7336dc8eba87ef.js new file mode 100644 index 00000000000..4e1c325aa34 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2e7336dc8eba87ef.js @@ -0,0 +1 @@ +a.b diff --git a/ecmascript/codegen/tests/test262-min/2e75e3bd39e6df05.js b/ecmascript/codegen/tests/test262-min/2e75e3bd39e6df05.js new file mode 100644 index 00000000000..a8bb329c84b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2e75e3bd39e6df05.js @@ -0,0 +1 @@ +a="b".c;a=("b"+"d")["e"+"f"];a=g.c;a=("b"+g).c diff --git a/ecmascript/codegen/tests/test262-min/2e7f443b2f555bc5.js b/ecmascript/codegen/tests/test262-min/2e7f443b2f555bc5.js new file mode 100644 index 00000000000..47b99580987 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2e7f443b2f555bc5.js @@ -0,0 +1 @@ +function a(){function b(){}} diff --git a/ecmascript/codegen/tests/test262-min/2e8a88da875f40c7.js b/ecmascript/codegen/tests/test262-min/2e8a88da875f40c7.js new file mode 100644 index 00000000000..38add083af2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2e8a88da875f40c7.js @@ -0,0 +1 @@ +delete/test/ diff --git a/ecmascript/codegen/tests/test262-min/2ef5ba0343d739dc.js b/ecmascript/codegen/tests/test262-min/2ef5ba0343d739dc.js new file mode 100644 index 00000000000..83654dd891d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2ef5ba0343d739dc.js @@ -0,0 +1 @@ +let.let diff --git a/ecmascript/codegen/tests/test262-min/2f6d8a2215407ae3.js b/ecmascript/codegen/tests/test262-min/2f6d8a2215407ae3.js new file mode 100644 index 00000000000..605b61dc01f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2f6d8a2215407ae3.js @@ -0,0 +1 @@ +function a(){for(var b=1,c=2;b<3;++b){}} diff --git a/ecmascript/codegen/tests/test262-min/2f84859abd5a242c.js b/ecmascript/codegen/tests/test262-min/2f84859abd5a242c.js new file mode 100644 index 00000000000..46d700079b6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/2f84859abd5a242c.js @@ -0,0 +1 @@ +(function(){do{a()}while(false)}()) diff --git a/ecmascript/codegen/tests/test262-min/300a638d978d0f2c.js b/ecmascript/codegen/tests/test262-min/300a638d978d0f2c.js new file mode 100644 index 00000000000..2b0630c504e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/300a638d978d0f2c.js @@ -0,0 +1 @@ +T‍=[] diff --git a/ecmascript/codegen/tests/test262-min/30142c5b79e4eea9.js b/ecmascript/codegen/tests/test262-min/30142c5b79e4eea9.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/30142c5b79e4eea9.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/3085290028dd33e1.js b/ecmascript/codegen/tests/test262-min/3085290028dd33e1.js new file mode 100644 index 00000000000..e0def157b0d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3085290028dd33e1.js @@ -0,0 +1 @@ +function a(b,c){function d(){e()}return b+c} diff --git a/ecmascript/codegen/tests/test262-min/3097f73926c93640.js b/ecmascript/codegen/tests/test262-min/3097f73926c93640.js new file mode 100644 index 00000000000..20c7504d91c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3097f73926c93640.js @@ -0,0 +1 @@ +(function(){return}) diff --git a/ecmascript/codegen/tests/test262-min/3098b57020860587.js b/ecmascript/codegen/tests/test262-min/3098b57020860587.js new file mode 100644 index 00000000000..1837cb75398 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3098b57020860587.js @@ -0,0 +1 @@ +(function(){var a=1;eval('')}()) diff --git a/ecmascript/codegen/tests/test262-min/30aee1020fc69090.js b/ecmascript/codegen/tests/test262-min/30aee1020fc69090.js new file mode 100644 index 00000000000..23bf1a72cbd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/30aee1020fc69090.js @@ -0,0 +1 @@ +(class{set a(b){'use strict'}}) diff --git a/ecmascript/codegen/tests/test262-min/31232b72db0fd24f.js b/ecmascript/codegen/tests/test262-min/31232b72db0fd24f.js new file mode 100644 index 00000000000..77b769919b7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/31232b72db0fd24f.js @@ -0,0 +1 @@ +a(b(c,c),d(c,c),e(c,c)) diff --git a/ecmascript/codegen/tests/test262-min/31237b174ba6047a.js b/ecmascript/codegen/tests/test262-min/31237b174ba6047a.js new file mode 100644 index 00000000000..73cfb169d30 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/31237b174ba6047a.js @@ -0,0 +1 @@ +𐀀 diff --git a/ecmascript/codegen/tests/test262-min/312f85fecc352681.js b/ecmascript/codegen/tests/test262-min/312f85fecc352681.js new file mode 100644 index 00000000000..6c3a79864cb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/312f85fecc352681.js @@ -0,0 +1 @@ +(function a(){b;c()}) diff --git a/ecmascript/codegen/tests/test262-min/315692af7fe2aad3.js b/ecmascript/codegen/tests/test262-min/315692af7fe2aad3.js new file mode 100644 index 00000000000..e6fbc06a1cf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/315692af7fe2aad3.js @@ -0,0 +1 @@ +var a={};a.b=1;a.c=2;d.e(a.c) diff --git a/ecmascript/codegen/tests/test262-min/3156a92ca5319b8b.js b/ecmascript/codegen/tests/test262-min/3156a92ca5319b8b.js new file mode 100644 index 00000000000..4a88de1bed8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3156a92ca5319b8b.js @@ -0,0 +1 @@ +throw'a';b() diff --git a/ecmascript/codegen/tests/test262-min/317532451c2ce8ff.js b/ecmascript/codegen/tests/test262-min/317532451c2ce8ff.js new file mode 100644 index 00000000000..774b35f2646 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/317532451c2ce8ff.js @@ -0,0 +1 @@ +'use strict';var a=function(){}(b()) diff --git a/ecmascript/codegen/tests/test262-min/318c169a25ee42c5.js b/ecmascript/codegen/tests/test262-min/318c169a25ee42c5.js new file mode 100644 index 00000000000..76c6fe80c1b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/318c169a25ee42c5.js @@ -0,0 +1 @@ +new a(...0.5) diff --git a/ecmascript/codegen/tests/test262-min/31ad88cae27258b7.js b/ecmascript/codegen/tests/test262-min/31ad88cae27258b7.js new file mode 100644 index 00000000000..946fa17b088 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/31ad88cae27258b7.js @@ -0,0 +1 @@ +var a=/[\]/]/ diff --git a/ecmascript/codegen/tests/test262-min/31cca30ad2bf696d.js b/ecmascript/codegen/tests/test262-min/31cca30ad2bf696d.js new file mode 100644 index 00000000000..54c290ec704 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/31cca30ad2bf696d.js @@ -0,0 +1 @@ +(function(){(function(){}())}()) diff --git a/ecmascript/codegen/tests/test262-min/323783be9a53a31e.js b/ecmascript/codegen/tests/test262-min/323783be9a53a31e.js new file mode 100644 index 00000000000..45a4fb75db8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/323783be9a53a31e.js @@ -0,0 +1 @@ +8 diff --git a/ecmascript/codegen/tests/test262-min/329bc0e532da6227.js b/ecmascript/codegen/tests/test262-min/329bc0e532da6227.js new file mode 100644 index 00000000000..4d850a963e0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/329bc0e532da6227.js @@ -0,0 +1 @@ +```` diff --git a/ecmascript/codegen/tests/test262-min/32a9af0615bf7618.js b/ecmascript/codegen/tests/test262-min/32a9af0615bf7618.js new file mode 100644 index 00000000000..81ada7ea304 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/32a9af0615bf7618.js @@ -0,0 +1 @@ +(function(){var a=1;with(b){a+=a+=2}}()) diff --git a/ecmascript/codegen/tests/test262-min/32b4780ad9c4292a.js b/ecmascript/codegen/tests/test262-min/32b4780ad9c4292a.js new file mode 100644 index 00000000000..6e827888604 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/32b4780ad9c4292a.js @@ -0,0 +1 @@ +a:1;a:2 diff --git a/ecmascript/codegen/tests/test262-min/32b635a9667a9fb1.js b/ecmascript/codegen/tests/test262-min/32b635a9667a9fb1.js new file mode 100644 index 00000000000..d9f506fac54 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/32b635a9667a9fb1.js @@ -0,0 +1 @@ +(function(){var a=1}).b(this) diff --git a/ecmascript/codegen/tests/test262-min/32b6854d07aefbda.js b/ecmascript/codegen/tests/test262-min/32b6854d07aefbda.js new file mode 100644 index 00000000000..573541ac970 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/32b6854d07aefbda.js @@ -0,0 +1 @@ +0 diff --git a/ecmascript/codegen/tests/test262-min/32efa0efd255748a.js b/ecmascript/codegen/tests/test262-min/32efa0efd255748a.js new file mode 100644 index 00000000000..29ce6fb94f9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/32efa0efd255748a.js @@ -0,0 +1 @@ +class a{static*[b](){}} diff --git a/ecmascript/codegen/tests/test262-min/32f782a4b16306aa.js b/ecmascript/codegen/tests/test262-min/32f782a4b16306aa.js new file mode 100644 index 00000000000..cb0c98ba5aa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/32f782a4b16306aa.js @@ -0,0 +1 @@ +a<1 diff --git a/ecmascript/codegen/tests/test262-min/3348741c8bdd4f3c.js b/ecmascript/codegen/tests/test262-min/3348741c8bdd4f3c.js new file mode 100644 index 00000000000..b6aee3c9e83 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3348741c8bdd4f3c.js @@ -0,0 +1 @@ +for(const a of b)c(a) diff --git a/ecmascript/codegen/tests/test262-min/33720cee3dabde0d.js b/ecmascript/codegen/tests/test262-min/33720cee3dabde0d.js new file mode 100644 index 00000000000..61a25028ef0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/33720cee3dabde0d.js @@ -0,0 +1 @@ +a||b&&c diff --git a/ecmascript/codegen/tests/test262-min/338762eadb13a2f0.js b/ecmascript/codegen/tests/test262-min/338762eadb13a2f0.js new file mode 100644 index 00000000000..202a938d2eb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/338762eadb13a2f0.js @@ -0,0 +1 @@ +a^=1 diff --git a/ecmascript/codegen/tests/test262-min/341bc3f1b434f6d1.js b/ecmascript/codegen/tests/test262-min/341bc3f1b434f6d1.js new file mode 100644 index 00000000000..04d99979601 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/341bc3f1b434f6d1.js @@ -0,0 +1 @@ +`````` diff --git a/ecmascript/codegen/tests/test262-min/345713fe7f52524a.js b/ecmascript/codegen/tests/test262-min/345713fe7f52524a.js new file mode 100644 index 00000000000..8202bec4c72 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/345713fe7f52524a.js @@ -0,0 +1 @@ +({a,b}=1) diff --git a/ecmascript/codegen/tests/test262-min/347e9a5443e4cd3c.js b/ecmascript/codegen/tests/test262-min/347e9a5443e4cd3c.js new file mode 100644 index 00000000000..9cb1b812613 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/347e9a5443e4cd3c.js @@ -0,0 +1 @@ +{let a} diff --git a/ecmascript/codegen/tests/test262-min/34d5455824302935.js b/ecmascript/codegen/tests/test262-min/34d5455824302935.js new file mode 100644 index 00000000000..8f92b090925 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/34d5455824302935.js @@ -0,0 +1 @@ +function*a(){yield*1} diff --git a/ecmascript/codegen/tests/test262-min/350a7ec7041c079f.js b/ecmascript/codegen/tests/test262-min/350a7ec7041c079f.js new file mode 100644 index 00000000000..dd95ce5f951 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/350a7ec7041c079f.js @@ -0,0 +1 @@ +a={set:1} diff --git a/ecmascript/codegen/tests/test262-min/3514acf61732f662.js b/ecmascript/codegen/tests/test262-min/3514acf61732f662.js new file mode 100644 index 00000000000..ec635144f60 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3514acf61732f662.js @@ -0,0 +1 @@ +9 diff --git a/ecmascript/codegen/tests/test262-min/35bf182594dc08ac.js b/ecmascript/codegen/tests/test262-min/35bf182594dc08ac.js new file mode 100644 index 00000000000..59f527432a3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/35bf182594dc08ac.js @@ -0,0 +1 @@ +function a(b,c,d,e,f){return b+c} diff --git a/ecmascript/codegen/tests/test262-min/35e730121a5e6326.js b/ecmascript/codegen/tests/test262-min/35e730121a5e6326.js new file mode 100644 index 00000000000..e51850859e7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/35e730121a5e6326.js @@ -0,0 +1 @@ +for(;;)if(a())b();else break diff --git a/ecmascript/codegen/tests/test262-min/35eb2e229858a6c7.js b/ecmascript/codegen/tests/test262-min/35eb2e229858a6c7.js new file mode 100644 index 00000000000..7cdb31163f0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/35eb2e229858a6c7.js @@ -0,0 +1 @@ +a=>"b" diff --git a/ecmascript/codegen/tests/test262-min/3610e596404818d6.js b/ecmascript/codegen/tests/test262-min/3610e596404818d6.js new file mode 100644 index 00000000000..0d7543ecb94 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3610e596404818d6.js @@ -0,0 +1 @@ +with(1); diff --git a/ecmascript/codegen/tests/test262-min/36224cf8215ad8e4.js b/ecmascript/codegen/tests/test262-min/36224cf8215ad8e4.js new file mode 100644 index 00000000000..9159ccca6da --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/36224cf8215ad8e4.js @@ -0,0 +1 @@ +(function(a,...b){});(function(...c){}) diff --git a/ecmascript/codegen/tests/test262-min/366585381e4610b4.js b/ecmascript/codegen/tests/test262-min/366585381e4610b4.js new file mode 100644 index 00000000000..ff00b7eee8b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/366585381e4610b4.js @@ -0,0 +1 @@ +a+(b(),c(),d()) diff --git a/ecmascript/codegen/tests/test262-min/369b56fe359d52fc.js b/ecmascript/codegen/tests/test262-min/369b56fe359d52fc.js new file mode 100644 index 00000000000..5eb385af856 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/369b56fe359d52fc.js @@ -0,0 +1 @@ +a()`` diff --git a/ecmascript/codegen/tests/test262-min/369fd0a1e40030d8.js b/ecmascript/codegen/tests/test262-min/369fd0a1e40030d8.js new file mode 100644 index 00000000000..37ad87578d7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/369fd0a1e40030d8.js @@ -0,0 +1 @@ +class a extends b{c(){return super[1]}} diff --git a/ecmascript/codegen/tests/test262-min/36fb3e9c8cedf764.js b/ecmascript/codegen/tests/test262-min/36fb3e9c8cedf764.js new file mode 100644 index 00000000000..e9122ca81a5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/36fb3e9c8cedf764.js @@ -0,0 +1 @@ +class a{set(b){};} diff --git a/ecmascript/codegen/tests/test262-min/36ff120198eea816.js b/ecmascript/codegen/tests/test262-min/36ff120198eea816.js new file mode 100644 index 00000000000..2733352cb5b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/36ff120198eea816.js @@ -0,0 +1 @@ +var{yield:a}=b diff --git a/ecmascript/codegen/tests/test262-min/370a2bd1387fd440.js b/ecmascript/codegen/tests/test262-min/370a2bd1387fd440.js new file mode 100644 index 00000000000..a307cfd7a5d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/370a2bd1387fd440.js @@ -0,0 +1 @@ +for({a,b}of c); diff --git a/ecmascript/codegen/tests/test262-min/372097a44c33daf2.js b/ecmascript/codegen/tests/test262-min/372097a44c33daf2.js new file mode 100644 index 00000000000..61a2a660a51 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/372097a44c33daf2.js @@ -0,0 +1 @@ +eval=>1 diff --git a/ecmascript/codegen/tests/test262-min/373e35460ecaccc6.js b/ecmascript/codegen/tests/test262-min/373e35460ecaccc6.js new file mode 100644 index 00000000000..79cb6fec12d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/373e35460ecaccc6.js @@ -0,0 +1 @@ +0.000000000149241783 diff --git a/ecmascript/codegen/tests/test262-min/3793ec99f844de1c.js b/ecmascript/codegen/tests/test262-min/3793ec99f844de1c.js new file mode 100644 index 00000000000..1446177e33d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3793ec99f844de1c.js @@ -0,0 +1 @@ +'use strict';var a={'b':1} diff --git a/ecmascript/codegen/tests/test262-min/37ac3bcee6fa89f9.js b/ecmascript/codegen/tests/test262-min/37ac3bcee6fa89f9.js new file mode 100644 index 00000000000..0cfbf08886f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/37ac3bcee6fa89f9.js @@ -0,0 +1 @@ +2 diff --git a/ecmascript/codegen/tests/test262-min/37c0f5275362d1c9.js b/ecmascript/codegen/tests/test262-min/37c0f5275362d1c9.js new file mode 100644 index 00000000000..4813f50d9af --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/37c0f5275362d1c9.js @@ -0,0 +1 @@ +"\u{00000000034}" diff --git a/ecmascript/codegen/tests/test262-min/37d26e3bec6d9a0f.js b/ecmascript/codegen/tests/test262-min/37d26e3bec6d9a0f.js new file mode 100644 index 00000000000..c98dbb4c364 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/37d26e3bec6d9a0f.js @@ -0,0 +1 @@ +switch(a){default:(function(){b('c')}())} diff --git a/ecmascript/codegen/tests/test262-min/37e4a6eca1ece7e5.js b/ecmascript/codegen/tests/test262-min/37e4a6eca1ece7e5.js new file mode 100644 index 00000000000..681904f09ec --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/37e4a6eca1ece7e5.js @@ -0,0 +1 @@ +(function a([b,c]){}) diff --git a/ecmascript/codegen/tests/test262-min/37e845e0d8283fb3.js b/ecmascript/codegen/tests/test262-min/37e845e0d8283fb3.js new file mode 100644 index 00000000000..e323eb28601 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/37e845e0d8283fb3.js @@ -0,0 +1 @@ +(function(){null!=(a?void 1:b)}()) diff --git a/ecmascript/codegen/tests/test262-min/380e999de8f31c7d.js b/ecmascript/codegen/tests/test262-min/380e999de8f31c7d.js new file mode 100644 index 00000000000..448826faf6e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/380e999de8f31c7d.js @@ -0,0 +1 @@ +function a([b,c]){} diff --git a/ecmascript/codegen/tests/test262-min/3812dc38bcdc97db.js b/ecmascript/codegen/tests/test262-min/3812dc38bcdc97db.js new file mode 100644 index 00000000000..247e282856b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3812dc38bcdc97db.js @@ -0,0 +1 @@ +b:for(var a=1;a<2;++a){if(a<3)continue b;c.d(a)} diff --git a/ecmascript/codegen/tests/test262-min/38284ea2d9914d86.js b/ecmascript/codegen/tests/test262-min/38284ea2d9914d86.js new file mode 100644 index 00000000000..d36a7add44c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/38284ea2d9914d86.js @@ -0,0 +1 @@ +({get a(){},get a(){}}) diff --git a/ecmascript/codegen/tests/test262-min/3852fb3ffb8fd8d5.js b/ecmascript/codegen/tests/test262-min/3852fb3ffb8fd8d5.js new file mode 100644 index 00000000000..9aa9c0e29fc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3852fb3ffb8fd8d5.js @@ -0,0 +1 @@ +if(true)a();else; diff --git a/ecmascript/codegen/tests/test262-min/38594572e7bb32f4.js b/ecmascript/codegen/tests/test262-min/38594572e7bb32f4.js new file mode 100644 index 00000000000..10b30e0a806 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/38594572e7bb32f4.js @@ -0,0 +1 @@ +(function(){function arguments(){a(arguments)}a(arguments)}()) diff --git a/ecmascript/codegen/tests/test262-min/389adf81b76d8b25.js b/ecmascript/codegen/tests/test262-min/389adf81b76d8b25.js new file mode 100644 index 00000000000..d9540252f35 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/389adf81b76d8b25.js @@ -0,0 +1 @@ +T‿ diff --git a/ecmascript/codegen/tests/test262-min/38befc89fcf92e25.js b/ecmascript/codegen/tests/test262-min/38befc89fcf92e25.js new file mode 100644 index 00000000000..52b73f24bf6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/38befc89fcf92e25.js @@ -0,0 +1 @@ ++{}/1 diff --git a/ecmascript/codegen/tests/test262-min/38c0e030050edb57.js b/ecmascript/codegen/tests/test262-min/38c0e030050edb57.js new file mode 100644 index 00000000000..3444ff3d031 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/38c0e030050edb57.js @@ -0,0 +1 @@ +(function(){-1}()) diff --git a/ecmascript/codegen/tests/test262-min/38e0b9de817f645c.js b/ecmascript/codegen/tests/test262-min/38e0b9de817f645c.js new file mode 100644 index 00000000000..19765bd501b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/38e0b9de817f645c.js @@ -0,0 +1 @@ +null diff --git a/ecmascript/codegen/tests/test262-min/38fefd37caf6f8bb.js b/ecmascript/codegen/tests/test262-min/38fefd37caf6f8bb.js new file mode 100644 index 00000000000..1350abb1d4c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/38fefd37caf6f8bb.js @@ -0,0 +1 @@ +a|b|c diff --git a/ecmascript/codegen/tests/test262-min/3990bb94b19b1071.js b/ecmascript/codegen/tests/test262-min/3990bb94b19b1071.js new file mode 100644 index 00000000000..f6e530201f1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3990bb94b19b1071.js @@ -0,0 +1 @@ +('\1') diff --git a/ecmascript/codegen/tests/test262-min/39bd53b0c3dcd639.js b/ecmascript/codegen/tests/test262-min/39bd53b0c3dcd639.js new file mode 100644 index 00000000000..117e6f54c5b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/39bd53b0c3dcd639.js @@ -0,0 +1 @@ +let{a}=b diff --git a/ecmascript/codegen/tests/test262-min/3a1ccd915e97ed68.js b/ecmascript/codegen/tests/test262-min/3a1ccd915e97ed68.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3a1ccd915e97ed68.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/3a1f039e533d1543.js b/ecmascript/codegen/tests/test262-min/3a1f039e533d1543.js new file mode 100644 index 00000000000..5dac34f4226 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3a1f039e533d1543.js @@ -0,0 +1 @@ +'use strict';a.static() diff --git a/ecmascript/codegen/tests/test262-min/3a50539d66e7fb07.js b/ecmascript/codegen/tests/test262-min/3a50539d66e7fb07.js new file mode 100644 index 00000000000..049bc2ac9e9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3a50539d66e7fb07.js @@ -0,0 +1 @@ +{var a=1;b();{b();b()}} diff --git a/ecmascript/codegen/tests/test262-min/3a5a7699f0631c6f.js b/ecmascript/codegen/tests/test262-min/3a5a7699f0631c6f.js new file mode 100644 index 00000000000..129cd71fa7a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3a5a7699f0631c6f.js @@ -0,0 +1 @@ +with({}){}; diff --git a/ecmascript/codegen/tests/test262-min/3a707c56867f396c.js b/ecmascript/codegen/tests/test262-min/3a707c56867f396c.js new file mode 100644 index 00000000000..0ab5f3ca675 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3a707c56867f396c.js @@ -0,0 +1 @@ +d:while(a){b();c();break d;e();f()} diff --git a/ecmascript/codegen/tests/test262-min/3aa600e48cbd8a5c.js b/ecmascript/codegen/tests/test262-min/3aa600e48cbd8a5c.js new file mode 100644 index 00000000000..d27380a06b3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3aa600e48cbd8a5c.js @@ -0,0 +1 @@ +class a{static[b](){};} diff --git a/ecmascript/codegen/tests/test262-min/3ae4f46daa688c58.js b/ecmascript/codegen/tests/test262-min/3ae4f46daa688c58.js new file mode 100644 index 00000000000..eb56c16e436 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3ae4f46daa688c58.js @@ -0,0 +1 @@ +'use strict';('\0') diff --git a/ecmascript/codegen/tests/test262-min/3b1ab093f7ebeb51.module.js b/ecmascript/codegen/tests/test262-min/3b1ab093f7ebeb51.module.js new file mode 100644 index 00000000000..d31e94ecdc0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3b1ab093f7ebeb51.module.js @@ -0,0 +1 @@ +export var a diff --git a/ecmascript/codegen/tests/test262-min/3b1fca65828182ab.js b/ecmascript/codegen/tests/test262-min/3b1fca65828182ab.js new file mode 100644 index 00000000000..62e6f2af2fa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3b1fca65828182ab.js @@ -0,0 +1 @@ +/(?=.)*/ diff --git a/ecmascript/codegen/tests/test262-min/3b36d546985cd9cb.js b/ecmascript/codegen/tests/test262-min/3b36d546985cd9cb.js new file mode 100644 index 00000000000..8fad0243ff5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3b36d546985cd9cb.js @@ -0,0 +1,2 @@ +"Hello\ +world" diff --git a/ecmascript/codegen/tests/test262-min/3b57183c81070eec.js b/ecmascript/codegen/tests/test262-min/3b57183c81070eec.js new file mode 100644 index 00000000000..835d19bfef6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3b57183c81070eec.js @@ -0,0 +1 @@ +a={set null(b){c=b}} diff --git a/ecmascript/codegen/tests/test262-min/3b5d1fb0e093dab8.js b/ecmascript/codegen/tests/test262-min/3b5d1fb0e093dab8.js new file mode 100644 index 00000000000..49f56eb6803 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3b5d1fb0e093dab8.js @@ -0,0 +1 @@ +a=>((b,c)=>(a,b,c)) diff --git a/ecmascript/codegen/tests/test262-min/3b9779d2e19376a1.js b/ecmascript/codegen/tests/test262-min/3b9779d2e19376a1.js new file mode 100644 index 00000000000..0cfbf08886f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3b9779d2e19376a1.js @@ -0,0 +1 @@ +2 diff --git a/ecmascript/codegen/tests/test262-min/3b9e8797aacce77f.js b/ecmascript/codegen/tests/test262-min/3b9e8797aacce77f.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3b9e8797aacce77f.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/3bac973df7480fe9.js b/ecmascript/codegen/tests/test262-min/3bac973df7480fe9.js new file mode 100644 index 00000000000..a03c2b54e28 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3bac973df7480fe9.js @@ -0,0 +1 @@ +(class{3(){}}) diff --git a/ecmascript/codegen/tests/test262-min/3bbd75d597d54fe6.js b/ecmascript/codegen/tests/test262-min/3bbd75d597d54fe6.js new file mode 100644 index 00000000000..d8d03fa6de9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3bbd75d597d54fe6.js @@ -0,0 +1 @@ +(function yield(){}) diff --git a/ecmascript/codegen/tests/test262-min/3bc21b350f65c8f2.js b/ecmascript/codegen/tests/test262-min/3bc21b350f65c8f2.js new file mode 100644 index 00000000000..a738ce69e56 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3bc21b350f65c8f2.js @@ -0,0 +1 @@ +if(a){b()} diff --git a/ecmascript/codegen/tests/test262-min/3c0c251ad455218d.js b/ecmascript/codegen/tests/test262-min/3c0c251ad455218d.js new file mode 100644 index 00000000000..18e99fec2a1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3c0c251ad455218d.js @@ -0,0 +1 @@ +do a();while(true) diff --git a/ecmascript/codegen/tests/test262-min/3c1e2ada0ac2b8e3.js b/ecmascript/codegen/tests/test262-min/3c1e2ada0ac2b8e3.js new file mode 100644 index 00000000000..dc9b5d75988 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3c1e2ada0ac2b8e3.js @@ -0,0 +1 @@ +(function*(a,b,c){yield*a}) diff --git a/ecmascript/codegen/tests/test262-min/3c6b557b1aa9cc05.js b/ecmascript/codegen/tests/test262-min/3c6b557b1aa9cc05.js new file mode 100644 index 00000000000..53f29bcfbfe --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3c6b557b1aa9cc05.js @@ -0,0 +1 @@ +for(var a=1;a<2;++a){if(a<3)continue;b.c(a)} diff --git a/ecmascript/codegen/tests/test262-min/3c895971bd50ea01.js b/ecmascript/codegen/tests/test262-min/3c895971bd50ea01.js new file mode 100644 index 00000000000..fe27b562db7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3c895971bd50ea01.js @@ -0,0 +1 @@ +for({a=1}in b); diff --git a/ecmascript/codegen/tests/test262-min/3caf07d66e4f7b5a.js b/ecmascript/codegen/tests/test262-min/3caf07d66e4f7b5a.js new file mode 100644 index 00000000000..280cd82f2e9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3caf07d66e4f7b5a.js @@ -0,0 +1 @@ +({__proto__(){return 1},__proto__:2}) diff --git a/ecmascript/codegen/tests/test262-min/3cbf0138d2dc0686.js b/ecmascript/codegen/tests/test262-min/3cbf0138d2dc0686.js new file mode 100644 index 00000000000..d524cc8c842 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3cbf0138d2dc0686.js @@ -0,0 +1 @@ +(function(){var a=1;var b=2;var c=3;var d=[].e.f(arguments);return[a,b,c,g]}()) diff --git a/ecmascript/codegen/tests/test262-min/3cf11f8790169c3f.js b/ecmascript/codegen/tests/test262-min/3cf11f8790169c3f.js new file mode 100644 index 00000000000..a44c421b9c0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3cf11f8790169c3f.js @@ -0,0 +1 @@ +a!==b diff --git a/ecmascript/codegen/tests/test262-min/3cf53efb53099596.js b/ecmascript/codegen/tests/test262-min/3cf53efb53099596.js new file mode 100644 index 00000000000..cc2d858ff4c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3cf53efb53099596.js @@ -0,0 +1 @@ +for(;a();){if(b())c();else break;d();e()} diff --git a/ecmascript/codegen/tests/test262-min/3d0c4eda96e0412b.js b/ecmascript/codegen/tests/test262-min/3d0c4eda96e0412b.js new file mode 100644 index 00000000000..7cf0ec05617 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3d0c4eda96e0412b.js @@ -0,0 +1 @@ +a^b diff --git a/ecmascript/codegen/tests/test262-min/3d137e7b0cb6c8bc.js b/ecmascript/codegen/tests/test262-min/3d137e7b0cb6c8bc.js new file mode 100644 index 00000000000..3b983fc014e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3d137e7b0cb6c8bc.js @@ -0,0 +1 @@ +(function(){if(a){b()}else{return 1;c()}return 2}()) diff --git a/ecmascript/codegen/tests/test262-min/3d2ab39608730a47.js b/ecmascript/codegen/tests/test262-min/3d2ab39608730a47.js new file mode 100644 index 00000000000..e183b9c38bd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3d2ab39608730a47.js @@ -0,0 +1 @@ +'use strict';('\0x') diff --git a/ecmascript/codegen/tests/test262-min/3d3ddc63a85b13a0.js b/ecmascript/codegen/tests/test262-min/3d3ddc63a85b13a0.js new file mode 100644 index 00000000000..ec41bf408fb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3d3ddc63a85b13a0.js @@ -0,0 +1 @@ +let{a}=1 diff --git a/ecmascript/codegen/tests/test262-min/3d9c76216b0a9d4b.js b/ecmascript/codegen/tests/test262-min/3d9c76216b0a9d4b.js new file mode 100644 index 00000000000..be82cbe24a6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3d9c76216b0a9d4b.js @@ -0,0 +1 @@ +for(a;a<1;a++)b(a) diff --git a/ecmascript/codegen/tests/test262-min/3df03e7e138b7760.js b/ecmascript/codegen/tests/test262-min/3df03e7e138b7760.js new file mode 100644 index 00000000000..bdb96fb2797 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3df03e7e138b7760.js @@ -0,0 +1 @@ +function a(){new["b"]} diff --git a/ecmascript/codegen/tests/test262-min/3e1a6f702041b599.js b/ecmascript/codegen/tests/test262-min/3e1a6f702041b599.js new file mode 100644 index 00000000000..12895beaaf3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3e1a6f702041b599.js @@ -0,0 +1 @@ +b:while(1){continue;a} diff --git a/ecmascript/codegen/tests/test262-min/3e3a99768a4a1502.js b/ecmascript/codegen/tests/test262-min/3e3a99768a4a1502.js new file mode 100644 index 00000000000..1da47cfcbc9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3e3a99768a4a1502.js @@ -0,0 +1 @@ +a=>({b:1}) diff --git a/ecmascript/codegen/tests/test262-min/3e48826018d23c85.js b/ecmascript/codegen/tests/test262-min/3e48826018d23c85.js new file mode 100644 index 00000000000..e22bd48742b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3e48826018d23c85.js @@ -0,0 +1 @@ +('\5a') diff --git a/ecmascript/codegen/tests/test262-min/3e665d875e0049a3.js b/ecmascript/codegen/tests/test262-min/3e665d875e0049a3.js new file mode 100644 index 00000000000..1adaefe2728 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3e665d875e0049a3.js @@ -0,0 +1 @@ +function a(){b()} diff --git a/ecmascript/codegen/tests/test262-min/3e69c5cc1a7ac103.js b/ecmascript/codegen/tests/test262-min/3e69c5cc1a7ac103.js new file mode 100644 index 00000000000..2568e5a6676 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3e69c5cc1a7ac103.js @@ -0,0 +1 @@ +try{}catch([a,...b]){} diff --git a/ecmascript/codegen/tests/test262-min/3ea15e86885d3c1a.js b/ecmascript/codegen/tests/test262-min/3ea15e86885d3c1a.js new file mode 100644 index 00000000000..be0fc5e75f5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3ea15e86885d3c1a.js @@ -0,0 +1 @@ +a:while(true)while(true)continue a diff --git a/ecmascript/codegen/tests/test262-min/3eac36e29398cdc5.js b/ecmascript/codegen/tests/test262-min/3eac36e29398cdc5.js new file mode 100644 index 00000000000..4710fd3b5d5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3eac36e29398cdc5.js @@ -0,0 +1 @@ +try{}catch([a]){} diff --git a/ecmascript/codegen/tests/test262-min/3eb2c2bf585c0916.js b/ecmascript/codegen/tests/test262-min/3eb2c2bf585c0916.js new file mode 100644 index 00000000000..f30a066f83a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3eb2c2bf585c0916.js @@ -0,0 +1 @@ +void('a'+'a') diff --git a/ecmascript/codegen/tests/test262-min/3ec1e9982b5f4a45.js b/ecmascript/codegen/tests/test262-min/3ec1e9982b5f4a45.js new file mode 100644 index 00000000000..e35b06ec96a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3ec1e9982b5f4a45.js @@ -0,0 +1 @@ +a&&b?1:2 diff --git a/ecmascript/codegen/tests/test262-min/3ee117e37bd3bcea.js b/ecmascript/codegen/tests/test262-min/3ee117e37bd3bcea.js new file mode 100644 index 00000000000..3c62151db76 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3ee117e37bd3bcea.js @@ -0,0 +1 @@ +Infinity diff --git a/ecmascript/codegen/tests/test262-min/3f34ca3add7bcb9b.js b/ecmascript/codegen/tests/test262-min/3f34ca3add7bcb9b.js new file mode 100644 index 00000000000..bcbe4bffa2b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3f34ca3add7bcb9b.js @@ -0,0 +1 @@ +let[{a}]=1 diff --git a/ecmascript/codegen/tests/test262-min/3f39e406df3080dc.js b/ecmascript/codegen/tests/test262-min/3f39e406df3080dc.js new file mode 100644 index 00000000000..016fc517581 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3f39e406df3080dc.js @@ -0,0 +1 @@ +a(...b,c,d) diff --git a/ecmascript/codegen/tests/test262-min/3f44c09167d5753d.js b/ecmascript/codegen/tests/test262-min/3f44c09167d5753d.js new file mode 100644 index 00000000000..5349d5bcfc9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3f44c09167d5753d.js @@ -0,0 +1 @@ +let ℮ diff --git a/ecmascript/codegen/tests/test262-min/3f46ee1db509d55d.js b/ecmascript/codegen/tests/test262-min/3f46ee1db509d55d.js new file mode 100644 index 00000000000..1d56f3e1889 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3f46ee1db509d55d.js @@ -0,0 +1 @@ +(1,a['a'])() diff --git a/ecmascript/codegen/tests/test262-min/3f6fd744861ee7c3.js b/ecmascript/codegen/tests/test262-min/3f6fd744861ee7c3.js new file mode 100644 index 00000000000..ac1d0470da1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3f6fd744861ee7c3.js @@ -0,0 +1 @@ +arguments-- diff --git a/ecmascript/codegen/tests/test262-min/3f8b15109761ea65.js b/ecmascript/codegen/tests/test262-min/3f8b15109761ea65.js new file mode 100644 index 00000000000..f52fc0b7143 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3f8b15109761ea65.js @@ -0,0 +1 @@ +var a=/[a-z]/u diff --git a/ecmascript/codegen/tests/test262-min/3f9b0dd207c09990.js b/ecmascript/codegen/tests/test262-min/3f9b0dd207c09990.js new file mode 100644 index 00000000000..2fe4e451df5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3f9b0dd207c09990.js @@ -0,0 +1 @@ +switch(1+2){case 3:a();break;case 4+5:b();break;case 6+7+8:c();break} diff --git a/ecmascript/codegen/tests/test262-min/3fb07536eb5aea8d.js b/ecmascript/codegen/tests/test262-min/3fb07536eb5aea8d.js new file mode 100644 index 00000000000..6fbedf2aa6f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3fb07536eb5aea8d.js @@ -0,0 +1 @@ +"Hello\412World" diff --git a/ecmascript/codegen/tests/test262-min/3ff52d86c77678bd.js b/ecmascript/codegen/tests/test262-min/3ff52d86c77678bd.js new file mode 100644 index 00000000000..93dd56ba194 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/3ff52d86c77678bd.js @@ -0,0 +1 @@ +(function(...a){}) diff --git a/ecmascript/codegen/tests/test262-min/4014ec6c7931de54.js b/ecmascript/codegen/tests/test262-min/4014ec6c7931de54.js new file mode 100644 index 00000000000..ac2c9a4cd59 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4014ec6c7931de54.js @@ -0,0 +1 @@ +a={"b":1} diff --git a/ecmascript/codegen/tests/test262-min/401544b8abe9d656.js b/ecmascript/codegen/tests/test262-min/401544b8abe9d656.js new file mode 100644 index 00000000000..764c69d7fb8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/401544b8abe9d656.js @@ -0,0 +1 @@ +var[{a,b},...c]=d diff --git a/ecmascript/codegen/tests/test262-min/40215319424a8227.js b/ecmascript/codegen/tests/test262-min/40215319424a8227.js new file mode 100644 index 00000000000..78981922613 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/40215319424a8227.js @@ -0,0 +1 @@ +a diff --git a/ecmascript/codegen/tests/test262-min/402c32920b1b9991.js b/ecmascript/codegen/tests/test262-min/402c32920b1b9991.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/402c32920b1b9991.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/402e8d30db64e5af.js b/ecmascript/codegen/tests/test262-min/402e8d30db64e5af.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/402e8d30db64e5af.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/403a7d28c611b71b.js b/ecmascript/codegen/tests/test262-min/403a7d28c611b71b.js new file mode 100644 index 00000000000..2cb34d5701d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/403a7d28c611b71b.js @@ -0,0 +1 @@ +a.b(b,c) diff --git a/ecmascript/codegen/tests/test262-min/4040d47a3534b244.js b/ecmascript/codegen/tests/test262-min/4040d47a3534b244.js new file mode 100644 index 00000000000..29a25f3f4af --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4040d47a3534b244.js @@ -0,0 +1 @@ +a={true:1} diff --git a/ecmascript/codegen/tests/test262-min/40766161d96ac708.js b/ecmascript/codegen/tests/test262-min/40766161d96ac708.js new file mode 100644 index 00000000000..29bcac3ed98 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/40766161d96ac708.js @@ -0,0 +1 @@ +({"a":b}=1) diff --git a/ecmascript/codegen/tests/test262-min/4086605956ddfcbb.js b/ecmascript/codegen/tests/test262-min/4086605956ddfcbb.js new file mode 100644 index 00000000000..7987d7b10e7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4086605956ddfcbb.js @@ -0,0 +1 @@ +if(!a||b()); diff --git a/ecmascript/codegen/tests/test262-min/408971d922c72ea2.js b/ecmascript/codegen/tests/test262-min/408971d922c72ea2.js new file mode 100644 index 00000000000..8ed1497f3b2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/408971d922c72ea2.js @@ -0,0 +1 @@ +(function(){for(;false;){a()}b()}()) diff --git a/ecmascript/codegen/tests/test262-min/409f30dc7efe75d5.js b/ecmascript/codegen/tests/test262-min/409f30dc7efe75d5.js new file mode 100644 index 00000000000..9425cf7d165 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/409f30dc7efe75d5.js @@ -0,0 +1 @@ +({get __proto__(){},set __proto__(a){}}) diff --git a/ecmascript/codegen/tests/test262-min/40adcdf7cfe3fa0d.js b/ecmascript/codegen/tests/test262-min/40adcdf7cfe3fa0d.js new file mode 100644 index 00000000000..5a81fd314ae --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/40adcdf7cfe3fa0d.js @@ -0,0 +1 @@ +function a(){'use strict'} diff --git a/ecmascript/codegen/tests/test262-min/40b9ff090910c512.js b/ecmascript/codegen/tests/test262-min/40b9ff090910c512.js new file mode 100644 index 00000000000..e7a3908f3a7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/40b9ff090910c512.js @@ -0,0 +1 @@ +(function(){if(a==true){b()}if(a==false){b()}}()) diff --git a/ecmascript/codegen/tests/test262-min/414b9b02f2789648.js b/ecmascript/codegen/tests/test262-min/414b9b02f2789648.js new file mode 100644 index 00000000000..056cbbb2994 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/414b9b02f2789648.js @@ -0,0 +1 @@ +var a;a=b?true:false;a=!b?true:false;a=b()?true:false;a=b?!1:!2;a=!b?!null:!3;a=b()?!4:!-3.5;if(b){a=true}else{a=false}if(b){a=!5}else{a=!6}a=b?false:true;a=!b?false:true;a=b()?false:true;a=b?!7:!8;a=!b?!9:!10;a=b()?!11:!12;if(b){a=false}else{a=true}if(b){a=!13}else{a=!14}a=b?15:false;a=!b?true:16;a=b?17:18 diff --git a/ecmascript/codegen/tests/test262-min/4180f57196d0388d.js b/ecmascript/codegen/tests/test262-min/4180f57196d0388d.js new file mode 100644 index 00000000000..9bbc97812f9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4180f57196d0388d.js @@ -0,0 +1 @@ +function*a(){b.yield()} diff --git a/ecmascript/codegen/tests/test262-min/41ad2d6d8414c573.js b/ecmascript/codegen/tests/test262-min/41ad2d6d8414c573.js new file mode 100644 index 00000000000..9bcbfe041a6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/41ad2d6d8414c573.js @@ -0,0 +1 @@ +var[a]=[] diff --git a/ecmascript/codegen/tests/references/41b805ea7ac014e2.js b/ecmascript/codegen/tests/test262-min/41b805ea7ac014e2.js similarity index 100% rename from ecmascript/codegen/tests/references/41b805ea7ac014e2.js rename to ecmascript/codegen/tests/test262-min/41b805ea7ac014e2.js diff --git a/ecmascript/codegen/tests/test262-min/41e79ea43f242aed.js b/ecmascript/codegen/tests/test262-min/41e79ea43f242aed.js new file mode 100644 index 00000000000..772caceae6e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/41e79ea43f242aed.js @@ -0,0 +1 @@ +(function(a){switch(a){case 1:default:b("c")}}()) diff --git a/ecmascript/codegen/tests/test262-min/41fc5bd8d644937c.js b/ecmascript/codegen/tests/test262-min/41fc5bd8d644937c.js new file mode 100644 index 00000000000..2c89b743956 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/41fc5bd8d644937c.js @@ -0,0 +1 @@ +var a=function b(){c()} diff --git a/ecmascript/codegen/tests/test262-min/420855197cbff7ce.js b/ecmascript/codegen/tests/test262-min/420855197cbff7ce.js new file mode 100644 index 00000000000..91129dc4d88 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/420855197cbff7ce.js @@ -0,0 +1 @@ +(function(){if(a){return 1;b()}else{c()}return 2}()) diff --git a/ecmascript/codegen/tests/test262-min/424fb5db0f6734b6.js b/ecmascript/codegen/tests/test262-min/424fb5db0f6734b6.js new file mode 100644 index 00000000000..cc824b1244c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/424fb5db0f6734b6.js @@ -0,0 +1 @@ +var[{__proto__:a,__proto__:b}]=1 diff --git a/ecmascript/codegen/tests/test262-min/4263e76758123044.js b/ecmascript/codegen/tests/test262-min/4263e76758123044.js new file mode 100644 index 00000000000..87c847f9a8d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4263e76758123044.js @@ -0,0 +1 @@ +a===b diff --git a/ecmascript/codegen/tests/test262-min/42907dc7a3d7b79b.js b/ecmascript/codegen/tests/test262-min/42907dc7a3d7b79b.js new file mode 100644 index 00000000000..3941bbced41 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/42907dc7a3d7b79b.js @@ -0,0 +1 @@ +while(true){break;a} diff --git a/ecmascript/codegen/tests/test262-min/43023cd549deee77.js b/ecmascript/codegen/tests/test262-min/43023cd549deee77.js new file mode 100644 index 00000000000..e5cd08f4238 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/43023cd549deee77.js @@ -0,0 +1 @@ +try{}catch(a){} diff --git a/ecmascript/codegen/tests/test262-min/43163c094787d534.js b/ecmascript/codegen/tests/test262-min/43163c094787d534.js new file mode 100644 index 00000000000..084ef070da0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/43163c094787d534.js @@ -0,0 +1 @@ +for(const{a,b}of c); diff --git a/ecmascript/codegen/tests/test262-min/432639592c565344.js b/ecmascript/codegen/tests/test262-min/432639592c565344.js new file mode 100644 index 00000000000..6b939798d35 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/432639592c565344.js @@ -0,0 +1 @@ +new a(...b) diff --git a/ecmascript/codegen/tests/test262-min/433859474119631f.js b/ecmascript/codegen/tests/test262-min/433859474119631f.js new file mode 100644 index 00000000000..d2f756a863c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/433859474119631f.js @@ -0,0 +1 @@ +[a,{b:{c=1}}]=d diff --git a/ecmascript/codegen/tests/test262-min/4369559377b6394e.js b/ecmascript/codegen/tests/test262-min/4369559377b6394e.js new file mode 100644 index 00000000000..c5785fe5017 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4369559377b6394e.js @@ -0,0 +1 @@ +a:while(true)break a diff --git a/ecmascript/codegen/tests/test262-min/438521c40cf1b08b.js b/ecmascript/codegen/tests/test262-min/438521c40cf1b08b.js new file mode 100644 index 00000000000..9fce50852ee --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/438521c40cf1b08b.js @@ -0,0 +1 @@ +a=>yield*1 diff --git a/ecmascript/codegen/tests/test262-min/4389b59f7805c7c7.js b/ecmascript/codegen/tests/test262-min/4389b59f7805c7c7.js new file mode 100644 index 00000000000..8b00c1eeea4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4389b59f7805c7c7.js @@ -0,0 +1 @@ +(a+b)*c diff --git a/ecmascript/codegen/tests/test262-min/43bbb253d4035175.module.js b/ecmascript/codegen/tests/test262-min/43bbb253d4035175.module.js new file mode 100644 index 00000000000..eff8cf6b8ca --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/43bbb253d4035175.module.js @@ -0,0 +1 @@ +export{a as b}from"foo" diff --git a/ecmascript/codegen/tests/test262-min/4412172b5dc13cd6.js b/ecmascript/codegen/tests/test262-min/4412172b5dc13cd6.js new file mode 100644 index 00000000000..6d0228ef218 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4412172b5dc13cd6.js @@ -0,0 +1 @@ +/\0/ diff --git a/ecmascript/codegen/tests/test262-min/44136fa355b3678a.js b/ecmascript/codegen/tests/test262-min/44136fa355b3678a.js new file mode 100644 index 00000000000..0967ef424bc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/44136fa355b3678a.js @@ -0,0 +1 @@ +{} diff --git a/ecmascript/codegen/tests/test262-min/444856ec05e8d330.js b/ecmascript/codegen/tests/test262-min/444856ec05e8d330.js new file mode 100644 index 00000000000..cfdff8be5c2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/444856ec05e8d330.js @@ -0,0 +1 @@ +function a(b=new.target){} diff --git a/ecmascript/codegen/tests/test262-min/446ffc8afda7e47f.js b/ecmascript/codegen/tests/test262-min/446ffc8afda7e47f.js new file mode 100644 index 00000000000..17f0f0d2d99 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/446ffc8afda7e47f.js @@ -0,0 +1 @@ +(function(){var a,b,c=1,d,e,f=2;(a,b,c)+(d,e,f)}()) diff --git a/ecmascript/codegen/tests/test262-min/44af28febe2288cc.js b/ecmascript/codegen/tests/test262-min/44af28febe2288cc.js new file mode 100644 index 00000000000..58a06ebe352 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/44af28febe2288cc.js @@ -0,0 +1 @@ +a={set b(c){d=c}} diff --git a/ecmascript/codegen/tests/test262-min/44b0c8a5a1ecb389.js b/ecmascript/codegen/tests/test262-min/44b0c8a5a1ecb389.js new file mode 100644 index 00000000000..e20bc013179 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/44b0c8a5a1ecb389.js @@ -0,0 +1 @@ +a=b=>false;a=()=>false diff --git a/ecmascript/codegen/tests/test262-min/44f31660bd715f05.js b/ecmascript/codegen/tests/test262-min/44f31660bd715f05.js new file mode 100644 index 00000000000..4732e7b334c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/44f31660bd715f05.js @@ -0,0 +1 @@ +T‌=[] diff --git a/ecmascript/codegen/tests/test262-min/45ab34717c038020.js b/ecmascript/codegen/tests/test262-min/45ab34717c038020.js new file mode 100644 index 00000000000..f6cd7d65af4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/45ab34717c038020.js @@ -0,0 +1 @@ +for(;a;b); diff --git a/ecmascript/codegen/tests/test262-min/45d1662a41c9a1e9.js b/ecmascript/codegen/tests/test262-min/45d1662a41c9a1e9.js new file mode 100644 index 00000000000..835509f06cb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/45d1662a41c9a1e9.js @@ -0,0 +1 @@ +for(;;)continue diff --git a/ecmascript/codegen/tests/test262-min/45dd9586f26a3cf4.js b/ecmascript/codegen/tests/test262-min/45dd9586f26a3cf4.js new file mode 100644 index 00000000000..3c032078a4a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/45dd9586f26a3cf4.js @@ -0,0 +1 @@ +18 diff --git a/ecmascript/codegen/tests/test262-min/45ed987996568823.js b/ecmascript/codegen/tests/test262-min/45ed987996568823.js new file mode 100644 index 00000000000..cbe288785d1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/45ed987996568823.js @@ -0,0 +1,2 @@ +` +` diff --git a/ecmascript/codegen/tests/test262-min/45ff445d87e37214.js b/ecmascript/codegen/tests/test262-min/45ff445d87e37214.js new file mode 100644 index 00000000000..2fb2b55879e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/45ff445d87e37214.js @@ -0,0 +1 @@ +a=a+1,b=b in c diff --git a/ecmascript/codegen/tests/test262-min/46173461e93df4c2.js b/ecmascript/codegen/tests/test262-min/46173461e93df4c2.js new file mode 100644 index 00000000000..b44b0843627 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/46173461e93df4c2.js @@ -0,0 +1 @@ +for(a,b,c;;); diff --git a/ecmascript/codegen/tests/test262-min/46279e885d2aa853.js b/ecmascript/codegen/tests/test262-min/46279e885d2aa853.js new file mode 100644 index 00000000000..17decf505e4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/46279e885d2aa853.js @@ -0,0 +1 @@ +(new a).b() diff --git a/ecmascript/codegen/tests/test262-min/465b79616fdc9794.js b/ecmascript/codegen/tests/test262-min/465b79616fdc9794.js new file mode 100644 index 00000000000..cb7648a02c1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/465b79616fdc9794.js @@ -0,0 +1 @@ +var ℘℘ diff --git a/ecmascript/codegen/tests/test262-min/46657ec13f5857d5.js b/ecmascript/codegen/tests/test262-min/46657ec13f5857d5.js new file mode 100644 index 00000000000..26bc4ec0ae6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/46657ec13f5857d5.js @@ -0,0 +1 @@ +switch(a){case 1:(function(){b("c")}());b("d")} diff --git a/ecmascript/codegen/tests/test262-min/4672c2ef688237c9.js b/ecmascript/codegen/tests/test262-min/4672c2ef688237c9.js new file mode 100644 index 00000000000..c85fb518a16 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4672c2ef688237c9.js @@ -0,0 +1 @@ +"\n\r\t\v\b\f\\\'\"\0" diff --git a/ecmascript/codegen/tests/test262-min/4694af065eecd95a.js b/ecmascript/codegen/tests/test262-min/4694af065eecd95a.js new file mode 100644 index 00000000000..4cf30c4971a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4694af065eecd95a.js @@ -0,0 +1 @@ +class a{static b(){};} diff --git a/ecmascript/codegen/tests/test262-min/47094fe8a994b7de.js b/ecmascript/codegen/tests/test262-min/47094fe8a994b7de.js new file mode 100644 index 00000000000..5508e99fa44 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/47094fe8a994b7de.js @@ -0,0 +1 @@ +var a=1 diff --git a/ecmascript/codegen/tests/test262-min/4724023c6bb03bac.js b/ecmascript/codegen/tests/test262-min/4724023c6bb03bac.js new file mode 100644 index 00000000000..a87a34edbdc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4724023c6bb03bac.js @@ -0,0 +1 @@ +while(true){continue;a} diff --git a/ecmascript/codegen/tests/test262-min/472765ae4585cf8b.js b/ecmascript/codegen/tests/test262-min/472765ae4585cf8b.js new file mode 100644 index 00000000000..2c1b127f2c7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/472765ae4585cf8b.js @@ -0,0 +1 @@ +a(...b,c,...d) diff --git a/ecmascript/codegen/tests/test262-min/4743508488414d6a.js b/ecmascript/codegen/tests/test262-min/4743508488414d6a.js new file mode 100644 index 00000000000..a133e92b5ac --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4743508488414d6a.js @@ -0,0 +1 @@ +for(a=1;;); diff --git a/ecmascript/codegen/tests/test262-min/4789c3375f112cd4.js b/ecmascript/codegen/tests/test262-min/4789c3375f112cd4.js new file mode 100644 index 00000000000..9bb22e777b1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4789c3375f112cd4.js @@ -0,0 +1 @@ +(a)=1 diff --git a/ecmascript/codegen/tests/test262-min/478ede4cfe7906d5.js b/ecmascript/codegen/tests/test262-min/478ede4cfe7906d5.js new file mode 100644 index 00000000000..dea99dd11a6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/478ede4cfe7906d5.js @@ -0,0 +1 @@ +(function*(){yield yield 1}) diff --git a/ecmascript/codegen/tests/test262-min/47ddfd79dcd20fd5.js b/ecmascript/codegen/tests/test262-min/47ddfd79dcd20fd5.js new file mode 100644 index 00000000000..fb2b11e6967 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/47ddfd79dcd20fd5.js @@ -0,0 +1 @@ +a=function(b=1){} diff --git a/ecmascript/codegen/tests/test262-min/47ea193a5fc3f2c7.js b/ecmascript/codegen/tests/test262-min/47ea193a5fc3f2c7.js new file mode 100644 index 00000000000..10ccb9af9d9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/47ea193a5fc3f2c7.js @@ -0,0 +1 @@ +(function(){a['b']}()) diff --git a/ecmascript/codegen/tests/test262-min/47fce5046a1b2098.js b/ecmascript/codegen/tests/test262-min/47fce5046a1b2098.js new file mode 100644 index 00000000000..52634e862c0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/47fce5046a1b2098.js @@ -0,0 +1 @@ ++/test/ diff --git a/ecmascript/codegen/tests/test262-min/48567b651f81277e.js b/ecmascript/codegen/tests/test262-min/48567b651f81277e.js new file mode 100644 index 00000000000..4475daac9e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/48567b651f81277e.js @@ -0,0 +1 @@ +({["__proto__"]:1,["__proto__"]:2}) diff --git a/ecmascript/codegen/tests/test262-min/4869454dd215468e.js b/ecmascript/codegen/tests/test262-min/4869454dd215468e.js new file mode 100644 index 00000000000..004e7d4891c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4869454dd215468e.js @@ -0,0 +1 @@ +try{}catch(a){}finally{} diff --git a/ecmascript/codegen/tests/test262-min/488ae37630cb4d83.js b/ecmascript/codegen/tests/test262-min/488ae37630cb4d83.js new file mode 100644 index 00000000000..9e81ababf21 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/488ae37630cb4d83.js @@ -0,0 +1 @@ +()=>()=>1 diff --git a/ecmascript/codegen/tests/test262-min/488cd27c94308caa.js b/ecmascript/codegen/tests/test262-min/488cd27c94308caa.js new file mode 100644 index 00000000000..fb0e119fe51 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/488cd27c94308caa.js @@ -0,0 +1 @@ +function a(){var b={};b[void 1]=(c(),d)} diff --git a/ecmascript/codegen/tests/test262-min/489e6113a41ef33f.js b/ecmascript/codegen/tests/test262-min/489e6113a41ef33f.js new file mode 100644 index 00000000000..5d5c0be2805 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/489e6113a41ef33f.js @@ -0,0 +1 @@ +a&b|c diff --git a/ecmascript/codegen/tests/test262-min/48b43f80306f5dff.js b/ecmascript/codegen/tests/test262-min/48b43f80306f5dff.js new file mode 100644 index 00000000000..d7a81186862 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/48b43f80306f5dff.js @@ -0,0 +1 @@ +let{}=1 diff --git a/ecmascript/codegen/tests/test262-min/48b6f8ce65d3b3ee.js b/ecmascript/codegen/tests/test262-min/48b6f8ce65d3b3ee.js new file mode 100644 index 00000000000..2a5a5021f40 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/48b6f8ce65d3b3ee.js @@ -0,0 +1 @@ +!function(){a()}();b() diff --git a/ecmascript/codegen/tests/test262-min/48bb091783df3da9.js b/ecmascript/codegen/tests/test262-min/48bb091783df3da9.js new file mode 100644 index 00000000000..c21a85139ee --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/48bb091783df3da9.js @@ -0,0 +1 @@ +function a(){}var b="is a valid variable name";b={b:"is ok"};c.b;b:d() diff --git a/ecmascript/codegen/tests/test262-min/48bb138a6b033a34.js b/ecmascript/codegen/tests/test262-min/48bb138a6b033a34.js new file mode 100644 index 00000000000..5826b7790e3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/48bb138a6b033a34.js @@ -0,0 +1 @@ +(class{;;;;a(){}}) diff --git a/ecmascript/codegen/tests/test262-min/48f39ccbea69907a.js b/ecmascript/codegen/tests/test262-min/48f39ccbea69907a.js new file mode 100644 index 00000000000..cd0b1ae75ac --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/48f39ccbea69907a.js @@ -0,0 +1 @@ +arguments++ diff --git a/ecmascript/codegen/tests/test262-min/490efeb71bdb7c3b.js b/ecmascript/codegen/tests/test262-min/490efeb71bdb7c3b.js new file mode 100644 index 00000000000..e636e1ade9b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/490efeb71bdb7c3b.js @@ -0,0 +1 @@ +true;false diff --git a/ecmascript/codegen/tests/test262-min/492d3fde7a53e85a.js b/ecmascript/codegen/tests/test262-min/492d3fde7a53e85a.js new file mode 100644 index 00000000000..5084184edc8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/492d3fde7a53e85a.js @@ -0,0 +1 @@ +switch(a){case 1:let b} diff --git a/ecmascript/codegen/tests/test262-min/4933a329b80ed6ec.js b/ecmascript/codegen/tests/test262-min/4933a329b80ed6ec.js new file mode 100644 index 00000000000..b89a0ffffa9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4933a329b80ed6ec.js @@ -0,0 +1 @@ +(function(){function a(){var b=1;return b}}()) diff --git a/ecmascript/codegen/tests/test262-min/495c05812d179d67.js b/ecmascript/codegen/tests/test262-min/495c05812d179d67.js new file mode 100644 index 00000000000..fe30c1ce3d2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/495c05812d179d67.js @@ -0,0 +1 @@ +/[a-z]/gimuy diff --git a/ecmascript/codegen/tests/test262-min/49bdb14b27afe650.js b/ecmascript/codegen/tests/test262-min/49bdb14b27afe650.js new file mode 100644 index 00000000000..7f4adcb89bc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/49bdb14b27afe650.js @@ -0,0 +1 @@ +[a,]=1 diff --git a/ecmascript/codegen/tests/test262-min/49e54e5acd18a8e1.js b/ecmascript/codegen/tests/test262-min/49e54e5acd18a8e1.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/49e54e5acd18a8e1.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/4a0d9236bc523b77.js b/ecmascript/codegen/tests/test262-min/4a0d9236bc523b77.js new file mode 100644 index 00000000000..04c7929eda0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4a0d9236bc523b77.js @@ -0,0 +1 @@ +('\u{0000000000F8}') diff --git a/ecmascript/codegen/tests/test262-min/4a479db6af79906e.js b/ecmascript/codegen/tests/test262-min/4a479db6af79906e.js new file mode 100644 index 00000000000..91e7b5b17dd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4a479db6af79906e.js @@ -0,0 +1 @@ +a,b diff --git a/ecmascript/codegen/tests/test262-min/4a56cf2dea99fcd6.js b/ecmascript/codegen/tests/test262-min/4a56cf2dea99fcd6.js new file mode 100644 index 00000000000..db7f0748545 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4a56cf2dea99fcd6.js @@ -0,0 +1 @@ +({get"a"(){}}) diff --git a/ecmascript/codegen/tests/test262-min/4a5fe6bf2362352b.js b/ecmascript/codegen/tests/test262-min/4a5fe6bf2362352b.js new file mode 100644 index 00000000000..329df5ac62b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4a5fe6bf2362352b.js @@ -0,0 +1 @@ +(class a extends a{}) diff --git a/ecmascript/codegen/tests/test262-min/4a79205bd8cd49d0.js b/ecmascript/codegen/tests/test262-min/4a79205bd8cd49d0.js new file mode 100644 index 00000000000..e369597ce56 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4a79205bd8cd49d0.js @@ -0,0 +1 @@ +(function a(){b(typeof a()=='c')}()) diff --git a/ecmascript/codegen/tests/test262-min/4a807fda565547a2.js b/ecmascript/codegen/tests/test262-min/4a807fda565547a2.js new file mode 100644 index 00000000000..7296784d9d2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4a807fda565547a2.js @@ -0,0 +1 @@ +for(let a in b)c(a) diff --git a/ecmascript/codegen/tests/test262-min/4ac1a1bc6b3cbe66.js b/ecmascript/codegen/tests/test262-min/4ac1a1bc6b3cbe66.js new file mode 100644 index 00000000000..fdfa56bbdf3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4ac1a1bc6b3cbe66.js @@ -0,0 +1 @@ +a%b*c diff --git a/ecmascript/codegen/tests/test262-min/4ad6e3a59e27e9b1.js b/ecmascript/codegen/tests/test262-min/4ad6e3a59e27e9b1.js new file mode 100644 index 00000000000..d1984a0c5ee --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4ad6e3a59e27e9b1.js @@ -0,0 +1 @@ +/[\uD834\uDF06-\uD834\uDF08a-z]/u diff --git a/ecmascript/codegen/tests/test262-min/4ada45968b9f45ec.js b/ecmascript/codegen/tests/test262-min/4ada45968b9f45ec.js new file mode 100644 index 00000000000..5ccb7da16c1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4ada45968b9f45ec.js @@ -0,0 +1 @@ ++a++/1 diff --git a/ecmascript/codegen/tests/test262-min/4ae32442eef8a4e0.js b/ecmascript/codegen/tests/test262-min/4ae32442eef8a4e0.js new file mode 100644 index 00000000000..092bc2b0412 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4ae32442eef8a4e0.js @@ -0,0 +1 @@ +; diff --git a/ecmascript/codegen/tests/test262-min/4b346e8c85a29408.js b/ecmascript/codegen/tests/test262-min/4b346e8c85a29408.js new file mode 100644 index 00000000000..31fbbe085c9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4b346e8c85a29408.js @@ -0,0 +1 @@ +(function(){var a={'b':1}}()) diff --git a/ecmascript/codegen/tests/test262-min/4b40241551a495c2.js b/ecmascript/codegen/tests/test262-min/4b40241551a495c2.js new file mode 100644 index 00000000000..ccffc434b81 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4b40241551a495c2.js @@ -0,0 +1 @@ +({[a]:1,b:2}) diff --git a/ecmascript/codegen/tests/test262-min/4b6559716b2f7b21.js b/ecmascript/codegen/tests/test262-min/4b6559716b2f7b21.js new file mode 100644 index 00000000000..2cef7ba0ff8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4b6559716b2f7b21.js @@ -0,0 +1 @@ +a++;{}/foo/ diff --git a/ecmascript/codegen/tests/test262-min/4ba667b7404cc45d.js b/ecmascript/codegen/tests/test262-min/4ba667b7404cc45d.js new file mode 100644 index 00000000000..4ef533dfeab --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4ba667b7404cc45d.js @@ -0,0 +1 @@ +{const a=1} diff --git a/ecmascript/codegen/tests/test262-min/4bd3199f5a4d8e52.js b/ecmascript/codegen/tests/test262-min/4bd3199f5a4d8e52.js new file mode 100644 index 00000000000..212b95521c0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4bd3199f5a4d8e52.js @@ -0,0 +1 @@ +try{}catch({a}){} diff --git a/ecmascript/codegen/tests/test262-min/4bd7e14411b6a889.js b/ecmascript/codegen/tests/test262-min/4bd7e14411b6a889.js new file mode 100644 index 00000000000..a6e12e8b193 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4bd7e14411b6a889.js @@ -0,0 +1 @@ +[a,a]=1 diff --git a/ecmascript/codegen/tests/test262-min/4beb0b6ae8b9801a.js b/ecmascript/codegen/tests/test262-min/4beb0b6ae8b9801a.js new file mode 100644 index 00000000000..f1afde74364 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4beb0b6ae8b9801a.js @@ -0,0 +1 @@ +function a({}){} diff --git a/ecmascript/codegen/tests/test262-min/4bffa044ecd9d841.js b/ecmascript/codegen/tests/test262-min/4bffa044ecd9d841.js new file mode 100644 index 00000000000..e464ab4f3e9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4bffa044ecd9d841.js @@ -0,0 +1 @@ +var[a,...[b,c]]=d diff --git a/ecmascript/codegen/tests/test262-min/4c2a2b32f0470048.js b/ecmascript/codegen/tests/test262-min/4c2a2b32f0470048.js new file mode 100644 index 00000000000..f599e28b8ab --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4c2a2b32f0470048.js @@ -0,0 +1 @@ +10 diff --git a/ecmascript/codegen/tests/test262-min/4c3a394af4d281d1.js b/ecmascript/codegen/tests/test262-min/4c3a394af4d281d1.js new file mode 100644 index 00000000000..9e33c6f3157 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4c3a394af4d281d1.js @@ -0,0 +1 @@ +function a(b,c){return b< !--c} diff --git a/ecmascript/codegen/tests/test262-min/4c44d7c28ec0f6ca.js b/ecmascript/codegen/tests/test262-min/4c44d7c28ec0f6ca.js new file mode 100644 index 00000000000..a163e71b8b4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4c44d7c28ec0f6ca.js @@ -0,0 +1 @@ +debugger diff --git a/ecmascript/codegen/tests/test262-min/4c56fb063bea0ec2.js b/ecmascript/codegen/tests/test262-min/4c56fb063bea0ec2.js new file mode 100644 index 00000000000..89258daf530 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4c56fb063bea0ec2.js @@ -0,0 +1 @@ +for(var a of b); diff --git a/ecmascript/codegen/tests/test262-min/4c71e11fbbc56349.js b/ecmascript/codegen/tests/test262-min/4c71e11fbbc56349.js new file mode 100644 index 00000000000..e2115a83f43 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4c71e11fbbc56349.js @@ -0,0 +1 @@ +({set a(b){},set a(b){}}) diff --git a/ecmascript/codegen/tests/test262-min/4d2c7020de650d40.js b/ecmascript/codegen/tests/test262-min/4d2c7020de650d40.js new file mode 100644 index 00000000000..0e030001983 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4d2c7020de650d40.js @@ -0,0 +1 @@ +var 𫠝_=1 diff --git a/ecmascript/codegen/tests/test262-min/4d310ef039a7435c.js b/ecmascript/codegen/tests/test262-min/4d310ef039a7435c.js new file mode 100644 index 00000000000..4a73a91f5d7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4d310ef039a7435c.js @@ -0,0 +1 @@ +({a(b,c){}}) diff --git a/ecmascript/codegen/tests/test262-min/4d833cbc56caaaf9.js b/ecmascript/codegen/tests/test262-min/4d833cbc56caaaf9.js new file mode 100644 index 00000000000..2a04b83bf6f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4d833cbc56caaaf9.js @@ -0,0 +1 @@ +({set 10(a){a}}) diff --git a/ecmascript/codegen/tests/test262-min/4d88f169e3827587.js b/ecmascript/codegen/tests/test262-min/4d88f169e3827587.js new file mode 100644 index 00000000000..a4736aa4553 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4d88f169e3827587.js @@ -0,0 +1 @@ +try{}catch({a=1}){} diff --git a/ecmascript/codegen/tests/test262-min/4dc600d5ae71e8eb.js b/ecmascript/codegen/tests/test262-min/4dc600d5ae71e8eb.js new file mode 100644 index 00000000000..c165e3f8ab4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4dc600d5ae71e8eb.js @@ -0,0 +1 @@ +!/test/ diff --git a/ecmascript/codegen/tests/test262-min/4deb8938d7b36024.js b/ecmascript/codegen/tests/test262-min/4deb8938d7b36024.js new file mode 100644 index 00000000000..6a88c035f88 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4deb8938d7b36024.js @@ -0,0 +1 @@ +a=(b(),c(),d()) diff --git a/ecmascript/codegen/tests/test262-min/4df14f701f9881fd.js b/ecmascript/codegen/tests/test262-min/4df14f701f9881fd.js new file mode 100644 index 00000000000..187e9fb092b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4df14f701f9881fd.js @@ -0,0 +1 @@ +var[a,b]=c diff --git a/ecmascript/codegen/tests/test262-min/4dfe7c0219422eff.module.js b/ecmascript/codegen/tests/test262-min/4dfe7c0219422eff.module.js new file mode 100644 index 00000000000..542be83d765 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4dfe7c0219422eff.module.js @@ -0,0 +1 @@ +export var a=1 diff --git a/ecmascript/codegen/tests/test262-min/4e07f8992cca7db0.js b/ecmascript/codegen/tests/test262-min/4e07f8992cca7db0.js new file mode 100644 index 00000000000..b1c13517a48 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4e07f8992cca7db0.js @@ -0,0 +1 @@ +'use strict';0 diff --git a/ecmascript/codegen/tests/test262-min/4e3de59ad16a7d0f.js b/ecmascript/codegen/tests/test262-min/4e3de59ad16a7d0f.js new file mode 100644 index 00000000000..a3449a2f0e4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4e3de59ad16a7d0f.js @@ -0,0 +1 @@ +throw this diff --git a/ecmascript/codegen/tests/test262-min/4e625840177567fc.js b/ecmascript/codegen/tests/test262-min/4e625840177567fc.js new file mode 100644 index 00000000000..767d6d6f4b5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4e625840177567fc.js @@ -0,0 +1 @@ +while(a){if(b)break;c.d("a")}e:while(a){if(b)break e;c.d("a")} diff --git a/ecmascript/codegen/tests/test262-min/4e742059e0fc3d3c.js b/ecmascript/codegen/tests/test262-min/4e742059e0fc3d3c.js new file mode 100644 index 00000000000..042166d2906 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4e742059e0fc3d3c.js @@ -0,0 +1 @@ +for(a,b;;); diff --git a/ecmascript/codegen/tests/test262-min/4e7c58761e24d77c.js b/ecmascript/codegen/tests/test262-min/4e7c58761e24d77c.js new file mode 100644 index 00000000000..4efc5e7c46e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4e7c58761e24d77c.js @@ -0,0 +1 @@ +a={get null(){}} diff --git a/ecmascript/codegen/tests/test262-min/4e8e7d6fe1e67ce5.js b/ecmascript/codegen/tests/test262-min/4e8e7d6fe1e67ce5.js new file mode 100644 index 00000000000..fa30985af0e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4e8e7d6fe1e67ce5.js @@ -0,0 +1 @@ +({1:{}/1}) diff --git a/ecmascript/codegen/tests/test262-min/4e9006104ab9afe8.js b/ecmascript/codegen/tests/test262-min/4e9006104ab9afe8.js new file mode 100644 index 00000000000..e78a9dfae6a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4e9006104ab9afe8.js @@ -0,0 +1 @@ +[]=1 diff --git a/ecmascript/codegen/tests/test262-min/4e997dab642864ca.js b/ecmascript/codegen/tests/test262-min/4e997dab642864ca.js new file mode 100644 index 00000000000..1ed5c3ddb81 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4e997dab642864ca.js @@ -0,0 +1 @@ +var ABC diff --git a/ecmascript/codegen/tests/test262-min/4eafc760484cd72b.js b/ecmascript/codegen/tests/test262-min/4eafc760484cd72b.js new file mode 100644 index 00000000000..8184aaa5d0f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4eafc760484cd72b.js @@ -0,0 +1 @@ +function a(){function b(){}function c(){}function d(){}} diff --git a/ecmascript/codegen/tests/test262-min/4ec2942a940cd0b8.js b/ecmascript/codegen/tests/test262-min/4ec2942a940cd0b8.js new file mode 100644 index 00000000000..88023b9360f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4ec2942a940cd0b8.js @@ -0,0 +1 @@ +for(;;){if(a){if(b){continue}}else{;}} diff --git a/ecmascript/codegen/tests/test262-min/4ed17e0e2686e5e5.js b/ecmascript/codegen/tests/test262-min/4ed17e0e2686e5e5.js new file mode 100644 index 00000000000..66b422bb387 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4ed17e0e2686e5e5.js @@ -0,0 +1 @@ +(function(){var a=1;a+(b(),c(),d())}()) diff --git a/ecmascript/codegen/tests/test262-min/4eee835d0ac8382a.js b/ecmascript/codegen/tests/test262-min/4eee835d0ac8382a.js new file mode 100644 index 00000000000..176899cc6fb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4eee835d0ac8382a.js @@ -0,0 +1 @@ +a&&b&&c diff --git a/ecmascript/codegen/tests/test262-min/4efcd175a5db8b47.js b/ecmascript/codegen/tests/test262-min/4efcd175a5db8b47.js new file mode 100644 index 00000000000..b41bfe3d626 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4efcd175a5db8b47.js @@ -0,0 +1 @@ +if(a)b;else c diff --git a/ecmascript/codegen/tests/test262-min/4f21a4e88694c0d8.js b/ecmascript/codegen/tests/test262-min/4f21a4e88694c0d8.js new file mode 100644 index 00000000000..626ff0b21ab --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4f21a4e88694c0d8.js @@ -0,0 +1 @@ +a={set"null"(b){c=b}} diff --git a/ecmascript/codegen/tests/test262-min/4f24ffe2c3ebe706.js b/ecmascript/codegen/tests/test262-min/4f24ffe2c3ebe706.js new file mode 100644 index 00000000000..6912bada85a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4f24ffe2c3ebe706.js @@ -0,0 +1 @@ +a.b.c.d diff --git a/ecmascript/codegen/tests/test262-min/4f53cda18c2baa0c.js b/ecmascript/codegen/tests/test262-min/4f53cda18c2baa0c.js new file mode 100644 index 00000000000..fe51488c706 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4f53cda18c2baa0c.js @@ -0,0 +1 @@ +[] diff --git a/ecmascript/codegen/tests/test262-min/4f60d8fbb4be1120.js b/ecmascript/codegen/tests/test262-min/4f60d8fbb4be1120.js new file mode 100644 index 00000000000..ec635144f60 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4f60d8fbb4be1120.js @@ -0,0 +1 @@ +9 diff --git a/ecmascript/codegen/tests/test262-min/4f731d62a74ab666.js b/ecmascript/codegen/tests/test262-min/4f731d62a74ab666.js new file mode 100644 index 00000000000..500c98c1260 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4f731d62a74ab666.js @@ -0,0 +1 @@ +(let[a]=b) diff --git a/ecmascript/codegen/tests/test262-min/4f805a43cc2e8854.js b/ecmascript/codegen/tests/test262-min/4f805a43cc2e8854.js new file mode 100644 index 00000000000..549210135e8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4f805a43cc2e8854.js @@ -0,0 +1 @@ +/[x-z]/i diff --git a/ecmascript/codegen/tests/test262-min/4fa08a62c2d8c495.js b/ecmascript/codegen/tests/test262-min/4fa08a62c2d8c495.js new file mode 100644 index 00000000000..a40bc3811cc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4fa08a62c2d8c495.js @@ -0,0 +1 @@ +(a=b('100'))==a diff --git a/ecmascript/codegen/tests/test262-min/4fa4f9e47503bc5f.js b/ecmascript/codegen/tests/test262-min/4fa4f9e47503bc5f.js new file mode 100644 index 00000000000..51fb871fa4e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4fa4f9e47503bc5f.js @@ -0,0 +1 @@ +var a=1,b=2,c=3 diff --git a/ecmascript/codegen/tests/test262-min/4fdc22a42fa0d040.js b/ecmascript/codegen/tests/test262-min/4fdc22a42fa0d040.js new file mode 100644 index 00000000000..b9917af0d30 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4fdc22a42fa0d040.js @@ -0,0 +1 @@ +a-b+c diff --git a/ecmascript/codegen/tests/test262-min/4fee4ac53bdfd7f7.js b/ecmascript/codegen/tests/test262-min/4fee4ac53bdfd7f7.js new file mode 100644 index 00000000000..8581997e840 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/4fee4ac53bdfd7f7.js @@ -0,0 +1 @@ +"Hello\0World" diff --git a/ecmascript/codegen/tests/test262-min/500804fd29695dac.js b/ecmascript/codegen/tests/test262-min/500804fd29695dac.js new file mode 100644 index 00000000000..6f4247a6255 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/500804fd29695dac.js @@ -0,0 +1 @@ +26 diff --git a/ecmascript/codegen/tests/test262-min/5021396f85a70480.js b/ecmascript/codegen/tests/test262-min/5021396f85a70480.js new file mode 100644 index 00000000000..0216110dc2c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5021396f85a70480.js @@ -0,0 +1 @@ +switch(a){case 1:} diff --git a/ecmascript/codegen/tests/test262-min/503cf49b200abf64.js b/ecmascript/codegen/tests/test262-min/503cf49b200abf64.js new file mode 100644 index 00000000000..7c67b0104cb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/503cf49b200abf64.js @@ -0,0 +1 @@ +(1) diff --git a/ecmascript/codegen/tests/test262-min/50ac15a08f7c812f.js b/ecmascript/codegen/tests/test262-min/50ac15a08f7c812f.js new file mode 100644 index 00000000000..b203b97dce7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/50ac15a08f7c812f.js @@ -0,0 +1 @@ +({get __proto__(){}}) diff --git a/ecmascript/codegen/tests/test262-min/50bc1f24c865c57a.js b/ecmascript/codegen/tests/test262-min/50bc1f24c865c57a.js new file mode 100644 index 00000000000..eb2ab3c9731 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/50bc1f24c865c57a.js @@ -0,0 +1 @@ +a(b,c) diff --git a/ecmascript/codegen/tests/test262-min/50c6ab935ccb020a.module.js b/ecmascript/codegen/tests/test262-min/50c6ab935ccb020a.module.js new file mode 100644 index 00000000000..7c2dd19c0b2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/50c6ab935ccb020a.module.js @@ -0,0 +1 @@ +export default(class{}) diff --git a/ecmascript/codegen/tests/test262-min/50cea0e25b2b707d.js b/ecmascript/codegen/tests/test262-min/50cea0e25b2b707d.js new file mode 100644 index 00000000000..73c8a2acf03 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/50cea0e25b2b707d.js @@ -0,0 +1 @@ +function a(b,c){var d=1,e=f,f=d+e,g=h();return b+c} diff --git a/ecmascript/codegen/tests/test262-min/50e04108598730ff.js b/ecmascript/codegen/tests/test262-min/50e04108598730ff.js new file mode 100644 index 00000000000..e4aa935b86a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/50e04108598730ff.js @@ -0,0 +1 @@ +({a=1}=2) diff --git a/ecmascript/codegen/tests/test262-min/511a2a5fd8cac64d.js b/ecmascript/codegen/tests/test262-min/511a2a5fd8cac64d.js new file mode 100644 index 00000000000..616188c39cc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/511a2a5fd8cac64d.js @@ -0,0 +1 @@ +d:{b:{if(a)break b;if(a)break b;if(a)break b}if(c)break d} diff --git a/ecmascript/codegen/tests/test262-min/513275ce0e3c7ef3.js b/ecmascript/codegen/tests/test262-min/513275ce0e3c7ef3.js new file mode 100644 index 00000000000..fbeb0d8a78b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/513275ce0e3c7ef3.js @@ -0,0 +1 @@ +'use strict';var a={'arguments':1,'eval':2} diff --git a/ecmascript/codegen/tests/test262-min/5147bda197f961c1.js b/ecmascript/codegen/tests/test262-min/5147bda197f961c1.js new file mode 100644 index 00000000000..03f5adc66b6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5147bda197f961c1.js @@ -0,0 +1 @@ +({["a"+1]:"b"}) diff --git a/ecmascript/codegen/tests/test262-min/515825915b8d1cd8.js b/ecmascript/codegen/tests/test262-min/515825915b8d1cd8.js new file mode 100644 index 00000000000..e1a4d976ef7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/515825915b8d1cd8.js @@ -0,0 +1 @@ +while(a){try{}catch(b){}(function(){c('d')}())} diff --git a/ecmascript/codegen/tests/test262-min/5171e99c2d9d3e5a.js b/ecmascript/codegen/tests/test262-min/5171e99c2d9d3e5a.js new file mode 100644 index 00000000000..1041b82663b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5171e99c2d9d3e5a.js @@ -0,0 +1 @@ +if(a){if(b){true}}else{false} diff --git a/ecmascript/codegen/tests/test262-min/5183eafe6b4cd6e0.js b/ecmascript/codegen/tests/test262-min/5183eafe6b4cd6e0.js new file mode 100644 index 00000000000..4aed382f614 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5183eafe6b4cd6e0.js @@ -0,0 +1 @@ +for(var a;b;c); diff --git a/ecmascript/codegen/tests/test262-min/51a3505b43223a9f.js b/ecmascript/codegen/tests/test262-min/51a3505b43223a9f.js new file mode 100644 index 00000000000..6c347f93fc7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/51a3505b43223a9f.js @@ -0,0 +1 @@ +if(a){}else{} diff --git a/ecmascript/codegen/tests/test262-min/51b243bb5076b692.js b/ecmascript/codegen/tests/test262-min/51b243bb5076b692.js new file mode 100644 index 00000000000..f28fc8f240f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/51b243bb5076b692.js @@ -0,0 +1 @@ +(...a)=>1 diff --git a/ecmascript/codegen/tests/test262-min/51b58dc84e1fab89.js b/ecmascript/codegen/tests/test262-min/51b58dc84e1fab89.js new file mode 100644 index 00000000000..b8626c4cff2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/51b58dc84e1fab89.js @@ -0,0 +1 @@ +4 diff --git a/ecmascript/codegen/tests/test262-min/51ea4e18429c02e4.js b/ecmascript/codegen/tests/test262-min/51ea4e18429c02e4.js new file mode 100644 index 00000000000..41864c6172d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/51ea4e18429c02e4.js @@ -0,0 +1 @@ +if(a)var b=1 diff --git a/ecmascript/codegen/tests/test262-min/51fd2b53ad7e1581.js b/ecmascript/codegen/tests/test262-min/51fd2b53ad7e1581.js new file mode 100644 index 00000000000..a7cb008ec49 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/51fd2b53ad7e1581.js @@ -0,0 +1 @@ +class a{b(){}} diff --git a/ecmascript/codegen/tests/test262-min/5203633f36fbe544.js b/ecmascript/codegen/tests/test262-min/5203633f36fbe544.js new file mode 100644 index 00000000000..d6dc0c3a759 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5203633f36fbe544.js @@ -0,0 +1 @@ +"use strict";var{yield:a}=b diff --git a/ecmascript/codegen/tests/test262-min/5212ddf4e4b70261.js b/ecmascript/codegen/tests/test262-min/5212ddf4e4b70261.js new file mode 100644 index 00000000000..efc73add7dd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5212ddf4e4b70261.js @@ -0,0 +1 @@ +a=b diff --git a/ecmascript/codegen/tests/test262-min/521479b987ae2d7f.js b/ecmascript/codegen/tests/test262-min/521479b987ae2d7f.js new file mode 100644 index 00000000000..c26e7db759e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/521479b987ae2d7f.js @@ -0,0 +1 @@ +while(a){if(b){switch(true){case c():d()}continue}e()} diff --git a/ecmascript/codegen/tests/test262-min/521b6dfff0a28aa1.js b/ecmascript/codegen/tests/test262-min/521b6dfff0a28aa1.js new file mode 100644 index 00000000000..0a07c47241c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/521b6dfff0a28aa1.js @@ -0,0 +1 @@ +function a([a=1]){} diff --git a/ecmascript/codegen/tests/test262-min/523950fa023d7305.js b/ecmascript/codegen/tests/test262-min/523950fa023d7305.js new file mode 100644 index 00000000000..9ab6d06c4a8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/523950fa023d7305.js @@ -0,0 +1 @@ +{let a=1} diff --git a/ecmascript/codegen/tests/test262-min/5239dd0fc0effb71.js b/ecmascript/codegen/tests/test262-min/5239dd0fc0effb71.js new file mode 100644 index 00000000000..371d22dabf1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5239dd0fc0effb71.js @@ -0,0 +1 @@ +function a(){var b;with(c){b}} diff --git a/ecmascript/codegen/tests/test262-min/524172bf792ef97e.js b/ecmascript/codegen/tests/test262-min/524172bf792ef97e.js new file mode 100644 index 00000000000..6738528566e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/524172bf792ef97e.js @@ -0,0 +1 @@ +for(a of b); diff --git a/ecmascript/codegen/tests/test262-min/52ce5853ea953f0f.js b/ecmascript/codegen/tests/test262-min/52ce5853ea953f0f.js new file mode 100644 index 00000000000..11df7f71378 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/52ce5853ea953f0f.js @@ -0,0 +1 @@ ++{} diff --git a/ecmascript/codegen/tests/test262-min/52f2f30356750b9b.js b/ecmascript/codegen/tests/test262-min/52f2f30356750b9b.js new file mode 100644 index 00000000000..9ca55905bf9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/52f2f30356750b9b.js @@ -0,0 +1 @@ +var a=/[P QR]/i diff --git a/ecmascript/codegen/tests/test262-min/52f9245e7cd97f6a.js b/ecmascript/codegen/tests/test262-min/52f9245e7cd97f6a.js new file mode 100644 index 00000000000..5000e572dbf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/52f9245e7cd97f6a.js @@ -0,0 +1 @@ +a:break a diff --git a/ecmascript/codegen/tests/test262-min/5317b960ad78bbfe.js b/ecmascript/codegen/tests/test262-min/5317b960ad78bbfe.js new file mode 100644 index 00000000000..c3a21c9b305 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5317b960ad78bbfe.js @@ -0,0 +1 @@ +function a(b,c){function d(){return e()}function e(){return d()}return b+c} diff --git a/ecmascript/codegen/tests/test262-min/5333f04581124314.js b/ecmascript/codegen/tests/test262-min/5333f04581124314.js new file mode 100644 index 00000000000..124644d932e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5333f04581124314.js @@ -0,0 +1 @@ +if(a){with(b){if(c){debugger}}}else{d()} diff --git a/ecmascript/codegen/tests/test262-min/53645d3765e5f67f.js b/ecmascript/codegen/tests/test262-min/53645d3765e5f67f.js new file mode 100644 index 00000000000..d8e5f23f364 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/53645d3765e5f67f.js @@ -0,0 +1 @@ +(function(){if(a)return b;return c}()) diff --git a/ecmascript/codegen/tests/test262-min/54032532b8655caf.js b/ecmascript/codegen/tests/test262-min/54032532b8655caf.js new file mode 100644 index 00000000000..2907ab575ba --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/54032532b8655caf.js @@ -0,0 +1 @@ +({a:b}=1) diff --git a/ecmascript/codegen/tests/test262-min/5406bea2982a6e13.module.js b/ecmascript/codegen/tests/test262-min/5406bea2982a6e13.module.js new file mode 100644 index 00000000000..23ea1fa783c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5406bea2982a6e13.module.js @@ -0,0 +1 @@ +import"foo" diff --git a/ecmascript/codegen/tests/test262-min/54190cc5a11a0233.js b/ecmascript/codegen/tests/test262-min/54190cc5a11a0233.js new file mode 100644 index 00000000000..a98c0ef0eb7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/54190cc5a11a0233.js @@ -0,0 +1 @@ +(function(){((a)?1:2)!=null}()) diff --git a/ecmascript/codegen/tests/test262-min/541ee533b54ae664.js b/ecmascript/codegen/tests/test262-min/541ee533b54ae664.js new file mode 100644 index 00000000000..60f9643bde6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/541ee533b54ae664.js @@ -0,0 +1 @@ +function a(__proto__){} diff --git a/ecmascript/codegen/tests/test262-min/54257d53a8fffe8c.js b/ecmascript/codegen/tests/test262-min/54257d53a8fffe8c.js new file mode 100644 index 00000000000..02f0d9351bf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/54257d53a8fffe8c.js @@ -0,0 +1 @@ +class a extends b{c(){[super.d]=e}} diff --git a/ecmascript/codegen/tests/test262-min/547fa50af16beca7.js b/ecmascript/codegen/tests/test262-min/547fa50af16beca7.js new file mode 100644 index 00000000000..1ad878a3445 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/547fa50af16beca7.js @@ -0,0 +1 @@ +let[a,,b]=1 diff --git a/ecmascript/codegen/tests/test262-min/5495e25325fdd364.js b/ecmascript/codegen/tests/test262-min/5495e25325fdd364.js new file mode 100644 index 00000000000..e54997be2ff --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5495e25325fdd364.js @@ -0,0 +1 @@ +function a(b=c){} diff --git a/ecmascript/codegen/tests/test262-min/54e70df597a4f9a3.js b/ecmascript/codegen/tests/test262-min/54e70df597a4f9a3.js new file mode 100644 index 00000000000..bfb1817a9ad --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/54e70df597a4f9a3.js @@ -0,0 +1 @@ +try{}catch(eval){} diff --git a/ecmascript/codegen/tests/test262-min/54fb77cb2384a86b.js b/ecmascript/codegen/tests/test262-min/54fb77cb2384a86b.js new file mode 100644 index 00000000000..96b272ac1b3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/54fb77cb2384a86b.js @@ -0,0 +1 @@ +'use strict';{var a=1;b();{b();b()}} diff --git a/ecmascript/codegen/tests/test262-min/551af1dc1686e912.module.js b/ecmascript/codegen/tests/test262-min/551af1dc1686e912.module.js new file mode 100644 index 00000000000..5becb701566 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/551af1dc1686e912.module.js @@ -0,0 +1 @@ +export{a}from"foo" diff --git a/ecmascript/codegen/tests/test262-min/5526c98fdf9150c1.js b/ecmascript/codegen/tests/test262-min/5526c98fdf9150c1.js new file mode 100644 index 00000000000..25c88ef3917 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5526c98fdf9150c1.js @@ -0,0 +1 @@ +(function(){try{throw'a'}catch(b){}finally{return 1}c()}()) diff --git a/ecmascript/codegen/tests/test262-min/55b74de671f60184.js b/ecmascript/codegen/tests/test262-min/55b74de671f60184.js new file mode 100644 index 00000000000..a6f7f001deb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/55b74de671f60184.js @@ -0,0 +1 @@ +class a{constructor(){}["constructor"](){}} diff --git a/ecmascript/codegen/tests/test262-min/55c15fe174790fb2.js b/ecmascript/codegen/tests/test262-min/55c15fe174790fb2.js new file mode 100644 index 00000000000..51456b7e332 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/55c15fe174790fb2.js @@ -0,0 +1 @@ +(function(){var a=1;with(b){a,2,3}}()) diff --git a/ecmascript/codegen/tests/test262-min/55c27b3727ba1165.js b/ecmascript/codegen/tests/test262-min/55c27b3727ba1165.js new file mode 100644 index 00000000000..d92cff884ff --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/55c27b3727ba1165.js @@ -0,0 +1 @@ +(a,...b)=>{} diff --git a/ecmascript/codegen/tests/test262-min/55d1482dc2d95e91.js b/ecmascript/codegen/tests/test262-min/55d1482dc2d95e91.js new file mode 100644 index 00000000000..1e1962294f1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/55d1482dc2d95e91.js @@ -0,0 +1 @@ +1+2<<(3) diff --git a/ecmascript/codegen/tests/test262-min/55d721b105cc1780.js b/ecmascript/codegen/tests/test262-min/55d721b105cc1780.js new file mode 100644 index 00000000000..94ca6f23f35 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/55d721b105cc1780.js @@ -0,0 +1 @@ +a();b();c() diff --git a/ecmascript/codegen/tests/test262-min/560c364700fdb6b2.js b/ecmascript/codegen/tests/test262-min/560c364700fdb6b2.js new file mode 100644 index 00000000000..d9a5ea4eada --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/560c364700fdb6b2.js @@ -0,0 +1 @@ +(function(){var a=1;a;var b=2;with(c){b}}()) diff --git a/ecmascript/codegen/tests/test262-min/561ccbf2e5091865.js b/ecmascript/codegen/tests/test262-min/561ccbf2e5091865.js new file mode 100644 index 00000000000..93a96eb470b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/561ccbf2e5091865.js @@ -0,0 +1 @@ +!(a=b) diff --git a/ecmascript/codegen/tests/test262-min/5641ad33abcd1752.js b/ecmascript/codegen/tests/test262-min/5641ad33abcd1752.js new file mode 100644 index 00000000000..e2470b59948 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5641ad33abcd1752.js @@ -0,0 +1 @@ +a={get true(){}} diff --git a/ecmascript/codegen/tests/test262-min/5665da18579dd006.js b/ecmascript/codegen/tests/test262-min/5665da18579dd006.js new file mode 100644 index 00000000000..a0653e7355f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5665da18579dd006.js @@ -0,0 +1 @@ +1+(a(),b(),c()) diff --git a/ecmascript/codegen/tests/test262-min/569a2c1bad3beeb2.js b/ecmascript/codegen/tests/test262-min/569a2c1bad3beeb2.js new file mode 100644 index 00000000000..1fecca782ba --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/569a2c1bad3beeb2.js @@ -0,0 +1 @@ +({a,...b})=>0 diff --git a/ecmascript/codegen/tests/test262-min/56dcd0733a23aa26.js b/ecmascript/codegen/tests/test262-min/56dcd0733a23aa26.js new file mode 100644 index 00000000000..40e30d6ed8c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/56dcd0733a23aa26.js @@ -0,0 +1 @@ +if(a){try{}catch(b){}(function(){c('d')}())}else{try{}catch(b){}(function(){c('d')}())} diff --git a/ecmascript/codegen/tests/test262-min/56debc26cbc2e077.js b/ecmascript/codegen/tests/test262-min/56debc26cbc2e077.js new file mode 100644 index 00000000000..521939722c8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/56debc26cbc2e077.js @@ -0,0 +1 @@ +a=[] diff --git a/ecmascript/codegen/tests/test262-min/56e2ba90e05f5659.js b/ecmascript/codegen/tests/test262-min/56e2ba90e05f5659.js new file mode 100644 index 00000000000..564a1caa1ce --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/56e2ba90e05f5659.js @@ -0,0 +1 @@ +let diff --git a/ecmascript/codegen/tests/test262-min/56ec311ffc030121.module.js b/ecmascript/codegen/tests/test262-min/56ec311ffc030121.module.js new file mode 100644 index 00000000000..15725ff0a25 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/56ec311ffc030121.module.js @@ -0,0 +1 @@ +export let a diff --git a/ecmascript/codegen/tests/test262-min/56fd564979894636.js b/ecmascript/codegen/tests/test262-min/56fd564979894636.js new file mode 100644 index 00000000000..aa49acfea43 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/56fd564979894636.js @@ -0,0 +1 @@ +/\.\/\\/u diff --git a/ecmascript/codegen/tests/test262-min/571bb9d1fdd6fcc0.js b/ecmascript/codegen/tests/test262-min/571bb9d1fdd6fcc0.js new file mode 100644 index 00000000000..61135503d1a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/571bb9d1fdd6fcc0.js @@ -0,0 +1 @@ +a:!function(){a:;} diff --git a/ecmascript/codegen/tests/test262-min/5727b1080ddcd68e.js b/ecmascript/codegen/tests/test262-min/5727b1080ddcd68e.js new file mode 100644 index 00000000000..dda5367276b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5727b1080ddcd68e.js @@ -0,0 +1 @@ +日本語=[] diff --git a/ecmascript/codegen/tests/test262-min/575306c08cc44b10.js b/ecmascript/codegen/tests/test262-min/575306c08cc44b10.js new file mode 100644 index 00000000000..1296b8d959d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/575306c08cc44b10.js @@ -0,0 +1 @@ +(function(){a['NaN']=1}()) diff --git a/ecmascript/codegen/tests/test262-min/578ebe526f02ab34.js b/ecmascript/codegen/tests/test262-min/578ebe526f02ab34.js new file mode 100644 index 00000000000..96f54926a8f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/578ebe526f02ab34.js @@ -0,0 +1 @@ +{var a=1,b=2;c} diff --git a/ecmascript/codegen/tests/test262-min/57971b49e239c0ff.js b/ecmascript/codegen/tests/test262-min/57971b49e239c0ff.js new file mode 100644 index 00000000000..707e2e557f1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/57971b49e239c0ff.js @@ -0,0 +1 @@ +function a(a){'use strict'} diff --git a/ecmascript/codegen/tests/test262-min/57ad28ff7d96f031.js b/ecmascript/codegen/tests/test262-min/57ad28ff7d96f031.js new file mode 100644 index 00000000000..e655d4c10c2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/57ad28ff7d96f031.js @@ -0,0 +1 @@ +for(var a in b){c} diff --git a/ecmascript/codegen/tests/test262-min/585130f356b0729f.js b/ecmascript/codegen/tests/test262-min/585130f356b0729f.js new file mode 100644 index 00000000000..f1ecafa5f62 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/585130f356b0729f.js @@ -0,0 +1 @@ +let[a,]=1 diff --git a/ecmascript/codegen/tests/test262-min/5856de37689f8db9.js b/ecmascript/codegen/tests/test262-min/5856de37689f8db9.js new file mode 100644 index 00000000000..b3bef5aa4bd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5856de37689f8db9.js @@ -0,0 +1 @@ +a=>a*yield diff --git a/ecmascript/codegen/tests/test262-min/585b857c11763bad.js b/ecmascript/codegen/tests/test262-min/585b857c11763bad.js new file mode 100644 index 00000000000..d66ff09e47a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/585b857c11763bad.js @@ -0,0 +1 @@ +([[[[[[[[[[[[[[[[[[[[{a=b}]]]]]]]]]]]]]]]]]]]])=>1 diff --git a/ecmascript/codegen/tests/test262-min/587400d1c019785a.js b/ecmascript/codegen/tests/test262-min/587400d1c019785a.js new file mode 100644 index 00000000000..9bf57387b9f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/587400d1c019785a.js @@ -0,0 +1 @@ +try{}finally{a(b)} diff --git a/ecmascript/codegen/tests/test262-min/58a52091eaa8746c.js b/ecmascript/codegen/tests/test262-min/58a52091eaa8746c.js new file mode 100644 index 00000000000..c391b7bbd94 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/58a52091eaa8746c.js @@ -0,0 +1 @@ +(function(){a()}(),b()+1) diff --git a/ecmascript/codegen/tests/test262-min/58cb05d17f7ec010.js b/ecmascript/codegen/tests/test262-min/58cb05d17f7ec010.js new file mode 100644 index 00000000000..fe8e74150b8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/58cb05d17f7ec010.js @@ -0,0 +1 @@ +var _𐒦=1 diff --git a/ecmascript/codegen/tests/test262-min/58cf2c5c0cecdf0e.js b/ecmascript/codegen/tests/test262-min/58cf2c5c0cecdf0e.js new file mode 100644 index 00000000000..d76440f5646 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/58cf2c5c0cecdf0e.js @@ -0,0 +1 @@ +class a{} diff --git a/ecmascript/codegen/tests/test262-min/58d72762ccb4d31f.js b/ecmascript/codegen/tests/test262-min/58d72762ccb4d31f.js new file mode 100644 index 00000000000..2db104e03b9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/58d72762ccb4d31f.js @@ -0,0 +1 @@ +typeof a diff --git a/ecmascript/codegen/tests/test262-min/58ed6ffb30191684.js b/ecmascript/codegen/tests/test262-min/58ed6ffb30191684.js new file mode 100644 index 00000000000..d1c806a26d4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/58ed6ffb30191684.js @@ -0,0 +1 @@ +({set false(a){a}}) diff --git a/ecmascript/codegen/tests/test262-min/596746323492fbfd.js b/ecmascript/codegen/tests/test262-min/596746323492fbfd.js new file mode 100644 index 00000000000..2291df983ef --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/596746323492fbfd.js @@ -0,0 +1 @@ +var _𞸃 diff --git a/ecmascript/codegen/tests/test262-min/597108fd45a6e79b.js b/ecmascript/codegen/tests/test262-min/597108fd45a6e79b.js new file mode 100644 index 00000000000..80c516b0967 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/597108fd45a6e79b.js @@ -0,0 +1 @@ +class a extends b{constructor(){({c:super()})}} diff --git a/ecmascript/codegen/tests/test262-min/597b9759467727fc.js b/ecmascript/codegen/tests/test262-min/597b9759467727fc.js new file mode 100644 index 00000000000..3ed7b6373bd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/597b9759467727fc.js @@ -0,0 +1 @@ +({a}=1) diff --git a/ecmascript/codegen/tests/test262-min/5984eac0c5c6d947.js b/ecmascript/codegen/tests/test262-min/5984eac0c5c6d947.js new file mode 100644 index 00000000000..fe51488c706 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5984eac0c5c6d947.js @@ -0,0 +1 @@ +[] diff --git a/ecmascript/codegen/tests/test262-min/599dff255c5ec792.js b/ecmascript/codegen/tests/test262-min/599dff255c5ec792.js new file mode 100644 index 00000000000..cd791c2d279 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/599dff255c5ec792.js @@ -0,0 +1 @@ +eval=>'use strict' diff --git a/ecmascript/codegen/tests/test262-min/5a06dab3e9fd0f65.js b/ecmascript/codegen/tests/test262-min/5a06dab3e9fd0f65.js new file mode 100644 index 00000000000..52059d6e3a6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5a06dab3e9fd0f65.js @@ -0,0 +1 @@ +(function(){for(;;){break;a()}b()}()) diff --git a/ecmascript/codegen/tests/test262-min/5a079debdfff12da.js b/ecmascript/codegen/tests/test262-min/5a079debdfff12da.js new file mode 100644 index 00000000000..7f07527a80b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5a079debdfff12da.js @@ -0,0 +1 @@ +a-b diff --git a/ecmascript/codegen/tests/test262-min/5a0dcc9e43fed2c2.js b/ecmascript/codegen/tests/test262-min/5a0dcc9e43fed2c2.js new file mode 100644 index 00000000000..cc33f2b6629 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5a0dcc9e43fed2c2.js @@ -0,0 +1 @@ +({a:null,b:null}) diff --git a/ecmascript/codegen/tests/test262-min/5a51417e1ceb294f.js b/ecmascript/codegen/tests/test262-min/5a51417e1ceb294f.js new file mode 100644 index 00000000000..9bcfb85d328 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5a51417e1ceb294f.js @@ -0,0 +1 @@ +for(;;){while(true){continue}} diff --git a/ecmascript/codegen/tests/test262-min/5a54ee2c0b326b18.js b/ecmascript/codegen/tests/test262-min/5a54ee2c0b326b18.js new file mode 100644 index 00000000000..fbd33192c16 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5a54ee2c0b326b18.js @@ -0,0 +1 @@ +function a(b){for(var c=1,d=b.e();;c++){}} diff --git a/ecmascript/codegen/tests/test262-min/5a7812b78a03b937.js b/ecmascript/codegen/tests/test262-min/5a7812b78a03b937.js new file mode 100644 index 00000000000..ab86978757b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5a7812b78a03b937.js @@ -0,0 +1 @@ +new a() diff --git a/ecmascript/codegen/tests/test262-min/5aca2791ab698851.js b/ecmascript/codegen/tests/test262-min/5aca2791ab698851.js new file mode 100644 index 00000000000..fcd0b9d325e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5aca2791ab698851.js @@ -0,0 +1 @@ +(function(){with(a){b=(c(),1)}}()) diff --git a/ecmascript/codegen/tests/test262-min/5b146261dda66d63.js b/ecmascript/codegen/tests/test262-min/5b146261dda66d63.js new file mode 100644 index 00000000000..b9f8068450f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5b146261dda66d63.js @@ -0,0 +1 @@ +('‪') diff --git a/ecmascript/codegen/tests/test262-min/5b39aca97d9006f4.js b/ecmascript/codegen/tests/test262-min/5b39aca97d9006f4.js new file mode 100644 index 00000000000..c0ef3916119 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5b39aca97d9006f4.js @@ -0,0 +1 @@ +a`token ${`nested ${`deeply`+{}} blah`}` diff --git a/ecmascript/codegen/tests/test262-min/5b4cef6792d9462f.js b/ecmascript/codegen/tests/test262-min/5b4cef6792d9462f.js new file mode 100644 index 00000000000..89535c3e924 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5b4cef6792d9462f.js @@ -0,0 +1 @@ +void a diff --git a/ecmascript/codegen/tests/test262-min/5b683275df4548d1.js b/ecmascript/codegen/tests/test262-min/5b683275df4548d1.js new file mode 100644 index 00000000000..861278a7842 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5b683275df4548d1.js @@ -0,0 +1 @@ +(function(){var a=1;a;eval('')}()) diff --git a/ecmascript/codegen/tests/test262-min/5b8d2b991d2c1f5b.js b/ecmascript/codegen/tests/test262-min/5b8d2b991d2c1f5b.js new file mode 100644 index 00000000000..b4100a5972b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5b8d2b991d2c1f5b.js @@ -0,0 +1 @@ +({}) diff --git a/ecmascript/codegen/tests/test262-min/5b8fad162f489b3b.js b/ecmascript/codegen/tests/test262-min/5b8fad162f489b3b.js new file mode 100644 index 00000000000..cca974a1f03 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5b8fad162f489b3b.js @@ -0,0 +1 @@ +(a)-- diff --git a/ecmascript/codegen/tests/test262-min/5b9f113c3bdd0c49.js b/ecmascript/codegen/tests/test262-min/5b9f113c3bdd0c49.js new file mode 100644 index 00000000000..d5b782b4e26 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5b9f113c3bdd0c49.js @@ -0,0 +1 @@ +function a(){b();c=1;throw"d";if(c){e();var c;function b(){};(function(){var f;function e(){};})()}} diff --git a/ecmascript/codegen/tests/test262-min/5bae374be95382c6.js b/ecmascript/codegen/tests/test262-min/5bae374be95382c6.js new file mode 100644 index 00000000000..ab9d2276a86 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5bae374be95382c6.js @@ -0,0 +1 @@ +function a(){return;{}/foo/} diff --git a/ecmascript/codegen/tests/test262-min/5bb4c1e68b0925d1.js b/ecmascript/codegen/tests/test262-min/5bb4c1e68b0925d1.js new file mode 100644 index 00000000000..94c97393a94 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5bb4c1e68b0925d1.js @@ -0,0 +1 @@ +a.b=(c(),1) diff --git a/ecmascript/codegen/tests/test262-min/5beffd72ddb47f13.js b/ecmascript/codegen/tests/test262-min/5beffd72ddb47f13.js new file mode 100644 index 00000000000..78aac05f33e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5beffd72ddb47f13.js @@ -0,0 +1 @@ +('\a') diff --git a/ecmascript/codegen/tests/test262-min/5c3d125ce5f032aa.js b/ecmascript/codegen/tests/test262-min/5c3d125ce5f032aa.js new file mode 100644 index 00000000000..965aec3af57 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5c3d125ce5f032aa.js @@ -0,0 +1 @@ +var 𞸀 diff --git a/ecmascript/codegen/tests/test262-min/5c57eec29a019ebb.js b/ecmascript/codegen/tests/test262-min/5c57eec29a019ebb.js new file mode 100644 index 00000000000..f60b2cbc014 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5c57eec29a019ebb.js @@ -0,0 +1 @@ +class a{static[b](){};static[c](){}} diff --git a/ecmascript/codegen/tests/test262-min/5c587adcfe50a8c6.js b/ecmascript/codegen/tests/test262-min/5c587adcfe50a8c6.js new file mode 100644 index 00000000000..12a7acc5a4b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5c587adcfe50a8c6.js @@ -0,0 +1 @@ +switch(a){case 1:default:case 2:} diff --git a/ecmascript/codegen/tests/test262-min/5c5ef7a4bdc3e081.js b/ecmascript/codegen/tests/test262-min/5c5ef7a4bdc3e081.js new file mode 100644 index 00000000000..b9fd58ab2ee --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5c5ef7a4bdc3e081.js @@ -0,0 +1 @@ +var a;if(b){a=1+2}else{a=3} diff --git a/ecmascript/codegen/tests/test262-min/5cc7ceeebdccb6d4.js b/ecmascript/codegen/tests/test262-min/5cc7ceeebdccb6d4.js new file mode 100644 index 00000000000..97bebbb047e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5cc7ceeebdccb6d4.js @@ -0,0 +1 @@ +for(const a=1;;); diff --git a/ecmascript/codegen/tests/test262-min/5cf0dc4259e98c15.js b/ecmascript/codegen/tests/test262-min/5cf0dc4259e98c15.js new file mode 100644 index 00000000000..b260b2d34dc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5cf0dc4259e98c15.js @@ -0,0 +1 @@ +var a,b;a.c=(a={},1);b=(b={},2) diff --git a/ecmascript/codegen/tests/test262-min/5d0cbb3fb27c21b7.js b/ecmascript/codegen/tests/test262-min/5d0cbb3fb27c21b7.js new file mode 100644 index 00000000000..0d6cd070b59 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5d0cbb3fb27c21b7.js @@ -0,0 +1 @@ +for(;;){if(a){if(b){continue}c()}} diff --git a/ecmascript/codegen/tests/test262-min/5d1a7c61bf135457.js b/ecmascript/codegen/tests/test262-min/5d1a7c61bf135457.js new file mode 100644 index 00000000000..cb2a4d43a34 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5d1a7c61bf135457.js @@ -0,0 +1 @@ +((a)) diff --git a/ecmascript/codegen/tests/test262-min/5d3e89c83953788e.js b/ecmascript/codegen/tests/test262-min/5d3e89c83953788e.js new file mode 100644 index 00000000000..5a894c7eb3a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5d3e89c83953788e.js @@ -0,0 +1 @@ +function a(){for(var b in c);} diff --git a/ecmascript/codegen/tests/test262-min/5d687a45c607ea42.js b/ecmascript/codegen/tests/test262-min/5d687a45c607ea42.js new file mode 100644 index 00000000000..8e91157fca2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5d687a45c607ea42.js @@ -0,0 +1 @@ +{{a}}{b} diff --git a/ecmascript/codegen/tests/test262-min/5d8ab2c35c7eb883.js b/ecmascript/codegen/tests/test262-min/5d8ab2c35c7eb883.js new file mode 100644 index 00000000000..0728ba1c819 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5d8ab2c35c7eb883.js @@ -0,0 +1 @@ +var a;if(b()){a()}else{a()} diff --git a/ecmascript/codegen/tests/test262-min/5d9d30af901ba176.js b/ecmascript/codegen/tests/test262-min/5d9d30af901ba176.js new file mode 100644 index 00000000000..82c6062985e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5d9d30af901ba176.js @@ -0,0 +1 @@ +for(;;){with(a){continue}} diff --git a/ecmascript/codegen/tests/test262-min/5dd65055dace49bc.js b/ecmascript/codegen/tests/test262-min/5dd65055dace49bc.js new file mode 100644 index 00000000000..0e28592ac7c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5dd65055dace49bc.js @@ -0,0 +1 @@ +({a,b=b,a:c,[a]:[d]})=>1 diff --git a/ecmascript/codegen/tests/test262-min/5e0cab2e2e36274c.js b/ecmascript/codegen/tests/test262-min/5e0cab2e2e36274c.js new file mode 100644 index 00000000000..e21b800fa55 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5e0cab2e2e36274c.js @@ -0,0 +1 @@ +a(...0) diff --git a/ecmascript/codegen/tests/test262-min/5e1cbe1737b1bbc6.js b/ecmascript/codegen/tests/test262-min/5e1cbe1737b1bbc6.js new file mode 100644 index 00000000000..cee9ce8f1e4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5e1cbe1737b1bbc6.js @@ -0,0 +1 @@ +(eval,a=1)=>2 diff --git a/ecmascript/codegen/tests/test262-min/5e6d5c3edf519b99.js b/ecmascript/codegen/tests/test262-min/5e6d5c3edf519b99.js new file mode 100644 index 00000000000..acc6ed8064c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5e6d5c3edf519b99.js @@ -0,0 +1 @@ +a=function({b}={b:1}){} diff --git a/ecmascript/codegen/tests/test262-min/5e7ca8611aaa4d53.js b/ecmascript/codegen/tests/test262-min/5e7ca8611aaa4d53.js new file mode 100644 index 00000000000..f1ecafa5f62 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5e7ca8611aaa4d53.js @@ -0,0 +1 @@ +let[a,]=1 diff --git a/ecmascript/codegen/tests/test262-min/5ec03710bd21b933.js b/ecmascript/codegen/tests/test262-min/5ec03710bd21b933.js new file mode 100644 index 00000000000..12895beaaf3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5ec03710bd21b933.js @@ -0,0 +1 @@ +b:while(1){continue;a} diff --git a/ecmascript/codegen/tests/test262-min/5ecbbdc097bee212.js b/ecmascript/codegen/tests/test262-min/5ecbbdc097bee212.js new file mode 100644 index 00000000000..69604bbedb5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5ecbbdc097bee212.js @@ -0,0 +1 @@ +for(a in let){} diff --git a/ecmascript/codegen/tests/test262-min/5ecf2f4d83e6260d.module.js b/ecmascript/codegen/tests/test262-min/5ecf2f4d83e6260d.module.js new file mode 100644 index 00000000000..eebe0fbc86b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5ecf2f4d83e6260d.module.js @@ -0,0 +1 @@ +"use strict" diff --git a/ecmascript/codegen/tests/test262-min/5ed18bdbe48cc4c3.js b/ecmascript/codegen/tests/test262-min/5ed18bdbe48cc4c3.js new file mode 100644 index 00000000000..f393926fed9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5ed18bdbe48cc4c3.js @@ -0,0 +1 @@ +function*a(){var b=function yield(){}} diff --git a/ecmascript/codegen/tests/test262-min/5f1e0eff7ac775ee.js b/ecmascript/codegen/tests/test262-min/5f1e0eff7ac775ee.js new file mode 100644 index 00000000000..78ef6973a64 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5f1e0eff7ac775ee.js @@ -0,0 +1 @@ +delete(1,a,2) diff --git a/ecmascript/codegen/tests/test262-min/5f2834246274eccc.js b/ecmascript/codegen/tests/test262-min/5f2834246274eccc.js new file mode 100644 index 00000000000..7fd95e05d5c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5f2834246274eccc.js @@ -0,0 +1 @@ +(void a) diff --git a/ecmascript/codegen/tests/test262-min/5f5e1d12ad68e832.js b/ecmascript/codegen/tests/test262-min/5f5e1d12ad68e832.js new file mode 100644 index 00000000000..ad4fb79a28b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5f5e1d12ad68e832.js @@ -0,0 +1 @@ +if(a&&b){c(a)[1].b.d=e()}else c(a)[2].b.d=f() diff --git a/ecmascript/codegen/tests/test262-min/5f730961df66e8e8.js b/ecmascript/codegen/tests/test262-min/5f730961df66e8e8.js new file mode 100644 index 00000000000..2577739e4ca --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5f730961df66e8e8.js @@ -0,0 +1 @@ +a={get false(){}} diff --git a/ecmascript/codegen/tests/test262-min/5f85b0b6828b081b.js b/ecmascript/codegen/tests/test262-min/5f85b0b6828b081b.js new file mode 100644 index 00000000000..ce330ab01a9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5f85b0b6828b081b.js @@ -0,0 +1 @@ +(a,...[b])=>{} diff --git a/ecmascript/codegen/tests/test262-min/5f9eeac7b076f34b.js b/ecmascript/codegen/tests/test262-min/5f9eeac7b076f34b.js new file mode 100644 index 00000000000..d7ebb33dd96 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5f9eeac7b076f34b.js @@ -0,0 +1 @@ +(a,{b=1})=>2 diff --git a/ecmascript/codegen/tests/test262-min/5fa8c711247d70f5.js b/ecmascript/codegen/tests/test262-min/5fa8c711247d70f5.js new file mode 100644 index 00000000000..8efcee26586 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5fa8c711247d70f5.js @@ -0,0 +1 @@ +()=>{} diff --git a/ecmascript/codegen/tests/test262-min/5fcc16142185c87c.js b/ecmascript/codegen/tests/test262-min/5fcc16142185c87c.js new file mode 100644 index 00000000000..8a505904f86 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/5fcc16142185c87c.js @@ -0,0 +1 @@ +var[]=1 diff --git a/ecmascript/codegen/tests/test262-min/600327b79f60606c.js b/ecmascript/codegen/tests/test262-min/600327b79f60606c.js new file mode 100644 index 00000000000..b6cc8fe0d5b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/600327b79f60606c.js @@ -0,0 +1 @@ +(function(){((a)?1:b)!=null}()) diff --git a/ecmascript/codegen/tests/test262-min/600fd3c4d9f2ca42.js b/ecmascript/codegen/tests/test262-min/600fd3c4d9f2ca42.js new file mode 100644 index 00000000000..79ce18dca2b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/600fd3c4d9f2ca42.js @@ -0,0 +1 @@ +a-=1 diff --git a/ecmascript/codegen/tests/test262-min/60a1991953372b97.js b/ecmascript/codegen/tests/test262-min/60a1991953372b97.js new file mode 100644 index 00000000000..26c0add4de4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/60a1991953372b97.js @@ -0,0 +1 @@ +(function(){for(;;){continue;a()}b()}()) diff --git a/ecmascript/codegen/tests/test262-min/60bb345d725fe68b.js b/ecmascript/codegen/tests/test262-min/60bb345d725fe68b.js new file mode 100644 index 00000000000..3ea3d962b96 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/60bb345d725fe68b.js @@ -0,0 +1 @@ +(function(){if(a){b();return 1}else{b();return 2}c()}()) diff --git a/ecmascript/codegen/tests/test262-min/60c092cb83b525f2.js b/ecmascript/codegen/tests/test262-min/60c092cb83b525f2.js new file mode 100644 index 00000000000..5802f6609d9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/60c092cb83b525f2.js @@ -0,0 +1 @@ +a&=1 diff --git a/ecmascript/codegen/tests/test262-min/60dcd48a3f6af44f.js b/ecmascript/codegen/tests/test262-min/60dcd48a3f6af44f.js new file mode 100644 index 00000000000..387987c62fb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/60dcd48a3f6af44f.js @@ -0,0 +1 @@ +try{}catch(a){var a=1} diff --git a/ecmascript/codegen/tests/test262-min/610b397691988417.module.js b/ecmascript/codegen/tests/test262-min/610b397691988417.module.js new file mode 100644 index 00000000000..2401c76f569 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/610b397691988417.module.js @@ -0,0 +1 @@ +import{b as a}from"foo" diff --git a/ecmascript/codegen/tests/test262-min/612fed84b89e42a8.js b/ecmascript/codegen/tests/test262-min/612fed84b89e42a8.js new file mode 100644 index 00000000000..2554f283a73 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/612fed84b89e42a8.js @@ -0,0 +1 @@ +1 instanceof 2 diff --git a/ecmascript/codegen/tests/test262-min/6196b3f969486455.js b/ecmascript/codegen/tests/test262-min/6196b3f969486455.js new file mode 100644 index 00000000000..39ea28c16da --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6196b3f969486455.js @@ -0,0 +1 @@ +yield=>1 diff --git a/ecmascript/codegen/tests/test262-min/61ceb5809404ee85.js b/ecmascript/codegen/tests/test262-min/61ceb5809404ee85.js new file mode 100644 index 00000000000..fb3a9301e20 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/61ceb5809404ee85.js @@ -0,0 +1 @@ +(a)+(b) diff --git a/ecmascript/codegen/tests/test262-min/61d8a7e497b6db72.js b/ecmascript/codegen/tests/test262-min/61d8a7e497b6db72.js new file mode 100644 index 00000000000..8c4ea7810e4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/61d8a7e497b6db72.js @@ -0,0 +1 @@ +(function(){function a(){(function(){b('c')}())}a()}()) diff --git a/ecmascript/codegen/tests/test262-min/61f55d9f22cc8426.js b/ecmascript/codegen/tests/test262-min/61f55d9f22cc8426.js new file mode 100644 index 00000000000..88167702eb1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/61f55d9f22cc8426.js @@ -0,0 +1 @@ +class a{static static(){};} diff --git a/ecmascript/codegen/tests/test262-min/623cec03370f088a.js b/ecmascript/codegen/tests/test262-min/623cec03370f088a.js new file mode 100644 index 00000000000..c068d9cdc84 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/623cec03370f088a.js @@ -0,0 +1 @@ +a(...b,...c,...d) diff --git a/ecmascript/codegen/tests/test262-min/624bc7f99260037f.js b/ecmascript/codegen/tests/test262-min/624bc7f99260037f.js new file mode 100644 index 00000000000..59188209cb5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/624bc7f99260037f.js @@ -0,0 +1 @@ +function a(b=1){} diff --git a/ecmascript/codegen/tests/test262-min/62541961bcef8d79.js b/ecmascript/codegen/tests/test262-min/62541961bcef8d79.js new file mode 100644 index 00000000000..573541ac970 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/62541961bcef8d79.js @@ -0,0 +1 @@ +0 diff --git a/ecmascript/codegen/tests/test262-min/627fede559e0bcac.js b/ecmascript/codegen/tests/test262-min/627fede559e0bcac.js new file mode 100644 index 00000000000..8efba72e0d9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/627fede559e0bcac.js @@ -0,0 +1 @@ +(a=b('100'))!=a diff --git a/ecmascript/codegen/tests/test262-min/62ab44289ebbba49.js b/ecmascript/codegen/tests/test262-min/62ab44289ebbba49.js new file mode 100644 index 00000000000..a27aa4ed56c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/62ab44289ebbba49.js @@ -0,0 +1 @@ +(function(){return 1;function a(){}}()) diff --git a/ecmascript/codegen/tests/test262-min/62c217b2844680ab.js b/ecmascript/codegen/tests/test262-min/62c217b2844680ab.js new file mode 100644 index 00000000000..07c896d6e29 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/62c217b2844680ab.js @@ -0,0 +1 @@ +a+b/c diff --git a/ecmascript/codegen/tests/test262-min/62d0da6771d5317d.js b/ecmascript/codegen/tests/test262-min/62d0da6771d5317d.js new file mode 100644 index 00000000000..97f2fdeb438 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/62d0da6771d5317d.js @@ -0,0 +1 @@ +function*a(){yield a} diff --git a/ecmascript/codegen/tests/test262-min/62d7c1ee4e1626c4.js b/ecmascript/codegen/tests/test262-min/62d7c1ee4e1626c4.js new file mode 100644 index 00000000000..5b557b85a53 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/62d7c1ee4e1626c4.js @@ -0,0 +1 @@ +(function(){return;a}) diff --git a/ecmascript/codegen/tests/test262-min/63208a19ffb4baeb.js b/ecmascript/codegen/tests/test262-min/63208a19ffb4baeb.js new file mode 100644 index 00000000000..587dfc199b7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/63208a19ffb4baeb.js @@ -0,0 +1 @@ +({["a"+"b"]:1}) diff --git a/ecmascript/codegen/tests/test262-min/633fac25082a90af.js b/ecmascript/codegen/tests/test262-min/633fac25082a90af.js new file mode 100644 index 00000000000..311888834b2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/633fac25082a90af.js @@ -0,0 +1 @@ +var[{a=1}]=2 diff --git a/ecmascript/codegen/tests/test262-min/63586de6fec2e3cf.js b/ecmascript/codegen/tests/test262-min/63586de6fec2e3cf.js new file mode 100644 index 00000000000..8db64954b89 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/63586de6fec2e3cf.js @@ -0,0 +1 @@ +({[a]:1}) diff --git a/ecmascript/codegen/tests/test262-min/639b9076cc56e57c.js b/ecmascript/codegen/tests/test262-min/639b9076cc56e57c.js new file mode 100644 index 00000000000..669ea5b2717 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/639b9076cc56e57c.js @@ -0,0 +1 @@ +while(true){if(a)break;else b} diff --git a/ecmascript/codegen/tests/test262-min/63c92209eb77315a.js b/ecmascript/codegen/tests/test262-min/63c92209eb77315a.js new file mode 100644 index 00000000000..c87b8eaaf43 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/63c92209eb77315a.js @@ -0,0 +1 @@ +var let diff --git a/ecmascript/codegen/tests/test262-min/63ee9cd383dc68a3.js b/ecmascript/codegen/tests/test262-min/63ee9cd383dc68a3.js new file mode 100644 index 00000000000..da8aabb4cc4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/63ee9cd383dc68a3.js @@ -0,0 +1 @@ +switch(1){case 2:a();if(b)break;c();break;case 3+4:d();default:e()} diff --git a/ecmascript/codegen/tests/test262-min/64117d5c682ec505.js b/ecmascript/codegen/tests/test262-min/64117d5c682ec505.js new file mode 100644 index 00000000000..06e6ff91208 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/64117d5c682ec505.js @@ -0,0 +1 @@ +while(a){b();c();continue} diff --git a/ecmascript/codegen/tests/test262-min/641ac9060a206183.js b/ecmascript/codegen/tests/test262-min/641ac9060a206183.js new file mode 100644 index 00000000000..f8237bf6e45 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/641ac9060a206183.js @@ -0,0 +1 @@ +([a,,b])=>1 diff --git a/ecmascript/codegen/tests/test262-min/645e8cce491528cd.js b/ecmascript/codegen/tests/test262-min/645e8cce491528cd.js new file mode 100644 index 00000000000..c74a43e91b7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/645e8cce491528cd.js @@ -0,0 +1 @@ +typeof/test/ diff --git a/ecmascript/codegen/tests/test262-min/646c2391c11102b5.js b/ecmascript/codegen/tests/test262-min/646c2391c11102b5.js new file mode 100644 index 00000000000..99363447a2e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/646c2391c11102b5.js @@ -0,0 +1 @@ +(a,a) diff --git a/ecmascript/codegen/tests/test262-min/647e21f8f157c338.js b/ecmascript/codegen/tests/test262-min/647e21f8f157c338.js new file mode 100644 index 00000000000..4e237ffc6e3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/647e21f8f157c338.js @@ -0,0 +1 @@ +('
') diff --git a/ecmascript/codegen/tests/test262-min/6498dcc494193cb4.js b/ecmascript/codegen/tests/test262-min/6498dcc494193cb4.js new file mode 100644 index 00000000000..affbaeb22d4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6498dcc494193cb4.js @@ -0,0 +1 @@ +{1;2;3;4;5} diff --git a/ecmascript/codegen/tests/test262-min/64cc57f82a54b7fb.js b/ecmascript/codegen/tests/test262-min/64cc57f82a54b7fb.js new file mode 100644 index 00000000000..1f8348ae52a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/64cc57f82a54b7fb.js @@ -0,0 +1 @@ +({get 10(){}}) diff --git a/ecmascript/codegen/tests/test262-min/64ff3b3ee7f636c5.js b/ecmascript/codegen/tests/test262-min/64ff3b3ee7f636c5.js new file mode 100644 index 00000000000..631d67d10b4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/64ff3b3ee7f636c5.js @@ -0,0 +1 @@ +(function a({b,c}){}) diff --git a/ecmascript/codegen/tests/test262-min/65047600233c760c.js b/ecmascript/codegen/tests/test262-min/65047600233c760c.js new file mode 100644 index 00000000000..b29fae9266b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/65047600233c760c.js @@ -0,0 +1 @@ +a=false diff --git a/ecmascript/codegen/tests/test262-min/65228d6a31a06406.js b/ecmascript/codegen/tests/test262-min/65228d6a31a06406.js new file mode 100644 index 00000000000..66883ea586b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/65228d6a31a06406.js @@ -0,0 +1 @@ +var a;a=true&&b;a=1&&c.d("a");a=2*3&&4*b;a=5==6&&b+7;a="e"&&8-b;a=9+""&&b/10;a=-4.5&&11<{return 1} diff --git a/ecmascript/codegen/tests/test262-min/6823058797ddd563.js b/ecmascript/codegen/tests/test262-min/6823058797ddd563.js new file mode 100644 index 00000000000..ec3c3c578e2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6823058797ddd563.js @@ -0,0 +1 @@ +/[a-z]/gim diff --git a/ecmascript/codegen/tests/test262-min/684237281767d41d.js b/ecmascript/codegen/tests/test262-min/684237281767d41d.js new file mode 100644 index 00000000000..2cd7501ea1f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/684237281767d41d.js @@ -0,0 +1 @@ +{do;while(false)false} diff --git a/ecmascript/codegen/tests/test262-min/6861bb23b186f65a.js b/ecmascript/codegen/tests/test262-min/6861bb23b186f65a.js new file mode 100644 index 00000000000..3f5fa00120a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6861bb23b186f65a.js @@ -0,0 +1 @@ +/=([^=\s])+/g diff --git a/ecmascript/codegen/tests/test262-min/687b7b904904fcfd.js b/ecmascript/codegen/tests/test262-min/687b7b904904fcfd.js new file mode 100644 index 00000000000..74cddf25589 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/687b7b904904fcfd.js @@ -0,0 +1 @@ +class a{prototype(){}} diff --git a/ecmascript/codegen/tests/test262-min/687f678cde900411.js b/ecmascript/codegen/tests/test262-min/687f678cde900411.js new file mode 100644 index 00000000000..5bc13a6a178 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/687f678cde900411.js @@ -0,0 +1 @@ +([1].a)=2 diff --git a/ecmascript/codegen/tests/test262-min/69063bc9496ea6e5.js b/ecmascript/codegen/tests/test262-min/69063bc9496ea6e5.js new file mode 100644 index 00000000000..258d34d8316 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/69063bc9496ea6e5.js @@ -0,0 +1 @@ +a`hello ${b}` diff --git a/ecmascript/codegen/tests/test262-min/691e1d9954f3e6e2.js b/ecmascript/codegen/tests/test262-min/691e1d9954f3e6e2.js new file mode 100644 index 00000000000..3e46ca6ae0a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/691e1d9954f3e6e2.js @@ -0,0 +1 @@ +a={__proto__:1} diff --git a/ecmascript/codegen/tests/test262-min/697b3d30c1d06918.js b/ecmascript/codegen/tests/test262-min/697b3d30c1d06918.js new file mode 100644 index 00000000000..6a791ff6635 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/697b3d30c1d06918.js @@ -0,0 +1 @@ +function a(){'use strict';({b:1,b:2})} diff --git a/ecmascript/codegen/tests/test262-min/698a8cfb0705c277.js b/ecmascript/codegen/tests/test262-min/698a8cfb0705c277.js new file mode 100644 index 00000000000..72029272a69 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/698a8cfb0705c277.js @@ -0,0 +1 @@ +({a:1,get a(){}}) diff --git a/ecmascript/codegen/tests/test262-min/69bbdc7c34ed23cc.js b/ecmascript/codegen/tests/test262-min/69bbdc7c34ed23cc.js new file mode 100644 index 00000000000..d137e3dd8d0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/69bbdc7c34ed23cc.js @@ -0,0 +1 @@ +({get a(){},a:1}) diff --git a/ecmascript/codegen/tests/test262-min/69bdc785b6e244ff.js b/ecmascript/codegen/tests/test262-min/69bdc785b6e244ff.js new file mode 100644 index 00000000000..2bc3a6cecd1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/69bdc785b6e244ff.js @@ -0,0 +1 @@ +a||(b||(c||(d||(e||f)))) diff --git a/ecmascript/codegen/tests/test262-min/69cbe8ec2f64382d.js b/ecmascript/codegen/tests/test262-min/69cbe8ec2f64382d.js new file mode 100644 index 00000000000..369e9d0130c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/69cbe8ec2f64382d.js @@ -0,0 +1 @@ +var a,b diff --git a/ecmascript/codegen/tests/test262-min/6a218750a221c68b.module.js b/ecmascript/codegen/tests/test262-min/6a218750a221c68b.module.js new file mode 100644 index 00000000000..82f9ec879bd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6a218750a221c68b.module.js @@ -0,0 +1 @@ +import*as a from"a" diff --git a/ecmascript/codegen/tests/test262-min/6a220df693ce521c.js b/ecmascript/codegen/tests/test262-min/6a220df693ce521c.js new file mode 100644 index 00000000000..284377eb0a1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6a220df693ce521c.js @@ -0,0 +1 @@ +for(a(b in c)[1]in d); diff --git a/ecmascript/codegen/tests/test262-min/6a240463b40550d2.js b/ecmascript/codegen/tests/test262-min/6a240463b40550d2.js new file mode 100644 index 00000000000..e15db18f4e8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6a240463b40550d2.js @@ -0,0 +1 @@ +1e20,1e21 diff --git a/ecmascript/codegen/tests/test262-min/6a323491fe75918a.js b/ecmascript/codegen/tests/test262-min/6a323491fe75918a.js new file mode 100644 index 00000000000..e4466642072 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6a323491fe75918a.js @@ -0,0 +1 @@ +(function*(){yield 1}) diff --git a/ecmascript/codegen/tests/test262-min/6a735105a5e79722.js b/ecmascript/codegen/tests/test262-min/6a735105a5e79722.js new file mode 100644 index 00000000000..b8bc408ca42 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6a735105a5e79722.js @@ -0,0 +1 @@ +(function(){for(var a=1;a<2;++a);}()) diff --git a/ecmascript/codegen/tests/test262-min/6a7ed6cb99ea0b81.js b/ecmascript/codegen/tests/test262-min/6a7ed6cb99ea0b81.js new file mode 100644 index 00000000000..74d65fcde52 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6a7ed6cb99ea0b81.js @@ -0,0 +1 @@ +a=a+=1 diff --git a/ecmascript/codegen/tests/test262-min/6b0e8bbdc3dca1c5.js b/ecmascript/codegen/tests/test262-min/6b0e8bbdc3dca1c5.js new file mode 100644 index 00000000000..fe199d36d23 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6b0e8bbdc3dca1c5.js @@ -0,0 +1 @@ +if(a){with(b){if(c){d()}}}else{d()} diff --git a/ecmascript/codegen/tests/test262-min/6b36b5ad4f3ad84d.js b/ecmascript/codegen/tests/test262-min/6b36b5ad4f3ad84d.js new file mode 100644 index 00000000000..adf6b4bbfff --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6b36b5ad4f3ad84d.js @@ -0,0 +1 @@ +let.let=a diff --git a/ecmascript/codegen/tests/test262-min/6b63d36394b0ffb3.js b/ecmascript/codegen/tests/test262-min/6b63d36394b0ffb3.js new file mode 100644 index 00000000000..f2135aa8812 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6b63d36394b0ffb3.js @@ -0,0 +1 @@ +()=>"a" diff --git a/ecmascript/codegen/tests/test262-min/6b68aefbfbf0beb9.js b/ecmascript/codegen/tests/test262-min/6b68aefbfbf0beb9.js new file mode 100644 index 00000000000..8d64154463d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6b68aefbfbf0beb9.js @@ -0,0 +1 @@ +a={set(){}} diff --git a/ecmascript/codegen/tests/test262-min/6b76b8761a049c19.js b/ecmascript/codegen/tests/test262-min/6b76b8761a049c19.js new file mode 100644 index 00000000000..f016a2900aa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6b76b8761a049c19.js @@ -0,0 +1 @@ +function*a(){({set b(yield){}})} diff --git a/ecmascript/codegen/tests/test262-min/6b86b273ff34fce1.js b/ecmascript/codegen/tests/test262-min/6b86b273ff34fce1.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6b86b273ff34fce1.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/6bb2a138b9eb0088.js b/ecmascript/codegen/tests/test262-min/6bb2a138b9eb0088.js new file mode 100644 index 00000000000..c87cc4f145c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6bb2a138b9eb0088.js @@ -0,0 +1 @@ +1*2 diff --git a/ecmascript/codegen/tests/test262-min/6c27d048b07ca7e0.js b/ecmascript/codegen/tests/test262-min/6c27d048b07ca7e0.js new file mode 100644 index 00000000000..7116490c0b2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6c27d048b07ca7e0.js @@ -0,0 +1 @@ +class a{constructor(){};b(){};};class c{constructor(...d){}b(){}};class e extends a{};var f=class g{};var h=class{} diff --git a/ecmascript/codegen/tests/test262-min/6c42024bfadac21f.js b/ecmascript/codegen/tests/test262-min/6c42024bfadac21f.js new file mode 100644 index 00000000000..252848d8525 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6c42024bfadac21f.js @@ -0,0 +1 @@ +a={if:1} diff --git a/ecmascript/codegen/tests/test262-min/6c5f0dd83c417a5a.js b/ecmascript/codegen/tests/test262-min/6c5f0dd83c417a5a.js new file mode 100644 index 00000000000..98bcdd100c6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6c5f0dd83c417a5a.js @@ -0,0 +1 @@ +function a(){try{a()}catch(b){var c=1}return c} diff --git a/ecmascript/codegen/tests/test262-min/6c688efe01b3631e.js b/ecmascript/codegen/tests/test262-min/6c688efe01b3631e.js new file mode 100644 index 00000000000..6f32d8ae529 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6c688efe01b3631e.js @@ -0,0 +1 @@ +function*a(){yield*a} diff --git a/ecmascript/codegen/tests/test262-min/6cfcfc99afcb6e1a.js b/ecmascript/codegen/tests/test262-min/6cfcfc99afcb6e1a.js new file mode 100644 index 00000000000..93c76078274 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6cfcfc99afcb6e1a.js @@ -0,0 +1 @@ +for(let a of[1,2])3 diff --git a/ecmascript/codegen/tests/test262-min/6d1bf4c3db76b489.js b/ecmascript/codegen/tests/test262-min/6d1bf4c3db76b489.js new file mode 100644 index 00000000000..bb02e943034 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6d1bf4c3db76b489.js @@ -0,0 +1 @@ +3567 diff --git a/ecmascript/codegen/tests/test262-min/6d707802519c7158.js b/ecmascript/codegen/tests/test262-min/6d707802519c7158.js new file mode 100644 index 00000000000..d4d41cf4464 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6d707802519c7158.js @@ -0,0 +1 @@ +a(`${b} + ${c} = ${b+c}`) diff --git a/ecmascript/codegen/tests/test262-min/6d79220c64963dad.js b/ecmascript/codegen/tests/test262-min/6d79220c64963dad.js new file mode 100644 index 00000000000..76ab9779fe0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6d79220c64963dad.js @@ -0,0 +1 @@ +do;while(true) diff --git a/ecmascript/codegen/tests/test262-min/6d8728cbc7bfe6b5.js b/ecmascript/codegen/tests/test262-min/6d8728cbc7bfe6b5.js new file mode 100644 index 00000000000..1107d1ccaf6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6d8728cbc7bfe6b5.js @@ -0,0 +1 @@ +({})=>1 diff --git a/ecmascript/codegen/tests/test262-min/6d8c97119162ad95.js b/ecmascript/codegen/tests/test262-min/6d8c97119162ad95.js new file mode 100644 index 00000000000..6da3c05002c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6d8c97119162ad95.js @@ -0,0 +1,3 @@ +` + +` diff --git a/ecmascript/codegen/tests/test262-min/6d981ff8b6a3faec.js b/ecmascript/codegen/tests/test262-min/6d981ff8b6a3faec.js new file mode 100644 index 00000000000..c48ed7077e0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6d981ff8b6a3faec.js @@ -0,0 +1 @@ +var a={*b(){yield*c}} diff --git a/ecmascript/codegen/tests/test262-min/6db6e4c3ba0299b7.js b/ecmascript/codegen/tests/test262-min/6db6e4c3ba0299b7.js new file mode 100644 index 00000000000..676773d138c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6db6e4c3ba0299b7.js @@ -0,0 +1 @@ +a instanceof b diff --git a/ecmascript/codegen/tests/test262-min/6db7dbc9b1365dfa.module.js b/ecmascript/codegen/tests/test262-min/6db7dbc9b1365dfa.module.js new file mode 100644 index 00000000000..002b2ce183b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6db7dbc9b1365dfa.module.js @@ -0,0 +1 @@ +export default/foo/ diff --git a/ecmascript/codegen/tests/test262-min/6dcd76e9be7c3d00.js b/ecmascript/codegen/tests/test262-min/6dcd76e9be7c3d00.js new file mode 100644 index 00000000000..d1d51bfd9a4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6dcd76e9be7c3d00.js @@ -0,0 +1 @@ +b:{if(a)break b;c.d("e")} diff --git a/ecmascript/codegen/tests/test262-min/6e5fe0c2bb20b016.js b/ecmascript/codegen/tests/test262-min/6e5fe0c2bb20b016.js new file mode 100644 index 00000000000..be011cae8f7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6e5fe0c2bb20b016.js @@ -0,0 +1 @@ +({"a":1}) diff --git a/ecmascript/codegen/tests/test262-min/6ec818aa7f27cdbf.js b/ecmascript/codegen/tests/test262-min/6ec818aa7f27cdbf.js new file mode 100644 index 00000000000..bf87686953b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6ec818aa7f27cdbf.js @@ -0,0 +1 @@ +const a=1 diff --git a/ecmascript/codegen/tests/test262-min/6edc155d463535cb.js b/ecmascript/codegen/tests/test262-min/6edc155d463535cb.js new file mode 100644 index 00000000000..61751a64fec --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6edc155d463535cb.js @@ -0,0 +1 @@ +(function(){'use strict';a=1;function b(){}}) diff --git a/ecmascript/codegen/tests/test262-min/6f256be2ef45a7d6.js b/ecmascript/codegen/tests/test262-min/6f256be2ef45a7d6.js new file mode 100644 index 00000000000..9acad37f932 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6f256be2ef45a7d6.js @@ -0,0 +1 @@ +__proto__:while(true){break __proto__} diff --git a/ecmascript/codegen/tests/test262-min/6f6e870785069487.js b/ecmascript/codegen/tests/test262-min/6f6e870785069487.js new file mode 100644 index 00000000000..442c4f8c4fa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6f6e870785069487.js @@ -0,0 +1 @@ +/((((((((((((.))))))))))))\12/ diff --git a/ecmascript/codegen/tests/test262-min/6f824ec22e22a198.js b/ecmascript/codegen/tests/test262-min/6f824ec22e22a198.js new file mode 100644 index 00000000000..4ec681226f0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6f824ec22e22a198.js @@ -0,0 +1 @@ +({a(b,...c){}}) diff --git a/ecmascript/codegen/tests/test262-min/6ffb11115fcefb96.js b/ecmascript/codegen/tests/test262-min/6ffb11115fcefb96.js new file mode 100644 index 00000000000..9fe128648ea --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6ffb11115fcefb96.js @@ -0,0 +1 @@ +c:{a("b");break c}c:{a("b");break c} diff --git a/ecmascript/codegen/tests/test262-min/6ffb1fb47c2dd12f.js b/ecmascript/codegen/tests/test262-min/6ffb1fb47c2dd12f.js new file mode 100644 index 00000000000..5addf70bc39 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6ffb1fb47c2dd12f.js @@ -0,0 +1 @@ +({a,a:a,a:a=a,[a]:{a},a:b()[a],a:this.a}=1) diff --git a/ecmascript/codegen/tests/test262-min/6ffc173d4e1e5158.js b/ecmascript/codegen/tests/test262-min/6ffc173d4e1e5158.js new file mode 100644 index 00000000000..415ed40efe4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6ffc173d4e1e5158.js @@ -0,0 +1 @@ +(class{;;;;}) diff --git a/ecmascript/codegen/tests/test262-min/6ffd0afb19f0a92c.js b/ecmascript/codegen/tests/test262-min/6ffd0afb19f0a92c.js new file mode 100644 index 00000000000..784eb6a302e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/6ffd0afb19f0a92c.js @@ -0,0 +1 @@ +var a=class extends(b,c){} diff --git a/ecmascript/codegen/tests/test262-min/702e4ee53d26635a.module.js b/ecmascript/codegen/tests/test262-min/702e4ee53d26635a.module.js new file mode 100644 index 00000000000..01bab95f910 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/702e4ee53d26635a.module.js @@ -0,0 +1 @@ +import a from"a" diff --git a/ecmascript/codegen/tests/test262-min/7055b45fe7f74d94.js b/ecmascript/codegen/tests/test262-min/7055b45fe7f74d94.js new file mode 100644 index 00000000000..72ddd884ab2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7055b45fe7f74d94.js @@ -0,0 +1 @@ +class a extends b{constructor(){super()}} diff --git a/ecmascript/codegen/tests/test262-min/70ad5a19a1b2a4b6.js b/ecmascript/codegen/tests/test262-min/70ad5a19a1b2a4b6.js new file mode 100644 index 00000000000..2b301688e13 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/70ad5a19a1b2a4b6.js @@ -0,0 +1 @@ +(function(){a:for(;;){for(;;){break a;b()}}}()) diff --git a/ecmascript/codegen/tests/test262-min/70b701c0eb7d36fd.js b/ecmascript/codegen/tests/test262-min/70b701c0eb7d36fd.js new file mode 100644 index 00000000000..77e46d78019 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/70b701c0eb7d36fd.js @@ -0,0 +1 @@ +if(!a)debugger diff --git a/ecmascript/codegen/tests/test262-min/70bf2c409480ae10.js b/ecmascript/codegen/tests/test262-min/70bf2c409480ae10.js new file mode 100644 index 00000000000..6617c81a7ed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/70bf2c409480ae10.js @@ -0,0 +1 @@ +({get true(){}}) diff --git a/ecmascript/codegen/tests/test262-min/70c2ced6bad143f1.js b/ecmascript/codegen/tests/test262-min/70c2ced6bad143f1.js new file mode 100644 index 00000000000..40b557d0278 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/70c2ced6bad143f1.js @@ -0,0 +1 @@ +new a.b() diff --git a/ecmascript/codegen/tests/test262-min/70da848e355cdfd2.js b/ecmascript/codegen/tests/test262-min/70da848e355cdfd2.js new file mode 100644 index 00000000000..ab86978757b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/70da848e355cdfd2.js @@ -0,0 +1 @@ +new a() diff --git a/ecmascript/codegen/tests/test262-min/7148f242d6770f89.js b/ecmascript/codegen/tests/test262-min/7148f242d6770f89.js new file mode 100644 index 00000000000..06bc07b485a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7148f242d6770f89.js @@ -0,0 +1 @@ +while(a){b} diff --git a/ecmascript/codegen/tests/test262-min/717b2f65b69e809e.js b/ecmascript/codegen/tests/test262-min/717b2f65b69e809e.js new file mode 100644 index 00000000000..60dacd467bd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/717b2f65b69e809e.js @@ -0,0 +1 @@ +'use strict';a=>1 diff --git a/ecmascript/codegen/tests/test262-min/717def9f9459b4e1.module.js b/ecmascript/codegen/tests/test262-min/717def9f9459b4e1.module.js new file mode 100644 index 00000000000..11c21fdd166 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/717def9f9459b4e1.module.js @@ -0,0 +1 @@ +export{}from"a" diff --git a/ecmascript/codegen/tests/test262-min/7188bf4c56d2ffc8.js b/ecmascript/codegen/tests/test262-min/7188bf4c56d2ffc8.js new file mode 100644 index 00000000000..1ed5c3ddb81 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7188bf4c56d2ffc8.js @@ -0,0 +1 @@ +var ABC diff --git a/ecmascript/codegen/tests/test262-min/71a2d3e7d606a959.js b/ecmascript/codegen/tests/test262-min/71a2d3e7d606a959.js new file mode 100644 index 00000000000..02bceb1ba01 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/71a2d3e7d606a959.js @@ -0,0 +1 @@ +1>>2 diff --git a/ecmascript/codegen/tests/test262-min/71bcb4b846c22c58.js b/ecmascript/codegen/tests/test262-min/71bcb4b846c22c58.js new file mode 100644 index 00000000000..2510fea2a52 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/71bcb4b846c22c58.js @@ -0,0 +1 @@ +a['0'];a['1'];a['00'];a['0x20'] diff --git a/ecmascript/codegen/tests/test262-min/71e066a0fa01825b.js b/ecmascript/codegen/tests/test262-min/71e066a0fa01825b.js new file mode 100644 index 00000000000..815624d41d6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/71e066a0fa01825b.js @@ -0,0 +1 @@ +('\11') diff --git a/ecmascript/codegen/tests/test262-min/72286da2cadacba6.js b/ecmascript/codegen/tests/test262-min/72286da2cadacba6.js new file mode 100644 index 00000000000..67fc2bd6171 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/72286da2cadacba6.js @@ -0,0 +1 @@ +let[a]=[] diff --git a/ecmascript/codegen/tests/test262-min/726ee28a1b50ff13.module.js b/ecmascript/codegen/tests/test262-min/726ee28a1b50ff13.module.js new file mode 100644 index 00000000000..cc5df80406f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/726ee28a1b50ff13.module.js @@ -0,0 +1 @@ +export default{a:1} diff --git a/ecmascript/codegen/tests/test262-min/729212ece9234c48.js b/ecmascript/codegen/tests/test262-min/729212ece9234c48.js new file mode 100644 index 00000000000..e5c12bbc1d0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/729212ece9234c48.js @@ -0,0 +1 @@ +a[1].b diff --git a/ecmascript/codegen/tests/test262-min/72e4f3f9f66a40b8.js b/ecmascript/codegen/tests/test262-min/72e4f3f9f66a40b8.js new file mode 100644 index 00000000000..88844296fad --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/72e4f3f9f66a40b8.js @@ -0,0 +1 @@ +function*a(){yield 1} diff --git a/ecmascript/codegen/tests/test262-min/7305be27a0713dfa.js b/ecmascript/codegen/tests/test262-min/7305be27a0713dfa.js new file mode 100644 index 00000000000..48e3bd07d49 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7305be27a0713dfa.js @@ -0,0 +1 @@ +do{(function(){a('b')}())}while(c) diff --git a/ecmascript/codegen/tests/test262-min/73298cb8636154f2.js b/ecmascript/codegen/tests/test262-min/73298cb8636154f2.js new file mode 100644 index 00000000000..3efc2c33238 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/73298cb8636154f2.js @@ -0,0 +1 @@ +var a=function eval(){} diff --git a/ecmascript/codegen/tests/test262-min/739bef73b11c87de.js b/ecmascript/codegen/tests/test262-min/739bef73b11c87de.js new file mode 100644 index 00000000000..56a0500dff8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/739bef73b11c87de.js @@ -0,0 +1 @@ +/[--]/ diff --git a/ecmascript/codegen/tests/test262-min/74234e98afe7498f.js b/ecmascript/codegen/tests/test262-min/74234e98afe7498f.js new file mode 100644 index 00000000000..19765bd501b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/74234e98afe7498f.js @@ -0,0 +1 @@ +null diff --git a/ecmascript/codegen/tests/test262-min/748a60621d2abe2b.js b/ecmascript/codegen/tests/test262-min/748a60621d2abe2b.js new file mode 100644 index 00000000000..cf7f8eaa602 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/748a60621d2abe2b.js @@ -0,0 +1 @@ +__proto__:a diff --git a/ecmascript/codegen/tests/test262-min/74c5ebda713c8bd7.js b/ecmascript/codegen/tests/test262-min/74c5ebda713c8bd7.js new file mode 100644 index 00000000000..cadd36721bd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/74c5ebda713c8bd7.js @@ -0,0 +1 @@ +a={set false(b){c=b}} diff --git a/ecmascript/codegen/tests/test262-min/74cfbae1c9639338.js b/ecmascript/codegen/tests/test262-min/74cfbae1c9639338.js new file mode 100644 index 00000000000..b6ad6341469 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/74cfbae1c9639338.js @@ -0,0 +1 @@ +var[a,...a]=1 diff --git a/ecmascript/codegen/tests/test262-min/75172741c27c7703.js b/ecmascript/codegen/tests/test262-min/75172741c27c7703.js new file mode 100644 index 00000000000..07933a4f9d6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/75172741c27c7703.js @@ -0,0 +1 @@ +(function(yield){}) diff --git a/ecmascript/codegen/tests/test262-min/753341b6f22ec11f.js b/ecmascript/codegen/tests/test262-min/753341b6f22ec11f.js new file mode 100644 index 00000000000..9fe7d0b820f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/753341b6f22ec11f.js @@ -0,0 +1 @@ +function*a(){(function yield(){})} diff --git a/ecmascript/codegen/tests/test262-min/753a8b016a700975.js b/ecmascript/codegen/tests/test262-min/753a8b016a700975.js new file mode 100644 index 00000000000..4a8c624fcd7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/753a8b016a700975.js @@ -0,0 +1 @@ +(function(a=b){}) diff --git a/ecmascript/codegen/tests/test262-min/756579211447db0b.js b/ecmascript/codegen/tests/test262-min/756579211447db0b.js new file mode 100644 index 00000000000..0cfbf08886f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/756579211447db0b.js @@ -0,0 +1 @@ +2 diff --git a/ecmascript/codegen/tests/test262-min/756e3fe0ef87b136.js b/ecmascript/codegen/tests/test262-min/756e3fe0ef87b136.js new file mode 100644 index 00000000000..b7a5c2b6e1f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/756e3fe0ef87b136.js @@ -0,0 +1 @@ +function a(){b();c();return d()}function e(){b();c();throw new f()} diff --git a/ecmascript/codegen/tests/test262-min/757fc3fbe38b4ecb.js b/ecmascript/codegen/tests/test262-min/757fc3fbe38b4ecb.js new file mode 100644 index 00000000000..4861a3ecc25 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/757fc3fbe38b4ecb.js @@ -0,0 +1 @@ +a(...b) diff --git a/ecmascript/codegen/tests/test262-min/75969544af546abc.js b/ecmascript/codegen/tests/test262-min/75969544af546abc.js new file mode 100644 index 00000000000..871193a6908 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/75969544af546abc.js @@ -0,0 +1 @@ +new a(...b,...c,...d) diff --git a/ecmascript/codegen/tests/test262-min/75ad6a8ee6579761.js b/ecmascript/codegen/tests/test262-min/75ad6a8ee6579761.js new file mode 100644 index 00000000000..0767264aa26 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/75ad6a8ee6579761.js @@ -0,0 +1 @@ +function a(){new.target} diff --git a/ecmascript/codegen/tests/test262-min/75b0eeaf3aa61e74.js b/ecmascript/codegen/tests/test262-min/75b0eeaf3aa61e74.js new file mode 100644 index 00000000000..6d2fab02dea --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/75b0eeaf3aa61e74.js @@ -0,0 +1 @@ +function a(){if(b)return;c();d()}function e(){if(b)return;if(c)return;if(d)return;if(f)return;g();h()} diff --git a/ecmascript/codegen/tests/test262-min/75bb6594d6ad253f.module.js b/ecmascript/codegen/tests/test262-min/75bb6594d6ad253f.module.js new file mode 100644 index 00000000000..34f5840a42a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/75bb6594d6ad253f.module.js @@ -0,0 +1 @@ +export let a={} diff --git a/ecmascript/codegen/tests/test262-min/75e16348fe9e6213.js b/ecmascript/codegen/tests/test262-min/75e16348fe9e6213.js new file mode 100644 index 00000000000..d4a27063134 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/75e16348fe9e6213.js @@ -0,0 +1 @@ +var a="b"+"c"+d()+"e"+"b"+f()+"d"+"f"+"g"+h();var i="b"+1+d()+2+"j";var k=3+d()+4+"j";var l=5+d()+6+7+"j";var m=8+d()+9+"n"+10+"j" diff --git a/ecmascript/codegen/tests/test262-min/764e72657e7321b5.js b/ecmascript/codegen/tests/test262-min/764e72657e7321b5.js new file mode 100644 index 00000000000..5508e99fa44 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/764e72657e7321b5.js @@ -0,0 +1 @@ +var a=1 diff --git a/ecmascript/codegen/tests/test262-min/765a7a823aa1b070.js b/ecmascript/codegen/tests/test262-min/765a7a823aa1b070.js new file mode 100644 index 00000000000..1148b237285 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/765a7a823aa1b070.js @@ -0,0 +1 @@ +(function(){1/2}()) diff --git a/ecmascript/codegen/tests/test262-min/76703c4b987330fb.js b/ecmascript/codegen/tests/test262-min/76703c4b987330fb.js new file mode 100644 index 00000000000..fe00654305e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/76703c4b987330fb.js @@ -0,0 +1 @@ +a=>{b:1} diff --git a/ecmascript/codegen/tests/test262-min/76a46be6c2f09fa3.js b/ecmascript/codegen/tests/test262-min/76a46be6c2f09fa3.js new file mode 100644 index 00000000000..92192cda6a5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/76a46be6c2f09fa3.js @@ -0,0 +1 @@ +function a(){'use strict';return 1}; diff --git a/ecmascript/codegen/tests/test262-min/771467ccdae93157.js b/ecmascript/codegen/tests/test262-min/771467ccdae93157.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/771467ccdae93157.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/7716587c3d80e9ab.js b/ecmascript/codegen/tests/test262-min/7716587c3d80e9ab.js new file mode 100644 index 00000000000..9c1949707df --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7716587c3d80e9ab.js @@ -0,0 +1 @@ +(class{constructor(){super.a}}) diff --git a/ecmascript/codegen/tests/test262-min/7733ab7955652851.js b/ecmascript/codegen/tests/test262-min/7733ab7955652851.js new file mode 100644 index 00000000000..a93054b284e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7733ab7955652851.js @@ -0,0 +1 @@ +({a=1},{})=>2 diff --git a/ecmascript/codegen/tests/test262-min/776076cb09759e40.js b/ecmascript/codegen/tests/test262-min/776076cb09759e40.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/776076cb09759e40.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/77710aedc74ecfa3.js b/ecmascript/codegen/tests/test262-min/77710aedc74ecfa3.js new file mode 100644 index 00000000000..c77dbef7f35 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/77710aedc74ecfa3.js @@ -0,0 +1 @@ +日本語 diff --git a/ecmascript/codegen/tests/test262-min/7779cfcd717e97d3.js b/ecmascript/codegen/tests/test262-min/7779cfcd717e97d3.js new file mode 100644 index 00000000000..e2933699e06 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7779cfcd717e97d3.js @@ -0,0 +1 @@ +while(true){continue} diff --git a/ecmascript/codegen/tests/test262-min/779e65d6349f1616.js b/ecmascript/codegen/tests/test262-min/779e65d6349f1616.js new file mode 100644 index 00000000000..b5629edbbb0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/779e65d6349f1616.js @@ -0,0 +1 @@ +a=typeof 1;b=typeof'c';d=typeof[];e=typeof{};f=typeof/./;g=typeof false;h=typeof function(){};i=typeof j diff --git a/ecmascript/codegen/tests/test262-min/77a541b0502d0bde.js b/ecmascript/codegen/tests/test262-min/77a541b0502d0bde.js new file mode 100644 index 00000000000..0917c70e48b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/77a541b0502d0bde.js @@ -0,0 +1,2 @@ +('\ +') diff --git a/ecmascript/codegen/tests/test262-min/77c661b2fbe3dd3a.js b/ecmascript/codegen/tests/test262-min/77c661b2fbe3dd3a.js new file mode 100644 index 00000000000..873402fc6d8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/77c661b2fbe3dd3a.js @@ -0,0 +1 @@ +(a,b)=>{1} diff --git a/ecmascript/codegen/tests/test262-min/77db52b103913973.js b/ecmascript/codegen/tests/test262-min/77db52b103913973.js new file mode 100644 index 00000000000..f9ded15acab --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/77db52b103913973.js @@ -0,0 +1 @@ +[a,...(b=c)] diff --git a/ecmascript/codegen/tests/test262-min/78435241f6c87ece.js b/ecmascript/codegen/tests/test262-min/78435241f6c87ece.js new file mode 100644 index 00000000000..3df6e345a46 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/78435241f6c87ece.js @@ -0,0 +1 @@ +123+1 diff --git a/ecmascript/codegen/tests/test262-min/784a059faa166072.js b/ecmascript/codegen/tests/test262-min/784a059faa166072.js new file mode 100644 index 00000000000..611181d5bcc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/784a059faa166072.js @@ -0,0 +1 @@ +(function a(b,b){}) diff --git a/ecmascript/codegen/tests/test262-min/784cbc06d5ade346.js b/ecmascript/codegen/tests/test262-min/784cbc06d5ade346.js new file mode 100644 index 00000000000..87401b41b35 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/784cbc06d5ade346.js @@ -0,0 +1 @@ +/[-a-b-]/ diff --git a/ecmascript/codegen/tests/test262-min/7855fbf5ea10e622.js b/ecmascript/codegen/tests/test262-min/7855fbf5ea10e622.js new file mode 100644 index 00000000000..2cda183ff97 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7855fbf5ea10e622.js @@ -0,0 +1 @@ +if(a)(function(){}) diff --git a/ecmascript/codegen/tests/test262-min/787170711cb8abd6.js b/ecmascript/codegen/tests/test262-min/787170711cb8abd6.js new file mode 100644 index 00000000000..fb35bd2ab03 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/787170711cb8abd6.js @@ -0,0 +1 @@ +((a))((a)) diff --git a/ecmascript/codegen/tests/test262-min/789af9b27c832306.js b/ecmascript/codegen/tests/test262-min/789af9b27c832306.js new file mode 100644 index 00000000000..e57b08b49d1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/789af9b27c832306.js @@ -0,0 +1 @@ +;;;; diff --git a/ecmascript/codegen/tests/test262-min/78cf02220fb0937c.js b/ecmascript/codegen/tests/test262-min/78cf02220fb0937c.js new file mode 100644 index 00000000000..2ff1d7fd13b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/78cf02220fb0937c.js @@ -0,0 +1 @@ +[a,a,,...a]=1 diff --git a/ecmascript/codegen/tests/test262-min/78e1b8a4f3318967.js b/ecmascript/codegen/tests/test262-min/78e1b8a4f3318967.js new file mode 100644 index 00000000000..f404cf1987f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/78e1b8a4f3318967.js @@ -0,0 +1 @@ +"\u{714E}\u{8336}" diff --git a/ecmascript/codegen/tests/test262-min/78ea6e4e98c18f91.js b/ecmascript/codegen/tests/test262-min/78ea6e4e98c18f91.js new file mode 100644 index 00000000000..e5d462891ce --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/78ea6e4e98c18f91.js @@ -0,0 +1 @@ +function a(){}/ 1 / diff --git a/ecmascript/codegen/tests/test262-min/78eb22badc114b6f.js b/ecmascript/codegen/tests/test262-min/78eb22badc114b6f.js new file mode 100644 index 00000000000..7ac6d3032f7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/78eb22badc114b6f.js @@ -0,0 +1 @@ +function a(){try{a()}catch(b){var c=1}} diff --git a/ecmascript/codegen/tests/test262-min/78ecd285b8b44e99.js b/ecmascript/codegen/tests/test262-min/78ecd285b8b44e99.js new file mode 100644 index 00000000000..0958857f17e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/78ecd285b8b44e99.js @@ -0,0 +1 @@ +var{a}={} diff --git a/ecmascript/codegen/tests/test262-min/78fa04077cf1950c.js b/ecmascript/codegen/tests/test262-min/78fa04077cf1950c.js new file mode 100644 index 00000000000..22f2c111524 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/78fa04077cf1950c.js @@ -0,0 +1 @@ +({set a([{b=1}]){}}) diff --git a/ecmascript/codegen/tests/test262-min/790a34467d7d9d58.js b/ecmascript/codegen/tests/test262-min/790a34467d7d9d58.js new file mode 100644 index 00000000000..c2197d3869c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/790a34467d7d9d58.js @@ -0,0 +1 @@ +function eval(){} diff --git a/ecmascript/codegen/tests/test262-min/7912cf1671c75406.js b/ecmascript/codegen/tests/test262-min/7912cf1671c75406.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7912cf1671c75406.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/791ee64772f0ea45.js b/ecmascript/codegen/tests/test262-min/791ee64772f0ea45.js new file mode 100644 index 00000000000..55658f61f44 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/791ee64772f0ea45.js @@ -0,0 +1 @@ +function a(){var b=function c(){}} diff --git a/ecmascript/codegen/tests/test262-min/7993945fc0f58feb.js b/ecmascript/codegen/tests/test262-min/7993945fc0f58feb.js new file mode 100644 index 00000000000..e5a44fd9e76 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7993945fc0f58feb.js @@ -0,0 +1 @@ +a=>{yield+a} diff --git a/ecmascript/codegen/tests/test262-min/799fad61dcd88f30.js b/ecmascript/codegen/tests/test262-min/799fad61dcd88f30.js new file mode 100644 index 00000000000..e4aa935b86a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/799fad61dcd88f30.js @@ -0,0 +1 @@ +({a=1}=2) diff --git a/ecmascript/codegen/tests/test262-min/79a4d1fdd55febec.js b/ecmascript/codegen/tests/test262-min/79a4d1fdd55febec.js new file mode 100644 index 00000000000..6ed7fcdd46c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/79a4d1fdd55febec.js @@ -0,0 +1 @@ +var a=!b&&(!c||d)&&(!e||f)&&g() diff --git a/ecmascript/codegen/tests/test262-min/79b7f48e8a6d401c.js b/ecmascript/codegen/tests/test262-min/79b7f48e8a6d401c.js new file mode 100644 index 00000000000..ec4d9e629be --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/79b7f48e8a6d401c.js @@ -0,0 +1 @@ +a-b-c diff --git a/ecmascript/codegen/tests/test262-min/79ea421b940c3474.js b/ecmascript/codegen/tests/test262-min/79ea421b940c3474.js new file mode 100644 index 00000000000..fcdbc8de973 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/79ea421b940c3474.js @@ -0,0 +1 @@ +a<>b diff --git a/ecmascript/codegen/tests/test262-min/7afd38d79e6795a8.js b/ecmascript/codegen/tests/test262-min/7afd38d79e6795a8.js new file mode 100644 index 00000000000..6b093e53c76 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7afd38d79e6795a8.js @@ -0,0 +1 @@ +(function(){void 1;"not a directive";a()})() diff --git a/ecmascript/codegen/tests/test262-min/7b0a9215ec756496.js b/ecmascript/codegen/tests/test262-min/7b0a9215ec756496.js new file mode 100644 index 00000000000..8c40e4d588c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7b0a9215ec756496.js @@ -0,0 +1 @@ +{throw a;a} diff --git a/ecmascript/codegen/tests/test262-min/7b514406528ff126.js b/ecmascript/codegen/tests/test262-min/7b514406528ff126.js new file mode 100644 index 00000000000..17bfe4b5859 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7b514406528ff126.js @@ -0,0 +1 @@ +"Hello\02World" diff --git a/ecmascript/codegen/tests/test262-min/7b71bc250036251c.js b/ecmascript/codegen/tests/test262-min/7b71bc250036251c.js new file mode 100644 index 00000000000..9ae1bb7860c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7b71bc250036251c.js @@ -0,0 +1 @@ +do continue;while(1) diff --git a/ecmascript/codegen/tests/test262-min/7b8a8232be18df90.js b/ecmascript/codegen/tests/test262-min/7b8a8232be18df90.js new file mode 100644 index 00000000000..af0440dc2ad --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7b8a8232be18df90.js @@ -0,0 +1 @@ +(function(){if(true){a()}}()) diff --git a/ecmascript/codegen/tests/test262-min/7bc8dc445fc0f1c3.js b/ecmascript/codegen/tests/test262-min/7bc8dc445fc0f1c3.js new file mode 100644 index 00000000000..0effe168f14 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7bc8dc445fc0f1c3.js @@ -0,0 +1 @@ +for(;;){continue} diff --git a/ecmascript/codegen/tests/test262-min/7bdcce70c382a9a4.js b/ecmascript/codegen/tests/test262-min/7bdcce70c382a9a4.js new file mode 100644 index 00000000000..6baf625f18a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7bdcce70c382a9a4.js @@ -0,0 +1 @@ +(function(){var a={};a.b+(c(),d(),e())}()) diff --git a/ecmascript/codegen/tests/test262-min/7be9be4918d25634.js b/ecmascript/codegen/tests/test262-min/7be9be4918d25634.js new file mode 100644 index 00000000000..0108538d3de --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7be9be4918d25634.js @@ -0,0 +1 @@ +--arguments diff --git a/ecmascript/codegen/tests/test262-min/7c027cdbc7f493b2.js b/ecmascript/codegen/tests/test262-min/7c027cdbc7f493b2.js new file mode 100644 index 00000000000..45709dd1d13 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7c027cdbc7f493b2.js @@ -0,0 +1 @@ +var a=/[a-z]/y diff --git a/ecmascript/codegen/tests/test262-min/7c03e5eb6a9f6f1a.js b/ecmascript/codegen/tests/test262-min/7c03e5eb6a9f6f1a.js new file mode 100644 index 00000000000..8efb18a5289 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7c03e5eb6a9f6f1a.js @@ -0,0 +1 @@ +function a(){'use strict';"\0"} diff --git a/ecmascript/codegen/tests/test262-min/7c3fc6d2a783ecd9.js b/ecmascript/codegen/tests/test262-min/7c3fc6d2a783ecd9.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7c3fc6d2a783ecd9.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/7c46ecc8f111b567.js b/ecmascript/codegen/tests/test262-min/7c46ecc8f111b567.js new file mode 100644 index 00000000000..18e99fec2a1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7c46ecc8f111b567.js @@ -0,0 +1 @@ +do a();while(true) diff --git a/ecmascript/codegen/tests/test262-min/7c508ad20a5ecbce.js b/ecmascript/codegen/tests/test262-min/7c508ad20a5ecbce.js new file mode 100644 index 00000000000..e43d4db9601 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7c508ad20a5ecbce.js @@ -0,0 +1 @@ +class a extends b{c(){({d:super[e]}=f)}} diff --git a/ecmascript/codegen/tests/test262-min/7c6d13458e08e1f4.js b/ecmascript/codegen/tests/test262-min/7c6d13458e08e1f4.js new file mode 100644 index 00000000000..d70f9a15cfa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7c6d13458e08e1f4.js @@ -0,0 +1 @@ +1..a diff --git a/ecmascript/codegen/tests/test262-min/7c9c0cce695bc705.js b/ecmascript/codegen/tests/test262-min/7c9c0cce695bc705.js new file mode 100644 index 00000000000..ce3d0c07500 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7c9c0cce695bc705.js @@ -0,0 +1 @@ +(function(){a();function a(){b.c('d')}function a(){b.c('e')}}()) diff --git a/ecmascript/codegen/tests/test262-min/7cbf77c14b9c89bc.js b/ecmascript/codegen/tests/test262-min/7cbf77c14b9c89bc.js new file mode 100644 index 00000000000..cf0b6215c4c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7cbf77c14b9c89bc.js @@ -0,0 +1 @@ +function a(b,c){return b-- >c} diff --git a/ecmascript/codegen/tests/test262-min/7cd7c68a6131f816.js b/ecmascript/codegen/tests/test262-min/7cd7c68a6131f816.js new file mode 100644 index 00000000000..ab78dc3ef08 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7cd7c68a6131f816.js @@ -0,0 +1 @@ +a={set true(b){c=b}} diff --git a/ecmascript/codegen/tests/test262-min/7d029e0be60dc821.module.js b/ecmascript/codegen/tests/test262-min/7d029e0be60dc821.module.js new file mode 100644 index 00000000000..7bb7568a877 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7d029e0be60dc821.module.js @@ -0,0 +1 @@ +import a from"b" diff --git a/ecmascript/codegen/tests/test262-min/7d7dd05015778d56.js b/ecmascript/codegen/tests/test262-min/7d7dd05015778d56.js new file mode 100644 index 00000000000..820b77088b8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7d7dd05015778d56.js @@ -0,0 +1 @@ +(a,b)=>1+2 diff --git a/ecmascript/codegen/tests/test262-min/7d8b61ba2a3a275c.js b/ecmascript/codegen/tests/test262-min/7d8b61ba2a3a275c.js new file mode 100644 index 00000000000..d051a230568 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7d8b61ba2a3a275c.js @@ -0,0 +1 @@ +with(a)(function(){b('c')}()) diff --git a/ecmascript/codegen/tests/test262-min/7da12349ac9f51f2.js b/ecmascript/codegen/tests/test262-min/7da12349ac9f51f2.js new file mode 100644 index 00000000000..8d24d6e911f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7da12349ac9f51f2.js @@ -0,0 +1 @@ +(a,b,c&&d)&&e diff --git a/ecmascript/codegen/tests/test262-min/7dea677261fc5dd8.module.js b/ecmascript/codegen/tests/test262-min/7dea677261fc5dd8.module.js new file mode 100644 index 00000000000..38dcb8f562b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7dea677261fc5dd8.module.js @@ -0,0 +1 @@ +export var a=function(){} diff --git a/ecmascript/codegen/tests/test262-min/7df2a606ecc6cd84.js b/ecmascript/codegen/tests/test262-min/7df2a606ecc6cd84.js new file mode 100644 index 00000000000..5b557b85a53 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7df2a606ecc6cd84.js @@ -0,0 +1 @@ +(function(){return;a}) diff --git a/ecmascript/codegen/tests/test262-min/7dfb625b91c5c879.js b/ecmascript/codegen/tests/test262-min/7dfb625b91c5c879.js new file mode 100644 index 00000000000..77026723842 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7dfb625b91c5c879.js @@ -0,0 +1 @@ +(function a(){'use strict';return 1}) diff --git a/ecmascript/codegen/tests/test262-min/7e094109208fc749.js b/ecmascript/codegen/tests/test262-min/7e094109208fc749.js new file mode 100644 index 00000000000..ee57611a4a2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7e094109208fc749.js @@ -0,0 +1 @@ +/[a-z]/g diff --git a/ecmascript/codegen/tests/test262-min/7e28d9664deeef8a.js b/ecmascript/codegen/tests/test262-min/7e28d9664deeef8a.js new file mode 100644 index 00000000000..956e35e3390 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7e28d9664deeef8a.js @@ -0,0 +1 @@ +[{a=b}=1] diff --git a/ecmascript/codegen/tests/test262-min/7e50a0527f791c52.js b/ecmascript/codegen/tests/test262-min/7e50a0527f791c52.js new file mode 100644 index 00000000000..3c62151db76 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7e50a0527f791c52.js @@ -0,0 +1 @@ +Infinity diff --git a/ecmascript/codegen/tests/test262-min/7e6e3b4c766a4d33.js b/ecmascript/codegen/tests/test262-min/7e6e3b4c766a4d33.js new file mode 100644 index 00000000000..94b1f9a6a74 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7e6e3b4c766a4d33.js @@ -0,0 +1 @@ +(a=b('100'))<=a diff --git a/ecmascript/codegen/tests/test262-min/7e6eac5fdc429608.js b/ecmascript/codegen/tests/test262-min/7e6eac5fdc429608.js new file mode 100644 index 00000000000..015663e4701 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7e6eac5fdc429608.js @@ -0,0 +1 @@ +for(a;a<1;); diff --git a/ecmascript/codegen/tests/test262-min/7e88047a36603238.js b/ecmascript/codegen/tests/test262-min/7e88047a36603238.js new file mode 100644 index 00000000000..015eb63fcfa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7e88047a36603238.js @@ -0,0 +1 @@ +a!=b diff --git a/ecmascript/codegen/tests/test262-min/7e8f17e7be305a2a.js b/ecmascript/codegen/tests/test262-min/7e8f17e7be305a2a.js new file mode 100644 index 00000000000..51f126e25ab --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7e8f17e7be305a2a.js @@ -0,0 +1 @@ +var[a=b]=c diff --git a/ecmascript/codegen/tests/test262-min/7e99cc8b7ce365fb.js b/ecmascript/codegen/tests/test262-min/7e99cc8b7ce365fb.js new file mode 100644 index 00000000000..92a33cdea89 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7e99cc8b7ce365fb.js @@ -0,0 +1 @@ +var a={};a.b=1;a.c=2;d.e(a.b) diff --git a/ecmascript/codegen/tests/test262-min/7ebaa39b4a9b5b5b.js b/ecmascript/codegen/tests/test262-min/7ebaa39b4a9b5b5b.js new file mode 100644 index 00000000000..12d6456f25c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7ebaa39b4a9b5b5b.js @@ -0,0 +1 @@ +var a,b,c,d;a=!(b(),c(),d()) diff --git a/ecmascript/codegen/tests/test262-min/7f4c40906c3ebe2b.js b/ecmascript/codegen/tests/test262-min/7f4c40906c3ebe2b.js new file mode 100644 index 00000000000..049624c0bba --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7f4c40906c3ebe2b.js @@ -0,0 +1 @@ +var{a}=1 diff --git a/ecmascript/codegen/tests/test262-min/7f88f149f16fe97a.js b/ecmascript/codegen/tests/test262-min/7f88f149f16fe97a.js new file mode 100644 index 00000000000..d5f3e644f52 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7f88f149f16fe97a.js @@ -0,0 +1 @@ +var a={'arguments':1,'eval':2} diff --git a/ecmascript/codegen/tests/test262-min/7fac17daa2bd5186.js b/ecmascript/codegen/tests/test262-min/7fac17daa2bd5186.js new file mode 100644 index 00000000000..3bba0580fb7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7fac17daa2bd5186.js @@ -0,0 +1 @@ +for(a=1;a<2;); diff --git a/ecmascript/codegen/tests/test262-min/7fbe94acda67721e.js b/ecmascript/codegen/tests/test262-min/7fbe94acda67721e.js new file mode 100644 index 00000000000..28f21631b8c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7fbe94acda67721e.js @@ -0,0 +1 @@ +({*yield(){}}) diff --git a/ecmascript/codegen/tests/test262-min/7fdf990c6f42edcd.module.js b/ecmascript/codegen/tests/test262-min/7fdf990c6f42edcd.module.js new file mode 100644 index 00000000000..723e7173a37 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7fdf990c6f42edcd.module.js @@ -0,0 +1 @@ +export*from"a" diff --git a/ecmascript/codegen/tests/test262-min/7fe89d8edf6e778a.js b/ecmascript/codegen/tests/test262-min/7fe89d8edf6e778a.js new file mode 100644 index 00000000000..bbf54794f93 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/7fe89d8edf6e778a.js @@ -0,0 +1 @@ +'a\u0026b' diff --git a/ecmascript/codegen/tests/test262-min/801ac33e4c34efb8.js b/ecmascript/codegen/tests/test262-min/801ac33e4c34efb8.js new file mode 100644 index 00000000000..feaae362561 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/801ac33e4c34efb8.js @@ -0,0 +1 @@ +({false:1}) diff --git a/ecmascript/codegen/tests/test262-min/802658d6ef9a83ec.js b/ecmascript/codegen/tests/test262-min/802658d6ef9a83ec.js new file mode 100644 index 00000000000..637dc5fdcef --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/802658d6ef9a83ec.js @@ -0,0 +1 @@ +({['__proto__']:1,__proto__:2}) diff --git a/ecmascript/codegen/tests/test262-min/804e022cd08b4ae1.js b/ecmascript/codegen/tests/test262-min/804e022cd08b4ae1.js new file mode 100644 index 00000000000..b6c35476ffc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/804e022cd08b4ae1.js @@ -0,0 +1 @@ +[a]=1 diff --git a/ecmascript/codegen/tests/test262-min/807dfc91f4ed4394.js b/ecmascript/codegen/tests/test262-min/807dfc91f4ed4394.js new file mode 100644 index 00000000000..4025f862225 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/807dfc91f4ed4394.js @@ -0,0 +1 @@ +function*a(){yield Infinity} diff --git a/ecmascript/codegen/tests/test262-min/80950061e291542b.js b/ecmascript/codegen/tests/test262-min/80950061e291542b.js new file mode 100644 index 00000000000..56f4e0227f6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/80950061e291542b.js @@ -0,0 +1 @@ +(function(){return a*b}) diff --git a/ecmascript/codegen/tests/test262-min/80c6bda5cad0fbc5.js b/ecmascript/codegen/tests/test262-min/80c6bda5cad0fbc5.js new file mode 100644 index 00000000000..4f3d0584bdf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/80c6bda5cad0fbc5.js @@ -0,0 +1 @@ +var a,[a]=1 diff --git a/ecmascript/codegen/tests/test262-min/80d2351a5ae68524.js b/ecmascript/codegen/tests/test262-min/80d2351a5ae68524.js new file mode 100644 index 00000000000..50743de8cbf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/80d2351a5ae68524.js @@ -0,0 +1 @@ +a={set b(c){}} diff --git a/ecmascript/codegen/tests/test262-min/80f60039028189e4.js b/ecmascript/codegen/tests/test262-min/80f60039028189e4.js new file mode 100644 index 00000000000..0a5d4ab98b3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/80f60039028189e4.js @@ -0,0 +1 @@ +a(0) diff --git a/ecmascript/codegen/tests/test262-min/811b309b010a36ce.js b/ecmascript/codegen/tests/test262-min/811b309b010a36ce.js new file mode 100644 index 00000000000..95012e88ea8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/811b309b010a36ce.js @@ -0,0 +1 @@ +({[1*2]:3}) diff --git a/ecmascript/codegen/tests/test262-min/8152f05423c90f61.js b/ecmascript/codegen/tests/test262-min/8152f05423c90f61.js new file mode 100644 index 00000000000..dc56ed2c145 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8152f05423c90f61.js @@ -0,0 +1 @@ +a>>>=1 diff --git a/ecmascript/codegen/tests/test262-min/8179659ef4fd0965.js b/ecmascript/codegen/tests/test262-min/8179659ef4fd0965.js new file mode 100644 index 00000000000..2907ab575ba --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8179659ef4fd0965.js @@ -0,0 +1 @@ +({a:b}=1) diff --git a/ecmascript/codegen/tests/test262-min/818ea8eaeef8b3da.js b/ecmascript/codegen/tests/test262-min/818ea8eaeef8b3da.js new file mode 100644 index 00000000000..e63c65558f4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/818ea8eaeef8b3da.js @@ -0,0 +1 @@ +(let[let]) diff --git a/ecmascript/codegen/tests/test262-min/81a0322e554af8da.js b/ecmascript/codegen/tests/test262-min/81a0322e554af8da.js new file mode 100644 index 00000000000..47f90ee7db6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/81a0322e554af8da.js @@ -0,0 +1 @@ +(function(){a(typeof b==='c')}()) diff --git a/ecmascript/codegen/tests/test262-min/81a6472df96f185f.js b/ecmascript/codegen/tests/test262-min/81a6472df96f185f.js new file mode 100644 index 00000000000..521939722c8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/81a6472df96f185f.js @@ -0,0 +1 @@ +a=[] diff --git a/ecmascript/codegen/tests/test262-min/81b986948b58ffda.js b/ecmascript/codegen/tests/test262-min/81b986948b58ffda.js new file mode 100644 index 00000000000..745cd3ca8dd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/81b986948b58ffda.js @@ -0,0 +1 @@ +(function(){while(!a||b()){c()}}()) diff --git a/ecmascript/codegen/tests/test262-min/81be1572d1eebdf2.js b/ecmascript/codegen/tests/test262-min/81be1572d1eebdf2.js new file mode 100644 index 00000000000..8ad09412de3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/81be1572d1eebdf2.js @@ -0,0 +1 @@ +a={b(c=1){}} diff --git a/ecmascript/codegen/tests/test262-min/81be47a15713178e.js b/ecmascript/codegen/tests/test262-min/81be47a15713178e.js new file mode 100644 index 00000000000..f16319dd303 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/81be47a15713178e.js @@ -0,0 +1 @@ +a+b+c diff --git a/ecmascript/codegen/tests/test262-min/820521ef532dce18.js b/ecmascript/codegen/tests/test262-min/820521ef532dce18.js new file mode 100644 index 00000000000..23efbe03105 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/820521ef532dce18.js @@ -0,0 +1 @@ +function a([b]=[1]){} diff --git a/ecmascript/codegen/tests/test262-min/8286caaa8e0196bb.js b/ecmascript/codegen/tests/test262-min/8286caaa8e0196bb.js new file mode 100644 index 00000000000..d2c11ba8585 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8286caaa8e0196bb.js @@ -0,0 +1 @@ +{function a(){}} diff --git a/ecmascript/codegen/tests/test262-min/8290412f79ac2bb6.js b/ecmascript/codegen/tests/test262-min/8290412f79ac2bb6.js new file mode 100644 index 00000000000..66377522a4d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8290412f79ac2bb6.js @@ -0,0 +1 @@ +/a/ diff --git a/ecmascript/codegen/tests/test262-min/82a730bd109206bb.js b/ecmascript/codegen/tests/test262-min/82a730bd109206bb.js new file mode 100644 index 00000000000..27d116eacbe --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/82a730bd109206bb.js @@ -0,0 +1 @@ +ⅣⅡ=[] diff --git a/ecmascript/codegen/tests/test262-min/832ad002639ce202.js b/ecmascript/codegen/tests/test262-min/832ad002639ce202.js new file mode 100644 index 00000000000..3677ed4571e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/832ad002639ce202.js @@ -0,0 +1 @@ +const a=1,b=2,c=3 diff --git a/ecmascript/codegen/tests/test262-min/8340cdb8653046bb.js b/ecmascript/codegen/tests/test262-min/8340cdb8653046bb.js new file mode 100644 index 00000000000..5abcc48c735 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8340cdb8653046bb.js @@ -0,0 +1 @@ +for(var[a,b]in c){} diff --git a/ecmascript/codegen/tests/test262-min/836158118a07b45d.js b/ecmascript/codegen/tests/test262-min/836158118a07b45d.js new file mode 100644 index 00000000000..acb70a51fb3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/836158118a07b45d.js @@ -0,0 +1 @@ +var{a,b:{c:a}}=1 diff --git a/ecmascript/codegen/tests/test262-min/838d87085df03a6d.js b/ecmascript/codegen/tests/test262-min/838d87085df03a6d.js new file mode 100644 index 00000000000..86782f44828 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/838d87085df03a6d.js @@ -0,0 +1 @@ +"Hello\nworld" diff --git a/ecmascript/codegen/tests/test262-min/83cea3f2e14d1e23.js b/ecmascript/codegen/tests/test262-min/83cea3f2e14d1e23.js new file mode 100644 index 00000000000..37fdd80c198 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/83cea3f2e14d1e23.js @@ -0,0 +1 @@ +(class a extends 1{}) diff --git a/ecmascript/codegen/tests/test262-min/83f083525ae5a0e0.js b/ecmascript/codegen/tests/test262-min/83f083525ae5a0e0.js new file mode 100644 index 00000000000..ea043cbfc40 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/83f083525ae5a0e0.js @@ -0,0 +1 @@ +(function(){if(!!a){b()}}()) diff --git a/ecmascript/codegen/tests/test262-min/83fc5b5bbdb601ef.js b/ecmascript/codegen/tests/test262-min/83fc5b5bbdb601ef.js new file mode 100644 index 00000000000..197d6957f9c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/83fc5b5bbdb601ef.js @@ -0,0 +1 @@ +(function(){function a(){}function b(){}function c(){}}()) diff --git a/ecmascript/codegen/tests/test262-min/8411f3c15e3e8529.js b/ecmascript/codegen/tests/test262-min/8411f3c15e3e8529.js new file mode 100644 index 00000000000..66208372a7f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8411f3c15e3e8529.js @@ -0,0 +1 @@ +{{}/foo/} diff --git a/ecmascript/codegen/tests/test262-min/84250e15785d8a9e.js b/ecmascript/codegen/tests/test262-min/84250e15785d8a9e.js new file mode 100644 index 00000000000..6aed6072a70 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/84250e15785d8a9e.js @@ -0,0 +1 @@ +({set true(a){a}}) diff --git a/ecmascript/codegen/tests/test262-min/842fe071562c1a9e.js b/ecmascript/codegen/tests/test262-min/842fe071562c1a9e.js new file mode 100644 index 00000000000..28cb3c395c0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/842fe071562c1a9e.js @@ -0,0 +1 @@ +function*a(){yield} diff --git a/ecmascript/codegen/tests/test262-min/845368e466d341f5.js b/ecmascript/codegen/tests/test262-min/845368e466d341f5.js new file mode 100644 index 00000000000..5132958ee50 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/845368e466d341f5.js @@ -0,0 +1 @@ +[{a,b},...c]=d diff --git a/ecmascript/codegen/tests/test262-min/845631d1a33b3409.js b/ecmascript/codegen/tests/test262-min/845631d1a33b3409.js new file mode 100644 index 00000000000..ef3e0e20fc5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/845631d1a33b3409.js @@ -0,0 +1 @@ +class a{b(){}get b(){}} diff --git a/ecmascript/codegen/tests/test262-min/845e30448809e2bc.js b/ecmascript/codegen/tests/test262-min/845e30448809e2bc.js new file mode 100644 index 00000000000..706eeff07a7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/845e30448809e2bc.js @@ -0,0 +1 @@ +a.b.c diff --git a/ecmascript/codegen/tests/test262-min/8462f068b299bca2.js b/ecmascript/codegen/tests/test262-min/8462f068b299bca2.js new file mode 100644 index 00000000000..c466d37b7fa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8462f068b299bca2.js @@ -0,0 +1 @@ +var{let,yield}=1 diff --git a/ecmascript/codegen/tests/test262-min/849e112b480fda30.js b/ecmascript/codegen/tests/test262-min/849e112b480fda30.js new file mode 100644 index 00000000000..db3d537ecc3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/849e112b480fda30.js @@ -0,0 +1 @@ +void(a) diff --git a/ecmascript/codegen/tests/test262-min/84b2a5d834daee2f.js b/ecmascript/codegen/tests/test262-min/84b2a5d834daee2f.js new file mode 100644 index 00000000000..f599e28b8ab --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/84b2a5d834daee2f.js @@ -0,0 +1 @@ +10 diff --git a/ecmascript/codegen/tests/test262-min/84eaae502ca93891.js b/ecmascript/codegen/tests/test262-min/84eaae502ca93891.js new file mode 100644 index 00000000000..fd779232d80 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/84eaae502ca93891.js @@ -0,0 +1 @@ +class a{b(){new super.c}} diff --git a/ecmascript/codegen/tests/test262-min/84f901eb37273117.js b/ecmascript/codegen/tests/test262-min/84f901eb37273117.js new file mode 100644 index 00000000000..46d64567824 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/84f901eb37273117.js @@ -0,0 +1 @@ +('\0') diff --git a/ecmascript/codegen/tests/test262-min/850a60daa178d3b6.js b/ecmascript/codegen/tests/test262-min/850a60daa178d3b6.js new file mode 100644 index 00000000000..24224f60bed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/850a60daa178d3b6.js @@ -0,0 +1 @@ +()=>1+2 diff --git a/ecmascript/codegen/tests/test262-min/85263ecacc7a4dc5.js b/ecmascript/codegen/tests/test262-min/85263ecacc7a4dc5.js new file mode 100644 index 00000000000..2b6be62a39c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/85263ecacc7a4dc5.js @@ -0,0 +1 @@ +(function(){'use strict';function a(){}}) diff --git a/ecmascript/codegen/tests/test262-min/8543b43f3c48c975.module.js b/ecmascript/codegen/tests/test262-min/8543b43f3c48c975.module.js new file mode 100644 index 00000000000..071a20d36c7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8543b43f3c48c975.module.js @@ -0,0 +1 @@ +export{default}from"a" diff --git a/ecmascript/codegen/tests/test262-min/855b8dea36c841ed.js b/ecmascript/codegen/tests/test262-min/855b8dea36c841ed.js new file mode 100644 index 00000000000..675bb50da5e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/855b8dea36c841ed.js @@ -0,0 +1 @@ +(function(){'use\x20strict';with(a);}()) diff --git a/ecmascript/codegen/tests/test262-min/858d6a756ff641f3.js b/ecmascript/codegen/tests/test262-min/858d6a756ff641f3.js new file mode 100644 index 00000000000..a37fbd3b0d9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/858d6a756ff641f3.js @@ -0,0 +1 @@ +function a(b){c()} diff --git a/ecmascript/codegen/tests/test262-min/8597768c0fe519eb.js b/ecmascript/codegen/tests/test262-min/8597768c0fe519eb.js new file mode 100644 index 00000000000..0d0ad3f4ee7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8597768c0fe519eb.js @@ -0,0 +1 @@ +`${a}$` diff --git a/ecmascript/codegen/tests/test262-min/85d2d93264f2672d.module.js b/ecmascript/codegen/tests/test262-min/85d2d93264f2672d.module.js new file mode 100644 index 00000000000..5819aad3780 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/85d2d93264f2672d.module.js @@ -0,0 +1 @@ +import a,{b}from"foo" diff --git a/ecmascript/codegen/tests/test262-min/85d6723f13f33101.js b/ecmascript/codegen/tests/test262-min/85d6723f13f33101.js new file mode 100644 index 00000000000..ef9d4ab53ec --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/85d6723f13f33101.js @@ -0,0 +1 @@ +({'a':b}=1) diff --git a/ecmascript/codegen/tests/test262-min/85e4314fa8f0661f.js b/ecmascript/codegen/tests/test262-min/85e4314fa8f0661f.js new file mode 100644 index 00000000000..00218551324 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/85e4314fa8f0661f.js @@ -0,0 +1 @@ +a(b,...c=d) diff --git a/ecmascript/codegen/tests/test262-min/8628cd459b39ffe8.js b/ecmascript/codegen/tests/test262-min/8628cd459b39ffe8.js new file mode 100644 index 00000000000..68a2e2ef5c8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8628cd459b39ffe8.js @@ -0,0 +1 @@ +try{}catch([a=1]){} diff --git a/ecmascript/codegen/tests/test262-min/8664d1a4e7a73078.js b/ecmascript/codegen/tests/test262-min/8664d1a4e7a73078.js new file mode 100644 index 00000000000..28f360f6130 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8664d1a4e7a73078.js @@ -0,0 +1 @@ +function a({[b]:c}){} diff --git a/ecmascript/codegen/tests/test262-min/86a25a2a0e393ed6.js b/ecmascript/codegen/tests/test262-min/86a25a2a0e393ed6.js new file mode 100644 index 00000000000..7709720bd78 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/86a25a2a0e393ed6.js @@ -0,0 +1 @@ +switch(a){case 1:let b=2;break} diff --git a/ecmascript/codegen/tests/test262-min/86b0ffc811e713ec.js b/ecmascript/codegen/tests/test262-min/86b0ffc811e713ec.js new file mode 100644 index 00000000000..ca042dca09c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/86b0ffc811e713ec.js @@ -0,0 +1 @@ +({__proto__:1}) diff --git a/ecmascript/codegen/tests/test262-min/86d8f1465e745b44.js b/ecmascript/codegen/tests/test262-min/86d8f1465e745b44.js new file mode 100644 index 00000000000..b05af51c56b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/86d8f1465e745b44.js @@ -0,0 +1 @@ +[a[b]=b]=c diff --git a/ecmascript/codegen/tests/test262-min/86f68610fcefaeae.js b/ecmascript/codegen/tests/test262-min/86f68610fcefaeae.js new file mode 100644 index 00000000000..d3da0dc6064 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/86f68610fcefaeae.js @@ -0,0 +1 @@ +class a{b(){}static c(){}} diff --git a/ecmascript/codegen/tests/test262-min/870a0b8d891753e9.js b/ecmascript/codegen/tests/test262-min/870a0b8d891753e9.js new file mode 100644 index 00000000000..f7229a98784 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/870a0b8d891753e9.js @@ -0,0 +1 @@ +(function(a,...b){}) diff --git a/ecmascript/codegen/tests/test262-min/8751eb24f903c279.js b/ecmascript/codegen/tests/test262-min/8751eb24f903c279.js new file mode 100644 index 00000000000..5508e99fa44 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8751eb24f903c279.js @@ -0,0 +1 @@ +var a=1 diff --git a/ecmascript/codegen/tests/test262-min/87844be2334fba9e.js b/ecmascript/codegen/tests/test262-min/87844be2334fba9e.js new file mode 100644 index 00000000000..ce9b9dbf307 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/87844be2334fba9e.js @@ -0,0 +1 @@ +function a(){"use strict"+1} diff --git a/ecmascript/codegen/tests/test262-min/87cb789c4ed2b97a.js b/ecmascript/codegen/tests/test262-min/87cb789c4ed2b97a.js new file mode 100644 index 00000000000..c4e023d31ed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/87cb789c4ed2b97a.js @@ -0,0 +1 @@ +a:while(true){continue a} diff --git a/ecmascript/codegen/tests/test262-min/87e1d3eab9d05339.js b/ecmascript/codegen/tests/test262-min/87e1d3eab9d05339.js new file mode 100644 index 00000000000..76d84d38da5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/87e1d3eab9d05339.js @@ -0,0 +1 @@ +while(a())b() diff --git a/ecmascript/codegen/tests/test262-min/88127d108648d05b.js b/ecmascript/codegen/tests/test262-min/88127d108648d05b.js new file mode 100644 index 00000000000..a87a34edbdc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/88127d108648d05b.js @@ -0,0 +1 @@ +while(true){continue;a} diff --git a/ecmascript/codegen/tests/test262-min/881a7a3d4e17e621.js b/ecmascript/codegen/tests/test262-min/881a7a3d4e17e621.js new file mode 100644 index 00000000000..8873648dfce --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/881a7a3d4e17e621.js @@ -0,0 +1 @@ +function a(b,c){var d=function(){return e()};var e=function(){return d()};return b+c} diff --git a/ecmascript/codegen/tests/test262-min/884e5c2703ce95f3.js b/ecmascript/codegen/tests/test262-min/884e5c2703ce95f3.js new file mode 100644 index 00000000000..c3d30f89feb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/884e5c2703ce95f3.js @@ -0,0 +1 @@ +({*a(){super.b=1}}) diff --git a/ecmascript/codegen/tests/test262-min/8854cac4acddd510.js b/ecmascript/codegen/tests/test262-min/8854cac4acddd510.js new file mode 100644 index 00000000000..79221d1b5f1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8854cac4acddd510.js @@ -0,0 +1 @@ +null&&(a+=null) diff --git a/ecmascript/codegen/tests/test262-min/88561e211e862344.js b/ecmascript/codegen/tests/test262-min/88561e211e862344.js new file mode 100644 index 00000000000..19765bd501b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/88561e211e862344.js @@ -0,0 +1 @@ +null diff --git a/ecmascript/codegen/tests/test262-min/88827d8021b5b3ab.js b/ecmascript/codegen/tests/test262-min/88827d8021b5b3ab.js new file mode 100644 index 00000000000..8c4f6c2f2bb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/88827d8021b5b3ab.js @@ -0,0 +1 @@ +new a("aa, bb",'return aa;') diff --git a/ecmascript/codegen/tests/test262-min/88af07b3dc006159.js b/ecmascript/codegen/tests/test262-min/88af07b3dc006159.js new file mode 100644 index 00000000000..a2d95b67392 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/88af07b3dc006159.js @@ -0,0 +1 @@ +a|b^c diff --git a/ecmascript/codegen/tests/test262-min/88c21621e3e8bba0.js b/ecmascript/codegen/tests/test262-min/88c21621e3e8bba0.js new file mode 100644 index 00000000000..126948c4deb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/88c21621e3e8bba0.js @@ -0,0 +1 @@ +('a') diff --git a/ecmascript/codegen/tests/test262-min/88d42455ac933ef5.js b/ecmascript/codegen/tests/test262-min/88d42455ac933ef5.js new file mode 100644 index 00000000000..9fc1b3cc305 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/88d42455ac933ef5.js @@ -0,0 +1 @@ +class a{constructor(){}constructor(){}} diff --git a/ecmascript/codegen/tests/test262-min/88e99d6cd8e8d87f.js b/ecmascript/codegen/tests/test262-min/88e99d6cd8e8d87f.js new file mode 100644 index 00000000000..54c0189a279 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/88e99d6cd8e8d87f.js @@ -0,0 +1 @@ +function*a(){} diff --git a/ecmascript/codegen/tests/test262-min/891fc3470b618587.js b/ecmascript/codegen/tests/test262-min/891fc3470b618587.js new file mode 100644 index 00000000000..9612b19f7ff --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/891fc3470b618587.js @@ -0,0 +1 @@ +a((b,c)=>{}) diff --git a/ecmascript/codegen/tests/test262-min/892f6e09c02c35b5.js b/ecmascript/codegen/tests/test262-min/892f6e09c02c35b5.js new file mode 100644 index 00000000000..573541ac970 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/892f6e09c02c35b5.js @@ -0,0 +1 @@ +0 diff --git a/ecmascript/codegen/tests/test262-min/8996d3eb07c6f7cd.js b/ecmascript/codegen/tests/test262-min/8996d3eb07c6f7cd.js new file mode 100644 index 00000000000..9d93f7701b9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8996d3eb07c6f7cd.js @@ -0,0 +1 @@ +for(let a of b); diff --git a/ecmascript/codegen/tests/test262-min/89a31837e6736b2a.js b/ecmascript/codegen/tests/test262-min/89a31837e6736b2a.js new file mode 100644 index 00000000000..19b859167f9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/89a31837e6736b2a.js @@ -0,0 +1 @@ +{a:1} diff --git a/ecmascript/codegen/tests/test262-min/89c872e56d527908.js b/ecmascript/codegen/tests/test262-min/89c872e56d527908.js new file mode 100644 index 00000000000..19f5084127e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/89c872e56d527908.js @@ -0,0 +1 @@ +1+2 diff --git a/ecmascript/codegen/tests/test262-min/8a0fc8ea31727188.module.js b/ecmascript/codegen/tests/test262-min/8a0fc8ea31727188.module.js new file mode 100644 index 00000000000..057705ea7ab --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8a0fc8ea31727188.module.js @@ -0,0 +1 @@ +export*from"foo" diff --git a/ecmascript/codegen/tests/test262-min/8a40542f1f53c4f0.js b/ecmascript/codegen/tests/test262-min/8a40542f1f53c4f0.js new file mode 100644 index 00000000000..e41a1eef2e1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8a40542f1f53c4f0.js @@ -0,0 +1 @@ +for(const a of b); diff --git a/ecmascript/codegen/tests/test262-min/8aa3cd2609b4f278.js b/ecmascript/codegen/tests/test262-min/8aa3cd2609b4f278.js new file mode 100644 index 00000000000..238612da68a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8aa3cd2609b4f278.js @@ -0,0 +1 @@ +a={b:1} diff --git a/ecmascript/codegen/tests/test262-min/8ad4edbe9317df28.js b/ecmascript/codegen/tests/test262-min/8ad4edbe9317df28.js new file mode 100644 index 00000000000..e46b26743b9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8ad4edbe9317df28.js @@ -0,0 +1 @@ +a(...b,...c) diff --git a/ecmascript/codegen/tests/test262-min/8ae0c86bd7897b7b.js b/ecmascript/codegen/tests/test262-min/8ae0c86bd7897b7b.js new file mode 100644 index 00000000000..dfe22604573 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8ae0c86bd7897b7b.js @@ -0,0 +1 @@ +a(...b=c) diff --git a/ecmascript/codegen/tests/test262-min/8af69d8f15295ed2.js b/ecmascript/codegen/tests/test262-min/8af69d8f15295ed2.js new file mode 100644 index 00000000000..152fb875983 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8af69d8f15295ed2.js @@ -0,0 +1 @@ +('
') diff --git a/ecmascript/codegen/tests/test262-min/8b4ff58f416e17b5.js b/ecmascript/codegen/tests/test262-min/8b4ff58f416e17b5.js new file mode 100644 index 00000000000..877fb81046a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8b4ff58f416e17b5.js @@ -0,0 +1 @@ +(a++) diff --git a/ecmascript/codegen/tests/test262-min/8b6bded4f89f89f6.js b/ecmascript/codegen/tests/test262-min/8b6bded4f89f89f6.js new file mode 100644 index 00000000000..fed18778d78 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8b6bded4f89f89f6.js @@ -0,0 +1 @@ +if((function(){return true})()){a(true)}else{b(false)}(function(){c.d("e")})() diff --git a/ecmascript/codegen/tests/test262-min/8b8edcb36909900b.js b/ecmascript/codegen/tests/test262-min/8b8edcb36909900b.js new file mode 100644 index 00000000000..56db76ce64a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8b8edcb36909900b.js @@ -0,0 +1 @@ +new a diff --git a/ecmascript/codegen/tests/test262-min/8b9cd46352285386.js b/ecmascript/codegen/tests/test262-min/8b9cd46352285386.js new file mode 100644 index 00000000000..3cdd9e743d3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8b9cd46352285386.js @@ -0,0 +1 @@ +new a[b] diff --git a/ecmascript/codegen/tests/test262-min/8be0df708b9e56ca.js b/ecmascript/codegen/tests/test262-min/8be0df708b9e56ca.js new file mode 100644 index 00000000000..4729c87be2c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8be0df708b9e56ca.js @@ -0,0 +1 @@ +a=[1,] diff --git a/ecmascript/codegen/tests/test262-min/8bf3ec35c55ed3c0.js b/ecmascript/codegen/tests/test262-min/8bf3ec35c55ed3c0.js new file mode 100644 index 00000000000..97db7ee699a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8bf3ec35c55ed3c0.js @@ -0,0 +1 @@ +(class extends a{}) diff --git a/ecmascript/codegen/tests/test262-min/8c27fb7ef1e3ca3d.js b/ecmascript/codegen/tests/test262-min/8c27fb7ef1e3ca3d.js new file mode 100644 index 00000000000..a429f5b72c7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8c27fb7ef1e3ca3d.js @@ -0,0 +1 @@ +(function(){if(a)return b;else return c}()) diff --git a/ecmascript/codegen/tests/test262-min/8c56513a6ac3cdff.js b/ecmascript/codegen/tests/test262-min/8c56513a6ac3cdff.js new file mode 100644 index 00000000000..cd32bd7ffd1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8c56513a6ac3cdff.js @@ -0,0 +1 @@ +({a:null}) diff --git a/ecmascript/codegen/tests/test262-min/8c56cf12f007a392.js b/ecmascript/codegen/tests/test262-min/8c56cf12f007a392.js new file mode 100644 index 00000000000..94a54f3d5e0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8c56cf12f007a392.js @@ -0,0 +1 @@ +a+b diff --git a/ecmascript/codegen/tests/test262-min/8c5c46a300d5addb.module.js b/ecmascript/codegen/tests/test262-min/8c5c46a300d5addb.module.js new file mode 100644 index 00000000000..2640df5f9d4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8c5c46a300d5addb.module.js @@ -0,0 +1 @@ +export function a(){};1 diff --git a/ecmascript/codegen/tests/test262-min/8c8a7a2941fb6d64.js b/ecmascript/codegen/tests/test262-min/8c8a7a2941fb6d64.js new file mode 100644 index 00000000000..9371f43a656 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8c8a7a2941fb6d64.js @@ -0,0 +1 @@ +a=[1,2,,3,] diff --git a/ecmascript/codegen/tests/test262-min/8ce30bb40ffff192.js b/ecmascript/codegen/tests/test262-min/8ce30bb40ffff192.js new file mode 100644 index 00000000000..c83ab6f5a0e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8ce30bb40ffff192.js @@ -0,0 +1 @@ +arguments=>1 diff --git a/ecmascript/codegen/tests/test262-min/8d14286a8cc6ee9d.js b/ecmascript/codegen/tests/test262-min/8d14286a8cc6ee9d.js new file mode 100644 index 00000000000..fb268c89c2a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8d14286a8cc6ee9d.js @@ -0,0 +1 @@ +(function*(...a){}) diff --git a/ecmascript/codegen/tests/test262-min/8d2463220e3cd0d7.js b/ecmascript/codegen/tests/test262-min/8d2463220e3cd0d7.js new file mode 100644 index 00000000000..e75a6bd7d95 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8d2463220e3cd0d7.js @@ -0,0 +1 @@ +(function(){b:{if(a)break b;(function(){b:{if(a)break b;c("d")}}())}}()) diff --git a/ecmascript/codegen/tests/test262-min/8d2ffebc7214c34f.js b/ecmascript/codegen/tests/test262-min/8d2ffebc7214c34f.js new file mode 100644 index 00000000000..76e5b2b687e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8d2ffebc7214c34f.js @@ -0,0 +1 @@ +yield*1 diff --git a/ecmascript/codegen/tests/test262-min/8d40617aec6fabe5.js b/ecmascript/codegen/tests/test262-min/8d40617aec6fabe5.js new file mode 100644 index 00000000000..bd59aafec3f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8d40617aec6fabe5.js @@ -0,0 +1 @@ +({a:b=1}=2) diff --git a/ecmascript/codegen/tests/test262-min/8d470354c5d2e216.js b/ecmascript/codegen/tests/test262-min/8d470354c5d2e216.js new file mode 100644 index 00000000000..1d58e8b4eb5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8d470354c5d2e216.js @@ -0,0 +1 @@ +;function a(){} diff --git a/ecmascript/codegen/tests/test262-min/8d5679ec94e658e1.js b/ecmascript/codegen/tests/test262-min/8d5679ec94e658e1.js new file mode 100644 index 00000000000..f0a507b4375 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8d5679ec94e658e1.js @@ -0,0 +1 @@ +~a diff --git a/ecmascript/codegen/tests/test262-min/8d5aeaf1120f0897.js b/ecmascript/codegen/tests/test262-min/8d5aeaf1120f0897.js new file mode 100644 index 00000000000..14097832d32 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8d5aeaf1120f0897.js @@ -0,0 +1 @@ +throw a diff --git a/ecmascript/codegen/tests/test262-min/8d6435fa243d5b1a.js b/ecmascript/codegen/tests/test262-min/8d6435fa243d5b1a.js new file mode 100644 index 00000000000..ad7de10ca07 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8d6435fa243d5b1a.js @@ -0,0 +1 @@ +var a diff --git a/ecmascript/codegen/tests/test262-min/8d67ad04bfc356c9.js b/ecmascript/codegen/tests/test262-min/8d67ad04bfc356c9.js new file mode 100644 index 00000000000..c43f85d9330 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8d67ad04bfc356c9.js @@ -0,0 +1 @@ +({set __proto__(a){}}) diff --git a/ecmascript/codegen/tests/test262-min/8d6ab6352a3f7fa0.js b/ecmascript/codegen/tests/test262-min/8d6ab6352a3f7fa0.js new file mode 100644 index 00000000000..14d06f67f88 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8d6ab6352a3f7fa0.js @@ -0,0 +1 @@ +(a=b('100'))>=a diff --git a/ecmascript/codegen/tests/test262-min/8d7d59e5d573ca84.js b/ecmascript/codegen/tests/test262-min/8d7d59e5d573ca84.js new file mode 100644 index 00000000000..2fc0fd518cf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8d7d59e5d573ca84.js @@ -0,0 +1 @@ +({"__proto__":null,set __proto__(a){}}) diff --git a/ecmascript/codegen/tests/test262-min/8d8913ebd8403c6a.js b/ecmascript/codegen/tests/test262-min/8d8913ebd8403c6a.js new file mode 100644 index 00000000000..2f0a7d619b1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8d8913ebd8403c6a.js @@ -0,0 +1 @@ +a();b();for(;false;);a();b();for(c=1;false;);c=(a in b);for(;false;);c=(a in b);for(d=2;false;); diff --git a/ecmascript/codegen/tests/test262-min/8db74b0d31f10261.js b/ecmascript/codegen/tests/test262-min/8db74b0d31f10261.js new file mode 100644 index 00000000000..02e9080fed9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8db74b0d31f10261.js @@ -0,0 +1 @@ +{a;--b} diff --git a/ecmascript/codegen/tests/test262-min/8dbf5f9322d8b5ac.js b/ecmascript/codegen/tests/test262-min/8dbf5f9322d8b5ac.js new file mode 100644 index 00000000000..9c4c4b09808 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8dbf5f9322d8b5ac.js @@ -0,0 +1 @@ +a={b(c){}} diff --git a/ecmascript/codegen/tests/test262-min/8ddbdc8954dd7aa9.js b/ecmascript/codegen/tests/test262-min/8ddbdc8954dd7aa9.js new file mode 100644 index 00000000000..9a8473dfddd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8ddbdc8954dd7aa9.js @@ -0,0 +1 @@ +function a(){if(false){var b=1}else{var c=2}d(c,b)} diff --git a/ecmascript/codegen/tests/test262-min/8de47a8b53495792.js b/ecmascript/codegen/tests/test262-min/8de47a8b53495792.js new file mode 100644 index 00000000000..ba97f2f8c0f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8de47a8b53495792.js @@ -0,0 +1 @@ +function a(yield){} diff --git a/ecmascript/codegen/tests/test262-min/8e37579cd5ffb2df.js b/ecmascript/codegen/tests/test262-min/8e37579cd5ffb2df.js new file mode 100644 index 00000000000..285560bd440 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8e37579cd5ffb2df.js @@ -0,0 +1 @@ +var[...a]=b diff --git a/ecmascript/codegen/tests/test262-min/8e3f0660b32fbfd2.js b/ecmascript/codegen/tests/test262-min/8e3f0660b32fbfd2.js new file mode 100644 index 00000000000..d61cfd4a99d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8e3f0660b32fbfd2.js @@ -0,0 +1 @@ +('\7a') diff --git a/ecmascript/codegen/tests/test262-min/8e609bb71c20b858.module.js b/ecmascript/codegen/tests/test262-min/8e609bb71c20b858.module.js new file mode 100644 index 00000000000..bcb11edb00c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8e609bb71c20b858.module.js @@ -0,0 +1 @@ +export{} diff --git a/ecmascript/codegen/tests/test262-min/8e6c915d1746636d.js b/ecmascript/codegen/tests/test262-min/8e6c915d1746636d.js new file mode 100644 index 00000000000..b523bfc2e2f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8e6c915d1746636d.js @@ -0,0 +1 @@ +(({a}={a:1})=>{}) diff --git a/ecmascript/codegen/tests/test262-min/8e8e921a75194950.js b/ecmascript/codegen/tests/test262-min/8e8e921a75194950.js new file mode 100644 index 00000000000..cd26e8603f0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8e8e921a75194950.js @@ -0,0 +1 @@ +do{a}while(b) diff --git a/ecmascript/codegen/tests/test262-min/8ec6a55806087669.js b/ecmascript/codegen/tests/test262-min/8ec6a55806087669.js new file mode 100644 index 00000000000..86a5119a3d6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8ec6a55806087669.js @@ -0,0 +1 @@ +a=b-- >1 diff --git a/ecmascript/codegen/tests/test262-min/8ecaef2617d8c6a7.js b/ecmascript/codegen/tests/test262-min/8ecaef2617d8c6a7.js new file mode 100644 index 00000000000..e5cd08f4238 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8ecaef2617d8c6a7.js @@ -0,0 +1 @@ +try{}catch(a){} diff --git a/ecmascript/codegen/tests/test262-min/8ed2a171ab34c301.js b/ecmascript/codegen/tests/test262-min/8ed2a171ab34c301.js new file mode 100644 index 00000000000..71a7f25653e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8ed2a171ab34c301.js @@ -0,0 +1 @@ +eval++ diff --git a/ecmascript/codegen/tests/test262-min/8ed2fce2b9b43fb7.js b/ecmascript/codegen/tests/test262-min/8ed2fce2b9b43fb7.js new file mode 100644 index 00000000000..a22304f650d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8ed2fce2b9b43fb7.js @@ -0,0 +1 @@ +a(b,...c) diff --git a/ecmascript/codegen/tests/test262-min/8ef08a335a7f5966.js b/ecmascript/codegen/tests/test262-min/8ef08a335a7f5966.js new file mode 100644 index 00000000000..1fa405554b4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8ef08a335a7f5966.js @@ -0,0 +1 @@ +a.b('c');a.b.d(a,arguments) diff --git a/ecmascript/codegen/tests/test262-min/8f0084b1073e1877.js b/ecmascript/codegen/tests/test262-min/8f0084b1073e1877.js new file mode 100644 index 00000000000..bb6592f4315 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8f0084b1073e1877.js @@ -0,0 +1 @@ +(a,1) diff --git a/ecmascript/codegen/tests/test262-min/8f4f97274dea4723.js b/ecmascript/codegen/tests/test262-min/8f4f97274dea4723.js new file mode 100644 index 00000000000..cc6498d86e3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8f4f97274dea4723.js @@ -0,0 +1 @@ +(function(){a:{break a;b()}c()}()) diff --git a/ecmascript/codegen/tests/test262-min/8f659ed872554f99.js b/ecmascript/codegen/tests/test262-min/8f659ed872554f99.js new file mode 100644 index 00000000000..0c27d256d4c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8f659ed872554f99.js @@ -0,0 +1 @@ +class a{static get(){}} diff --git a/ecmascript/codegen/tests/test262-min/8f8a9f6ca890939e.js b/ecmascript/codegen/tests/test262-min/8f8a9f6ca890939e.js new file mode 100644 index 00000000000..ca042dca09c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8f8a9f6ca890939e.js @@ -0,0 +1 @@ +({__proto__:1}) diff --git a/ecmascript/codegen/tests/test262-min/8f8bfb27569ac008.js b/ecmascript/codegen/tests/test262-min/8f8bfb27569ac008.js new file mode 100644 index 00000000000..3c8805c3145 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8f8bfb27569ac008.js @@ -0,0 +1 @@ +'use strict';eval[1]=2 diff --git a/ecmascript/codegen/tests/test262-min/8f9e8be5a6c50e77.js b/ecmascript/codegen/tests/test262-min/8f9e8be5a6c50e77.js new file mode 100644 index 00000000000..399976445c4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8f9e8be5a6c50e77.js @@ -0,0 +1 @@ +function a(){return function b(c){}} diff --git a/ecmascript/codegen/tests/test262-min/8fcaa7f3f8926a5e.js b/ecmascript/codegen/tests/test262-min/8fcaa7f3f8926a5e.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/8fcaa7f3f8926a5e.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/9013f39c33dc8416.js b/ecmascript/codegen/tests/test262-min/9013f39c33dc8416.js new file mode 100644 index 00000000000..14097832d32 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9013f39c33dc8416.js @@ -0,0 +1 @@ +throw a diff --git a/ecmascript/codegen/tests/test262-min/901fca17189cd709.js b/ecmascript/codegen/tests/test262-min/901fca17189cd709.js new file mode 100644 index 00000000000..2eccc29bb9b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/901fca17189cd709.js @@ -0,0 +1 @@ +function*a(){(class{[yield](){}})}; diff --git a/ecmascript/codegen/tests/test262-min/9027dae72a91a9ed.js b/ecmascript/codegen/tests/test262-min/9027dae72a91a9ed.js new file mode 100644 index 00000000000..150b01aa4f1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9027dae72a91a9ed.js @@ -0,0 +1 @@ +((a))=1 diff --git a/ecmascript/codegen/tests/test262-min/9036914be00c0dc7.js b/ecmascript/codegen/tests/test262-min/9036914be00c0dc7.js new file mode 100644 index 00000000000..5b1dfc6a866 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9036914be00c0dc7.js @@ -0,0 +1 @@ +(a,b,[c])=>1 diff --git a/ecmascript/codegen/tests/test262-min/903dd05bf49c8fac.js b/ecmascript/codegen/tests/test262-min/903dd05bf49c8fac.js new file mode 100644 index 00000000000..1bb9dc91255 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/903dd05bf49c8fac.js @@ -0,0 +1 @@ +a(b,...c);a(...d) diff --git a/ecmascript/codegen/tests/test262-min/906e545ceef0fcfd.js b/ecmascript/codegen/tests/test262-min/906e545ceef0fcfd.js new file mode 100644 index 00000000000..b683b28d8cd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/906e545ceef0fcfd.js @@ -0,0 +1 @@ +(function(){if(a)throw b;else throw c}()) diff --git a/ecmascript/codegen/tests/test262-min/90919cd6fd06c4d8.js b/ecmascript/codegen/tests/test262-min/90919cd6fd06c4d8.js new file mode 100644 index 00000000000..97f2fdeb438 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/90919cd6fd06c4d8.js @@ -0,0 +1 @@ +function*a(){yield a} diff --git a/ecmascript/codegen/tests/test262-min/90abe26c46af6975.js b/ecmascript/codegen/tests/test262-min/90abe26c46af6975.js new file mode 100644 index 00000000000..fe8a313f26e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/90abe26c46af6975.js @@ -0,0 +1 @@ +function yield(){} diff --git a/ecmascript/codegen/tests/test262-min/90ad0135b905a622.js b/ecmascript/codegen/tests/test262-min/90ad0135b905a622.js new file mode 100644 index 00000000000..b4fe840f927 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/90ad0135b905a622.js @@ -0,0 +1 @@ +function a(){var b=1;c&&(2,3,d,b)} diff --git a/ecmascript/codegen/tests/test262-min/90fa9751ab71ce28.js b/ecmascript/codegen/tests/test262-min/90fa9751ab71ce28.js new file mode 100644 index 00000000000..5af1e69d978 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/90fa9751ab71ce28.js @@ -0,0 +1 @@ +(function(){var a;with(b){a}a=a+=1}()) diff --git a/ecmascript/codegen/tests/test262-min/914ae3168da48965.js b/ecmascript/codegen/tests/test262-min/914ae3168da48965.js new file mode 100644 index 00000000000..8a670204c73 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/914ae3168da48965.js @@ -0,0 +1 @@ +throw{} diff --git a/ecmascript/codegen/tests/test262-min/9159ea4175a5a021.js b/ecmascript/codegen/tests/test262-min/9159ea4175a5a021.js new file mode 100644 index 00000000000..d07f184ceb0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9159ea4175a5a021.js @@ -0,0 +1 @@ +for(a=1;a<2;a++); diff --git a/ecmascript/codegen/tests/test262-min/918e105a2ff6c64a.js b/ecmascript/codegen/tests/test262-min/918e105a2ff6c64a.js new file mode 100644 index 00000000000..1a06fdbafbf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/918e105a2ff6c64a.js @@ -0,0 +1 @@ +class a extends b{get c(){}} diff --git a/ecmascript/codegen/tests/test262-min/91cbb6971c86509e.js b/ecmascript/codegen/tests/test262-min/91cbb6971c86509e.js new file mode 100644 index 00000000000..9a845e73a46 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/91cbb6971c86509e.js @@ -0,0 +1 @@ +({a=1},{b=2},{c=3})=>4 diff --git a/ecmascript/codegen/tests/test262-min/91f2fa0b11550b30.js b/ecmascript/codegen/tests/test262-min/91f2fa0b11550b30.js new file mode 100644 index 00000000000..65957863677 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/91f2fa0b11550b30.js @@ -0,0 +1 @@ +function*a(){yield"a"} diff --git a/ecmascript/codegen/tests/test262-min/9203cb34e9b091dc.js b/ecmascript/codegen/tests/test262-min/9203cb34e9b091dc.js new file mode 100644 index 00000000000..dbdc38fee72 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9203cb34e9b091dc.js @@ -0,0 +1 @@ +a:if(true)break a diff --git a/ecmascript/codegen/tests/test262-min/9208254b5f8a8481.js b/ecmascript/codegen/tests/test262-min/9208254b5f8a8481.js new file mode 100644 index 00000000000..761a84b7da5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9208254b5f8a8481.js @@ -0,0 +1 @@ +a==b diff --git a/ecmascript/codegen/tests/test262-min/923c99b441ab5a26.js b/ecmascript/codegen/tests/test262-min/923c99b441ab5a26.js new file mode 100644 index 00000000000..932124156ce --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/923c99b441ab5a26.js @@ -0,0 +1 @@ +var a=["b","c","d"].e("");var f=["b","c","d"].e();var g=["b",1,2,3,"c"].e("");var h=[i(),"b",4,5,6,"c",c()].e("");var j=[i(),c(),"b",7,8,9,"c",c()].e("");var k=[10,11,"b","c",d()].e("");var l=["b",12+13+"c","d"].e("m");var n=[].e(b+c);var o=[].e("");var p=[].e("b") diff --git a/ecmascript/codegen/tests/test262-min/925443c6cf79aa88.js b/ecmascript/codegen/tests/test262-min/925443c6cf79aa88.js new file mode 100644 index 00000000000..5d672a024b5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/925443c6cf79aa88.js @@ -0,0 +1 @@ +a:do do continue a;while(true)while(true) diff --git a/ecmascript/codegen/tests/test262-min/927b1e0dd52248a6.js b/ecmascript/codegen/tests/test262-min/927b1e0dd52248a6.js new file mode 100644 index 00000000000..d80513c0e7c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/927b1e0dd52248a6.js @@ -0,0 +1 @@ +with(a){b} diff --git a/ecmascript/codegen/tests/test262-min/927efb51d4882ccb.js b/ecmascript/codegen/tests/test262-min/927efb51d4882ccb.js new file mode 100644 index 00000000000..68c9c87fc72 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/927efb51d4882ccb.js @@ -0,0 +1 @@ +(function(){1/-2}()) diff --git a/ecmascript/codegen/tests/test262-min/92a997b1ba17876e.js b/ecmascript/codegen/tests/test262-min/92a997b1ba17876e.js new file mode 100644 index 00000000000..12509a17de4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/92a997b1ba17876e.js @@ -0,0 +1 @@ +({a=1})=>a diff --git a/ecmascript/codegen/tests/test262-min/92dd079c741d2a95.js b/ecmascript/codegen/tests/test262-min/92dd079c741d2a95.js new file mode 100644 index 00000000000..eae2603ac50 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/92dd079c741d2a95.js @@ -0,0 +1 @@ +a<=b diff --git a/ecmascript/codegen/tests/test262-min/92fd8e24864fde0a.js b/ecmascript/codegen/tests/test262-min/92fd8e24864fde0a.js new file mode 100644 index 00000000000..419848b9f88 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/92fd8e24864fde0a.js @@ -0,0 +1 @@ +(function eval(){}) diff --git a/ecmascript/codegen/tests/test262-min/93108a695e5ff29d.js b/ecmascript/codegen/tests/test262-min/93108a695e5ff29d.js new file mode 100644 index 00000000000..e9292d777d2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/93108a695e5ff29d.js @@ -0,0 +1 @@ +(function(){var a;if(b)return;a=new c();return a})()(function(){var a;if(b)return;a=new c();return a})()(function(){var a;if(b)return;a=new c();return a})() diff --git a/ecmascript/codegen/tests/test262-min/9312a1adbbf0a4c0.js b/ecmascript/codegen/tests/test262-min/9312a1adbbf0a4c0.js new file mode 100644 index 00000000000..a163e71b8b4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9312a1adbbf0a4c0.js @@ -0,0 +1 @@ +debugger diff --git a/ecmascript/codegen/tests/test262-min/9331c78bb0fc6a55.js b/ecmascript/codegen/tests/test262-min/9331c78bb0fc6a55.js new file mode 100644 index 00000000000..3a2e3f4984a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9331c78bb0fc6a55.js @@ -0,0 +1 @@ +-1 diff --git a/ecmascript/codegen/tests/test262-min/9349f48a456341b8.js b/ecmascript/codegen/tests/test262-min/9349f48a456341b8.js new file mode 100644 index 00000000000..973a5f18fd0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9349f48a456341b8.js @@ -0,0 +1 @@ +new a().b() diff --git a/ecmascript/codegen/tests/test262-min/937059a5e53177e5.js b/ecmascript/codegen/tests/test262-min/937059a5e53177e5.js new file mode 100644 index 00000000000..36f29624943 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/937059a5e53177e5.js @@ -0,0 +1 @@ +[...[...a[b]]]=c diff --git a/ecmascript/codegen/tests/test262-min/939479d60d564ccd.js b/ecmascript/codegen/tests/test262-min/939479d60d564ccd.js new file mode 100644 index 00000000000..356afd679b6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/939479d60d564ccd.js @@ -0,0 +1 @@ +({*a(b,c,d){}}) diff --git a/ecmascript/codegen/tests/test262-min/93bd9d668ac308a0.js b/ecmascript/codegen/tests/test262-min/93bd9d668ac308a0.js new file mode 100644 index 00000000000..1dcfe70dbe0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/93bd9d668ac308a0.js @@ -0,0 +1 @@ +var a=function(b){b();a()} diff --git a/ecmascript/codegen/tests/test262-min/93c32bb0a4bad388.module.js b/ecmascript/codegen/tests/test262-min/93c32bb0a4bad388.module.js new file mode 100644 index 00000000000..981c4b56776 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/93c32bb0a4bad388.module.js @@ -0,0 +1 @@ +import{default as a}from"foo" diff --git a/ecmascript/codegen/tests/test262-min/93c75264893587a5.js b/ecmascript/codegen/tests/test262-min/93c75264893587a5.js new file mode 100644 index 00000000000..28f21631b8c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/93c75264893587a5.js @@ -0,0 +1 @@ +({*yield(){}}) diff --git a/ecmascript/codegen/tests/test262-min/93cac77bbf2242ab.js b/ecmascript/codegen/tests/test262-min/93cac77bbf2242ab.js new file mode 100644 index 00000000000..a6ce9fb7fda --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/93cac77bbf2242ab.js @@ -0,0 +1 @@ +(a(),b(),c())+(d(),e(),f()) diff --git a/ecmascript/codegen/tests/test262-min/93d4c5dfbddf859d.js b/ecmascript/codegen/tests/test262-min/93d4c5dfbddf859d.js new file mode 100644 index 00000000000..a41a2dd1050 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/93d4c5dfbddf859d.js @@ -0,0 +1 @@ +if(a){if(b)c}else d;if(a){if(b)throw c}else d;if(a){with(a)if(b)throw c}else d;if(a){do if(b)throw c;while(a)}else d diff --git a/ecmascript/codegen/tests/test262-min/9427da8abb4e7c67.js b/ecmascript/codegen/tests/test262-min/9427da8abb4e7c67.js new file mode 100644 index 00000000000..ab86b7ebde0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9427da8abb4e7c67.js @@ -0,0 +1 @@ +ⅣⅡ diff --git a/ecmascript/codegen/tests/test262-min/94846b0ae1cac1a2.js b/ecmascript/codegen/tests/test262-min/94846b0ae1cac1a2.js new file mode 100644 index 00000000000..939de64cd4c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/94846b0ae1cac1a2.js @@ -0,0 +1 @@ +void void void/test/ diff --git a/ecmascript/codegen/tests/test262-min/9495a0dcecf5713c.js b/ecmascript/codegen/tests/test262-min/9495a0dcecf5713c.js new file mode 100644 index 00000000000..1181955b6ce --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9495a0dcecf5713c.js @@ -0,0 +1 @@ +({[a]:()=>{}}) diff --git a/ecmascript/codegen/tests/test262-min/94b8a654a87039b9.js b/ecmascript/codegen/tests/test262-min/94b8a654a87039b9.js new file mode 100644 index 00000000000..9b6d0dc9724 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/94b8a654a87039b9.js @@ -0,0 +1 @@ +(function*(a,b,c){}) diff --git a/ecmascript/codegen/tests/test262-min/94be09b126b946b8.js b/ecmascript/codegen/tests/test262-min/94be09b126b946b8.js new file mode 100644 index 00000000000..8cbc691bcb2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/94be09b126b946b8.js @@ -0,0 +1,4 @@ +` + + +` diff --git a/ecmascript/codegen/tests/test262-min/94c72b68d8726b07.js b/ecmascript/codegen/tests/test262-min/94c72b68d8726b07.js new file mode 100644 index 00000000000..19f1cb9d64b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/94c72b68d8726b07.js @@ -0,0 +1 @@ +(1,a) diff --git a/ecmascript/codegen/tests/test262-min/94cb828d5dcfd136.js b/ecmascript/codegen/tests/test262-min/94cb828d5dcfd136.js new file mode 100644 index 00000000000..74565761e7b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/94cb828d5dcfd136.js @@ -0,0 +1 @@ +try{}catch(arguments){} diff --git a/ecmascript/codegen/tests/test262-min/951e1b875db534f9.js b/ecmascript/codegen/tests/test262-min/951e1b875db534f9.js new file mode 100644 index 00000000000..121f7efa410 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/951e1b875db534f9.js @@ -0,0 +1 @@ +a=(1)?2:3 diff --git a/ecmascript/codegen/tests/test262-min/95408309cc3a1d30.js b/ecmascript/codegen/tests/test262-min/95408309cc3a1d30.js new file mode 100644 index 00000000000..94af9c7529e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/95408309cc3a1d30.js @@ -0,0 +1 @@ +function a(){if(void 1){var b=2}else{c(a)}c(b)} diff --git a/ecmascript/codegen/tests/test262-min/954a896471379dc8.js b/ecmascript/codegen/tests/test262-min/954a896471379dc8.js new file mode 100644 index 00000000000..455877254b9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/954a896471379dc8.js @@ -0,0 +1 @@ +[a,...a]=1 diff --git a/ecmascript/codegen/tests/test262-min/95520bedf0fdd4c9.js b/ecmascript/codegen/tests/test262-min/95520bedf0fdd4c9.js new file mode 100644 index 00000000000..3c2520e4dce --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/95520bedf0fdd4c9.js @@ -0,0 +1 @@ +function a(){b,c,d;if(e){throw'f'}} diff --git a/ecmascript/codegen/tests/test262-min/955c5fedb3931500.js b/ecmascript/codegen/tests/test262-min/955c5fedb3931500.js new file mode 100644 index 00000000000..874bda8c416 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/955c5fedb3931500.js @@ -0,0 +1 @@ +'a'+'a' diff --git a/ecmascript/codegen/tests/test262-min/95ab0d795c04ff38.js b/ecmascript/codegen/tests/test262-min/95ab0d795c04ff38.js new file mode 100644 index 00000000000..eef0dcd8186 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/95ab0d795c04ff38.js @@ -0,0 +1 @@ +('\111') diff --git a/ecmascript/codegen/tests/test262-min/96059002704b3ac3.js b/ecmascript/codegen/tests/test262-min/96059002704b3ac3.js new file mode 100644 index 00000000000..0b234a6e48f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/96059002704b3ac3.js @@ -0,0 +1 @@ +for(;a();){b();c();if(d())e();else break;f();g()} diff --git a/ecmascript/codegen/tests/test262-min/9677a7160d769b1a.js b/ecmascript/codegen/tests/test262-min/9677a7160d769b1a.js new file mode 100644 index 00000000000..5594f71a530 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9677a7160d769b1a.js @@ -0,0 +1 @@ +var a={delete:1} diff --git a/ecmascript/codegen/tests/test262-min/9681f5d844d7acd0.js b/ecmascript/codegen/tests/test262-min/9681f5d844d7acd0.js new file mode 100644 index 00000000000..fb53cc758cb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9681f5d844d7acd0.js @@ -0,0 +1 @@ +a=>b;(a,b)=>c;()=>b;a=>b=>c;a=>(b=>c);()=>(b,c)=>d;a=>{return b};a=>'e' diff --git a/ecmascript/codegen/tests/test262-min/96909e1dce85ca53.module.js b/ecmascript/codegen/tests/test262-min/96909e1dce85ca53.module.js new file mode 100644 index 00000000000..b0d35f3a137 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/96909e1dce85ca53.module.js @@ -0,0 +1 @@ +export default 1 diff --git a/ecmascript/codegen/tests/test262-min/96941f16c2d7cec4.js b/ecmascript/codegen/tests/test262-min/96941f16c2d7cec4.js new file mode 100644 index 00000000000..e9f3c226c48 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/96941f16c2d7cec4.js @@ -0,0 +1 @@ +(a)=(1) diff --git a/ecmascript/codegen/tests/test262-min/96e1b294d19a101d.js b/ecmascript/codegen/tests/test262-min/96e1b294d19a101d.js new file mode 100644 index 00000000000..7cdb31163f0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/96e1b294d19a101d.js @@ -0,0 +1 @@ +a=>"b" diff --git a/ecmascript/codegen/tests/test262-min/96ea36bc180f25d5.js b/ecmascript/codegen/tests/test262-min/96ea36bc180f25d5.js new file mode 100644 index 00000000000..7076dc0d3a8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/96ea36bc180f25d5.js @@ -0,0 +1 @@ +with(a)b diff --git a/ecmascript/codegen/tests/test262-min/970fb35ce6ce89bb.js b/ecmascript/codegen/tests/test262-min/970fb35ce6ce89bb.js new file mode 100644 index 00000000000..0ac61cbb222 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/970fb35ce6ce89bb.js @@ -0,0 +1 @@ +function a(){var a=1;function b(){var c=a}} diff --git a/ecmascript/codegen/tests/test262-min/973cbc9ece13acbc.js b/ecmascript/codegen/tests/test262-min/973cbc9ece13acbc.js new file mode 100644 index 00000000000..10a69669fe3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/973cbc9ece13acbc.js @@ -0,0 +1 @@ +function*a(){}function a(){} diff --git a/ecmascript/codegen/tests/test262-min/974e7275fdedce49.js b/ecmascript/codegen/tests/test262-min/974e7275fdedce49.js new file mode 100644 index 00000000000..d70f9a15cfa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/974e7275fdedce49.js @@ -0,0 +1 @@ +1..a diff --git a/ecmascript/codegen/tests/test262-min/97593deb177d09ae.js b/ecmascript/codegen/tests/test262-min/97593deb177d09ae.js new file mode 100644 index 00000000000..93939e3a240 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/97593deb177d09ae.js @@ -0,0 +1 @@ +function a(b,c){return b-- >>>c} diff --git a/ecmascript/codegen/tests/test262-min/976afd9ae5f5d71a.module.js b/ecmascript/codegen/tests/test262-min/976afd9ae5f5d71a.module.js new file mode 100644 index 00000000000..c097345c43e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/976afd9ae5f5d71a.module.js @@ -0,0 +1 @@ +export function a(){}; diff --git a/ecmascript/codegen/tests/test262-min/979b36a2c530f286.js b/ecmascript/codegen/tests/test262-min/979b36a2c530f286.js new file mode 100644 index 00000000000..ad3cc915dc9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/979b36a2c530f286.js @@ -0,0 +1 @@ +var{a:yield}=b diff --git a/ecmascript/codegen/tests/test262-min/97e246302dfe8616.js b/ecmascript/codegen/tests/test262-min/97e246302dfe8616.js new file mode 100644 index 00000000000..6f6c33c2eb0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/97e246302dfe8616.js @@ -0,0 +1 @@ +function a(b,c){return b<< !--c} diff --git a/ecmascript/codegen/tests/test262-min/982595e2af9d9703.js b/ecmascript/codegen/tests/test262-min/982595e2af9d9703.js new file mode 100644 index 00000000000..2506d83fffb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/982595e2af9d9703.js @@ -0,0 +1 @@ +for(a=1;a<2;a++)b(a) diff --git a/ecmascript/codegen/tests/test262-min/982835d8c977075c.js b/ecmascript/codegen/tests/test262-min/982835d8c977075c.js new file mode 100644 index 00000000000..66377522a4d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/982835d8c977075c.js @@ -0,0 +1 @@ +/a/ diff --git a/ecmascript/codegen/tests/test262-min/988f8a06b68457ef.js b/ecmascript/codegen/tests/test262-min/988f8a06b68457ef.js new file mode 100644 index 00000000000..35b3d6ee203 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/988f8a06b68457ef.js @@ -0,0 +1 @@ +T‿=[] diff --git a/ecmascript/codegen/tests/test262-min/98c7fb7947f7eae4.js b/ecmascript/codegen/tests/test262-min/98c7fb7947f7eae4.js new file mode 100644 index 00000000000..798b38e2126 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/98c7fb7947f7eae4.js @@ -0,0 +1 @@ +eval-- diff --git a/ecmascript/codegen/tests/test262-min/98df58b0c40fac90.js b/ecmascript/codegen/tests/test262-min/98df58b0c40fac90.js new file mode 100644 index 00000000000..e27e2866085 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/98df58b0c40fac90.js @@ -0,0 +1 @@ +a=function(){}(b()) diff --git a/ecmascript/codegen/tests/test262-min/993584ec37388320.js b/ecmascript/codegen/tests/test262-min/993584ec37388320.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/993584ec37388320.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/9949a2e1a6844836.module.js b/ecmascript/codegen/tests/test262-min/9949a2e1a6844836.module.js new file mode 100644 index 00000000000..97a9359adb8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9949a2e1a6844836.module.js @@ -0,0 +1 @@ +(function*(){yield a}) diff --git a/ecmascript/codegen/tests/test262-min/996001e00a0c575b.js b/ecmascript/codegen/tests/test262-min/996001e00a0c575b.js new file mode 100644 index 00000000000..cbd8b4309c0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/996001e00a0c575b.js @@ -0,0 +1 @@ +({a}) diff --git a/ecmascript/codegen/tests/test262-min/9974571a855d4447.js b/ecmascript/codegen/tests/test262-min/9974571a855d4447.js new file mode 100644 index 00000000000..41ee7256f4c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9974571a855d4447.js @@ -0,0 +1 @@ +function*a(){yield false} diff --git a/ecmascript/codegen/tests/test262-min/9975820eb10bc0ff.js b/ecmascript/codegen/tests/test262-min/9975820eb10bc0ff.js new file mode 100644 index 00000000000..0c5a3e8af96 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9975820eb10bc0ff.js @@ -0,0 +1 @@ +for(;;){a();continue;b()} diff --git a/ecmascript/codegen/tests/test262-min/999c1001e3761320.js b/ecmascript/codegen/tests/test262-min/999c1001e3761320.js new file mode 100644 index 00000000000..662554803d4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/999c1001e3761320.js @@ -0,0 +1 @@ +`abc` diff --git a/ecmascript/codegen/tests/test262-min/99cdfc40e20af6f5.js b/ecmascript/codegen/tests/test262-min/99cdfc40e20af6f5.js new file mode 100644 index 00000000000..97021af2937 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/99cdfc40e20af6f5.js @@ -0,0 +1 @@ +var a=function(){}(b()) diff --git a/ecmascript/codegen/tests/test262-min/99fceed987b8ec3d.js b/ecmascript/codegen/tests/test262-min/99fceed987b8ec3d.js new file mode 100644 index 00000000000..7f50d983b11 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/99fceed987b8ec3d.js @@ -0,0 +1 @@ +function a(...[]){} diff --git a/ecmascript/codegen/tests/test262-min/9a5b92dfd9d19f60.js b/ecmascript/codegen/tests/test262-min/9a5b92dfd9d19f60.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9a5b92dfd9d19f60.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/9a666205cafd530f.js b/ecmascript/codegen/tests/test262-min/9a666205cafd530f.js new file mode 100644 index 00000000000..2598fa0f04a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9a666205cafd530f.js @@ -0,0 +1 @@ +function*a(){({b(){yield}})} diff --git a/ecmascript/codegen/tests/test262-min/9a6711e879a99536.js b/ecmascript/codegen/tests/test262-min/9a6711e879a99536.js new file mode 100644 index 00000000000..9cb1b812613 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9a6711e879a99536.js @@ -0,0 +1 @@ +{let a} diff --git a/ecmascript/codegen/tests/test262-min/9a7f06880ce32bbc.js b/ecmascript/codegen/tests/test262-min/9a7f06880ce32bbc.js new file mode 100644 index 00000000000..73cdb8bcc87 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9a7f06880ce32bbc.js @@ -0,0 +1 @@ +a=1 diff --git a/ecmascript/codegen/tests/test262-min/9a9cb616daadf90a.js b/ecmascript/codegen/tests/test262-min/9a9cb616daadf90a.js new file mode 100644 index 00000000000..faaa7d6d176 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9a9cb616daadf90a.js @@ -0,0 +1 @@ +(function(){return a}) diff --git a/ecmascript/codegen/tests/test262-min/9aa93e1e417ce8e3.js b/ecmascript/codegen/tests/test262-min/9aa93e1e417ce8e3.js new file mode 100644 index 00000000000..e03c1f6f15d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9aa93e1e417ce8e3.js @@ -0,0 +1 @@ +for(let in a){} diff --git a/ecmascript/codegen/tests/test262-min/9b9d0e250e01155d.js b/ecmascript/codegen/tests/test262-min/9b9d0e250e01155d.js new file mode 100644 index 00000000000..6a82332b5f2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9b9d0e250e01155d.js @@ -0,0 +1 @@ +var a,b;if(c()){a=new b(1)}else{a=new b(2)} diff --git a/ecmascript/codegen/tests/test262-min/9c30b0817f412a30.js b/ecmascript/codegen/tests/test262-min/9c30b0817f412a30.js new file mode 100644 index 00000000000..7f1ca7a9c8e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9c30b0817f412a30.js @@ -0,0 +1 @@ +(function(){return{}})().a=1 diff --git a/ecmascript/codegen/tests/test262-min/9cf32425f04fd865.js b/ecmascript/codegen/tests/test262-min/9cf32425f04fd865.js new file mode 100644 index 00000000000..bdbbe4ca13c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9cf32425f04fd865.js @@ -0,0 +1 @@ +`${a}${b}` diff --git a/ecmascript/codegen/tests/test262-min/9d0fd95dd43f59ec.js b/ecmascript/codegen/tests/test262-min/9d0fd95dd43f59ec.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9d0fd95dd43f59ec.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/9d1320f0185b1586.js b/ecmascript/codegen/tests/test262-min/9d1320f0185b1586.js new file mode 100644 index 00000000000..8831c74f512 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9d1320f0185b1586.js @@ -0,0 +1 @@ +a[b](b,c) diff --git a/ecmascript/codegen/tests/test262-min/9d3d960e32528788.js b/ecmascript/codegen/tests/test262-min/9d3d960e32528788.js new file mode 100644 index 00000000000..66bf5073311 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9d3d960e32528788.js @@ -0,0 +1 @@ +(function(){}/1) diff --git a/ecmascript/codegen/tests/test262-min/9d935d1b787ed251.js b/ecmascript/codegen/tests/test262-min/9d935d1b787ed251.js new file mode 100644 index 00000000000..8b391f8b749 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9d935d1b787ed251.js @@ -0,0 +1 @@ +;a diff --git a/ecmascript/codegen/tests/test262-min/9db4dccf1122bfc4.js b/ecmascript/codegen/tests/test262-min/9db4dccf1122bfc4.js new file mode 100644 index 00000000000..13f0a9f2d6d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9db4dccf1122bfc4.js @@ -0,0 +1 @@ +new new a diff --git a/ecmascript/codegen/tests/test262-min/9db573299f02bf36.js b/ecmascript/codegen/tests/test262-min/9db573299f02bf36.js new file mode 100644 index 00000000000..265357d98c5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9db573299f02bf36.js @@ -0,0 +1 @@ +var a=["b","c",d(),"e","f","g"].h("");var i=["b","c",d(),"e","f","g"].h("j");var k=["b","c",d(),"e","f","g"].h("l");var m=["b","c",d(),["b",1,2,3,"c"].h("+"),"e","f","g"].h("j");var n=["b","c",d(),["b",4,5,6,"c"].h("+"),"e","f","g"].h("l");var o=["p","p"+q,"b","c","r"+b].h("") diff --git a/ecmascript/codegen/tests/test262-min/9dc20e081005fba4.js b/ecmascript/codegen/tests/test262-min/9dc20e081005fba4.js new file mode 100644 index 00000000000..9677795401d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9dc20e081005fba4.js @@ -0,0 +1 @@ +a={b(c,d){return a}};e={b([{c}]){return c},f(){}} diff --git a/ecmascript/codegen/tests/test262-min/9dfa08b5b7ad82a9.js b/ecmascript/codegen/tests/test262-min/9dfa08b5b7ad82a9.js new file mode 100644 index 00000000000..66003802bc8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9dfa08b5b7ad82a9.js @@ -0,0 +1 @@ +var[a,...b]=c diff --git a/ecmascript/codegen/tests/test262-min/9e3e46891aaf13de.js b/ecmascript/codegen/tests/test262-min/9e3e46891aaf13de.js new file mode 100644 index 00000000000..ff72a754d5a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9e3e46891aaf13de.js @@ -0,0 +1 @@ +let{a:b}={} diff --git a/ecmascript/codegen/tests/test262-min/9e98dbfde77e3dfe.js b/ecmascript/codegen/tests/test262-min/9e98dbfde77e3dfe.js new file mode 100644 index 00000000000..3bf77e046f8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9e98dbfde77e3dfe.js @@ -0,0 +1 @@ +[,,1] diff --git a/ecmascript/codegen/tests/test262-min/9ec644dbf797e95c.js b/ecmascript/codegen/tests/test262-min/9ec644dbf797e95c.js new file mode 100644 index 00000000000..3caac156b5d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9ec644dbf797e95c.js @@ -0,0 +1 @@ +('\`') diff --git a/ecmascript/codegen/tests/test262-min/9ed0369295348e76.js b/ecmascript/codegen/tests/test262-min/9ed0369295348e76.js new file mode 100644 index 00000000000..cdc1822c697 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9ed0369295348e76.js @@ -0,0 +1 @@ +(function(){return 1;{var a=2}}()) diff --git a/ecmascript/codegen/tests/test262-min/9f23d57c37e238cb.js b/ecmascript/codegen/tests/test262-min/9f23d57c37e238cb.js new file mode 100644 index 00000000000..cda8001161c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9f23d57c37e238cb.js @@ -0,0 +1 @@ +var a=1,b=2 diff --git a/ecmascript/codegen/tests/test262-min/9f272d23fc62842a.js b/ecmascript/codegen/tests/test262-min/9f272d23fc62842a.js new file mode 100644 index 00000000000..878f8c6b7f7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9f272d23fc62842a.js @@ -0,0 +1 @@ +a||(b||c) diff --git a/ecmascript/codegen/tests/test262-min/9fd584806e085e35.js b/ecmascript/codegen/tests/test262-min/9fd584806e085e35.js new file mode 100644 index 00000000000..b82885e863a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/9fd584806e085e35.js @@ -0,0 +1 @@ +class a{b(){}c(){}} diff --git a/ecmascript/codegen/tests/references/9fe1d41db318afba.js b/ecmascript/codegen/tests/test262-min/9fe1d41db318afba.js similarity index 100% rename from ecmascript/codegen/tests/references/9fe1d41db318afba.js rename to ecmascript/codegen/tests/test262-min/9fe1d41db318afba.js diff --git a/ecmascript/codegen/tests/test262-min/a0079146ab045c26.js b/ecmascript/codegen/tests/test262-min/a0079146ab045c26.js new file mode 100644 index 00000000000..71206402588 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a0079146ab045c26.js @@ -0,0 +1 @@ +/[-a-]/ diff --git a/ecmascript/codegen/tests/test262-min/a022debc42a58f0c.js b/ecmascript/codegen/tests/test262-min/a022debc42a58f0c.js new file mode 100644 index 00000000000..adcb400468b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a022debc42a58f0c.js @@ -0,0 +1 @@ +([a])=>[1] diff --git a/ecmascript/codegen/tests/test262-min/a03475b02913e16a.js b/ecmascript/codegen/tests/test262-min/a03475b02913e16a.js new file mode 100644 index 00000000000..5f2491707ba --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a03475b02913e16a.js @@ -0,0 +1 @@ +for(;a();)if(b())break diff --git a/ecmascript/codegen/tests/test262-min/a08ed291f78352a0.js b/ecmascript/codegen/tests/test262-min/a08ed291f78352a0.js new file mode 100644 index 00000000000..6a0cac54f7f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a08ed291f78352a0.js @@ -0,0 +1 @@ +a(function(){function b(){}if(b()){b();return void 1}}) diff --git a/ecmascript/codegen/tests/test262-min/a0af29e4dd6d3845.js b/ecmascript/codegen/tests/test262-min/a0af29e4dd6d3845.js new file mode 100644 index 00000000000..472574abb32 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a0af29e4dd6d3845.js @@ -0,0 +1 @@ +(function(){while(false){a()}b()}()) diff --git a/ecmascript/codegen/tests/test262-min/a0b7bf790311b763.js b/ecmascript/codegen/tests/test262-min/a0b7bf790311b763.js new file mode 100644 index 00000000000..887f4a5e46a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a0b7bf790311b763.js @@ -0,0 +1 @@ +/[a-z]/u diff --git a/ecmascript/codegen/tests/test262-min/a0fba75a10c21ac9.js b/ecmascript/codegen/tests/test262-min/a0fba75a10c21ac9.js new file mode 100644 index 00000000000..db52bd4199d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a0fba75a10c21ac9.js @@ -0,0 +1 @@ +(!a)?1:2 diff --git a/ecmascript/codegen/tests/test262-min/a10929d2c1b0d792.js b/ecmascript/codegen/tests/test262-min/a10929d2c1b0d792.js new file mode 100644 index 00000000000..d80513c0e7c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a10929d2c1b0d792.js @@ -0,0 +1 @@ +with(a){b} diff --git a/ecmascript/codegen/tests/test262-min/a11e875c4dd100af.js b/ecmascript/codegen/tests/test262-min/a11e875c4dd100af.js new file mode 100644 index 00000000000..3bcf327f3ed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a11e875c4dd100af.js @@ -0,0 +1 @@ +for(var a=1;a<2;++a)(function(){b('c')}()) diff --git a/ecmascript/codegen/tests/test262-min/a150e917230aa57d.js b/ecmascript/codegen/tests/test262-min/a150e917230aa57d.js new file mode 100644 index 00000000000..7975472fdb3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a150e917230aa57d.js @@ -0,0 +1 @@ +(function(){if(true==a){b()}if(false==a){b()}}()) diff --git a/ecmascript/codegen/tests/test262-min/a157424306915066.js b/ecmascript/codegen/tests/test262-min/a157424306915066.js new file mode 100644 index 00000000000..df73447030e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a157424306915066.js @@ -0,0 +1 @@ +function*a(){b=>{yield+b}} diff --git a/ecmascript/codegen/tests/test262-min/a1594a4d0c0ee99a.js b/ecmascript/codegen/tests/test262-min/a1594a4d0c0ee99a.js new file mode 100644 index 00000000000..1ae7f87862a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a1594a4d0c0ee99a.js @@ -0,0 +1 @@ +for(let a=let;;){} diff --git a/ecmascript/codegen/tests/test262-min/a15c90cc56980c41.js b/ecmascript/codegen/tests/test262-min/a15c90cc56980c41.js new file mode 100644 index 00000000000..c6f300293fc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a15c90cc56980c41.js @@ -0,0 +1 @@ +a:while(true){break a} diff --git a/ecmascript/codegen/tests/test262-min/a18a8865e65d4bdd.js b/ecmascript/codegen/tests/test262-min/a18a8865e65d4bdd.js new file mode 100644 index 00000000000..a057038f9f1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a18a8865e65d4bdd.js @@ -0,0 +1 @@ +({[a](){}}) diff --git a/ecmascript/codegen/tests/test262-min/a194909bf50b1467.js b/ecmascript/codegen/tests/test262-min/a194909bf50b1467.js new file mode 100644 index 00000000000..a1dab52807a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a194909bf50b1467.js @@ -0,0 +1 @@ +function*a(){yield yield} diff --git a/ecmascript/codegen/tests/test262-min/a1ab463999957845.js b/ecmascript/codegen/tests/test262-min/a1ab463999957845.js new file mode 100644 index 00000000000..bb428bc6987 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a1ab463999957845.js @@ -0,0 +1 @@ +(a)() diff --git a/ecmascript/codegen/tests/test262-min/a1cd0d76806cef90.js b/ecmascript/codegen/tests/test262-min/a1cd0d76806cef90.js new file mode 100644 index 00000000000..80cf8c8f679 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a1cd0d76806cef90.js @@ -0,0 +1 @@ +(function(){return typeof a()!="b"}()) diff --git a/ecmascript/codegen/tests/test262-min/a1dde88d8a87b573.module.js b/ecmascript/codegen/tests/test262-min/a1dde88d8a87b573.module.js new file mode 100644 index 00000000000..15751a53613 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a1dde88d8a87b573.module.js @@ -0,0 +1 @@ +import{a}from"foo" diff --git a/ecmascript/codegen/tests/test262-min/a2042d86c592dd55.js b/ecmascript/codegen/tests/test262-min/a2042d86c592dd55.js new file mode 100644 index 00000000000..6e779896c41 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a2042d86c592dd55.js @@ -0,0 +1 @@ +'a'-1 diff --git a/ecmascript/codegen/tests/test262-min/a248ef84a404262c.js b/ecmascript/codegen/tests/test262-min/a248ef84a404262c.js new file mode 100644 index 00000000000..ecfd22dd777 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a248ef84a404262c.js @@ -0,0 +1 @@ +`$` diff --git a/ecmascript/codegen/tests/test262-min/a2781f8227f7f1e6.js b/ecmascript/codegen/tests/test262-min/a2781f8227f7f1e6.js new file mode 100644 index 00000000000..28ccaea6b46 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a2781f8227f7f1e6.js @@ -0,0 +1 @@ +[...{a}]=b diff --git a/ecmascript/codegen/tests/test262-min/a2798917405b080b.js b/ecmascript/codegen/tests/test262-min/a2798917405b080b.js new file mode 100644 index 00000000000..c045ed016c9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a2798917405b080b.js @@ -0,0 +1 @@ +try{}catch({}){} diff --git a/ecmascript/codegen/tests/test262-min/a29b007e8fb9d020.js b/ecmascript/codegen/tests/test262-min/a29b007e8fb9d020.js new file mode 100644 index 00000000000..72ae586dd5d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a29b007e8fb9d020.js @@ -0,0 +1 @@ +[a,b,...c]=1 diff --git a/ecmascript/codegen/tests/test262-min/a2cb5a14559c6a50.js b/ecmascript/codegen/tests/test262-min/a2cb5a14559c6a50.js new file mode 100644 index 00000000000..dc295e711b1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a2cb5a14559c6a50.js @@ -0,0 +1 @@ +try{}catch(yield){} diff --git a/ecmascript/codegen/tests/test262-min/a2f26b79b01628f9.js b/ecmascript/codegen/tests/test262-min/a2f26b79b01628f9.js new file mode 100644 index 00000000000..fde5b4264dc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a2f26b79b01628f9.js @@ -0,0 +1 @@ +(function(){var a=1;with(b)arguments=2}()) diff --git a/ecmascript/codegen/tests/test262-min/a33250f92a2f000e.js b/ecmascript/codegen/tests/test262-min/a33250f92a2f000e.js new file mode 100644 index 00000000000..99a4ea0db83 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a33250f92a2f000e.js @@ -0,0 +1 @@ +function a(b,c){return b-- >>c} diff --git a/ecmascript/codegen/tests/test262-min/a353c62d8ed56d6f.js b/ecmascript/codegen/tests/test262-min/a353c62d8ed56d6f.js new file mode 100644 index 00000000000..8c40e4d588c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a353c62d8ed56d6f.js @@ -0,0 +1 @@ +{throw a;a} diff --git a/ecmascript/codegen/tests/test262-min/a378fc25898cf05b.js b/ecmascript/codegen/tests/test262-min/a378fc25898cf05b.js new file mode 100644 index 00000000000..17decf505e4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a378fc25898cf05b.js @@ -0,0 +1 @@ +(new a).b() diff --git a/ecmascript/codegen/tests/test262-min/a3b497c58f78b243.js b/ecmascript/codegen/tests/test262-min/a3b497c58f78b243.js new file mode 100644 index 00000000000..debc3f0032d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a3b497c58f78b243.js @@ -0,0 +1 @@ +(function(){function a(){}}()) diff --git a/ecmascript/codegen/tests/test262-min/a41e5072dd6dda98.js b/ecmascript/codegen/tests/test262-min/a41e5072dd6dda98.js new file mode 100644 index 00000000000..7076dc0d3a8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a41e5072dd6dda98.js @@ -0,0 +1 @@ +with(a)b diff --git a/ecmascript/codegen/tests/test262-min/a42a93f3af33bbc5.js b/ecmascript/codegen/tests/test262-min/a42a93f3af33bbc5.js new file mode 100644 index 00000000000..922c4029179 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a42a93f3af33bbc5.js @@ -0,0 +1 @@ +a=1;if(b)c();a=2;for(d=3;d<4;d++)e.f(d);a=5;for(;d<6;d++)e.f(d);a=7;switch(b){}a=8;with(g){} diff --git a/ecmascript/codegen/tests/test262-min/a43df1aea659fab8.js b/ecmascript/codegen/tests/test262-min/a43df1aea659fab8.js new file mode 100644 index 00000000000..75778cdf15b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a43df1aea659fab8.js @@ -0,0 +1 @@ +a&b&c diff --git a/ecmascript/codegen/tests/test262-min/a445a478b4ce0c58.js b/ecmascript/codegen/tests/test262-min/a445a478b4ce0c58.js new file mode 100644 index 00000000000..e09785d90d2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a445a478b4ce0c58.js @@ -0,0 +1 @@ +({get a(){return b}}) diff --git a/ecmascript/codegen/tests/test262-min/a454d2e2ab3484e6.js b/ecmascript/codegen/tests/test262-min/a454d2e2ab3484e6.js new file mode 100644 index 00000000000..453f0de48dc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a454d2e2ab3484e6.js @@ -0,0 +1 @@ +(function*(){}) diff --git a/ecmascript/codegen/tests/test262-min/a487d6498ec0efbf.module.js b/ecmascript/codegen/tests/test262-min/a487d6498ec0efbf.module.js new file mode 100644 index 00000000000..01bab95f910 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a487d6498ec0efbf.module.js @@ -0,0 +1 @@ +import a from"a" diff --git a/ecmascript/codegen/tests/test262-min/a4931f8127e03c4e.js b/ecmascript/codegen/tests/test262-min/a4931f8127e03c4e.js new file mode 100644 index 00000000000..1328ad86aea --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a4931f8127e03c4e.js @@ -0,0 +1 @@ +a.null diff --git a/ecmascript/codegen/tests/test262-min/a4b3402765acaa0e.js b/ecmascript/codegen/tests/test262-min/a4b3402765acaa0e.js new file mode 100644 index 00000000000..eb0592235ae --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a4b3402765acaa0e.js @@ -0,0 +1 @@ +(a)?(b):(c) diff --git a/ecmascript/codegen/tests/test262-min/a515d7aaea7b816f.js b/ecmascript/codegen/tests/test262-min/a515d7aaea7b816f.js new file mode 100644 index 00000000000..775c8891fd3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a515d7aaea7b816f.js @@ -0,0 +1 @@ +(function(){if(a)return 1;else return}()) diff --git a/ecmascript/codegen/tests/test262-min/a54cca69085ad35a.js b/ecmascript/codegen/tests/test262-min/a54cca69085ad35a.js new file mode 100644 index 00000000000..5adda4e3626 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a54cca69085ad35a.js @@ -0,0 +1 @@ +class a{static set b(c){}} diff --git a/ecmascript/codegen/tests/test262-min/a54ce6036e646e24.js b/ecmascript/codegen/tests/test262-min/a54ce6036e646e24.js new file mode 100644 index 00000000000..0e89307b0f5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a54ce6036e646e24.js @@ -0,0 +1 @@ +a=b%c/c*d*1;a=b%c*2 diff --git a/ecmascript/codegen/tests/test262-min/a59e0d0b4d3e1b7d.js b/ecmascript/codegen/tests/test262-min/a59e0d0b4d3e1b7d.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a59e0d0b4d3e1b7d.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/a5a01023fef4d506.js b/ecmascript/codegen/tests/test262-min/a5a01023fef4d506.js new file mode 100644 index 00000000000..f746aab431f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a5a01023fef4d506.js @@ -0,0 +1 @@ +a['b'];a['in'];a['eval'];a['arguments'] diff --git a/ecmascript/codegen/tests/test262-min/a5a7eb83bf27418b.js b/ecmascript/codegen/tests/test262-min/a5a7eb83bf27418b.js new file mode 100644 index 00000000000..bb4be4bfa1b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a5a7eb83bf27418b.js @@ -0,0 +1 @@ +for(a in b)c(a) diff --git a/ecmascript/codegen/tests/test262-min/a5aaa3992025795a.js b/ecmascript/codegen/tests/test262-min/a5aaa3992025795a.js new file mode 100644 index 00000000000..5648e874fc9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a5aaa3992025795a.js @@ -0,0 +1 @@ +({yield=1}=2) diff --git a/ecmascript/codegen/tests/test262-min/a5b30a03e9c774af.js b/ecmascript/codegen/tests/test262-min/a5b30a03e9c774af.js new file mode 100644 index 00000000000..8ab011fd294 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a5b30a03e9c774af.js @@ -0,0 +1 @@ +try{(function(){a('b')}())}catch(c){(function(){a('b')}())}finally{(function(){a('b')}())} diff --git a/ecmascript/codegen/tests/test262-min/a62c6323a3696fa8.js b/ecmascript/codegen/tests/test262-min/a62c6323a3696fa8.js new file mode 100644 index 00000000000..95c3a1d83e1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a62c6323a3696fa8.js @@ -0,0 +1 @@ +('\ \n') diff --git a/ecmascript/codegen/tests/test262-min/a6806d6fedbf6759.js b/ecmascript/codegen/tests/test262-min/a6806d6fedbf6759.js new file mode 100644 index 00000000000..6a3884d0d2a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a6806d6fedbf6759.js @@ -0,0 +1 @@ +[1,2,,3,] diff --git a/ecmascript/codegen/tests/test262-min/a68bf27df978135d.module.js b/ecmascript/codegen/tests/test262-min/a68bf27df978135d.module.js new file mode 100644 index 00000000000..cecbbccbb17 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a68bf27df978135d.module.js @@ -0,0 +1 @@ +export default 1;2 diff --git a/ecmascript/codegen/tests/test262-min/a6b7dab7088e5269.js b/ecmascript/codegen/tests/test262-min/a6b7dab7088e5269.js new file mode 100644 index 00000000000..38cead997e7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a6b7dab7088e5269.js @@ -0,0 +1 @@ +var a=/[a-z]/i diff --git a/ecmascript/codegen/tests/test262-min/a6cb605b66ef0eb5.js b/ecmascript/codegen/tests/test262-min/a6cb605b66ef0eb5.js new file mode 100644 index 00000000000..5e4d846d6dd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a6cb605b66ef0eb5.js @@ -0,0 +1 @@ +(function(){(!!a,!b,1)}()) diff --git a/ecmascript/codegen/tests/test262-min/a7964b1dcfd2dc21.js b/ecmascript/codegen/tests/test262-min/a7964b1dcfd2dc21.js new file mode 100644 index 00000000000..90e26b1249f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a7964b1dcfd2dc21.js @@ -0,0 +1 @@ +()=>1,2 diff --git a/ecmascript/codegen/tests/test262-min/a7b8ce1d4c0f0bc2.js b/ecmascript/codegen/tests/test262-min/a7b8ce1d4c0f0bc2.js new file mode 100644 index 00000000000..12895beaaf3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a7b8ce1d4c0f0bc2.js @@ -0,0 +1 @@ +b:while(1){continue;a} diff --git a/ecmascript/codegen/tests/test262-min/a7c8ad2a73ed00d0.js b/ecmascript/codegen/tests/test262-min/a7c8ad2a73ed00d0.js new file mode 100644 index 00000000000..f658d59e986 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a7c8ad2a73ed00d0.js @@ -0,0 +1 @@ +for(let[a,b]of c); diff --git a/ecmascript/codegen/tests/test262-min/a830df7cf2e74c9f.js b/ecmascript/codegen/tests/test262-min/a830df7cf2e74c9f.js new file mode 100644 index 00000000000..38e45683824 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a830df7cf2e74c9f.js @@ -0,0 +1 @@ +({get a(){super[1]=2}}) diff --git a/ecmascript/codegen/tests/test262-min/a8535eac4c7c9c3a.js b/ecmascript/codegen/tests/test262-min/a8535eac4c7c9c3a.js new file mode 100644 index 00000000000..87da1641460 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a8535eac4c7c9c3a.js @@ -0,0 +1 @@ +class a{static(){}} diff --git a/ecmascript/codegen/tests/test262-min/a86a29773d1168d3.js b/ecmascript/codegen/tests/test262-min/a86a29773d1168d3.js new file mode 100644 index 00000000000..b862b2452e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a86a29773d1168d3.js @@ -0,0 +1 @@ +try{}catch([]){} diff --git a/ecmascript/codegen/tests/test262-min/a871e54c3956acd9.js b/ecmascript/codegen/tests/test262-min/a871e54c3956acd9.js new file mode 100644 index 00000000000..c4e023d31ed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a871e54c3956acd9.js @@ -0,0 +1 @@ +a:while(true){continue a} diff --git a/ecmascript/codegen/tests/test262-min/a885d88fb046dea5.js b/ecmascript/codegen/tests/test262-min/a885d88fb046dea5.js new file mode 100644 index 00000000000..aff1f61b483 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a885d88fb046dea5.js @@ -0,0 +1 @@ +(function(){for(var a in[]);}()) diff --git a/ecmascript/codegen/tests/test262-min/a8b6c3139974f6e1.js b/ecmascript/codegen/tests/test262-min/a8b6c3139974f6e1.js new file mode 100644 index 00000000000..ddd894d83e4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a8b6c3139974f6e1.js @@ -0,0 +1 @@ +({set"null"(a){a}}) diff --git a/ecmascript/codegen/tests/test262-min/a8b832d61af9cdc4.js b/ecmascript/codegen/tests/test262-min/a8b832d61af9cdc4.js new file mode 100644 index 00000000000..6ff481683dc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a8b832d61af9cdc4.js @@ -0,0 +1 @@ +/[a-z]/y diff --git a/ecmascript/codegen/tests/test262-min/a8fea31fe6aa588e.js b/ecmascript/codegen/tests/test262-min/a8fea31fe6aa588e.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a8fea31fe6aa588e.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/a91ad31c88855e59.js b/ecmascript/codegen/tests/test262-min/a91ad31c88855e59.js new file mode 100644 index 00000000000..93d958be8d2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a91ad31c88855e59.js @@ -0,0 +1 @@ +var implements,interface,package diff --git a/ecmascript/codegen/tests/test262-min/a93f6b22796d4868.js b/ecmascript/codegen/tests/test262-min/a93f6b22796d4868.js new file mode 100644 index 00000000000..f15a1f7bbf9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a93f6b22796d4868.js @@ -0,0 +1 @@ +function*a(){()=>yield} diff --git a/ecmascript/codegen/tests/test262-min/a953f09a1b6b6725.js b/ecmascript/codegen/tests/test262-min/a953f09a1b6b6725.js new file mode 100644 index 00000000000..0cfbf08886f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a953f09a1b6b6725.js @@ -0,0 +1 @@ +2 diff --git a/ecmascript/codegen/tests/test262-min/a955c7a892679016.js b/ecmascript/codegen/tests/test262-min/a955c7a892679016.js new file mode 100644 index 00000000000..af061c0f4dc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a955c7a892679016.js @@ -0,0 +1 @@ +for(var a in b)c(a) diff --git a/ecmascript/codegen/tests/test262-min/a9b0aedbd9f25ec9.js b/ecmascript/codegen/tests/test262-min/a9b0aedbd9f25ec9.js new file mode 100644 index 00000000000..22d6edb76bb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a9b0aedbd9f25ec9.js @@ -0,0 +1 @@ +var a=function(){b()} diff --git a/ecmascript/codegen/tests/test262-min/a9e054dbd43d4b86.js b/ecmascript/codegen/tests/test262-min/a9e054dbd43d4b86.js new file mode 100644 index 00000000000..3a46b1b7580 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a9e054dbd43d4b86.js @@ -0,0 +1 @@ +a*b/c diff --git a/ecmascript/codegen/tests/test262-min/a9e4ff39f145a1fd.js b/ecmascript/codegen/tests/test262-min/a9e4ff39f145a1fd.js new file mode 100644 index 00000000000..ce5e3a65f0f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a9e4ff39f145a1fd.js @@ -0,0 +1 @@ +({a({b}={b:1}){}}) diff --git a/ecmascript/codegen/tests/test262-min/a9f99e657441a735.js b/ecmascript/codegen/tests/test262-min/a9f99e657441a735.js new file mode 100644 index 00000000000..dceecfd25c3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/a9f99e657441a735.js @@ -0,0 +1 @@ +(class{static(){}}) diff --git a/ecmascript/codegen/tests/test262-min/aa06ccdc7ff9e10d.js b/ecmascript/codegen/tests/test262-min/aa06ccdc7ff9e10d.js new file mode 100644 index 00000000000..ef80c75ff34 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/aa06ccdc7ff9e10d.js @@ -0,0 +1 @@ +({a:[b]=1}=2) diff --git a/ecmascript/codegen/tests/test262-min/aa3b466be5c7f7e3.js b/ecmascript/codegen/tests/test262-min/aa3b466be5c7f7e3.js new file mode 100644 index 00000000000..31bec8ec03b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/aa3b466be5c7f7e3.js @@ -0,0 +1 @@ +for(;;){if(a)continue;continue} diff --git a/ecmascript/codegen/tests/test262-min/aa3d1fa7a22e6460.js b/ecmascript/codegen/tests/test262-min/aa3d1fa7a22e6460.js new file mode 100644 index 00000000000..6a8c4a66f9c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/aa3d1fa7a22e6460.js @@ -0,0 +1 @@ +while(true)var a diff --git a/ecmascript/codegen/tests/test262-min/aa7e721756949024.js b/ecmascript/codegen/tests/test262-min/aa7e721756949024.js new file mode 100644 index 00000000000..dbd12d0e697 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/aa7e721756949024.js @@ -0,0 +1 @@ +({set a(b){super.c[1]=2}}) diff --git a/ecmascript/codegen/tests/test262-min/aaa0bc7fa72df5e4.js b/ecmascript/codegen/tests/test262-min/aaa0bc7fa72df5e4.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/aaa0bc7fa72df5e4.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/aab08ba9fd01cbb8.js b/ecmascript/codegen/tests/test262-min/aab08ba9fd01cbb8.js new file mode 100644 index 00000000000..d21cc48e2a6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/aab08ba9fd01cbb8.js @@ -0,0 +1 @@ +a.b.c.d(1) diff --git a/ecmascript/codegen/tests/test262-min/aab51bc524d9c623.js b/ecmascript/codegen/tests/test262-min/aab51bc524d9c623.js new file mode 100644 index 00000000000..1f4b52a02ac --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/aab51bc524d9c623.js @@ -0,0 +1 @@ +(function(){a(null!=(b?c:void 1))}()) diff --git a/ecmascript/codegen/tests/test262-min/aac70baa56299267.js b/ecmascript/codegen/tests/test262-min/aac70baa56299267.js new file mode 100644 index 00000000000..1a5b1432e0b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/aac70baa56299267.js @@ -0,0 +1 @@ +function a(){return(void 1,void 2,a,void 3)} diff --git a/ecmascript/codegen/tests/test262-min/aaf1be6cd60a9ac9.js b/ecmascript/codegen/tests/test262-min/aaf1be6cd60a9ac9.js new file mode 100644 index 00000000000..4c46f607413 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/aaf1be6cd60a9ac9.js @@ -0,0 +1 @@ +({"a"(){}}) diff --git a/ecmascript/codegen/tests/test262-min/ab23ca0a6e356883.js b/ecmascript/codegen/tests/test262-min/ab23ca0a6e356883.js new file mode 100644 index 00000000000..14fb87f2ab7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ab23ca0a6e356883.js @@ -0,0 +1 @@ +do{a()}while(false)b() diff --git a/ecmascript/codegen/tests/test262-min/ab452fc45813857a.js b/ecmascript/codegen/tests/test262-min/ab452fc45813857a.js new file mode 100644 index 00000000000..5c2231c206d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ab452fc45813857a.js @@ -0,0 +1 @@ +if(a){try{b('try')}catch(c){}(function(){b('d')}())} diff --git a/ecmascript/codegen/tests/test262-min/ab4734949243c00a.js b/ecmascript/codegen/tests/test262-min/ab4734949243c00a.js new file mode 100644 index 00000000000..1cc633f655f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ab4734949243c00a.js @@ -0,0 +1 @@ +new a(b,...c=d) diff --git a/ecmascript/codegen/tests/test262-min/ab7ea8d738da7043.js b/ecmascript/codegen/tests/test262-min/ab7ea8d738da7043.js new file mode 100644 index 00000000000..ebbcb08ff34 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ab7ea8d738da7043.js @@ -0,0 +1 @@ +function a(){return} diff --git a/ecmascript/codegen/tests/test262-min/abcfae2381708c43.module.js b/ecmascript/codegen/tests/test262-min/abcfae2381708c43.module.js new file mode 100644 index 00000000000..1347e1b6430 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/abcfae2381708c43.module.js @@ -0,0 +1 @@ +export{default}from"foo" diff --git a/ecmascript/codegen/tests/test262-min/abd5e4aa1a9f99ba.js b/ecmascript/codegen/tests/test262-min/abd5e4aa1a9f99ba.js new file mode 100644 index 00000000000..a453253e6b8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/abd5e4aa1a9f99ba.js @@ -0,0 +1 @@ +let a,x󠇕 diff --git a/ecmascript/codegen/tests/test262-min/ac09566949f0db57.js b/ecmascript/codegen/tests/test262-min/ac09566949f0db57.js new file mode 100644 index 00000000000..b6c7f8c3a3a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ac09566949f0db57.js @@ -0,0 +1 @@ +{do{}while(false)false} diff --git a/ecmascript/codegen/tests/test262-min/ac112e0c69fe603e.js b/ecmascript/codegen/tests/test262-min/ac112e0c69fe603e.js new file mode 100644 index 00000000000..7c2283fc6b8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ac112e0c69fe603e.js @@ -0,0 +1 @@ +(a,b)=>"c" diff --git a/ecmascript/codegen/tests/test262-min/ac1bc6b81949c063.module.js b/ecmascript/codegen/tests/test262-min/ac1bc6b81949c063.module.js new file mode 100644 index 00000000000..da394efcc64 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ac1bc6b81949c063.module.js @@ -0,0 +1 @@ +let a diff --git a/ecmascript/codegen/tests/test262-min/ac6bbe8465f70ebd.module.js b/ecmascript/codegen/tests/test262-min/ac6bbe8465f70ebd.module.js new file mode 100644 index 00000000000..bcb11edb00c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ac6bbe8465f70ebd.module.js @@ -0,0 +1 @@ +export{} diff --git a/ecmascript/codegen/tests/test262-min/ac73bc36bbc48890.js b/ecmascript/codegen/tests/test262-min/ac73bc36bbc48890.js new file mode 100644 index 00000000000..e12cc65d33c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ac73bc36bbc48890.js @@ -0,0 +1 @@ +"use\x20strict";with(a)b=c diff --git a/ecmascript/codegen/tests/test262-min/ad0fd65944942eee.js b/ecmascript/codegen/tests/test262-min/ad0fd65944942eee.js new file mode 100644 index 00000000000..573541ac970 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ad0fd65944942eee.js @@ -0,0 +1 @@ +0 diff --git a/ecmascript/codegen/tests/test262-min/ad410fec8c09f67b.js b/ecmascript/codegen/tests/test262-min/ad410fec8c09f67b.js new file mode 100644 index 00000000000..1d0962716f3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ad410fec8c09f67b.js @@ -0,0 +1 @@ +for([a,b]of c); diff --git a/ecmascript/codegen/tests/test262-min/ad4414fcaaa6abb7.js b/ecmascript/codegen/tests/test262-min/ad4414fcaaa6abb7.js new file mode 100644 index 00000000000..5a1bee16274 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ad4414fcaaa6abb7.js @@ -0,0 +1 @@ +if(a)b diff --git a/ecmascript/codegen/tests/test262-min/ad6bf12aa7eda975.js b/ecmascript/codegen/tests/test262-min/ad6bf12aa7eda975.js new file mode 100644 index 00000000000..bcf5f43000d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ad6bf12aa7eda975.js @@ -0,0 +1 @@ +(function([a]){}) diff --git a/ecmascript/codegen/tests/test262-min/ad6bfcbfca5afde1.js b/ecmascript/codegen/tests/test262-min/ad6bfcbfca5afde1.js new file mode 100644 index 00000000000..948a5472708 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ad6bfcbfca5afde1.js @@ -0,0 +1 @@ +0.14 diff --git a/ecmascript/codegen/tests/test262-min/ad7d61a732903cd8.js b/ecmascript/codegen/tests/test262-min/ad7d61a732903cd8.js new file mode 100644 index 00000000000..eab82e4842d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ad7d61a732903cd8.js @@ -0,0 +1 @@ +({a([b,c]){}}) diff --git a/ecmascript/codegen/tests/test262-min/adad54e09949b0e9.js b/ecmascript/codegen/tests/test262-min/adad54e09949b0e9.js new file mode 100644 index 00000000000..4e9b0d781ec --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/adad54e09949b0e9.js @@ -0,0 +1 @@ +a&&b diff --git a/ecmascript/codegen/tests/test262-min/ade301f0d871c610.js b/ecmascript/codegen/tests/test262-min/ade301f0d871c610.js new file mode 100644 index 00000000000..fe48f79dcce --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ade301f0d871c610.js @@ -0,0 +1 @@ +"Hello\122World" diff --git a/ecmascript/codegen/tests/test262-min/ae204e41bacd8237.js b/ecmascript/codegen/tests/test262-min/ae204e41bacd8237.js new file mode 100644 index 00000000000..a5b7e2d3a2e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ae204e41bacd8237.js @@ -0,0 +1 @@ +class a extends b{c(){super.yield}} diff --git a/ecmascript/codegen/tests/test262-min/ae4bbee73a0f80a5.js b/ecmascript/codegen/tests/test262-min/ae4bbee73a0f80a5.js new file mode 100644 index 00000000000..e8b1a170fd0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ae4bbee73a0f80a5.js @@ -0,0 +1 @@ +[1,] diff --git a/ecmascript/codegen/tests/test262-min/ae700e3f8ff82c6c.js b/ecmascript/codegen/tests/test262-min/ae700e3f8ff82c6c.js new file mode 100644 index 00000000000..f0374e28d4e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ae700e3f8ff82c6c.js @@ -0,0 +1 @@ +a()+(b(),c(),d(),e()) diff --git a/ecmascript/codegen/tests/test262-min/ae89d08bdd65b56b.js b/ecmascript/codegen/tests/test262-min/ae89d08bdd65b56b.js new file mode 100644 index 00000000000..b82885e863a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ae89d08bdd65b56b.js @@ -0,0 +1 @@ +class a{b(){}c(){}} diff --git a/ecmascript/codegen/tests/test262-min/ae9667ad0d837abc.js b/ecmascript/codegen/tests/test262-min/ae9667ad0d837abc.js new file mode 100644 index 00000000000..19da56b9a51 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ae9667ad0d837abc.js @@ -0,0 +1 @@ +(1,2,a)();(3,4,b.a)() diff --git a/ecmascript/codegen/tests/test262-min/ae97d36bd01b43b2.js b/ecmascript/codegen/tests/test262-min/ae97d36bd01b43b2.js new file mode 100644 index 00000000000..586d22bc081 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ae97d36bd01b43b2.js @@ -0,0 +1 @@ +let[...a]=1 diff --git a/ecmascript/codegen/tests/test262-min/ae9a8ca09473df05.js b/ecmascript/codegen/tests/test262-min/ae9a8ca09473df05.js new file mode 100644 index 00000000000..68a84948afd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ae9a8ca09473df05.js @@ -0,0 +1 @@ +(function(){void((a)?1:2)}()) diff --git a/ecmascript/codegen/tests/test262-min/aec65a9745669870.js b/ecmascript/codegen/tests/test262-min/aec65a9745669870.js new file mode 100644 index 00000000000..e7e90c3277a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/aec65a9745669870.js @@ -0,0 +1 @@ +(function(){var a,b,c,d,e,f;(a,b,c())+(d,e,f())}()) diff --git a/ecmascript/codegen/tests/test262-min/aeca992c7be882ba.js b/ecmascript/codegen/tests/test262-min/aeca992c7be882ba.js new file mode 100644 index 00000000000..dfb744c9b27 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/aeca992c7be882ba.js @@ -0,0 +1 @@ +(function(){a,1,2}()) diff --git a/ecmascript/codegen/tests/test262-min/af17707f71e402a7.module.js b/ecmascript/codegen/tests/test262-min/af17707f71e402a7.module.js new file mode 100644 index 00000000000..48465d3acb6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/af17707f71e402a7.module.js @@ -0,0 +1 @@ +import{a,b}from"foo" diff --git a/ecmascript/codegen/tests/test262-min/af1d905ed056724f.js b/ecmascript/codegen/tests/test262-min/af1d905ed056724f.js new file mode 100644 index 00000000000..f07d205b95f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/af1d905ed056724f.js @@ -0,0 +1 @@ +var a=function arguments(){} diff --git a/ecmascript/codegen/tests/test262-min/af4bbcea9802b120.js b/ecmascript/codegen/tests/test262-min/af4bbcea9802b120.js new file mode 100644 index 00000000000..1d6be2c60ae --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/af4bbcea9802b120.js @@ -0,0 +1 @@ +(class{a(){}}) diff --git a/ecmascript/codegen/tests/test262-min/af5766d06630bbc5.js b/ecmascript/codegen/tests/test262-min/af5766d06630bbc5.js new file mode 100644 index 00000000000..24e913d8a2e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/af5766d06630bbc5.js @@ -0,0 +1 @@ +[[a]]=1 diff --git a/ecmascript/codegen/tests/test262-min/af97a3752e579223.js b/ecmascript/codegen/tests/test262-min/af97a3752e579223.js new file mode 100644 index 00000000000..62807a152cf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/af97a3752e579223.js @@ -0,0 +1 @@ +(function(){yield*1}) diff --git a/ecmascript/codegen/tests/test262-min/afa63b136c835723.js b/ecmascript/codegen/tests/test262-min/afa63b136c835723.js new file mode 100644 index 00000000000..a0d745142ea --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/afa63b136c835723.js @@ -0,0 +1 @@ +({a:1,get'b'(){},set 3(c){}}) diff --git a/ecmascript/codegen/tests/test262-min/afcf8bace3839da2.js b/ecmascript/codegen/tests/test262-min/afcf8bace3839da2.js new file mode 100644 index 00000000000..2ed0e576e5e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/afcf8bace3839da2.js @@ -0,0 +1 @@ +for(;;){with(a){continue}b()} diff --git a/ecmascript/codegen/tests/test262-min/affd557fd820e1f2.js b/ecmascript/codegen/tests/test262-min/affd557fd820e1f2.js new file mode 100644 index 00000000000..ebd924d881b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/affd557fd820e1f2.js @@ -0,0 +1 @@ +({get[a](){},set[a](b){}}) diff --git a/ecmascript/codegen/tests/test262-min/afffb6d317e53b92.js b/ecmascript/codegen/tests/test262-min/afffb6d317e53b92.js new file mode 100644 index 00000000000..660f478a020 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/afffb6d317e53b92.js @@ -0,0 +1 @@ +('\
') diff --git a/ecmascript/codegen/tests/test262-min/b030378ad6e36751.js b/ecmascript/codegen/tests/test262-min/b030378ad6e36751.js new file mode 100644 index 00000000000..fa06f8a511d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b030378ad6e36751.js @@ -0,0 +1 @@ +class a{static[b](){}} diff --git a/ecmascript/codegen/tests/test262-min/b0423be1317c7b69.js b/ecmascript/codegen/tests/test262-min/b0423be1317c7b69.js new file mode 100644 index 00000000000..b104f480e58 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b0423be1317c7b69.js @@ -0,0 +1 @@ +(1)+(2)+3 diff --git a/ecmascript/codegen/tests/test262-min/b05d4355cc5e2802.js b/ecmascript/codegen/tests/test262-min/b05d4355cc5e2802.js new file mode 100644 index 00000000000..75c103f11f3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b05d4355cc5e2802.js @@ -0,0 +1 @@ +a=>b=>c=>1 diff --git a/ecmascript/codegen/tests/test262-min/b0659cf9cb6793a2.js b/ecmascript/codegen/tests/test262-min/b0659cf9cb6793a2.js new file mode 100644 index 00000000000..8327ea02142 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b0659cf9cb6793a2.js @@ -0,0 +1 @@ +class a extends b{constructor(c=super()){}} diff --git a/ecmascript/codegen/tests/test262-min/b06e2c3814e46579.js b/ecmascript/codegen/tests/test262-min/b06e2c3814e46579.js new file mode 100644 index 00000000000..2a516b54e99 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b06e2c3814e46579.js @@ -0,0 +1 @@ +function*a(){yield class{}} diff --git a/ecmascript/codegen/tests/test262-min/b07c5fdc1003316b.js b/ecmascript/codegen/tests/test262-min/b07c5fdc1003316b.js new file mode 100644 index 00000000000..e5e585051aa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b07c5fdc1003316b.js @@ -0,0 +1 @@ +switch(a){case'b':c();break;default:break} diff --git a/ecmascript/codegen/tests/test262-min/b0a834e1180ccd73.js b/ecmascript/codegen/tests/test262-min/b0a834e1180ccd73.js new file mode 100644 index 00000000000..fa457baf8ab --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b0a834e1180ccd73.js @@ -0,0 +1 @@ +1/2 diff --git a/ecmascript/codegen/tests/test262-min/b0c6752e1db068ed.js b/ecmascript/codegen/tests/test262-min/b0c6752e1db068ed.js new file mode 100644 index 00000000000..fe45abda190 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b0c6752e1db068ed.js @@ -0,0 +1 @@ +(a=yield)=>{} diff --git a/ecmascript/codegen/tests/references/b0d44fd20353fd82.js b/ecmascript/codegen/tests/test262-min/b0d44fd20353fd82.js similarity index 100% rename from ecmascript/codegen/tests/references/b0d44fd20353fd82.js rename to ecmascript/codegen/tests/test262-min/b0d44fd20353fd82.js diff --git a/ecmascript/codegen/tests/test262-min/b1072e92becf06a9.js b/ecmascript/codegen/tests/test262-min/b1072e92becf06a9.js new file mode 100644 index 00000000000..32fc9a6b1df --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b1072e92becf06a9.js @@ -0,0 +1 @@ +(function(){a(typeof b==='function')}()) diff --git a/ecmascript/codegen/tests/test262-min/b13e700d2613a5a7.js b/ecmascript/codegen/tests/test262-min/b13e700d2613a5a7.js new file mode 100644 index 00000000000..d28e141232d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b13e700d2613a5a7.js @@ -0,0 +1 @@ +while(a){b();c();break} diff --git a/ecmascript/codegen/tests/test262-min/b175bdef718c4012.js b/ecmascript/codegen/tests/test262-min/b175bdef718c4012.js new file mode 100644 index 00000000000..a738ce69e56 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b175bdef718c4012.js @@ -0,0 +1 @@ +if(a){b()} diff --git a/ecmascript/codegen/tests/test262-min/b195e06e2ba5e787.js b/ecmascript/codegen/tests/test262-min/b195e06e2ba5e787.js new file mode 100644 index 00000000000..3790399abe9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b195e06e2ba5e787.js @@ -0,0 +1 @@ +a.in/b diff --git a/ecmascript/codegen/tests/test262-min/b1b969fae2973dae.js b/ecmascript/codegen/tests/test262-min/b1b969fae2973dae.js new file mode 100644 index 00000000000..fc728781127 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b1b969fae2973dae.js @@ -0,0 +1 @@ +while(a){{b();while(a);}b()} diff --git a/ecmascript/codegen/tests/test262-min/b1c37dedeec0b867.js b/ecmascript/codegen/tests/test262-min/b1c37dedeec0b867.js new file mode 100644 index 00000000000..03c573cbcaf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b1c37dedeec0b867.js @@ -0,0 +1 @@ +function a(...b){} diff --git a/ecmascript/codegen/tests/test262-min/b2048a6a14348122.js b/ecmascript/codegen/tests/test262-min/b2048a6a14348122.js new file mode 100644 index 00000000000..e6b29b7842b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b2048a6a14348122.js @@ -0,0 +1 @@ +for(a;b;c); diff --git a/ecmascript/codegen/tests/test262-min/b205355de22689d1.js b/ecmascript/codegen/tests/test262-min/b205355de22689d1.js new file mode 100644 index 00000000000..2623bf29e0a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b205355de22689d1.js @@ -0,0 +1 @@ +function*a(){({set b(c){yield}})} diff --git a/ecmascript/codegen/tests/test262-min/b2495b0864c7835a.js b/ecmascript/codegen/tests/test262-min/b2495b0864c7835a.js new file mode 100644 index 00000000000..dd943e34147 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b2495b0864c7835a.js @@ -0,0 +1 @@ +a:{break a} diff --git a/ecmascript/codegen/tests/test262-min/b24fa2a1936d38d9.js b/ecmascript/codegen/tests/test262-min/b24fa2a1936d38d9.js new file mode 100644 index 00000000000..8e480e1558c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b24fa2a1936d38d9.js @@ -0,0 +1 @@ +({3(){}}) diff --git a/ecmascript/codegen/tests/test262-min/b25057b11104844d.js b/ecmascript/codegen/tests/test262-min/b25057b11104844d.js new file mode 100644 index 00000000000..76369828fc0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b25057b11104844d.js @@ -0,0 +1 @@ +var a=({a:1});a(({a:2})) diff --git a/ecmascript/codegen/tests/test262-min/b29070859dbeaf08.js b/ecmascript/codegen/tests/test262-min/b29070859dbeaf08.js new file mode 100644 index 00000000000..5a75975ab09 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b29070859dbeaf08.js @@ -0,0 +1 @@ +[a,b=1,[c,...a[2]]={}]=3 diff --git a/ecmascript/codegen/tests/references/b2a13c2c2c795427.js b/ecmascript/codegen/tests/test262-min/b2a13c2c2c795427.js similarity index 100% rename from ecmascript/codegen/tests/references/b2a13c2c2c795427.js rename to ecmascript/codegen/tests/test262-min/b2a13c2c2c795427.js diff --git a/ecmascript/codegen/tests/test262-min/b2a567473d09b770.js b/ecmascript/codegen/tests/test262-min/b2a567473d09b770.js new file mode 100644 index 00000000000..8e9d68d3e8f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b2a567473d09b770.js @@ -0,0 +1 @@ +function a(){debugger;return} diff --git a/ecmascript/codegen/tests/test262-min/b2e6c124e2822117.js b/ecmascript/codegen/tests/test262-min/b2e6c124e2822117.js new file mode 100644 index 00000000000..ba897438417 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b2e6c124e2822117.js @@ -0,0 +1 @@ +({"__proto__":null,get __proto__(){},set __proto__(a){}}) diff --git a/ecmascript/codegen/tests/test262-min/b3093945d65d33d5.js b/ecmascript/codegen/tests/test262-min/b3093945d65d33d5.js new file mode 100644 index 00000000000..9fccdc058f2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b3093945d65d33d5.js @@ -0,0 +1 @@ +for(var a=1;;); diff --git a/ecmascript/codegen/tests/test262-min/b32aa0e4195927c1.js b/ecmascript/codegen/tests/test262-min/b32aa0e4195927c1.js new file mode 100644 index 00000000000..5326cadfe9f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b32aa0e4195927c1.js @@ -0,0 +1 @@ +(1)/2 diff --git a/ecmascript/codegen/tests/test262-min/b363a70923be42c8.js b/ecmascript/codegen/tests/test262-min/b363a70923be42c8.js new file mode 100644 index 00000000000..2454953cbe2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b363a70923be42c8.js @@ -0,0 +1 @@ +for(;;){} diff --git a/ecmascript/codegen/tests/test262-min/b3717dd9314332d2.js b/ecmascript/codegen/tests/test262-min/b3717dd9314332d2.js new file mode 100644 index 00000000000..c35f85ed077 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b3717dd9314332d2.js @@ -0,0 +1 @@ +/(?!.){0,}?/ diff --git a/ecmascript/codegen/tests/test262-min/b376d3924d77aa8a.js b/ecmascript/codegen/tests/test262-min/b376d3924d77aa8a.js new file mode 100644 index 00000000000..7fd949afeed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b376d3924d77aa8a.js @@ -0,0 +1 @@ ++{"\\":1} diff --git a/ecmascript/codegen/tests/test262-min/b3e783194b210cc3.js b/ecmascript/codegen/tests/test262-min/b3e783194b210cc3.js new file mode 100644 index 00000000000..359765b40f0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b3e783194b210cc3.js @@ -0,0 +1 @@ +var a;a=true||b;a=1||c.d("a");a=2*3||4*b;a=5==6||b+7;a="e"||8-b;a=9+""||b/10;a=-4.5||11<{} diff --git a/ecmascript/codegen/tests/test262-min/b5bc1ffd90912fb1.js b/ecmascript/codegen/tests/test262-min/b5bc1ffd90912fb1.js new file mode 100644 index 00000000000..73cdb8bcc87 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b5bc1ffd90912fb1.js @@ -0,0 +1 @@ +a=1 diff --git a/ecmascript/codegen/tests/test262-min/b5cf21a87ec272d1.js b/ecmascript/codegen/tests/test262-min/b5cf21a87ec272d1.js new file mode 100644 index 00000000000..e712e2b761a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b5cf21a87ec272d1.js @@ -0,0 +1 @@ +('\01') diff --git a/ecmascript/codegen/tests/test262-min/b5d302467c6f2f16.js b/ecmascript/codegen/tests/test262-min/b5d302467c6f2f16.js new file mode 100644 index 00000000000..a53307d7c63 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b5d302467c6f2f16.js @@ -0,0 +1 @@ +(class{a(b){'use strict'}}) diff --git a/ecmascript/codegen/tests/test262-min/b6145fa4a8cb8c35.js b/ecmascript/codegen/tests/test262-min/b6145fa4a8cb8c35.js new file mode 100644 index 00000000000..24bff8b5005 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b6145fa4a8cb8c35.js @@ -0,0 +1 @@ +a=>b=>1 diff --git a/ecmascript/codegen/tests/test262-min/b644c9f68254c85d.js b/ecmascript/codegen/tests/test262-min/b644c9f68254c85d.js new file mode 100644 index 00000000000..78981922613 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b644c9f68254c85d.js @@ -0,0 +1 @@ +a diff --git a/ecmascript/codegen/tests/test262-min/b6b5e49c97cedebb.js b/ecmascript/codegen/tests/test262-min/b6b5e49c97cedebb.js new file mode 100644 index 00000000000..e3ddf367128 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b6b5e49c97cedebb.js @@ -0,0 +1 @@ +{'use strict'} diff --git a/ecmascript/codegen/tests/test262-min/b6e396c8cdf28f95.js b/ecmascript/codegen/tests/test262-min/b6e396c8cdf28f95.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b6e396c8cdf28f95.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/b6efc88be898bda8.js b/ecmascript/codegen/tests/test262-min/b6efc88be898bda8.js new file mode 100644 index 00000000000..d3db3417e75 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b6efc88be898bda8.js @@ -0,0 +1 @@ +(function a(){var b=1}()) diff --git a/ecmascript/codegen/tests/test262-min/b756b64f0eef72db.js b/ecmascript/codegen/tests/test262-min/b756b64f0eef72db.js new file mode 100644 index 00000000000..c7205ffeb2f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b756b64f0eef72db.js @@ -0,0 +1 @@ +function a(){if(!b||c());} diff --git a/ecmascript/codegen/tests/test262-min/b75a0b610a41c000.js b/ecmascript/codegen/tests/test262-min/b75a0b610a41c000.js new file mode 100644 index 00000000000..dc10daace81 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b75a0b610a41c000.js @@ -0,0 +1 @@ +(function(){if(a)return 1;else return 2}()) diff --git a/ecmascript/codegen/tests/test262-min/b77549e54bfef0f9.js b/ecmascript/codegen/tests/test262-min/b77549e54bfef0f9.js new file mode 100644 index 00000000000..bb97842d8a7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b77549e54bfef0f9.js @@ -0,0 +1 @@ +var{a:b}={} diff --git a/ecmascript/codegen/tests/test262-min/b79d2c4df1141981.js b/ecmascript/codegen/tests/test262-min/b79d2c4df1141981.js new file mode 100644 index 00000000000..28d0bc609f6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b79d2c4df1141981.js @@ -0,0 +1 @@ +function a([b]){c();var d;var b} diff --git a/ecmascript/codegen/tests/test262-min/b7a5cd294201221b.js b/ecmascript/codegen/tests/test262-min/b7a5cd294201221b.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b7a5cd294201221b.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/b7a6a807ae6db312.js b/ecmascript/codegen/tests/test262-min/b7a6a807ae6db312.js new file mode 100644 index 00000000000..b3e0288c59a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b7a6a807ae6db312.js @@ -0,0 +1 @@ +({set a(b){},a:1}) diff --git a/ecmascript/codegen/tests/references/b7c2a3690011dd5e.js b/ecmascript/codegen/tests/test262-min/b7c2a3690011dd5e.js similarity index 100% rename from ecmascript/codegen/tests/references/b7c2a3690011dd5e.js rename to ecmascript/codegen/tests/test262-min/b7c2a3690011dd5e.js diff --git a/ecmascript/codegen/tests/test262-min/b7cd8df8dc875529.js b/ecmascript/codegen/tests/test262-min/b7cd8df8dc875529.js new file mode 100644 index 00000000000..8da63624ccf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b7cd8df8dc875529.js @@ -0,0 +1 @@ +while(!((a&&b)||(c+"0"))){d.e("f");var a;function b(){}}for(var c=1,g;c&&(g||c)&&(!typeof c);++c){h();a();var i} diff --git a/ecmascript/codegen/tests/test262-min/b7d99c0034be0ce1.js b/ecmascript/codegen/tests/test262-min/b7d99c0034be0ce1.js new file mode 100644 index 00000000000..f77e69eb908 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b7d99c0034be0ce1.js @@ -0,0 +1 @@ +function a(b,b){} diff --git a/ecmascript/codegen/tests/test262-min/b8403938b1ddd626.js b/ecmascript/codegen/tests/test262-min/b8403938b1ddd626.js new file mode 100644 index 00000000000..4314065cdb9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b8403938b1ddd626.js @@ -0,0 +1 @@ +a.b,a.Infinity,a.true,a.false diff --git a/ecmascript/codegen/tests/test262-min/b86b0122e80c330e.js b/ecmascript/codegen/tests/test262-min/b86b0122e80c330e.js new file mode 100644 index 00000000000..01aac8c4c9f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b86b0122e80c330e.js @@ -0,0 +1 @@ +function*a(){({*[yield](){}})} diff --git a/ecmascript/codegen/tests/test262-min/b8705496c9c1ff60.js b/ecmascript/codegen/tests/test262-min/b8705496c9c1ff60.js new file mode 100644 index 00000000000..5e0e54564a8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b8705496c9c1ff60.js @@ -0,0 +1 @@ +(function(){var a={};with(a){(1,b)()}}()) diff --git a/ecmascript/codegen/tests/test262-min/b885e6a35c04d915.js b/ecmascript/codegen/tests/test262-min/b885e6a35c04d915.js new file mode 100644 index 00000000000..87efb97f643 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b885e6a35c04d915.js @@ -0,0 +1 @@ +for(let a;;);let a diff --git a/ecmascript/codegen/tests/test262-min/b88624492a2c81d3.js b/ecmascript/codegen/tests/test262-min/b88624492a2c81d3.js new file mode 100644 index 00000000000..947b15af753 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b88624492a2c81d3.js @@ -0,0 +1 @@ +(a,b,...c)=>1 diff --git a/ecmascript/codegen/tests/test262-min/b89aef8a4690aa20.js b/ecmascript/codegen/tests/test262-min/b89aef8a4690aa20.js new file mode 100644 index 00000000000..a87a34edbdc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b89aef8a4690aa20.js @@ -0,0 +1 @@ +while(true){continue;a} diff --git a/ecmascript/codegen/tests/test262-min/b8ad1bd2ff50021f.js b/ecmascript/codegen/tests/test262-min/b8ad1bd2ff50021f.js new file mode 100644 index 00000000000..573541ac970 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b8ad1bd2ff50021f.js @@ -0,0 +1 @@ +0 diff --git a/ecmascript/codegen/tests/test262-min/b8bf39a3e60568ab.js b/ecmascript/codegen/tests/test262-min/b8bf39a3e60568ab.js new file mode 100644 index 00000000000..d20f5d63bc3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b8bf39a3e60568ab.js @@ -0,0 +1 @@ +(eval,a)=>1 diff --git a/ecmascript/codegen/tests/test262-min/b8c98b5cd38f2bd9.js b/ecmascript/codegen/tests/test262-min/b8c98b5cd38f2bd9.js new file mode 100644 index 00000000000..0de51d8d59f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b8c98b5cd38f2bd9.js @@ -0,0 +1 @@ +({a:let}=1) diff --git a/ecmascript/codegen/tests/test262-min/b8f8dfc41df97add.js b/ecmascript/codegen/tests/test262-min/b8f8dfc41df97add.js new file mode 100644 index 00000000000..a2279358c37 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b8f8dfc41df97add.js @@ -0,0 +1 @@ +(function(){return true})()?a.b(true):a.b(false);(function(){a.b("c")})() diff --git a/ecmascript/codegen/tests/test262-min/b926f0fefd69158a.js b/ecmascript/codegen/tests/test262-min/b926f0fefd69158a.js new file mode 100644 index 00000000000..369740d62ed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b926f0fefd69158a.js @@ -0,0 +1 @@ +switch(a){case 1:b();break;default:break} diff --git a/ecmascript/codegen/tests/test262-min/b92bdcf6c2591e5c.js b/ecmascript/codegen/tests/test262-min/b92bdcf6c2591e5c.js new file mode 100644 index 00000000000..afa096e8791 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b92bdcf6c2591e5c.js @@ -0,0 +1 @@ +(class extends(a,b){}) diff --git a/ecmascript/codegen/tests/test262-min/b92dd0bc25eaebe3.js b/ecmascript/codegen/tests/test262-min/b92dd0bc25eaebe3.js new file mode 100644 index 00000000000..000936a695c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b92dd0bc25eaebe3.js @@ -0,0 +1 @@ +d:for(var a in b)for(var c in b)continue d diff --git a/ecmascript/codegen/tests/test262-min/b93d116fd0409637.js b/ecmascript/codegen/tests/test262-min/b93d116fd0409637.js new file mode 100644 index 00000000000..5289cd2b767 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b93d116fd0409637.js @@ -0,0 +1 @@ +({get false(){}}) diff --git a/ecmascript/codegen/tests/test262-min/b96ba7cdf0b42ca9.js b/ecmascript/codegen/tests/test262-min/b96ba7cdf0b42ca9.js new file mode 100644 index 00000000000..3965e13eaf7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b96ba7cdf0b42ca9.js @@ -0,0 +1 @@ +(function(a){}(b())) diff --git a/ecmascript/codegen/tests/test262-min/b9a0cb6df76a73d2.js b/ecmascript/codegen/tests/test262-min/b9a0cb6df76a73d2.js new file mode 100644 index 00000000000..fe7a2c008a9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b9a0cb6df76a73d2.js @@ -0,0 +1 @@ +a={set 10(b){c=b}} diff --git a/ecmascript/codegen/tests/test262-min/b9a4f9232146d4d9.js b/ecmascript/codegen/tests/test262-min/b9a4f9232146d4d9.js new file mode 100644 index 00000000000..573541ac970 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b9a4f9232146d4d9.js @@ -0,0 +1 @@ +0 diff --git a/ecmascript/codegen/tests/test262-min/b9a5f5c8c12525c7.js b/ecmascript/codegen/tests/test262-min/b9a5f5c8c12525c7.js new file mode 100644 index 00000000000..ec648d15bee --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b9a5f5c8c12525c7.js @@ -0,0 +1 @@ +/0/g.a diff --git a/ecmascript/codegen/tests/test262-min/b9b8fb218e1990af.js b/ecmascript/codegen/tests/test262-min/b9b8fb218e1990af.js new file mode 100644 index 00000000000..f4f21798130 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b9b8fb218e1990af.js @@ -0,0 +1 @@ +a&&(b=c)&&(d=e) diff --git a/ecmascript/codegen/tests/test262-min/b9e1124424a35ad1.js b/ecmascript/codegen/tests/test262-min/b9e1124424a35ad1.js new file mode 100644 index 00000000000..1ea10d4734c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/b9e1124424a35ad1.js @@ -0,0 +1 @@ +function a(){if(false){var b=1}c(b)} diff --git a/ecmascript/codegen/tests/test262-min/ba21e63736d8fd46.js b/ecmascript/codegen/tests/test262-min/ba21e63736d8fd46.js new file mode 100644 index 00000000000..b9f1440e105 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ba21e63736d8fd46.js @@ -0,0 +1 @@ +a:function a(){} diff --git a/ecmascript/codegen/tests/test262-min/ba4cc699857f41f2.js b/ecmascript/codegen/tests/test262-min/ba4cc699857f41f2.js new file mode 100644 index 00000000000..7561b809535 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ba4cc699857f41f2.js @@ -0,0 +1 @@ +function a(){function*a(){}function a(){}} diff --git a/ecmascript/codegen/tests/test262-min/ba620e120a809888.js b/ecmascript/codegen/tests/test262-min/ba620e120a809888.js new file mode 100644 index 00000000000..0f8bd897c9a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ba620e120a809888.js @@ -0,0 +1 @@ +function a(){new new.target()()} diff --git a/ecmascript/codegen/tests/test262-min/ba6624f5f448dfe4.js b/ecmascript/codegen/tests/test262-min/ba6624f5f448dfe4.js new file mode 100644 index 00000000000..4bbdc59c59d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ba6624f5f448dfe4.js @@ -0,0 +1 @@ +for(a;a<1;a++); diff --git a/ecmascript/codegen/tests/test262-min/ba6dd18da17dbc10.js b/ecmascript/codegen/tests/test262-min/ba6dd18da17dbc10.js new file mode 100644 index 00000000000..187ad9d89fa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ba6dd18da17dbc10.js @@ -0,0 +1 @@ +for(;;){if(a){if(b){continue}}} diff --git a/ecmascript/codegen/tests/test262-min/ba9a047839eb4682.js b/ecmascript/codegen/tests/test262-min/ba9a047839eb4682.js new file mode 100644 index 00000000000..309e67010c0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ba9a047839eb4682.js @@ -0,0 +1 @@ +a={b(){}} diff --git a/ecmascript/codegen/tests/test262-min/bad55fbc19618df8.js b/ecmascript/codegen/tests/test262-min/bad55fbc19618df8.js new file mode 100644 index 00000000000..d3f96edbda2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bad55fbc19618df8.js @@ -0,0 +1 @@ +a=typeof b.c!="d" diff --git a/ecmascript/codegen/tests/test262-min/bb402b98f5398890.js b/ecmascript/codegen/tests/test262-min/bb402b98f5398890.js new file mode 100644 index 00000000000..e6ba53c856b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bb402b98f5398890.js @@ -0,0 +1 @@ +a||b^c diff --git a/ecmascript/codegen/tests/test262-min/bb41f0778f00f131.js b/ecmascript/codegen/tests/test262-min/bb41f0778f00f131.js new file mode 100644 index 00000000000..480a0b47696 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bb41f0778f00f131.js @@ -0,0 +1 @@ +let eval=1,arguments=2 diff --git a/ecmascript/codegen/tests/test262-min/bb447d4ed988a1cb.js b/ecmascript/codegen/tests/test262-min/bb447d4ed988a1cb.js new file mode 100644 index 00000000000..11df7f71378 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bb447d4ed988a1cb.js @@ -0,0 +1 @@ ++{} diff --git a/ecmascript/codegen/tests/test262-min/bb7db120ad2fe995.js b/ecmascript/codegen/tests/test262-min/bb7db120ad2fe995.js new file mode 100644 index 00000000000..e8dac4516fe --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bb7db120ad2fe995.js @@ -0,0 +1 @@ +({a:function({b}={b:1}){}}) diff --git a/ecmascript/codegen/tests/test262-min/bb87b410a1170cf0.js b/ecmascript/codegen/tests/test262-min/bb87b410a1170cf0.js new file mode 100644 index 00000000000..9d93f7701b9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bb87b410a1170cf0.js @@ -0,0 +1 @@ +for(let a of b); diff --git a/ecmascript/codegen/tests/test262-min/bb8b546cf9db5996.js b/ecmascript/codegen/tests/test262-min/bb8b546cf9db5996.js new file mode 100644 index 00000000000..375a883e0e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bb8b546cf9db5996.js @@ -0,0 +1 @@ +({get a(){return a},set a(a){return a}}) diff --git a/ecmascript/codegen/tests/test262-min/bbff5671643cc2ea.js b/ecmascript/codegen/tests/test262-min/bbff5671643cc2ea.js new file mode 100644 index 00000000000..a6ad65c178c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bbff5671643cc2ea.js @@ -0,0 +1 @@ +(class{set a(b){}}) diff --git a/ecmascript/codegen/tests/test262-min/bbffb851469a3f0e.js b/ecmascript/codegen/tests/test262-min/bbffb851469a3f0e.js new file mode 100644 index 00000000000..67905f3b6f5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bbffb851469a3f0e.js @@ -0,0 +1 @@ +try{}catch(a){let b} diff --git a/ecmascript/codegen/tests/test262-min/bc10e230c13b6c02.js b/ecmascript/codegen/tests/test262-min/bc10e230c13b6c02.js new file mode 100644 index 00000000000..56cd9079e12 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bc10e230c13b6c02.js @@ -0,0 +1 @@ +function a(){new new.target} diff --git a/ecmascript/codegen/tests/test262-min/bc302492d441d561.js b/ecmascript/codegen/tests/test262-min/bc302492d441d561.js new file mode 100644 index 00000000000..d9f506fac54 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bc302492d441d561.js @@ -0,0 +1 @@ +(function(){var a=1}).b(this) diff --git a/ecmascript/codegen/tests/test262-min/bc89b2b2f1e19f9e.js b/ecmascript/codegen/tests/test262-min/bc89b2b2f1e19f9e.js new file mode 100644 index 00000000000..19be09586a6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bc89b2b2f1e19f9e.js @@ -0,0 +1 @@ +{}/foo/ diff --git a/ecmascript/codegen/tests/test262-min/bcd690cfb709ffe8.js b/ecmascript/codegen/tests/test262-min/bcd690cfb709ffe8.js new file mode 100644 index 00000000000..fe27b562db7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bcd690cfb709ffe8.js @@ -0,0 +1 @@ +for({a=1}in b); diff --git a/ecmascript/codegen/tests/test262-min/bd160eed5626ae7d.js b/ecmascript/codegen/tests/test262-min/bd160eed5626ae7d.js new file mode 100644 index 00000000000..56d81b8c7bb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bd160eed5626ae7d.js @@ -0,0 +1 @@ +d:while(a){b();c();continue d;e();f()} diff --git a/ecmascript/codegen/tests/test262-min/bd28a7d19ac0d50b.js b/ecmascript/codegen/tests/test262-min/bd28a7d19ac0d50b.js new file mode 100644 index 00000000000..c843be87941 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bd28a7d19ac0d50b.js @@ -0,0 +1 @@ +"use strict";var a={b:1,get b(){}} diff --git a/ecmascript/codegen/tests/test262-min/bd697f0fda948394.js b/ecmascript/codegen/tests/test262-min/bd697f0fda948394.js new file mode 100644 index 00000000000..f96c2d9e1a9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bd697f0fda948394.js @@ -0,0 +1 @@ +(function(){try{throw'a'}catch(b){}c()}()) diff --git a/ecmascript/codegen/tests/test262-min/bd7b54d5e0ce444b.js b/ecmascript/codegen/tests/test262-min/bd7b54d5e0ce444b.js new file mode 100644 index 00000000000..af2a2c1fb4d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bd7b54d5e0ce444b.js @@ -0,0 +1 @@ +(function(){b:{if(a)break b;c:{if(a)break c;if(a)break c;if(a)break c}c:{if(a)break c;if(a)break c;if(a)break c}}}()) diff --git a/ecmascript/codegen/tests/test262-min/bd883e5fd1f09b69.js b/ecmascript/codegen/tests/test262-min/bd883e5fd1f09b69.js new file mode 100644 index 00000000000..825d03635fd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bd883e5fd1f09b69.js @@ -0,0 +1 @@ +with(a)b=c diff --git a/ecmascript/codegen/tests/test262-min/bd9b563f02b80dae.js b/ecmascript/codegen/tests/test262-min/bd9b563f02b80dae.js new file mode 100644 index 00000000000..4437120ce54 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bd9b563f02b80dae.js @@ -0,0 +1 @@ +"use strict"+1 diff --git a/ecmascript/codegen/tests/test262-min/bdc4accd07049034.js b/ecmascript/codegen/tests/test262-min/bdc4accd07049034.js new file mode 100644 index 00000000000..ed4c6444e63 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bdc4accd07049034.js @@ -0,0 +1 @@ +(class{;;;;a(){}b(){}}) diff --git a/ecmascript/codegen/tests/test262-min/bde1a5ea9aebf9d2.js b/ecmascript/codegen/tests/test262-min/bde1a5ea9aebf9d2.js new file mode 100644 index 00000000000..96ec9626c94 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bde1a5ea9aebf9d2.js @@ -0,0 +1 @@ +function arguments(){} diff --git a/ecmascript/codegen/tests/test262-min/bdfc6c05edd19925.js b/ecmascript/codegen/tests/test262-min/bdfc6c05edd19925.js new file mode 100644 index 00000000000..2fcf3efa7c1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bdfc6c05edd19925.js @@ -0,0 +1 @@ +/{}/ diff --git a/ecmascript/codegen/tests/test262-min/be2c3fff6426873e.js b/ecmascript/codegen/tests/test262-min/be2c3fff6426873e.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/be2c3fff6426873e.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/be2fd5888f434cbd.js b/ecmascript/codegen/tests/test262-min/be2fd5888f434cbd.js new file mode 100644 index 00000000000..77d51ad1655 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/be2fd5888f434cbd.js @@ -0,0 +1 @@ +(function(){'use\nstrict';with(a);}) diff --git a/ecmascript/codegen/tests/test262-min/be6eb70d9330c165.js b/ecmascript/codegen/tests/test262-min/be6eb70d9330c165.js new file mode 100644 index 00000000000..9183bf03fcc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/be6eb70d9330c165.js @@ -0,0 +1 @@ +256 diff --git a/ecmascript/codegen/tests/test262-min/be879445c87d7e72.js b/ecmascript/codegen/tests/test262-min/be879445c87d7e72.js new file mode 100644 index 00000000000..ad7de10ca07 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/be879445c87d7e72.js @@ -0,0 +1 @@ +var a diff --git a/ecmascript/codegen/tests/test262-min/be9d538d5041fd5f.js b/ecmascript/codegen/tests/test262-min/be9d538d5041fd5f.js new file mode 100644 index 00000000000..c11a1032423 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/be9d538d5041fd5f.js @@ -0,0 +1 @@ +(...[a,b])=>{} diff --git a/ecmascript/codegen/tests/test262-min/beb4cc5812ec1eed.js b/ecmascript/codegen/tests/test262-min/beb4cc5812ec1eed.js new file mode 100644 index 00000000000..899172fd71e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/beb4cc5812ec1eed.js @@ -0,0 +1 @@ +function*a(){({[yield]:a}=1)} diff --git a/ecmascript/codegen/tests/test262-min/beb5335e463d92c1.js b/ecmascript/codegen/tests/test262-min/beb5335e463d92c1.js new file mode 100644 index 00000000000..78981922613 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/beb5335e463d92c1.js @@ -0,0 +1 @@ +a diff --git a/ecmascript/codegen/tests/test262-min/bedf5be599c82fe8.js b/ecmascript/codegen/tests/test262-min/bedf5be599c82fe8.js new file mode 100644 index 00000000000..f7cafdf0585 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bedf5be599c82fe8.js @@ -0,0 +1 @@ +({*a(){yield 1}}) diff --git a/ecmascript/codegen/tests/test262-min/bf1db420b006027f.js b/ecmascript/codegen/tests/test262-min/bf1db420b006027f.js new file mode 100644 index 00000000000..2cd7501ea1f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bf1db420b006027f.js @@ -0,0 +1 @@ +{do;while(false)false} diff --git a/ecmascript/codegen/tests/test262-min/bf210a4f0cf9e352.js b/ecmascript/codegen/tests/test262-min/bf210a4f0cf9e352.js new file mode 100644 index 00000000000..a98de505dde --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bf210a4f0cf9e352.js @@ -0,0 +1 @@ +class a{static get b(){}get b(){}} diff --git a/ecmascript/codegen/tests/test262-min/bf65e886047db371.js b/ecmascript/codegen/tests/test262-min/bf65e886047db371.js new file mode 100644 index 00000000000..49a5ea3734f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bf65e886047db371.js @@ -0,0 +1 @@ +var a=function(...b){c()} diff --git a/ecmascript/codegen/tests/test262-min/bf6aaaab7c143ca1.js b/ecmascript/codegen/tests/test262-min/bf6aaaab7c143ca1.js new file mode 100644 index 00000000000..f599e28b8ab --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bf6aaaab7c143ca1.js @@ -0,0 +1 @@ +10 diff --git a/ecmascript/codegen/tests/test262-min/bf8ffad512a5f568.js b/ecmascript/codegen/tests/test262-min/bf8ffad512a5f568.js new file mode 100644 index 00000000000..fd95fae38b9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bf8ffad512a5f568.js @@ -0,0 +1 @@ +class a{static get b(){}static set b(c){}get b(){}set b(c){}} diff --git a/ecmascript/codegen/tests/test262-min/bf9c4d8ecd728018.js b/ecmascript/codegen/tests/test262-min/bf9c4d8ecd728018.js new file mode 100644 index 00000000000..b6a7d89c68e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bf9c4d8ecd728018.js @@ -0,0 +1 @@ +16 diff --git a/ecmascript/codegen/tests/test262-min/bf9e8bd90d8537c3.js b/ecmascript/codegen/tests/test262-min/bf9e8bd90d8537c3.js new file mode 100644 index 00000000000..b6545060d33 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bf9e8bd90d8537c3.js @@ -0,0 +1 @@ +throw{a:"b"} diff --git a/ecmascript/codegen/tests/test262-min/bfb61863d3b10adf.js b/ecmascript/codegen/tests/test262-min/bfb61863d3b10adf.js new file mode 100644 index 00000000000..fa457baf8ab --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/bfb61863d3b10adf.js @@ -0,0 +1 @@ +1/2 diff --git a/ecmascript/codegen/tests/test262-min/c0740dd25c9de39b.js b/ecmascript/codegen/tests/test262-min/c0740dd25c9de39b.js new file mode 100644 index 00000000000..41bec39394e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c0740dd25c9de39b.js @@ -0,0 +1 @@ +3.14159 diff --git a/ecmascript/codegen/tests/test262-min/c086a8a5c8ef2bb9.js b/ecmascript/codegen/tests/test262-min/c086a8a5c8ef2bb9.js new file mode 100644 index 00000000000..eb36ddc277a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c086a8a5c8ef2bb9.js @@ -0,0 +1 @@ +let yield=1 diff --git a/ecmascript/codegen/tests/test262-min/c0f5f3f7db69c5a0.js b/ecmascript/codegen/tests/test262-min/c0f5f3f7db69c5a0.js new file mode 100644 index 00000000000..5ab860c800e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c0f5f3f7db69c5a0.js @@ -0,0 +1 @@ +a={get(){}} diff --git a/ecmascript/codegen/tests/test262-min/c1319833fc139cf8.js b/ecmascript/codegen/tests/test262-min/c1319833fc139cf8.js new file mode 100644 index 00000000000..dcea0f4bc43 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c1319833fc139cf8.js @@ -0,0 +1 @@ +var a={'0':'b'} diff --git a/ecmascript/codegen/tests/test262-min/c162248ee699b68f.js b/ecmascript/codegen/tests/test262-min/c162248ee699b68f.js new file mode 100644 index 00000000000..c4f4dcd50d3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c162248ee699b68f.js @@ -0,0 +1 @@ +var a;var b;var c diff --git a/ecmascript/codegen/tests/test262-min/c16d7f2993152b6b.module.js b/ecmascript/codegen/tests/test262-min/c16d7f2993152b6b.module.js new file mode 100644 index 00000000000..9f39d1a6805 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c16d7f2993152b6b.module.js @@ -0,0 +1 @@ +import{b as a}from"c" diff --git a/ecmascript/codegen/tests/test262-min/c17fd07fc9b5bf7e.js b/ecmascript/codegen/tests/test262-min/c17fd07fc9b5bf7e.js new file mode 100644 index 00000000000..5e13c397201 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c17fd07fc9b5bf7e.js @@ -0,0 +1 @@ +new a(1);new a(2)(3);new a(4)(5)(6);new new a(7);new new a(8)(9);new(new a(10))(11);(new new a(12))(13) diff --git a/ecmascript/codegen/tests/test262-min/c18d547cafb43e30.js b/ecmascript/codegen/tests/test262-min/c18d547cafb43e30.js new file mode 100644 index 00000000000..9ecf3cf1d5e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c18d547cafb43e30.js @@ -0,0 +1 @@ +this diff --git a/ecmascript/codegen/tests/test262-min/c1914072e996ddbe.js b/ecmascript/codegen/tests/test262-min/c1914072e996ddbe.js new file mode 100644 index 00000000000..5286e6875df --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c1914072e996ddbe.js @@ -0,0 +1 @@ +/\uDF06/u diff --git a/ecmascript/codegen/tests/test262-min/c1c5c5d42a32aac1.js b/ecmascript/codegen/tests/test262-min/c1c5c5d42a32aac1.js new file mode 100644 index 00000000000..00dec017415 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c1c5c5d42a32aac1.js @@ -0,0 +1 @@ +(class{a({b}={b:1}){}}) diff --git a/ecmascript/codegen/tests/test262-min/c1c8f5c6abfc1d72.js b/ecmascript/codegen/tests/test262-min/c1c8f5c6abfc1d72.js new file mode 100644 index 00000000000..042888007f3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c1c8f5c6abfc1d72.js @@ -0,0 +1 @@ +({var:a}=1) diff --git a/ecmascript/codegen/tests/test262-min/c1dd2285cd8a959d.js b/ecmascript/codegen/tests/test262-min/c1dd2285cd8a959d.js new file mode 100644 index 00000000000..d11678b095a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c1dd2285cd8a959d.js @@ -0,0 +1 @@ +for(a of b)c(a) diff --git a/ecmascript/codegen/tests/test262-min/c1e396cb7871b175.js b/ecmascript/codegen/tests/test262-min/c1e396cb7871b175.js new file mode 100644 index 00000000000..50b9d37d6ea --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c1e396cb7871b175.js @@ -0,0 +1 @@ +({a:[1]}+[])/2 diff --git a/ecmascript/codegen/tests/test262-min/c2116aecaac68db9.js b/ecmascript/codegen/tests/test262-min/c2116aecaac68db9.js new file mode 100644 index 00000000000..51681f1f89f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c2116aecaac68db9.js @@ -0,0 +1 @@ +function*a(){yield*yield} diff --git a/ecmascript/codegen/tests/test262-min/c2203cb9e7bfe40f.js b/ecmascript/codegen/tests/test262-min/c2203cb9e7bfe40f.js new file mode 100644 index 00000000000..a5d0aae6fc2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c2203cb9e7bfe40f.js @@ -0,0 +1 @@ +a-- diff --git a/ecmascript/codegen/tests/test262-min/c247dcc00119f19c.js b/ecmascript/codegen/tests/test262-min/c247dcc00119f19c.js new file mode 100644 index 00000000000..8d6a57010cf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c247dcc00119f19c.js @@ -0,0 +1 @@ +for(var a in[1,2])3 diff --git a/ecmascript/codegen/tests/test262-min/c24da2ce6761a80a.js b/ecmascript/codegen/tests/test262-min/c24da2ce6761a80a.js new file mode 100644 index 00000000000..bad7ffcfcb2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c24da2ce6761a80a.js @@ -0,0 +1 @@ +a+b-c diff --git a/ecmascript/codegen/tests/test262-min/c2558dc20a45b0a8.js b/ecmascript/codegen/tests/test262-min/c2558dc20a45b0a8.js new file mode 100644 index 00000000000..fb4dfa0303c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c2558dc20a45b0a8.js @@ -0,0 +1 @@ +({[1+2](){}}) diff --git a/ecmascript/codegen/tests/test262-min/c25bf945aaff8fe1.js b/ecmascript/codegen/tests/test262-min/c25bf945aaff8fe1.js new file mode 100644 index 00000000000..4b849dbdb38 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c25bf945aaff8fe1.js @@ -0,0 +1 @@ +"Hello" diff --git a/ecmascript/codegen/tests/test262-min/c269a2a601c495f1.js b/ecmascript/codegen/tests/test262-min/c269a2a601c495f1.js new file mode 100644 index 00000000000..83816aefd53 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c269a2a601c495f1.js @@ -0,0 +1 @@ +(function(){a=1;for(;;);}()) diff --git a/ecmascript/codegen/tests/test262-min/c274891790345c56.js b/ecmascript/codegen/tests/test262-min/c274891790345c56.js new file mode 100644 index 00000000000..66af866f850 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c274891790345c56.js @@ -0,0 +1 @@ +-a diff --git a/ecmascript/codegen/tests/test262-min/c27ded6ec20ea305.js b/ecmascript/codegen/tests/test262-min/c27ded6ec20ea305.js new file mode 100644 index 00000000000..d7aca024bac --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c27ded6ec20ea305.js @@ -0,0 +1 @@ +while(true){break} diff --git a/ecmascript/codegen/tests/test262-min/c2d90d623b0f4c2e.js b/ecmascript/codegen/tests/test262-min/c2d90d623b0f4c2e.js new file mode 100644 index 00000000000..4bfa1d551c9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c2d90d623b0f4c2e.js @@ -0,0 +1 @@ +a+=1 diff --git a/ecmascript/codegen/tests/test262-min/c2f12d66ce17d5ab.js b/ecmascript/codegen/tests/test262-min/c2f12d66ce17d5ab.js new file mode 100644 index 00000000000..e04ff1186e6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c2f12d66ce17d5ab.js @@ -0,0 +1 @@ +({get null(){}}) diff --git a/ecmascript/codegen/tests/references/c2fe8f120b796831.js b/ecmascript/codegen/tests/test262-min/c2fe8f120b796831.js similarity index 100% rename from ecmascript/codegen/tests/references/c2fe8f120b796831.js rename to ecmascript/codegen/tests/test262-min/c2fe8f120b796831.js diff --git a/ecmascript/codegen/tests/test262-min/c30eafd82f40470b.js b/ecmascript/codegen/tests/test262-min/c30eafd82f40470b.js new file mode 100644 index 00000000000..9f745a4618b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c30eafd82f40470b.js @@ -0,0 +1 @@ +(1+2)*3 diff --git a/ecmascript/codegen/tests/test262-min/c3172ad30aed99c8.js b/ecmascript/codegen/tests/test262-min/c3172ad30aed99c8.js new file mode 100644 index 00000000000..8ce81b02df3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c3172ad30aed99c8.js @@ -0,0 +1 @@ +const[a]=b diff --git a/ecmascript/codegen/tests/test262-min/c35304fa99a2c331.js b/ecmascript/codegen/tests/test262-min/c35304fa99a2c331.js new file mode 100644 index 00000000000..77a78db1c27 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c35304fa99a2c331.js @@ -0,0 +1 @@ +(function(){if(a)return;else return 1}()) diff --git a/ecmascript/codegen/tests/test262-min/c35dcf99291ec6be.js b/ecmascript/codegen/tests/test262-min/c35dcf99291ec6be.js new file mode 100644 index 00000000000..34a95a643db --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c35dcf99291ec6be.js @@ -0,0 +1 @@ +({__proto__:null,__proto__(){}}) diff --git a/ecmascript/codegen/tests/test262-min/c3699b982b33926b.js b/ecmascript/codegen/tests/test262-min/c3699b982b33926b.js new file mode 100644 index 00000000000..60b8c596809 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c3699b982b33926b.js @@ -0,0 +1 @@ +a|b&c diff --git a/ecmascript/codegen/tests/test262-min/c3799cf68cbac258.js b/ecmascript/codegen/tests/test262-min/c3799cf68cbac258.js new file mode 100644 index 00000000000..55691314125 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c3799cf68cbac258.js @@ -0,0 +1 @@ +({0:a}=1) diff --git a/ecmascript/codegen/tests/test262-min/c38644033565f7b9.js b/ecmascript/codegen/tests/test262-min/c38644033565f7b9.js new file mode 100644 index 00000000000..d36310d10dc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c38644033565f7b9.js @@ -0,0 +1 @@ +(()=>1) diff --git a/ecmascript/codegen/tests/test262-min/c3ce623096553057.js b/ecmascript/codegen/tests/test262-min/c3ce623096553057.js new file mode 100644 index 00000000000..e32250f6e0b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c3ce623096553057.js @@ -0,0 +1 @@ +a+(b<(c*d))+e diff --git a/ecmascript/codegen/tests/test262-min/c3dc60d438666700.js b/ecmascript/codegen/tests/test262-min/c3dc60d438666700.js new file mode 100644 index 00000000000..941036ff648 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c3dc60d438666700.js @@ -0,0 +1 @@ +new a()`` diff --git a/ecmascript/codegen/tests/test262-min/c3fc8ace42f3fb44.js b/ecmascript/codegen/tests/test262-min/c3fc8ace42f3fb44.js new file mode 100644 index 00000000000..7dd8b96b859 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c3fc8ace42f3fb44.js @@ -0,0 +1 @@ +a.if diff --git a/ecmascript/codegen/tests/test262-min/c412905e229d6f2b.js b/ecmascript/codegen/tests/test262-min/c412905e229d6f2b.js new file mode 100644 index 00000000000..1255d17d7db --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c412905e229d6f2b.js @@ -0,0 +1 @@ +delete a diff --git a/ecmascript/codegen/tests/test262-min/c4336e0b6801c42c.js b/ecmascript/codegen/tests/test262-min/c4336e0b6801c42c.js new file mode 100644 index 00000000000..c5c29a5c091 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c4336e0b6801c42c.js @@ -0,0 +1 @@ +({*a(){yield;1}}) diff --git a/ecmascript/codegen/tests/references/c442dc81201e2b55.js b/ecmascript/codegen/tests/test262-min/c442dc81201e2b55.js similarity index 100% rename from ecmascript/codegen/tests/references/c442dc81201e2b55.js rename to ecmascript/codegen/tests/test262-min/c442dc81201e2b55.js diff --git a/ecmascript/codegen/tests/test262-min/c4627eaa56f73949.js b/ecmascript/codegen/tests/test262-min/c4627eaa56f73949.js new file mode 100644 index 00000000000..86e85c3581f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c4627eaa56f73949.js @@ -0,0 +1 @@ +1%2 diff --git a/ecmascript/codegen/tests/test262-min/c4a57a72e25e042c.js b/ecmascript/codegen/tests/test262-min/c4a57a72e25e042c.js new file mode 100644 index 00000000000..b3121988191 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c4a57a72e25e042c.js @@ -0,0 +1 @@ +a={get"b"(){}} diff --git a/ecmascript/codegen/tests/test262-min/c4c51e5c6d4012ef.js b/ecmascript/codegen/tests/test262-min/c4c51e5c6d4012ef.js new file mode 100644 index 00000000000..c6f300293fc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c4c51e5c6d4012ef.js @@ -0,0 +1 @@ +a:while(true){break a} diff --git a/ecmascript/codegen/tests/test262-min/c4f2243c81525bbd.js b/ecmascript/codegen/tests/test262-min/c4f2243c81525bbd.js new file mode 100644 index 00000000000..3d229929ab9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c4f2243c81525bbd.js @@ -0,0 +1 @@ +var a=(1+2) diff --git a/ecmascript/codegen/tests/test262-min/c52db35cba7fdbc0.js b/ecmascript/codegen/tests/test262-min/c52db35cba7fdbc0.js new file mode 100644 index 00000000000..83e817e398d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c52db35cba7fdbc0.js @@ -0,0 +1 @@ +(function(){try{throw'a'}finally{b()}c()}()) diff --git a/ecmascript/codegen/tests/test262-min/c5328483d3ccadd0.js b/ecmascript/codegen/tests/test262-min/c5328483d3ccadd0.js new file mode 100644 index 00000000000..573541ac970 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c5328483d3ccadd0.js @@ -0,0 +1 @@ +0 diff --git a/ecmascript/codegen/tests/test262-min/c532e126a986c1d4.js b/ecmascript/codegen/tests/test262-min/c532e126a986c1d4.js new file mode 100644 index 00000000000..092bc2b0412 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c532e126a986c1d4.js @@ -0,0 +1 @@ +; diff --git a/ecmascript/codegen/tests/test262-min/c546a199e87abaad.js b/ecmascript/codegen/tests/test262-min/c546a199e87abaad.js new file mode 100644 index 00000000000..c1b29355825 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c546a199e87abaad.js @@ -0,0 +1 @@ +for(let[a=b in c]in null); diff --git a/ecmascript/codegen/tests/test262-min/c5823f1dccaf9787.js b/ecmascript/codegen/tests/test262-min/c5823f1dccaf9787.js new file mode 100644 index 00000000000..89258daf530 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c5823f1dccaf9787.js @@ -0,0 +1 @@ +for(var a of b); diff --git a/ecmascript/codegen/tests/test262-min/c58e9029f1fd3d1b.js b/ecmascript/codegen/tests/test262-min/c58e9029f1fd3d1b.js new file mode 100644 index 00000000000..7873b075ece --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c58e9029f1fd3d1b.js @@ -0,0 +1 @@ +let a=1 diff --git a/ecmascript/codegen/tests/test262-min/c5957fd3a6d258df.js b/ecmascript/codegen/tests/test262-min/c5957fd3a6d258df.js new file mode 100644 index 00000000000..71f266411ac --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c5957fd3a6d258df.js @@ -0,0 +1 @@ +b:{a} diff --git a/ecmascript/codegen/tests/test262-min/c5b2ea7da55d24c1.js b/ecmascript/codegen/tests/test262-min/c5b2ea7da55d24c1.js new file mode 100644 index 00000000000..73ca428d2cb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c5b2ea7da55d24c1.js @@ -0,0 +1 @@ +function a(){function a(){}function a(){}} diff --git a/ecmascript/codegen/tests/test262-min/c5bd72f618d7cade.js b/ecmascript/codegen/tests/test262-min/c5bd72f618d7cade.js new file mode 100644 index 00000000000..54c0189a279 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c5bd72f618d7cade.js @@ -0,0 +1 @@ +function*a(){} diff --git a/ecmascript/codegen/tests/test262-min/c6827eb9dd7b3dc6.js b/ecmascript/codegen/tests/test262-min/c6827eb9dd7b3dc6.js new file mode 100644 index 00000000000..50101194884 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c6827eb9dd7b3dc6.js @@ -0,0 +1 @@ +({a=1}=b) diff --git a/ecmascript/codegen/tests/test262-min/c6ea3404ea5c6c91.js b/ecmascript/codegen/tests/test262-min/c6ea3404ea5c6c91.js new file mode 100644 index 00000000000..c19e210baaf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c6ea3404ea5c6c91.js @@ -0,0 +1 @@ +a(...b,c) diff --git a/ecmascript/codegen/tests/test262-min/c6ff61d189c5cbee.js b/ecmascript/codegen/tests/test262-min/c6ff61d189c5cbee.js new file mode 100644 index 00000000000..5f6ec5bf16b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c6ff61d189c5cbee.js @@ -0,0 +1 @@ +(a[b]||(c[d]=e)) diff --git a/ecmascript/codegen/tests/test262-min/c756f39dca1f7423.js b/ecmascript/codegen/tests/test262-min/c756f39dca1f7423.js new file mode 100644 index 00000000000..5de09af67d7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c756f39dca1f7423.js @@ -0,0 +1 @@ +a=function(b,...c){} diff --git a/ecmascript/codegen/tests/test262-min/c767fa4d683aa3ce.js b/ecmascript/codegen/tests/test262-min/c767fa4d683aa3ce.js new file mode 100644 index 00000000000..8e6ce659f3e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c767fa4d683aa3ce.js @@ -0,0 +1 @@ +({get a(){new.target}}) diff --git a/ecmascript/codegen/tests/test262-min/c771490bbb3dd6e9.js b/ecmascript/codegen/tests/test262-min/c771490bbb3dd6e9.js new file mode 100644 index 00000000000..4d2969b53f7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c771490bbb3dd6e9.js @@ -0,0 +1 @@ +class a{*static(){}} diff --git a/ecmascript/codegen/tests/test262-min/c78c8fbfbd3e779e.js b/ecmascript/codegen/tests/test262-min/c78c8fbfbd3e779e.js new file mode 100644 index 00000000000..bae6893be24 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c78c8fbfbd3e779e.js @@ -0,0 +1 @@ +while(1)/foo/ diff --git a/ecmascript/codegen/tests/test262-min/c7dd4bc60ffb40e9.js b/ecmascript/codegen/tests/test262-min/c7dd4bc60ffb40e9.js new file mode 100644 index 00000000000..e325ab9a402 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c7dd4bc60ffb40e9.js @@ -0,0 +1 @@ +var{}=1 diff --git a/ecmascript/codegen/tests/test262-min/c7e5fba8bf3854cd.js b/ecmascript/codegen/tests/test262-min/c7e5fba8bf3854cd.js new file mode 100644 index 00000000000..3ae4b6e579b Binary files /dev/null and b/ecmascript/codegen/tests/test262-min/c7e5fba8bf3854cd.js differ diff --git a/ecmascript/codegen/tests/test262-min/c80d9415dde647cd.js b/ecmascript/codegen/tests/test262-min/c80d9415dde647cd.js new file mode 100644 index 00000000000..a91f75d3fa1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c80d9415dde647cd.js @@ -0,0 +1 @@ +a={set if(b){c=b}} diff --git a/ecmascript/codegen/tests/test262-min/c83a2dcf75fa419a.js b/ecmascript/codegen/tests/test262-min/c83a2dcf75fa419a.js new file mode 100644 index 00000000000..d2c2f7a0183 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c83a2dcf75fa419a.js @@ -0,0 +1 @@ +/[\]/]/ diff --git a/ecmascript/codegen/tests/test262-min/c844c5ec9f6dbf86.js b/ecmascript/codegen/tests/test262-min/c844c5ec9f6dbf86.js new file mode 100644 index 00000000000..bb17c439df9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c844c5ec9f6dbf86.js @@ -0,0 +1 @@ +a="b"!=typeof c.d diff --git a/ecmascript/codegen/tests/test262-min/c8513472857eae9c.js b/ecmascript/codegen/tests/test262-min/c8513472857eae9c.js new file mode 100644 index 00000000000..f8dc02648c3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c8513472857eae9c.js @@ -0,0 +1 @@ +({set a(b=new.target){}}) diff --git a/ecmascript/codegen/tests/test262-min/c8565124aee75c69.js b/ecmascript/codegen/tests/test262-min/c8565124aee75c69.js new file mode 100644 index 00000000000..6f1753577c4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c8565124aee75c69.js @@ -0,0 +1 @@ +for(a of let){} diff --git a/ecmascript/codegen/tests/test262-min/c85bc4de504befc7.js b/ecmascript/codegen/tests/test262-min/c85bc4de504befc7.js new file mode 100644 index 00000000000..804e7661153 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c85bc4de504befc7.js @@ -0,0 +1 @@ +a={get b(){return c}} diff --git a/ecmascript/codegen/tests/test262-min/c85fbdb8c97e0534.js b/ecmascript/codegen/tests/test262-min/c85fbdb8c97e0534.js new file mode 100644 index 00000000000..a453253e6b8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c85fbdb8c97e0534.js @@ -0,0 +1 @@ +let a,x󠇕 diff --git a/ecmascript/codegen/tests/test262-min/c8689b6da6fd227a.js b/ecmascript/codegen/tests/test262-min/c8689b6da6fd227a.js new file mode 100644 index 00000000000..103ea3d8120 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c8689b6da6fd227a.js @@ -0,0 +1 @@ +a={get b(){}} diff --git a/ecmascript/codegen/tests/test262-min/c87859666bd18c8c.js b/ecmascript/codegen/tests/test262-min/c87859666bd18c8c.js new file mode 100644 index 00000000000..528a054d1be --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c87859666bd18c8c.js @@ -0,0 +1 @@ +while(1){}/foo/ diff --git a/ecmascript/codegen/tests/test262-min/c88c5d1e7e9574b6.js b/ecmascript/codegen/tests/test262-min/c88c5d1e7e9574b6.js new file mode 100644 index 00000000000..ae39cc722bd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c88c5d1e7e9574b6.js @@ -0,0 +1 @@ +var a=/[a-c]/i diff --git a/ecmascript/codegen/tests/test262-min/c8b9a4d186ec2eb8.js b/ecmascript/codegen/tests/test262-min/c8b9a4d186ec2eb8.js new file mode 100644 index 00000000000..2b9c7cbdffc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c8b9a4d186ec2eb8.js @@ -0,0 +1 @@ +a:do continue a;while(1) diff --git a/ecmascript/codegen/tests/test262-min/c8dbdecbde2c1869.js b/ecmascript/codegen/tests/test262-min/c8dbdecbde2c1869.js new file mode 100644 index 00000000000..62a2753caf3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c8dbdecbde2c1869.js @@ -0,0 +1 @@ +(function(){throw'a';a()}()) diff --git a/ecmascript/codegen/tests/test262-min/c92dc954a0ce196d.module.js b/ecmascript/codegen/tests/test262-min/c92dc954a0ce196d.module.js new file mode 100644 index 00000000000..52c077571fd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c92dc954a0ce196d.module.js @@ -0,0 +1 @@ +export default function a(){};false diff --git a/ecmascript/codegen/tests/test262-min/c963ac653b30699b.js b/ecmascript/codegen/tests/test262-min/c963ac653b30699b.js new file mode 100644 index 00000000000..d1acf2e36d7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c963ac653b30699b.js @@ -0,0 +1 @@ +a={'b'(){}} diff --git a/ecmascript/codegen/tests/test262-min/c964ed7bc2373c54.js b/ecmascript/codegen/tests/test262-min/c964ed7bc2373c54.js new file mode 100644 index 00000000000..87f0cac559a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c964ed7bc2373c54.js @@ -0,0 +1 @@ +function a({a=(1),b}){}function b([b,c=(2)]){}var{d=(3),e}=d;var[d,e=(4)]=d diff --git a/ecmascript/codegen/tests/test262-min/c98889d7d94a0a63.js b/ecmascript/codegen/tests/test262-min/c98889d7d94a0a63.js new file mode 100644 index 00000000000..8c0e7f96e63 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c98889d7d94a0a63.js @@ -0,0 +1 @@ +[a,...[b,c]]=d diff --git a/ecmascript/codegen/tests/test262-min/c98eba310f5568b1.js b/ecmascript/codegen/tests/test262-min/c98eba310f5568b1.js new file mode 100644 index 00000000000..be5870f0ee1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c98eba310f5568b1.js @@ -0,0 +1 @@ +for(;;)if(a())break diff --git a/ecmascript/codegen/tests/test262-min/c9b780fb91a9db4e.js b/ecmascript/codegen/tests/test262-min/c9b780fb91a9db4e.js new file mode 100644 index 00000000000..cddca84001c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c9b780fb91a9db4e.js @@ -0,0 +1 @@ +var a=function(b){return b} diff --git a/ecmascript/codegen/tests/test262-min/c9d32e4fc1687f5d.js b/ecmascript/codegen/tests/test262-min/c9d32e4fc1687f5d.js new file mode 100644 index 00000000000..a2513586ca4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/c9d32e4fc1687f5d.js @@ -0,0 +1 @@ +c:switch(1){case 2:a();for(;;)if(b)break c;d();case 3+4:e();default:f()} diff --git a/ecmascript/codegen/tests/test262-min/ca20c15b39c87033.js b/ecmascript/codegen/tests/test262-min/ca20c15b39c87033.js new file mode 100644 index 00000000000..d3fa3ce7eb0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ca20c15b39c87033.js @@ -0,0 +1 @@ +class a{static(){};} diff --git a/ecmascript/codegen/tests/test262-min/ca34a796e624adaf.js b/ecmascript/codegen/tests/test262-min/ca34a796e624adaf.js new file mode 100644 index 00000000000..d562f088e3b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ca34a796e624adaf.js @@ -0,0 +1 @@ +switch(1){case 2:a();case 3+4:b();break;case 5+6+7:c();default:d()} diff --git a/ecmascript/codegen/tests/test262-min/ca39d991b4f07bf1.js b/ecmascript/codegen/tests/test262-min/ca39d991b4f07bf1.js new file mode 100644 index 00000000000..ae5c06a0104 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ca39d991b4f07bf1.js @@ -0,0 +1 @@ +var a,b,c;d(a(e),b(e,e),c(e)) diff --git a/ecmascript/codegen/tests/test262-min/ca450ebe11a7e7c9.module.js b/ecmascript/codegen/tests/test262-min/ca450ebe11a7e7c9.module.js new file mode 100644 index 00000000000..468160d0524 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ca450ebe11a7e7c9.module.js @@ -0,0 +1 @@ +import"a" diff --git a/ecmascript/codegen/tests/test262-min/ca4f13a64e35195f.js b/ecmascript/codegen/tests/test262-min/ca4f13a64e35195f.js new file mode 100644 index 00000000000..8a7d7d720ca --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ca4f13a64e35195f.js @@ -0,0 +1 @@ +a={null:1} diff --git a/ecmascript/codegen/tests/test262-min/ca7a0ca0d22f30f8.js b/ecmascript/codegen/tests/test262-min/ca7a0ca0d22f30f8.js new file mode 100644 index 00000000000..484b41e221f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ca7a0ca0d22f30f8.js @@ -0,0 +1 @@ +(class{[1+2](){}}) diff --git a/ecmascript/codegen/tests/test262-min/ca978112ca1bbdca.js b/ecmascript/codegen/tests/test262-min/ca978112ca1bbdca.js new file mode 100644 index 00000000000..78981922613 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ca978112ca1bbdca.js @@ -0,0 +1 @@ +a diff --git a/ecmascript/codegen/tests/test262-min/caa0719b52a1409d.js b/ecmascript/codegen/tests/test262-min/caa0719b52a1409d.js new file mode 100644 index 00000000000..79a5777d785 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/caa0719b52a1409d.js @@ -0,0 +1 @@ +a`` diff --git a/ecmascript/codegen/tests/test262-min/caaa9f06dd52e5a5.module.js b/ecmascript/codegen/tests/test262-min/caaa9f06dd52e5a5.module.js new file mode 100644 index 00000000000..ae5e63e006d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/caaa9f06dd52e5a5.module.js @@ -0,0 +1 @@ +import{null as a}from"b" diff --git a/ecmascript/codegen/tests/test262-min/caf6539007d41b5e.js b/ecmascript/codegen/tests/test262-min/caf6539007d41b5e.js new file mode 100644 index 00000000000..facf324160f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/caf6539007d41b5e.js @@ -0,0 +1 @@ +[/q/] diff --git a/ecmascript/codegen/tests/test262-min/cb05f3c30f5f88c0.js b/ecmascript/codegen/tests/test262-min/cb05f3c30f5f88c0.js new file mode 100644 index 00000000000..d8364cc3cc7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cb05f3c30f5f88c0.js @@ -0,0 +1 @@ +new a(...b,...c) diff --git a/ecmascript/codegen/tests/test262-min/cb095c303f88cd0b.js b/ecmascript/codegen/tests/test262-min/cb095c303f88cd0b.js new file mode 100644 index 00000000000..9800de1f770 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cb095c303f88cd0b.js @@ -0,0 +1 @@ +('\2111') diff --git a/ecmascript/codegen/tests/test262-min/cb23f6635a581786.js b/ecmascript/codegen/tests/test262-min/cb23f6635a581786.js new file mode 100644 index 00000000000..94a54f3d5e0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cb23f6635a581786.js @@ -0,0 +1 @@ +a+b diff --git a/ecmascript/codegen/tests/test262-min/cb2d573836b1e204.js b/ecmascript/codegen/tests/test262-min/cb2d573836b1e204.js new file mode 100644 index 00000000000..14920d21488 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cb2d573836b1e204.js @@ -0,0 +1 @@ +function a(){new.target()} diff --git a/ecmascript/codegen/tests/test262-min/cb3316f2b008bec3.js b/ecmascript/codegen/tests/test262-min/cb3316f2b008bec3.js new file mode 100644 index 00000000000..17614f4b241 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cb3316f2b008bec3.js @@ -0,0 +1 @@ +({*a(){yield*1}}) diff --git a/ecmascript/codegen/tests/test262-min/cb4b35cf4cd815d8.js b/ecmascript/codegen/tests/test262-min/cb4b35cf4cd815d8.js new file mode 100644 index 00000000000..b348ec01bf9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cb4b35cf4cd815d8.js @@ -0,0 +1 @@ +({[a]:a}=1) diff --git a/ecmascript/codegen/tests/test262-min/cb625ce2970fe52a.js b/ecmascript/codegen/tests/test262-min/cb625ce2970fe52a.js new file mode 100644 index 00000000000..e4d3c1b9479 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cb625ce2970fe52a.js @@ -0,0 +1 @@ +(function(){'use\x20strict';with(a);}) diff --git a/ecmascript/codegen/tests/test262-min/cb898749d76e51fd.js b/ecmascript/codegen/tests/test262-min/cb898749d76e51fd.js new file mode 100644 index 00000000000..19f5084127e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cb898749d76e51fd.js @@ -0,0 +1 @@ +1+2 diff --git a/ecmascript/codegen/tests/test262-min/cbc644a20893a549.js b/ecmascript/codegen/tests/test262-min/cbc644a20893a549.js new file mode 100644 index 00000000000..1faedff49c4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cbc644a20893a549.js @@ -0,0 +1 @@ +a&b diff --git a/ecmascript/codegen/tests/test262-min/cbc7fdab53161051.js b/ecmascript/codegen/tests/test262-min/cbc7fdab53161051.js new file mode 100644 index 00000000000..c8dead799ee --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cbc7fdab53161051.js @@ -0,0 +1 @@ +debugger;if(a)debugger diff --git a/ecmascript/codegen/tests/test262-min/cbccdb75b22a522c.js b/ecmascript/codegen/tests/test262-min/cbccdb75b22a522c.js new file mode 100644 index 00000000000..57ea01f5484 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cbccdb75b22a522c.js @@ -0,0 +1 @@ +function*a(){yield-1} diff --git a/ecmascript/codegen/tests/test262-min/cbf9e832efe61a2e.js b/ecmascript/codegen/tests/test262-min/cbf9e832efe61a2e.js new file mode 100644 index 00000000000..0c4aafd3d29 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cbf9e832efe61a2e.js @@ -0,0 +1 @@ +for(let{}in 1); diff --git a/ecmascript/codegen/tests/test262-min/cc561e319220c789.js b/ecmascript/codegen/tests/test262-min/cc561e319220c789.js new file mode 100644 index 00000000000..3a5368f4d93 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cc561e319220c789.js @@ -0,0 +1 @@ +do/x/;while(false) diff --git a/ecmascript/codegen/tests/test262-min/cc6ea8664124953a.js b/ecmascript/codegen/tests/test262-min/cc6ea8664124953a.js new file mode 100644 index 00000000000..5e6e0f91a47 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cc6ea8664124953a.js @@ -0,0 +1 @@ +a.true diff --git a/ecmascript/codegen/tests/test262-min/cc793d44a11617e7.js b/ecmascript/codegen/tests/test262-min/cc793d44a11617e7.js new file mode 100644 index 00000000000..7cc579ea59c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cc793d44a11617e7.js @@ -0,0 +1 @@ +try{a()}catch(b){c(b)} diff --git a/ecmascript/codegen/tests/test262-min/cc7b1f054147aa5c.js b/ecmascript/codegen/tests/test262-min/cc7b1f054147aa5c.js new file mode 100644 index 00000000000..3df25016457 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cc7b1f054147aa5c.js @@ -0,0 +1 @@ +switch(a){case 1:b()} diff --git a/ecmascript/codegen/tests/test262-min/ccd1f89a0344e04e.js b/ecmascript/codegen/tests/test262-min/ccd1f89a0344e04e.js new file mode 100644 index 00000000000..464783dc52a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ccd1f89a0344e04e.js @@ -0,0 +1 @@ +(a=1)=>a*a diff --git a/ecmascript/codegen/tests/test262-min/cd136009983641b5.js b/ecmascript/codegen/tests/test262-min/cd136009983641b5.js new file mode 100644 index 00000000000..b05c4a1f273 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cd136009983641b5.js @@ -0,0 +1 @@ +(function(){if(a)return b;if(b)return c}()) diff --git a/ecmascript/codegen/tests/test262-min/cd2f5476a739c80a.js b/ecmascript/codegen/tests/test262-min/cd2f5476a739c80a.js new file mode 100644 index 00000000000..f9a2308f50f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cd2f5476a739c80a.js @@ -0,0 +1 @@ +new(a in b) diff --git a/ecmascript/codegen/tests/test262-min/cda499c521ff60c7.js b/ecmascript/codegen/tests/test262-min/cda499c521ff60c7.js new file mode 100644 index 00000000000..98a05505473 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cda499c521ff60c7.js @@ -0,0 +1 @@ +a=class{static b(){}static get c(){}static set d(a){}static(){}get(){}set(){}} diff --git a/ecmascript/codegen/tests/test262-min/cdb9bd6096e2732c.js b/ecmascript/codegen/tests/test262-min/cdb9bd6096e2732c.js new file mode 100644 index 00000000000..25075139369 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cdb9bd6096e2732c.js @@ -0,0 +1 @@ +++arguments diff --git a/ecmascript/codegen/tests/test262-min/cdbd7fe30e1c7321.js b/ecmascript/codegen/tests/test262-min/cdbd7fe30e1c7321.js new file mode 100644 index 00000000000..4e6abe13418 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cdbd7fe30e1c7321.js @@ -0,0 +1 @@ +(function(){var a=1}()) diff --git a/ecmascript/codegen/tests/test262-min/cdca52810bbe4532.js b/ecmascript/codegen/tests/test262-min/cdca52810bbe4532.js new file mode 100644 index 00000000000..eaa926ec2c9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cdca52810bbe4532.js @@ -0,0 +1 @@ +function a(){b.c('d')}a();{}function a(){b.c('e')} diff --git a/ecmascript/codegen/tests/test262-min/cdee1bf4a6391af8.js b/ecmascript/codegen/tests/test262-min/cdee1bf4a6391af8.js new file mode 100644 index 00000000000..2a864aee453 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cdee1bf4a6391af8.js @@ -0,0 +1 @@ +++a diff --git a/ecmascript/codegen/tests/test262-min/cdf411040ab4b29b.js b/ecmascript/codegen/tests/test262-min/cdf411040ab4b29b.js new file mode 100644 index 00000000000..ade943511af --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cdf411040ab4b29b.js @@ -0,0 +1 @@ +((()=>{}))() diff --git a/ecmascript/codegen/tests/test262-min/cdf43a987840ece8.js b/ecmascript/codegen/tests/test262-min/cdf43a987840ece8.js new file mode 100644 index 00000000000..0980d3f7a37 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cdf43a987840ece8.js @@ -0,0 +1 @@ +/[]/ diff --git a/ecmascript/codegen/tests/test262-min/ce0aaec02d5d4465.js b/ecmascript/codegen/tests/test262-min/ce0aaec02d5d4465.js new file mode 100644 index 00000000000..b982171fe36 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ce0aaec02d5d4465.js @@ -0,0 +1 @@ +class a{static get[b](){}} diff --git a/ecmascript/codegen/tests/test262-min/ce349e20cf388e87.js b/ecmascript/codegen/tests/test262-min/ce349e20cf388e87.js new file mode 100644 index 00000000000..8059f997880 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ce349e20cf388e87.js @@ -0,0 +1 @@ +var a={'b':1} diff --git a/ecmascript/codegen/tests/test262-min/ce3d1f8d346bb92d.js b/ecmascript/codegen/tests/test262-min/ce3d1f8d346bb92d.js new file mode 100644 index 00000000000..534bb10d427 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ce3d1f8d346bb92d.js @@ -0,0 +1 @@ +class a{;;} diff --git a/ecmascript/codegen/tests/test262-min/ce52f1c3d90b194a.js b/ecmascript/codegen/tests/test262-min/ce52f1c3d90b194a.js new file mode 100644 index 00000000000..e1851dd8a5b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ce52f1c3d90b194a.js @@ -0,0 +1 @@ +a:for(;;)for(;;)continue a diff --git a/ecmascript/codegen/tests/test262-min/ce569e89a005c02a.js b/ecmascript/codegen/tests/test262-min/ce569e89a005c02a.js new file mode 100644 index 00000000000..4f50bb7a59d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ce569e89a005c02a.js @@ -0,0 +1 @@ +'use strict';arguments[1]=2 diff --git a/ecmascript/codegen/tests/test262-min/ce5f3bc27d5ccaac.js b/ecmascript/codegen/tests/test262-min/ce5f3bc27d5ccaac.js new file mode 100644 index 00000000000..f11ae870309 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ce5f3bc27d5ccaac.js @@ -0,0 +1 @@ +function*a(){b=>b*yield} diff --git a/ecmascript/codegen/tests/test262-min/ce6a4854c1f79924.js b/ecmascript/codegen/tests/test262-min/ce6a4854c1f79924.js new file mode 100644 index 00000000000..178eef1e796 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ce6a4854c1f79924.js @@ -0,0 +1 @@ +for(;;){if(a){if(b){continue}else{;}}} diff --git a/ecmascript/codegen/tests/test262-min/ce8c443eb361e1a2.js b/ecmascript/codegen/tests/test262-min/ce8c443eb361e1a2.js new file mode 100644 index 00000000000..f7ae12fb86e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ce8c443eb361e1a2.js @@ -0,0 +1 @@ +(function([]){}) diff --git a/ecmascript/codegen/tests/test262-min/cea8816bffe4238c.js b/ecmascript/codegen/tests/test262-min/cea8816bffe4238c.js new file mode 100644 index 00000000000..8d2510e9091 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cea8816bffe4238c.js @@ -0,0 +1 @@ +function a(){if(void b()){c()}} diff --git a/ecmascript/codegen/tests/test262-min/cec2d94dc09a6a71.js b/ecmascript/codegen/tests/test262-min/cec2d94dc09a6a71.js new file mode 100644 index 00000000000..099ec67b401 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cec2d94dc09a6a71.js @@ -0,0 +1 @@ +a={catch(){},throw(){}} diff --git a/ecmascript/codegen/tests/test262-min/cefd0dd07bfa670f.js b/ecmascript/codegen/tests/test262-min/cefd0dd07bfa670f.js new file mode 100644 index 00000000000..bf87686953b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cefd0dd07bfa670f.js @@ -0,0 +1 @@ +const a=1 diff --git a/ecmascript/codegen/tests/test262-min/cf0eb6e6c4317c33.js b/ecmascript/codegen/tests/test262-min/cf0eb6e6c4317c33.js new file mode 100644 index 00000000000..d31ef301710 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cf0eb6e6c4317c33.js @@ -0,0 +1 @@ +('\u{00F8}') diff --git a/ecmascript/codegen/tests/test262-min/cf0fb26afd0eaaf1.js b/ecmascript/codegen/tests/test262-min/cf0fb26afd0eaaf1.js new file mode 100644 index 00000000000..cddcc3bf77e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cf0fb26afd0eaaf1.js @@ -0,0 +1 @@ +new a(...b=c) diff --git a/ecmascript/codegen/tests/test262-min/cf939dae739eacf6.js b/ecmascript/codegen/tests/test262-min/cf939dae739eacf6.js new file mode 100644 index 00000000000..1e6357e52d6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cf939dae739eacf6.js @@ -0,0 +1 @@ +with(a){b=c} diff --git a/ecmascript/codegen/tests/test262-min/cfca620b63dd98b8.js b/ecmascript/codegen/tests/test262-min/cfca620b63dd98b8.js new file mode 100644 index 00000000000..83823dd5845 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cfca620b63dd98b8.js @@ -0,0 +1 @@ +a.b`foo`;c`bar` diff --git a/ecmascript/codegen/tests/test262-min/cfebdd6b58e65e90.js b/ecmascript/codegen/tests/test262-min/cfebdd6b58e65e90.js new file mode 100644 index 00000000000..8dacd83d36f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/cfebdd6b58e65e90.js @@ -0,0 +1 @@ +function*a(){yield;a} diff --git a/ecmascript/codegen/tests/test262-min/d010d377bcfd5565.js b/ecmascript/codegen/tests/test262-min/d010d377bcfd5565.js new file mode 100644 index 00000000000..01d6cd58444 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d010d377bcfd5565.js @@ -0,0 +1 @@ +({__proto__:null,get __proto__(){},set __proto__(a){}}) diff --git a/ecmascript/codegen/tests/test262-min/d038789ad15922ff.js b/ecmascript/codegen/tests/test262-min/d038789ad15922ff.js new file mode 100644 index 00000000000..09009485dcc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d038789ad15922ff.js @@ -0,0 +1 @@ +(function(){var a={'Infinity':1}}()) diff --git a/ecmascript/codegen/tests/test262-min/d043d114b966415b.js b/ecmascript/codegen/tests/test262-min/d043d114b966415b.js new file mode 100644 index 00000000000..a7baf3bbb27 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d043d114b966415b.js @@ -0,0 +1 @@ +function*a(){yield--a} diff --git a/ecmascript/codegen/tests/test262-min/d0724a029fb7e4b1.js b/ecmascript/codegen/tests/test262-min/d0724a029fb7e4b1.js new file mode 100644 index 00000000000..ad7de10ca07 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d0724a029fb7e4b1.js @@ -0,0 +1 @@ +var a diff --git a/ecmascript/codegen/tests/test262-min/d082f8d1c2eec454.js b/ecmascript/codegen/tests/test262-min/d082f8d1c2eec454.js new file mode 100644 index 00000000000..7f4adcb89bc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d082f8d1c2eec454.js @@ -0,0 +1 @@ +[a,]=1 diff --git a/ecmascript/codegen/tests/test262-min/d09117cbf60bd18f.js b/ecmascript/codegen/tests/test262-min/d09117cbf60bd18f.js new file mode 100644 index 00000000000..e61ef7b965e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d09117cbf60bd18f.js @@ -0,0 +1 @@ +aa diff --git a/ecmascript/codegen/tests/test262-min/d09dbe1357abd967.js b/ecmascript/codegen/tests/test262-min/d09dbe1357abd967.js new file mode 100644 index 00000000000..793c22f2f33 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d09dbe1357abd967.js @@ -0,0 +1 @@ +(function(){(function(){a("b")}())}()) diff --git a/ecmascript/codegen/tests/test262-min/d0dba4e03608ad64.js b/ecmascript/codegen/tests/test262-min/d0dba4e03608ad64.js new file mode 100644 index 00000000000..36ebec7af91 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d0dba4e03608ad64.js @@ -0,0 +1 @@ +`${a}` diff --git a/ecmascript/codegen/tests/test262-min/d126aa10835287e6.js b/ecmascript/codegen/tests/test262-min/d126aa10835287e6.js new file mode 100644 index 00000000000..016b7e722d7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d126aa10835287e6.js @@ -0,0 +1 @@ +class a{;} diff --git a/ecmascript/codegen/tests/test262-min/d198e0d3a33b7b61.js b/ecmascript/codegen/tests/test262-min/d198e0d3a33b7b61.js new file mode 100644 index 00000000000..71c05a8fcb3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d198e0d3a33b7b61.js @@ -0,0 +1 @@ +var a={*[b](){yield*c}} diff --git a/ecmascript/codegen/tests/test262-min/d1eafbc6bda219a7.js b/ecmascript/codegen/tests/test262-min/d1eafbc6bda219a7.js new file mode 100644 index 00000000000..d76440f5646 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d1eafbc6bda219a7.js @@ -0,0 +1 @@ +class a{} diff --git a/ecmascript/codegen/tests/test262-min/d1fea0e461717b09.js b/ecmascript/codegen/tests/test262-min/d1fea0e461717b09.js new file mode 100644 index 00000000000..3b2781396f1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d1fea0e461717b09.js @@ -0,0 +1 @@ +`\`` diff --git a/ecmascript/codegen/tests/test262-min/d22f8660531e1c1a.js b/ecmascript/codegen/tests/test262-min/d22f8660531e1c1a.js new file mode 100644 index 00000000000..4063302ef20 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d22f8660531e1c1a.js @@ -0,0 +1 @@ +var static diff --git a/ecmascript/codegen/tests/test262-min/d2332f9187c6a20a.module.js b/ecmascript/codegen/tests/test262-min/d2332f9187c6a20a.module.js new file mode 100644 index 00000000000..a3dfb23cf2d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d2332f9187c6a20a.module.js @@ -0,0 +1 @@ +export default class{} diff --git a/ecmascript/codegen/tests/test262-min/d24d5f53dc15bcc7.module.js b/ecmascript/codegen/tests/test262-min/d24d5f53dc15bcc7.module.js new file mode 100644 index 00000000000..d31e94ecdc0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d24d5f53dc15bcc7.module.js @@ -0,0 +1 @@ +export var a diff --git a/ecmascript/codegen/tests/test262-min/d2ae1c7b6e55143f.js b/ecmascript/codegen/tests/test262-min/d2ae1c7b6e55143f.js new file mode 100644 index 00000000000..94b5d4b8429 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d2ae1c7b6e55143f.js @@ -0,0 +1 @@ +({set a(b){b}}) diff --git a/ecmascript/codegen/tests/test262-min/d2af344779cc1f26.js b/ecmascript/codegen/tests/test262-min/d2af344779cc1f26.js new file mode 100644 index 00000000000..15f54090730 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d2af344779cc1f26.js @@ -0,0 +1 @@ +a=>0 diff --git a/ecmascript/codegen/tests/test262-min/d2c9ab6dc14dc774.js b/ecmascript/codegen/tests/test262-min/d2c9ab6dc14dc774.js new file mode 100644 index 00000000000..0a9c3e24b78 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d2c9ab6dc14dc774.js @@ -0,0 +1 @@ +for({a=1}of b); diff --git a/ecmascript/codegen/tests/test262-min/d2d8885e0c00ad51.js b/ecmascript/codegen/tests/test262-min/d2d8885e0c00ad51.js new file mode 100644 index 00000000000..0b069172514 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d2d8885e0c00ad51.js @@ -0,0 +1 @@ +("\\\"") diff --git a/ecmascript/codegen/tests/test262-min/d2fe67b1990df65c.js b/ecmascript/codegen/tests/test262-min/d2fe67b1990df65c.js new file mode 100644 index 00000000000..47480021658 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d2fe67b1990df65c.js @@ -0,0 +1 @@ +(function(){a?!b:!c}()) diff --git a/ecmascript/codegen/tests/test262-min/d33efc20e46c3961.js b/ecmascript/codegen/tests/test262-min/d33efc20e46c3961.js new file mode 100644 index 00000000000..40e601d0c18 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d33efc20e46c3961.js @@ -0,0 +1 @@ +(...a)=>{} diff --git a/ecmascript/codegen/tests/test262-min/d368a7bc70ca3120.js b/ecmascript/codegen/tests/test262-min/d368a7bc70ca3120.js new file mode 100644 index 00000000000..50afcb52aed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d368a7bc70ca3120.js @@ -0,0 +1 @@ +({a(b,c){let d}}) diff --git a/ecmascript/codegen/tests/test262-min/d3762fcf2ad7d285.js b/ecmascript/codegen/tests/test262-min/d3762fcf2ad7d285.js new file mode 100644 index 00000000000..89556592572 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d3762fcf2ad7d285.js @@ -0,0 +1 @@ +(class extends 1{}) diff --git a/ecmascript/codegen/tests/test262-min/d37653c5aedf3d46.js b/ecmascript/codegen/tests/test262-min/d37653c5aedf3d46.js new file mode 100644 index 00000000000..87678f8340b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d37653c5aedf3d46.js @@ -0,0 +1 @@ +({"a"(b,c,d){}}) diff --git a/ecmascript/codegen/tests/test262-min/d38771967621cb8e.js b/ecmascript/codegen/tests/test262-min/d38771967621cb8e.js new file mode 100644 index 00000000000..ba465ef801c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d38771967621cb8e.js @@ -0,0 +1 @@ +('\5111') diff --git a/ecmascript/codegen/tests/test262-min/d3bc8cc2c239b25f.js b/ecmascript/codegen/tests/test262-min/d3bc8cc2c239b25f.js new file mode 100644 index 00000000000..e80e00c23c5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d3bc8cc2c239b25f.js @@ -0,0 +1 @@ +a*b diff --git a/ecmascript/codegen/tests/test262-min/d3c1ea553fea8944.js b/ecmascript/codegen/tests/test262-min/d3c1ea553fea8944.js new file mode 100644 index 00000000000..6dbdf48cc17 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d3c1ea553fea8944.js @@ -0,0 +1 @@ +class a{static set(b){};} diff --git a/ecmascript/codegen/tests/test262-min/d3d6ca7932414eed.js b/ecmascript/codegen/tests/test262-min/d3d6ca7932414eed.js new file mode 100644 index 00000000000..ac3d2db9369 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d3d6ca7932414eed.js @@ -0,0 +1 @@ +function a(b=1){}function c(b=(2+3)){}function d({e}={},[f]=[4]){} diff --git a/ecmascript/codegen/tests/test262-min/d3f70f4410bb8346.js b/ecmascript/codegen/tests/test262-min/d3f70f4410bb8346.js new file mode 100644 index 00000000000..3ba53896d77 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d3f70f4410bb8346.js @@ -0,0 +1 @@ +/}/ diff --git a/ecmascript/codegen/tests/test262-min/d4104d0ed6a07c28.js b/ecmascript/codegen/tests/test262-min/d4104d0ed6a07c28.js new file mode 100644 index 00000000000..fd8defa2be2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d4104d0ed6a07c28.js @@ -0,0 +1 @@ +e:{d:{a("b");if(c){break d}break e}} diff --git a/ecmascript/codegen/tests/test262-min/d42cf386ef394628.js b/ecmascript/codegen/tests/test262-min/d42cf386ef394628.js new file mode 100644 index 00000000000..5005e180172 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d42cf386ef394628.js @@ -0,0 +1 @@ +a(1).b(2,3,4).c diff --git a/ecmascript/codegen/tests/test262-min/d45f1126ef89120b.js b/ecmascript/codegen/tests/test262-min/d45f1126ef89120b.js new file mode 100644 index 00000000000..eaa41a52f21 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d45f1126ef89120b.js @@ -0,0 +1 @@ +let[]=[] diff --git a/ecmascript/codegen/tests/test262-min/d45fa56c26ed4a4e.js b/ecmascript/codegen/tests/test262-min/d45fa56c26ed4a4e.js new file mode 100644 index 00000000000..0c72f51b4dd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d45fa56c26ed4a4e.js @@ -0,0 +1 @@ +class a extends 1{} diff --git a/ecmascript/codegen/tests/test262-min/d483926898410cae.js b/ecmascript/codegen/tests/test262-min/d483926898410cae.js new file mode 100644 index 00000000000..8d031f17a6f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d483926898410cae.js @@ -0,0 +1 @@ +"Hello\0122World" diff --git a/ecmascript/codegen/tests/test262-min/d487300b8deff2ff.module.js b/ecmascript/codegen/tests/test262-min/d487300b8deff2ff.module.js new file mode 100644 index 00000000000..468160d0524 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d487300b8deff2ff.module.js @@ -0,0 +1 @@ +import"a" diff --git a/ecmascript/codegen/tests/test262-min/d4b898b45172a637.js b/ecmascript/codegen/tests/test262-min/d4b898b45172a637.js new file mode 100644 index 00000000000..dcdc198a699 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d4b898b45172a637.js @@ -0,0 +1 @@ +"use strict";var a={get b(){},get b(){}} diff --git a/ecmascript/codegen/tests/test262-min/d4c979f1a92a8cac.js b/ecmascript/codegen/tests/test262-min/d4c979f1a92a8cac.js new file mode 100644 index 00000000000..96ceb0d66f1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d4c979f1a92a8cac.js @@ -0,0 +1 @@ +(a(),b(),c())+d() diff --git a/ecmascript/codegen/tests/test262-min/d4e81043d808dc31.js b/ecmascript/codegen/tests/test262-min/d4e81043d808dc31.js new file mode 100644 index 00000000000..540592510d2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d4e81043d808dc31.js @@ -0,0 +1 @@ +function*a(){yield b.yield} diff --git a/ecmascript/codegen/tests/test262-min/d515f6ce0c47a609.js b/ecmascript/codegen/tests/test262-min/d515f6ce0c47a609.js new file mode 100644 index 00000000000..9f7d427141d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d515f6ce0c47a609.js @@ -0,0 +1 @@ +(a,b,...c)=>1+2 diff --git a/ecmascript/codegen/tests/test262-min/d51711f888aeeac9.js b/ecmascript/codegen/tests/test262-min/d51711f888aeeac9.js new file mode 100644 index 00000000000..35594af581d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d51711f888aeeac9.js @@ -0,0 +1 @@ +while(true)continue diff --git a/ecmascript/codegen/tests/test262-min/d53aef16fe683218.js b/ecmascript/codegen/tests/test262-min/d53aef16fe683218.js new file mode 100644 index 00000000000..249a608e67b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d53aef16fe683218.js @@ -0,0 +1 @@ +switch(a){case 1:{}/foo/} diff --git a/ecmascript/codegen/tests/test262-min/d54bfed43597e9ac.js b/ecmascript/codegen/tests/test262-min/d54bfed43597e9ac.js new file mode 100644 index 00000000000..a4d027c0d7a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d54bfed43597e9ac.js @@ -0,0 +1 @@ +void void a diff --git a/ecmascript/codegen/tests/test262-min/d55a93310a309c43.js b/ecmascript/codegen/tests/test262-min/d55a93310a309c43.js new file mode 100644 index 00000000000..e7225802c8d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d55a93310a309c43.js @@ -0,0 +1 @@ +/a/i diff --git a/ecmascript/codegen/tests/test262-min/d57a361bc638f38c.js b/ecmascript/codegen/tests/test262-min/d57a361bc638f38c.js new file mode 100644 index 00000000000..4e57c11fefa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d57a361bc638f38c.js @@ -0,0 +1 @@ +var a,b,c,d;a=(b,c,d) diff --git a/ecmascript/codegen/tests/test262-min/d57d9e2865e43807.js b/ecmascript/codegen/tests/test262-min/d57d9e2865e43807.js new file mode 100644 index 00000000000..5afbb08bf8a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d57d9e2865e43807.js @@ -0,0 +1 @@ +switch(a){case'b':c();default:d();break} diff --git a/ecmascript/codegen/tests/test262-min/d58831cddf9cbd99.js b/ecmascript/codegen/tests/test262-min/d58831cddf9cbd99.js new file mode 100644 index 00000000000..f848fbc6506 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d58831cddf9cbd99.js @@ -0,0 +1 @@ +function a(){b();c();d=1;return;if(d){e()}} diff --git a/ecmascript/codegen/tests/test262-min/d59a168fe5b7c787.js b/ecmascript/codegen/tests/test262-min/d59a168fe5b7c787.js new file mode 100644 index 00000000000..d924bfd9d2c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d59a168fe5b7c787.js @@ -0,0 +1 @@ +var a=/42/g.b diff --git a/ecmascript/codegen/tests/test262-min/d59a6667e160c0b3.js b/ecmascript/codegen/tests/test262-min/d59a6667e160c0b3.js new file mode 100644 index 00000000000..6a9c896111d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d59a6667e160c0b3.js @@ -0,0 +1 @@ +/\uD834/u diff --git a/ecmascript/codegen/tests/test262-min/d60426fd0160fb91.js b/ecmascript/codegen/tests/test262-min/d60426fd0160fb91.js new file mode 100644 index 00000000000..87673cf8a1e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d60426fd0160fb91.js @@ -0,0 +1 @@ +(function(){1+(function(){return 2}())}()) diff --git a/ecmascript/codegen/tests/test262-min/d61d161a9c36fa45.js b/ecmascript/codegen/tests/test262-min/d61d161a9c36fa45.js new file mode 100644 index 00000000000..91b92c484a9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d61d161a9c36fa45.js @@ -0,0 +1 @@ +(function(){(1,eval)('')}()) diff --git a/ecmascript/codegen/tests/test262-min/d6aed84ca98bee95.js b/ecmascript/codegen/tests/test262-min/d6aed84ca98bee95.js new file mode 100644 index 00000000000..eb10f3fd268 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d6aed84ca98bee95.js @@ -0,0 +1 @@ +({a,b}) diff --git a/ecmascript/codegen/tests/test262-min/d6b2fd3884a06d56.js b/ecmascript/codegen/tests/test262-min/d6b2fd3884a06d56.js new file mode 100644 index 00000000000..be9f590ca2a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d6b2fd3884a06d56.js @@ -0,0 +1 @@ +var{get}=a diff --git a/ecmascript/codegen/tests/test262-min/d6bb7d557971a15f.js b/ecmascript/codegen/tests/test262-min/d6bb7d557971a15f.js new file mode 100644 index 00000000000..7e969c34f68 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d6bb7d557971a15f.js @@ -0,0 +1 @@ +new a`42` diff --git a/ecmascript/codegen/tests/test262-min/d7076912d1c9786c.module.js b/ecmascript/codegen/tests/test262-min/d7076912d1c9786c.module.js new file mode 100644 index 00000000000..e81f981655f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d7076912d1c9786c.module.js @@ -0,0 +1 @@ +export default[] diff --git a/ecmascript/codegen/tests/test262-min/d7284aa68a87bb97.js b/ecmascript/codegen/tests/test262-min/d7284aa68a87bb97.js new file mode 100644 index 00000000000..f0e10ade7af --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d7284aa68a87bb97.js @@ -0,0 +1 @@ +let[a,]=[1] diff --git a/ecmascript/codegen/tests/test262-min/d759838042f0bf78.js b/ecmascript/codegen/tests/test262-min/d759838042f0bf78.js new file mode 100644 index 00000000000..9717fe1f021 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d759838042f0bf78.js @@ -0,0 +1 @@ +a=[1,2,3,] diff --git a/ecmascript/codegen/tests/test262-min/d767138e133ad239.js b/ecmascript/codegen/tests/test262-min/d767138e133ad239.js new file mode 100644 index 00000000000..1d43d537688 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d767138e133ad239.js @@ -0,0 +1 @@ +({"__proto__":null,get __proto__(){}}) diff --git a/ecmascript/codegen/tests/test262-min/d79a08ea5cc1e2f6.js b/ecmascript/codegen/tests/test262-min/d79a08ea5cc1e2f6.js new file mode 100644 index 00000000000..592800efd36 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d79a08ea5cc1e2f6.js @@ -0,0 +1 @@ +const eval=1,arguments=2 diff --git a/ecmascript/codegen/tests/test262-min/d7c7ff252e84e81d.js b/ecmascript/codegen/tests/test262-min/d7c7ff252e84e81d.js new file mode 100644 index 00000000000..f7443f2f82d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d7c7ff252e84e81d.js @@ -0,0 +1 @@ +try{a()}catch(b){c(b)}finally{d(e)} diff --git a/ecmascript/codegen/tests/test262-min/d7da7ccd42af2c4b.js b/ecmascript/codegen/tests/test262-min/d7da7ccd42af2c4b.js new file mode 100644 index 00000000000..b92fd833835 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d7da7ccd42af2c4b.js @@ -0,0 +1 @@ +a.a*=1 diff --git a/ecmascript/codegen/tests/test262-min/d7e461a3aa2cd9bc.module.js b/ecmascript/codegen/tests/test262-min/d7e461a3aa2cd9bc.module.js new file mode 100644 index 00000000000..b49d1bf1e55 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d7e461a3aa2cd9bc.module.js @@ -0,0 +1 @@ +export let a=1 diff --git a/ecmascript/codegen/tests/test262-min/d80edd7fb074b51d.js b/ecmascript/codegen/tests/test262-min/d80edd7fb074b51d.js new file mode 100644 index 00000000000..1e8b3149621 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d80edd7fb074b51d.js @@ -0,0 +1 @@ +6 diff --git a/ecmascript/codegen/tests/test262-min/d818deffd07a5c3a.js b/ecmascript/codegen/tests/test262-min/d818deffd07a5c3a.js new file mode 100644 index 00000000000..0def58229e8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d818deffd07a5c3a.js @@ -0,0 +1 @@ +for(var a in b)continue diff --git a/ecmascript/codegen/tests/test262-min/d81d71f4121e3193.js b/ecmascript/codegen/tests/test262-min/d81d71f4121e3193.js new file mode 100644 index 00000000000..bedaf9b6718 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d81d71f4121e3193.js @@ -0,0 +1 @@ +('\u{0}') diff --git a/ecmascript/codegen/tests/test262-min/d82ae3dbc61808f8.js b/ecmascript/codegen/tests/test262-min/d82ae3dbc61808f8.js new file mode 100644 index 00000000000..bdf930ab538 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d82ae3dbc61808f8.js @@ -0,0 +1 @@ +function a(...yield){} diff --git a/ecmascript/codegen/tests/test262-min/d843ddb6cde8c408.js b/ecmascript/codegen/tests/test262-min/d843ddb6cde8c408.js new file mode 100644 index 00000000000..056f81cb66f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d843ddb6cde8c408.js @@ -0,0 +1 @@ +(function(){return typeof a()!=="b"}()) diff --git a/ecmascript/codegen/tests/test262-min/d8882ceedce6eae0.js b/ecmascript/codegen/tests/test262-min/d8882ceedce6eae0.js new file mode 100644 index 00000000000..bc2ee73471d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d8882ceedce6eae0.js @@ -0,0 +1 @@ +c:for(var a in b)continue c diff --git a/ecmascript/codegen/tests/test262-min/d88992e07614f506.js b/ecmascript/codegen/tests/test262-min/d88992e07614f506.js new file mode 100644 index 00000000000..fbbdc6c9d26 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d88992e07614f506.js @@ -0,0 +1 @@ +(function(){var a=1;with(b){a+(c(),d(),e())}}()) diff --git a/ecmascript/codegen/tests/test262-min/d8aff43ba7b44ef3.js b/ecmascript/codegen/tests/test262-min/d8aff43ba7b44ef3.js new file mode 100644 index 00000000000..fed52adfbe7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d8aff43ba7b44ef3.js @@ -0,0 +1 @@ +(function(){if(true!=a){b()}if(false!=a){b()}}()) diff --git a/ecmascript/codegen/tests/test262-min/d8b6a56583bdefab.js b/ecmascript/codegen/tests/test262-min/d8b6a56583bdefab.js new file mode 100644 index 00000000000..45adb9d1864 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d8b6a56583bdefab.js @@ -0,0 +1 @@ +++eval diff --git a/ecmascript/codegen/tests/test262-min/d8db2079f10d30ff.js b/ecmascript/codegen/tests/test262-min/d8db2079f10d30ff.js new file mode 100644 index 00000000000..2d048b60caa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d8db2079f10d30ff.js @@ -0,0 +1 @@ +while(true)a() diff --git a/ecmascript/codegen/tests/test262-min/d917a549d3f308d8.js b/ecmascript/codegen/tests/test262-min/d917a549d3f308d8.js new file mode 100644 index 00000000000..0ee729686ab --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d917a549d3f308d8.js @@ -0,0 +1 @@ +a/b diff --git a/ecmascript/codegen/tests/test262-min/d93ec22aea12336a.js b/ecmascript/codegen/tests/test262-min/d93ec22aea12336a.js new file mode 100644 index 00000000000..516c45098fb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d93ec22aea12336a.js @@ -0,0 +1 @@ +function a(){class b{}var c=b;var d=class e{}} diff --git a/ecmascript/codegen/tests/test262-min/d94d38d65e8b715f.js b/ecmascript/codegen/tests/test262-min/d94d38d65e8b715f.js new file mode 100644 index 00000000000..96e0a9351da --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d94d38d65e8b715f.js @@ -0,0 +1 @@ +function a(){return null} diff --git a/ecmascript/codegen/tests/test262-min/d95b0608f939e81a.js b/ecmascript/codegen/tests/test262-min/d95b0608f939e81a.js new file mode 100644 index 00000000000..a8962247e0c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d95b0608f939e81a.js @@ -0,0 +1 @@ +for(var a=1;b;c); diff --git a/ecmascript/codegen/tests/test262-min/d95e9ad32d562722.js b/ecmascript/codegen/tests/test262-min/d95e9ad32d562722.js new file mode 100644 index 00000000000..453e8f74a5a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d95e9ad32d562722.js @@ -0,0 +1 @@ +(function(){var a;return function(){return typeof a==='b'}}()) diff --git a/ecmascript/codegen/tests/test262-min/d96153b59454dddd.js b/ecmascript/codegen/tests/test262-min/d96153b59454dddd.js new file mode 100644 index 00000000000..633e2038112 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d96153b59454dddd.js @@ -0,0 +1 @@ +[1].a=2 diff --git a/ecmascript/codegen/tests/test262-min/d97144839fbdca91.js b/ecmascript/codegen/tests/test262-min/d97144839fbdca91.js new file mode 100644 index 00000000000..00d043a56fb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d97144839fbdca91.js @@ -0,0 +1 @@ +('\ ') diff --git a/ecmascript/codegen/tests/test262-min/d99414900a405295.js b/ecmascript/codegen/tests/test262-min/d99414900a405295.js new file mode 100644 index 00000000000..fb11b6edd6f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d99414900a405295.js @@ -0,0 +1 @@ +a=(function(){return 1})() diff --git a/ecmascript/codegen/tests/test262-min/d99714b3c4e81b56.js b/ecmascript/codegen/tests/test262-min/d99714b3c4e81b56.js new file mode 100644 index 00000000000..4b9e3fffa03 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d99714b3c4e81b56.js @@ -0,0 +1 @@ +for(;a();){if(b())c();else break} diff --git a/ecmascript/codegen/tests/test262-min/d9a0d4f0a35dc04e.js b/ecmascript/codegen/tests/test262-min/d9a0d4f0a35dc04e.js new file mode 100644 index 00000000000..22c726a6a47 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d9a0d4f0a35dc04e.js @@ -0,0 +1 @@ +0..a diff --git a/ecmascript/codegen/tests/test262-min/d9d0b115106f376c.js b/ecmascript/codegen/tests/test262-min/d9d0b115106f376c.js new file mode 100644 index 00000000000..8de797d980b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d9d0b115106f376c.js @@ -0,0 +1 @@ +(function(){switch(a){case 1:b("c");default:}}()) diff --git a/ecmascript/codegen/tests/test262-min/d9eb39b11bc766f4.js b/ecmascript/codegen/tests/test262-min/d9eb39b11bc766f4.js new file mode 100644 index 00000000000..41b53b77b13 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/d9eb39b11bc766f4.js @@ -0,0 +1 @@ +[,,1,,,2,3,,] diff --git a/ecmascript/codegen/tests/test262-min/da3756d1f8acb3c5.js b/ecmascript/codegen/tests/test262-min/da3756d1f8acb3c5.js new file mode 100644 index 00000000000..8a6ad83f7c8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/da3756d1f8acb3c5.js @@ -0,0 +1 @@ +({a})=>{} diff --git a/ecmascript/codegen/tests/test262-min/da4c5dd50fbdda83.js b/ecmascript/codegen/tests/test262-min/da4c5dd50fbdda83.js new file mode 100644 index 00000000000..e5b8baabfb6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/da4c5dd50fbdda83.js @@ -0,0 +1 @@ +new a`` diff --git a/ecmascript/codegen/tests/test262-min/da671a25e498bcac.module.js b/ecmascript/codegen/tests/test262-min/da671a25e498bcac.module.js new file mode 100644 index 00000000000..4c00c1fc531 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/da671a25e498bcac.module.js @@ -0,0 +1 @@ +export default function a(){} diff --git a/ecmascript/codegen/tests/test262-min/da96599b89265d75.js b/ecmascript/codegen/tests/test262-min/da96599b89265d75.js new file mode 100644 index 00000000000..ab86b7ebde0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/da96599b89265d75.js @@ -0,0 +1 @@ +ⅣⅡ diff --git a/ecmascript/codegen/tests/test262-min/da9e16ac9fd5b61d.js b/ecmascript/codegen/tests/test262-min/da9e16ac9fd5b61d.js new file mode 100644 index 00000000000..965aec3af57 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/da9e16ac9fd5b61d.js @@ -0,0 +1 @@ +var 𞸀 diff --git a/ecmascript/codegen/tests/test262-min/da9fdc3a2d7f9452.js b/ecmascript/codegen/tests/test262-min/da9fdc3a2d7f9452.js new file mode 100644 index 00000000000..3a5b50b9ffd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/da9fdc3a2d7f9452.js @@ -0,0 +1 @@ +function a(b,c=1){} diff --git a/ecmascript/codegen/tests/test262-min/dad51383642e0d27.js b/ecmascript/codegen/tests/test262-min/dad51383642e0d27.js new file mode 100644 index 00000000000..73dd97be875 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dad51383642e0d27.js @@ -0,0 +1 @@ +/{/ diff --git a/ecmascript/codegen/tests/test262-min/dadae97bf343020d.js b/ecmascript/codegen/tests/test262-min/dadae97bf343020d.js new file mode 100644 index 00000000000..ae9d518213c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dadae97bf343020d.js @@ -0,0 +1 @@ +function*a(){yield true} diff --git a/ecmascript/codegen/tests/test262-min/dadccefeaae19dbf.js b/ecmascript/codegen/tests/test262-min/dadccefeaae19dbf.js new file mode 100644 index 00000000000..2e22a23e0e0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dadccefeaae19dbf.js @@ -0,0 +1 @@ +/[-\-]/u diff --git a/ecmascript/codegen/tests/test262-min/dafb7abe5b9b44f5.js b/ecmascript/codegen/tests/test262-min/dafb7abe5b9b44f5.js new file mode 100644 index 00000000000..fe8e74150b8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dafb7abe5b9b44f5.js @@ -0,0 +1 @@ +var _𐒦=1 diff --git a/ecmascript/codegen/tests/test262-min/db1fd3f76ebc6554.js b/ecmascript/codegen/tests/test262-min/db1fd3f76ebc6554.js new file mode 100644 index 00000000000..952d0345c67 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/db1fd3f76ebc6554.js @@ -0,0 +1 @@ +a(b,...c,d) diff --git a/ecmascript/codegen/tests/test262-min/db456532eea62941.js b/ecmascript/codegen/tests/test262-min/db456532eea62941.js new file mode 100644 index 00000000000..81bff507327 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/db456532eea62941.js @@ -0,0 +1 @@ +if(a)b();else c() diff --git a/ecmascript/codegen/tests/test262-min/db66e1e8f3f1faef.js b/ecmascript/codegen/tests/test262-min/db66e1e8f3f1faef.js new file mode 100644 index 00000000000..12895beaaf3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/db66e1e8f3f1faef.js @@ -0,0 +1 @@ +b:while(1){continue;a} diff --git a/ecmascript/codegen/tests/test262-min/db8fe6c7579e6ead.js b/ecmascript/codegen/tests/test262-min/db8fe6c7579e6ead.js new file mode 100644 index 00000000000..8c40e4d588c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/db8fe6c7579e6ead.js @@ -0,0 +1 @@ +{throw a;a} diff --git a/ecmascript/codegen/tests/test262-min/dbbf129d7ae91ac3.js b/ecmascript/codegen/tests/test262-min/dbbf129d7ae91ac3.js new file mode 100644 index 00000000000..3d1dbb9e3bc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dbbf129d7ae91ac3.js @@ -0,0 +1 @@ +var a=function(){new.target} diff --git a/ecmascript/codegen/tests/test262-min/dc1acc240053a397.js b/ecmascript/codegen/tests/test262-min/dc1acc240053a397.js new file mode 100644 index 00000000000..f1a518d9bec --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dc1acc240053a397.js @@ -0,0 +1 @@ +({a(){}}) diff --git a/ecmascript/codegen/tests/test262-min/dc2b756c7828d827.module.js b/ecmascript/codegen/tests/test262-min/dc2b756c7828d827.module.js new file mode 100644 index 00000000000..0f895fcb596 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dc2b756c7828d827.module.js @@ -0,0 +1 @@ +export function a(){} diff --git a/ecmascript/codegen/tests/test262-min/dc3afa2f13259ae0.js b/ecmascript/codegen/tests/test262-min/dc3afa2f13259ae0.js new file mode 100644 index 00000000000..7223ac83308 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dc3afa2f13259ae0.js @@ -0,0 +1 @@ +('\
') diff --git a/ecmascript/codegen/tests/test262-min/dc3e1097a489e009.js b/ecmascript/codegen/tests/test262-min/dc3e1097a489e009.js new file mode 100644 index 00000000000..34e34f76390 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dc3e1097a489e009.js @@ -0,0 +1 @@ +throw 1 diff --git a/ecmascript/codegen/tests/test262-min/dc43022b3729abd1.js b/ecmascript/codegen/tests/test262-min/dc43022b3729abd1.js new file mode 100644 index 00000000000..f599e28b8ab --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dc43022b3729abd1.js @@ -0,0 +1 @@ +10 diff --git a/ecmascript/codegen/tests/test262-min/dc6037a43bed9588.js b/ecmascript/codegen/tests/test262-min/dc6037a43bed9588.js new file mode 100644 index 00000000000..98c10c1f852 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dc6037a43bed9588.js @@ -0,0 +1 @@ +var 𞸆_$ diff --git a/ecmascript/codegen/tests/test262-min/dc9d42142b4ada05.js b/ecmascript/codegen/tests/test262-min/dc9d42142b4ada05.js new file mode 100644 index 00000000000..9ea55a04cb7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dc9d42142b4ada05.js @@ -0,0 +1 @@ +if(a){b=1;for(var c;;);} diff --git a/ecmascript/codegen/tests/test262-min/dcc5609dcc043200.js b/ecmascript/codegen/tests/test262-min/dcc5609dcc043200.js new file mode 100644 index 00000000000..a01cf3e5cde --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dcc5609dcc043200.js @@ -0,0 +1 @@ +(class{constructor(){}}) diff --git a/ecmascript/codegen/tests/test262-min/dcc634c173bc704f.js b/ecmascript/codegen/tests/test262-min/dcc634c173bc704f.js new file mode 100644 index 00000000000..9cc33562a15 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dcc634c173bc704f.js @@ -0,0 +1 @@ +var a=!a||!b||!c||!d||!e||!f diff --git a/ecmascript/codegen/tests/test262-min/dcc9c2ff46392f30.js b/ecmascript/codegen/tests/test262-min/dcc9c2ff46392f30.js new file mode 100644 index 00000000000..36fa3343b90 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dcc9c2ff46392f30.js @@ -0,0 +1 @@ +a={b:function(c=1){}} diff --git a/ecmascript/codegen/tests/test262-min/dcdf666e16667f4c.js b/ecmascript/codegen/tests/test262-min/dcdf666e16667f4c.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dcdf666e16667f4c.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/dcfaa5f359400cf2.js b/ecmascript/codegen/tests/test262-min/dcfaa5f359400cf2.js new file mode 100644 index 00000000000..fc23f0152a1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dcfaa5f359400cf2.js @@ -0,0 +1 @@ +for(;;){if(a)continue} diff --git a/ecmascript/codegen/tests/test262-min/dcfb11abc780d6d9.js b/ecmascript/codegen/tests/test262-min/dcfb11abc780d6d9.js new file mode 100644 index 00000000000..b6c7f8c3a3a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dcfb11abc780d6d9.js @@ -0,0 +1 @@ +{do{}while(false)false} diff --git a/ecmascript/codegen/tests/test262-min/dd0e8f971ab4d6ab.js b/ecmascript/codegen/tests/test262-min/dd0e8f971ab4d6ab.js new file mode 100644 index 00000000000..b6b3832b516 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dd0e8f971ab4d6ab.js @@ -0,0 +1 @@ +(function a(){b(typeof a()==='c')}()) diff --git a/ecmascript/codegen/tests/test262-min/dd500055335127b3.js b/ecmascript/codegen/tests/test262-min/dd500055335127b3.js new file mode 100644 index 00000000000..1338f1d9d98 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dd500055335127b3.js @@ -0,0 +1 @@ +var a=1;this.b=2 diff --git a/ecmascript/codegen/tests/test262-min/dd67e8365153c4fb.js b/ecmascript/codegen/tests/test262-min/dd67e8365153c4fb.js new file mode 100644 index 00000000000..ecb5b140eac --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dd67e8365153c4fb.js @@ -0,0 +1 @@ +(class extends a{constructor(){super()}}) diff --git a/ecmascript/codegen/tests/test262-min/dd80c278722f97e9.js b/ecmascript/codegen/tests/test262-min/dd80c278722f97e9.js new file mode 100644 index 00000000000..5addf516082 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dd80c278722f97e9.js @@ -0,0 +1 @@ +function a(b){return b} diff --git a/ecmascript/codegen/tests/test262-min/ddcd0bf839779a45.js b/ecmascript/codegen/tests/test262-min/ddcd0bf839779a45.js new file mode 100644 index 00000000000..af44da12898 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ddcd0bf839779a45.js @@ -0,0 +1 @@ +switch(a){case 1:(function(){b('c')}())} diff --git a/ecmascript/codegen/tests/test262-min/ddd3c540fa087867.js b/ecmascript/codegen/tests/test262-min/ddd3c540fa087867.js new file mode 100644 index 00000000000..b549c263d79 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ddd3c540fa087867.js @@ -0,0 +1 @@ +(a(),b.b)() diff --git a/ecmascript/codegen/tests/test262-min/ddef0827f7a75499.js b/ecmascript/codegen/tests/test262-min/ddef0827f7a75499.js new file mode 100644 index 00000000000..ad7de10ca07 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ddef0827f7a75499.js @@ -0,0 +1 @@ +var a diff --git a/ecmascript/codegen/tests/test262-min/de24062f6e293cf0.js b/ecmascript/codegen/tests/test262-min/de24062f6e293cf0.js new file mode 100644 index 00000000000..a9f61e545c4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/de24062f6e293cf0.js @@ -0,0 +1 @@ +[[[[[[[[[[[[[[[[[[[[{a=b[1]}]]]]]]]]]]]]]]]]]]]]=2 diff --git a/ecmascript/codegen/tests/test262-min/de25059a9dd7b618.js b/ecmascript/codegen/tests/test262-min/de25059a9dd7b618.js new file mode 100644 index 00000000000..4c20b562c28 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/de25059a9dd7b618.js @@ -0,0 +1 @@ +(function(){null!=(a?void 1:void 2)}()) diff --git a/ecmascript/codegen/tests/test262-min/de6b6c9002d2d43e.js b/ecmascript/codegen/tests/test262-min/de6b6c9002d2d43e.js new file mode 100644 index 00000000000..45f61676f99 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/de6b6c9002d2d43e.js @@ -0,0 +1 @@ +new function(){var a=1;b(this.constructor.arguments.c)} diff --git a/ecmascript/codegen/tests/test262-min/de6dd6b2ec971861.js b/ecmascript/codegen/tests/test262-min/de6dd6b2ec971861.js new file mode 100644 index 00000000000..e6ff50fe801 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/de6dd6b2ec971861.js @@ -0,0 +1 @@ +class a{get(){}} diff --git a/ecmascript/codegen/tests/test262-min/dec1ae80150e1664.js b/ecmascript/codegen/tests/test262-min/dec1ae80150e1664.js new file mode 100644 index 00000000000..35c121fa37a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dec1ae80150e1664.js @@ -0,0 +1 @@ +{}/=/ diff --git a/ecmascript/codegen/tests/test262-min/dec6aac10ea17f7f.js b/ecmascript/codegen/tests/test262-min/dec6aac10ea17f7f.js new file mode 100644 index 00000000000..75ee44f8602 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dec6aac10ea17f7f.js @@ -0,0 +1 @@ +function a(){while(b){{c();c();var d=1}{c()}}} diff --git a/ecmascript/codegen/tests/test262-min/decdfa7f961d283c.js b/ecmascript/codegen/tests/test262-min/decdfa7f961d283c.js new file mode 100644 index 00000000000..b41bfe3d626 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/decdfa7f961d283c.js @@ -0,0 +1 @@ +if(a)b;else c diff --git a/ecmascript/codegen/tests/test262-min/df20c9b7a7d534cb.js b/ecmascript/codegen/tests/test262-min/df20c9b7a7d534cb.js new file mode 100644 index 00000000000..cf525c46040 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/df20c9b7a7d534cb.js @@ -0,0 +1 @@ +a={get b(){return c},set b(b){c=b}} diff --git a/ecmascript/codegen/tests/test262-min/df4eb225b4ba9ae2.js b/ecmascript/codegen/tests/test262-min/df4eb225b4ba9ae2.js new file mode 100644 index 00000000000..6a6aec17b40 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/df4eb225b4ba9ae2.js @@ -0,0 +1 @@ +a?b:c diff --git a/ecmascript/codegen/tests/test262-min/df5fee9e52377ab9.module.js b/ecmascript/codegen/tests/test262-min/df5fee9e52377ab9.module.js new file mode 100644 index 00000000000..168d74d2ddf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/df5fee9e52377ab9.module.js @@ -0,0 +1 @@ +export class a{} diff --git a/ecmascript/codegen/tests/references/df696c501125c86f.js b/ecmascript/codegen/tests/test262-min/df696c501125c86f.js similarity index 100% rename from ecmascript/codegen/tests/references/df696c501125c86f.js rename to ecmascript/codegen/tests/test262-min/df696c501125c86f.js diff --git a/ecmascript/codegen/tests/test262-min/df7e8c48ed8d9e6f.js b/ecmascript/codegen/tests/test262-min/df7e8c48ed8d9e6f.js new file mode 100644 index 00000000000..29af6d57263 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/df7e8c48ed8d9e6f.js @@ -0,0 +1 @@ +(function(){return 1;a()}()) diff --git a/ecmascript/codegen/tests/test262-min/df9c60e4ff82b9d9.js b/ecmascript/codegen/tests/test262-min/df9c60e4ff82b9d9.js new file mode 100644 index 00000000000..da4ac5c5c1c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/df9c60e4ff82b9d9.js @@ -0,0 +1 @@ +new new a() diff --git a/ecmascript/codegen/tests/test262-min/dfa22e3eac3cd26e.js b/ecmascript/codegen/tests/test262-min/dfa22e3eac3cd26e.js new file mode 100644 index 00000000000..0310d619b58 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dfa22e3eac3cd26e.js @@ -0,0 +1 @@ +class a{static b(){}} diff --git a/ecmascript/codegen/tests/test262-min/dfbd1b07bd57a08d.js b/ecmascript/codegen/tests/test262-min/dfbd1b07bd57a08d.js new file mode 100644 index 00000000000..03c573cbcaf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/dfbd1b07bd57a08d.js @@ -0,0 +1 @@ +function a(...b){} diff --git a/ecmascript/codegen/tests/test262-min/e01c7172cf204b92.js b/ecmascript/codegen/tests/test262-min/e01c7172cf204b92.js new file mode 100644 index 00000000000..0a49fcc5455 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e01c7172cf204b92.js @@ -0,0 +1 @@ +(function a(b=new.target){}) diff --git a/ecmascript/codegen/tests/test262-min/e0204155218e1d42.js b/ecmascript/codegen/tests/test262-min/e0204155218e1d42.js new file mode 100644 index 00000000000..bf61b27a45e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e0204155218e1d42.js @@ -0,0 +1 @@ +123..a(1) diff --git a/ecmascript/codegen/tests/test262-min/e05209211a87a606.js b/ecmascript/codegen/tests/test262-min/e05209211a87a606.js new file mode 100644 index 00000000000..a163e71b8b4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e05209211a87a606.js @@ -0,0 +1 @@ +debugger diff --git a/ecmascript/codegen/tests/test262-min/e08112a34cfea369.js b/ecmascript/codegen/tests/test262-min/e08112a34cfea369.js new file mode 100644 index 00000000000..d130c52ea46 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e08112a34cfea369.js @@ -0,0 +1 @@ +for(var[a,b]in c);for(var[d]=1;;);for(var{e}of f); diff --git a/ecmascript/codegen/tests/test262-min/e08e181172bad2b1.js b/ecmascript/codegen/tests/test262-min/e08e181172bad2b1.js new file mode 100644 index 00000000000..f7e31e5e77d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e08e181172bad2b1.js @@ -0,0 +1 @@ +({get[1+2](){},set[3/4](a){}}) diff --git a/ecmascript/codegen/tests/test262-min/e0b98eaceaaeaf9b.js b/ecmascript/codegen/tests/test262-min/e0b98eaceaaeaf9b.js new file mode 100644 index 00000000000..bbe30e38adb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e0b98eaceaaeaf9b.js @@ -0,0 +1 @@ +--a diff --git a/ecmascript/codegen/tests/test262-min/e0c3f07a142a589d.js b/ecmascript/codegen/tests/test262-min/e0c3f07a142a589d.js new file mode 100644 index 00000000000..fdb62ac33bd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e0c3f07a142a589d.js @@ -0,0 +1 @@ +function a(){if(b){}else{c()}} diff --git a/ecmascript/codegen/tests/test262-min/e0f831f2b08fd35c.js b/ecmascript/codegen/tests/test262-min/e0f831f2b08fd35c.js new file mode 100644 index 00000000000..cd7c46bee8c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e0f831f2b08fd35c.js @@ -0,0 +1 @@ +9;9;9;9 diff --git a/ecmascript/codegen/tests/test262-min/e0fc2148b455a6be.js b/ecmascript/codegen/tests/test262-min/e0fc2148b455a6be.js new file mode 100644 index 00000000000..6c650d9b22c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e0fc2148b455a6be.js @@ -0,0 +1 @@ +(function({a:b,a:c}){}) diff --git a/ecmascript/codegen/tests/test262-min/e1237566c1f89d8e.js b/ecmascript/codegen/tests/test262-min/e1237566c1f89d8e.js new file mode 100644 index 00000000000..378187ef87d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e1237566c1f89d8e.js @@ -0,0 +1 @@ +if(a)b() diff --git a/ecmascript/codegen/tests/test262-min/e12aa6994333466f.js b/ecmascript/codegen/tests/test262-min/e12aa6994333466f.js new file mode 100644 index 00000000000..0a2a8b08b18 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e12aa6994333466f.js @@ -0,0 +1 @@ +var a;if(b()){a(c)}else{a(d)} diff --git a/ecmascript/codegen/tests/test262-min/e1820bdb79ebe44b.js b/ecmascript/codegen/tests/test262-min/e1820bdb79ebe44b.js new file mode 100644 index 00000000000..e3035601d82 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e1820bdb79ebe44b.js @@ -0,0 +1 @@ +[...[a]]=1 diff --git a/ecmascript/codegen/tests/test262-min/e18c297bf29c4b6b.js b/ecmascript/codegen/tests/test262-min/e18c297bf29c4b6b.js new file mode 100644 index 00000000000..fe7a1809d28 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e18c297bf29c4b6b.js @@ -0,0 +1 @@ +var a,{b:{c:a}}=1 diff --git a/ecmascript/codegen/tests/test262-min/e18f80fa1699a0fd.js b/ecmascript/codegen/tests/test262-min/e18f80fa1699a0fd.js new file mode 100644 index 00000000000..e61ef7b965e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e18f80fa1699a0fd.js @@ -0,0 +1 @@ +aa diff --git a/ecmascript/codegen/tests/test262-min/e1939e7cb50f65b4.js b/ecmascript/codegen/tests/test262-min/e1939e7cb50f65b4.js new file mode 100644 index 00000000000..e1e9c6b3207 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e1939e7cb50f65b4.js @@ -0,0 +1 @@ +(function*(){[...{a=yield}]=1}) diff --git a/ecmascript/codegen/tests/test262-min/e1d373aa5d926fde.module.js b/ecmascript/codegen/tests/test262-min/e1d373aa5d926fde.module.js new file mode 100644 index 00000000000..cd05b1e9e20 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e1d373aa5d926fde.module.js @@ -0,0 +1 @@ +export var a={} diff --git a/ecmascript/codegen/tests/test262-min/e1dd1979a86a5f1d.js b/ecmascript/codegen/tests/test262-min/e1dd1979a86a5f1d.js new file mode 100644 index 00000000000..88e20c37b09 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e1dd1979a86a5f1d.js @@ -0,0 +1 @@ +try{}catch([a,b,{c,d:e=1,[f]:g=2,h=i}]){} diff --git a/ecmascript/codegen/tests/test262-min/e23748bdbb0713dc.js b/ecmascript/codegen/tests/test262-min/e23748bdbb0713dc.js new file mode 100644 index 00000000000..29bb352860f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e23748bdbb0713dc.js @@ -0,0 +1 @@ +(function(){function a(){b.c('d')}{function a(){b.c('e')}}}()) diff --git a/ecmascript/codegen/tests/test262-min/e23f481ffc072aee.js b/ecmascript/codegen/tests/test262-min/e23f481ffc072aee.js new file mode 100644 index 00000000000..a387f7849b4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e23f481ffc072aee.js @@ -0,0 +1 @@ +if(a)b();if(!a);else b();if(a);else b();if(a);else; diff --git a/ecmascript/codegen/tests/test262-min/e2470430b235b9bb.module.js b/ecmascript/codegen/tests/test262-min/e2470430b235b9bb.module.js new file mode 100644 index 00000000000..85cfda04d61 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e2470430b235b9bb.module.js @@ -0,0 +1 @@ +export default function a(){};let b;export{b as a} diff --git a/ecmascript/codegen/tests/test262-min/e290a32637ffdcb7.js b/ecmascript/codegen/tests/test262-min/e290a32637ffdcb7.js new file mode 100644 index 00000000000..a09db663332 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e290a32637ffdcb7.js @@ -0,0 +1 @@ +(function(){a['Infinity']=1}()) diff --git a/ecmascript/codegen/tests/test262-min/e2ac0bea41202dc9.js b/ecmascript/codegen/tests/test262-min/e2ac0bea41202dc9.js new file mode 100644 index 00000000000..746e27c2716 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e2ac0bea41202dc9.js @@ -0,0 +1 @@ +({get __proto__(){return 1},__proto__:2}) diff --git a/ecmascript/codegen/tests/test262-min/e2c7f7c0da23bc45.js b/ecmascript/codegen/tests/test262-min/e2c7f7c0da23bc45.js new file mode 100644 index 00000000000..780a7581fa2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e2c7f7c0da23bc45.js @@ -0,0 +1 @@ +(function(){switch(a){default:case 1:b("c")}}()) diff --git a/ecmascript/codegen/tests/test262-min/e2c80df1960433a3.js b/ecmascript/codegen/tests/test262-min/e2c80df1960433a3.js new file mode 100644 index 00000000000..7293765cdb8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e2c80df1960433a3.js @@ -0,0 +1 @@ +var yield=1 diff --git a/ecmascript/codegen/tests/test262-min/e349023df8e12f2d.js b/ecmascript/codegen/tests/test262-min/e349023df8e12f2d.js new file mode 100644 index 00000000000..75cda9a5562 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e349023df8e12f2d.js @@ -0,0 +1 @@ +1 in 2 diff --git a/ecmascript/codegen/tests/test262-min/e374d329af31c20a.js b/ecmascript/codegen/tests/test262-min/e374d329af31c20a.js new file mode 100644 index 00000000000..f75f3a86f27 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e374d329af31c20a.js @@ -0,0 +1 @@ +'\'' diff --git a/ecmascript/codegen/tests/test262-min/e42f306327c0f578.js b/ecmascript/codegen/tests/test262-min/e42f306327c0f578.js new file mode 100644 index 00000000000..b8f55a0bed2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e42f306327c0f578.js @@ -0,0 +1 @@ +"use strict";var a={set b(a){},b:1} diff --git a/ecmascript/codegen/tests/test262-min/e463265266cee73e.js b/ecmascript/codegen/tests/test262-min/e463265266cee73e.js new file mode 100644 index 00000000000..d7cc89bf9b1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e463265266cee73e.js @@ -0,0 +1 @@ +function*a(){yield*b} diff --git a/ecmascript/codegen/tests/test262-min/e46381af137ed2e2.js b/ecmascript/codegen/tests/test262-min/e46381af137ed2e2.js new file mode 100644 index 00000000000..f4424f5dd4e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e46381af137ed2e2.js @@ -0,0 +1 @@ +a(1).b diff --git a/ecmascript/codegen/tests/test262-min/e46f7944dd0d4eb4.js b/ecmascript/codegen/tests/test262-min/e46f7944dd0d4eb4.js new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e46f7944dd0d4eb4.js @@ -0,0 +1 @@ +1 diff --git a/ecmascript/codegen/tests/test262-min/e4bd395227b4ee8e.js b/ecmascript/codegen/tests/test262-min/e4bd395227b4ee8e.js new file mode 100644 index 00000000000..f838299a6d4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e4bd395227b4ee8e.js @@ -0,0 +1 @@ +([a])=>1 diff --git a/ecmascript/codegen/tests/test262-min/e4c6c19e4b214180.js b/ecmascript/codegen/tests/test262-min/e4c6c19e4b214180.js new file mode 100644 index 00000000000..2ffcc0f7062 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e4c6c19e4b214180.js @@ -0,0 +1 @@ +function*a(){yield+1} diff --git a/ecmascript/codegen/tests/test262-min/e4cef19dab44335a.js b/ecmascript/codegen/tests/test262-min/e4cef19dab44335a.js new file mode 100644 index 00000000000..723bfc3d2b9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e4cef19dab44335a.js @@ -0,0 +1 @@ +[1,,2] diff --git a/ecmascript/codegen/tests/test262-min/e512276dcfe241c1.js b/ecmascript/codegen/tests/test262-min/e512276dcfe241c1.js new file mode 100644 index 00000000000..b0ef30f5325 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e512276dcfe241c1.js @@ -0,0 +1 @@ +{a;++b} diff --git a/ecmascript/codegen/tests/test262-min/e5204d6e30f296a8.js b/ecmascript/codegen/tests/test262-min/e5204d6e30f296a8.js new file mode 100644 index 00000000000..db7089d47cf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e5204d6e30f296a8.js @@ -0,0 +1 @@ +switch(a){default:case 1:} diff --git a/ecmascript/codegen/tests/test262-min/e5393f15b0e8585d.js b/ecmascript/codegen/tests/test262-min/e5393f15b0e8585d.js new file mode 100644 index 00000000000..603d1c1d4aa --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e5393f15b0e8585d.js @@ -0,0 +1 @@ +({let}=1) diff --git a/ecmascript/codegen/tests/test262-min/e54c1a2fc15cd4b8.js b/ecmascript/codegen/tests/test262-min/e54c1a2fc15cd4b8.js new file mode 100644 index 00000000000..542571efb3d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e54c1a2fc15cd4b8.js @@ -0,0 +1 @@ +class a{static b(){}static get b(){}static set b(c){}} diff --git a/ecmascript/codegen/tests/test262-min/e5570b178254bfb9.js b/ecmascript/codegen/tests/test262-min/e5570b178254bfb9.js new file mode 100644 index 00000000000..fa5400b364e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e5570b178254bfb9.js @@ -0,0 +1 @@ +a:do continue a;while(true) diff --git a/ecmascript/codegen/tests/test262-min/e577d5b725159d71.js b/ecmascript/codegen/tests/test262-min/e577d5b725159d71.js new file mode 100644 index 00000000000..22c726a6a47 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e577d5b725159d71.js @@ -0,0 +1 @@ +0..a diff --git a/ecmascript/codegen/tests/test262-min/e5951efaf0b0c5b3.js b/ecmascript/codegen/tests/test262-min/e5951efaf0b0c5b3.js new file mode 100644 index 00000000000..9b6e67da623 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e5951efaf0b0c5b3.js @@ -0,0 +1 @@ +function*a(){yield(1)} diff --git a/ecmascript/codegen/tests/test262-min/e5a7d56b798ec7e6.js b/ecmascript/codegen/tests/test262-min/e5a7d56b798ec7e6.js new file mode 100644 index 00000000000..e243db4ef84 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e5a7d56b798ec7e6.js @@ -0,0 +1 @@ +a("\v") diff --git a/ecmascript/codegen/tests/test262-min/e5fbf9e911ec36cd.js b/ecmascript/codegen/tests/test262-min/e5fbf9e911ec36cd.js new file mode 100644 index 00000000000..05a9b76ce28 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e5fbf9e911ec36cd.js @@ -0,0 +1 @@ +a=>1 diff --git a/ecmascript/codegen/tests/test262-min/e65f3cca9a4637c3.js b/ecmascript/codegen/tests/test262-min/e65f3cca9a4637c3.js new file mode 100644 index 00000000000..ccacec309b0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e65f3cca9a4637c3.js @@ -0,0 +1 @@ +'use strict' diff --git a/ecmascript/codegen/tests/test262-min/e6643a557fe93de0.js b/ecmascript/codegen/tests/test262-min/e6643a557fe93de0.js new file mode 100644 index 00000000000..be092121c9a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e6643a557fe93de0.js @@ -0,0 +1 @@ +({yield}=1) diff --git a/ecmascript/codegen/tests/test262-min/e6714aac10964792.js b/ecmascript/codegen/tests/test262-min/e6714aac10964792.js new file mode 100644 index 00000000000..27d116eacbe --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e6714aac10964792.js @@ -0,0 +1 @@ +ⅣⅡ=[] diff --git a/ecmascript/codegen/tests/test262-min/e686d016100a7a08.js b/ecmascript/codegen/tests/test262-min/e686d016100a7a08.js new file mode 100644 index 00000000000..6648683c024 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e686d016100a7a08.js @@ -0,0 +1 @@ +class a extends b{c(){new super.d()}} diff --git a/ecmascript/codegen/tests/test262-min/e6ac25f6aa73a2be.js b/ecmascript/codegen/tests/test262-min/e6ac25f6aa73a2be.js new file mode 100644 index 00000000000..780f5f6e317 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e6ac25f6aa73a2be.js @@ -0,0 +1 @@ +/test/||1 diff --git a/ecmascript/codegen/tests/test262-min/e6b424d430520bf2.js b/ecmascript/codegen/tests/test262-min/e6b424d430520bf2.js new file mode 100644 index 00000000000..7942d097c44 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e6b424d430520bf2.js @@ -0,0 +1 @@ +function a(b){if(c)for(var d=1,e=b.f();;d++){}} diff --git a/ecmascript/codegen/tests/test262-min/e6e24cfdc6d308a2.js b/ecmascript/codegen/tests/test262-min/e6e24cfdc6d308a2.js new file mode 100644 index 00000000000..be608e3c596 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e6e24cfdc6d308a2.js @@ -0,0 +1 @@ +{const a=1,b=2,c=3} diff --git a/ecmascript/codegen/tests/test262-min/e71a91c61343cdb1.js b/ecmascript/codegen/tests/test262-min/e71a91c61343cdb1.js new file mode 100644 index 00000000000..621dec857b1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e71a91c61343cdb1.js @@ -0,0 +1 @@ +a={get 10(){}} diff --git a/ecmascript/codegen/tests/test262-min/e720d4faf2b41f42.js b/ecmascript/codegen/tests/test262-min/e720d4faf2b41f42.js new file mode 100644 index 00000000000..ebbcb08ff34 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e720d4faf2b41f42.js @@ -0,0 +1 @@ +function a(){return} diff --git a/ecmascript/codegen/tests/test262-min/e748a1e428ccdf69.js b/ecmascript/codegen/tests/test262-min/e748a1e428ccdf69.js new file mode 100644 index 00000000000..a58c6b8b40f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e748a1e428ccdf69.js @@ -0,0 +1 @@ +new a(b,c) diff --git a/ecmascript/codegen/tests/test262-min/e74a8d269a6abdb7.js b/ecmascript/codegen/tests/test262-min/e74a8d269a6abdb7.js new file mode 100644 index 00000000000..6bf894388d0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e74a8d269a6abdb7.js @@ -0,0 +1 @@ +var private,protected,public diff --git a/ecmascript/codegen/tests/test262-min/e75df8aea1749780.js b/ecmascript/codegen/tests/test262-min/e75df8aea1749780.js new file mode 100644 index 00000000000..da4380476e4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e75df8aea1749780.js @@ -0,0 +1 @@ +a*=1 diff --git a/ecmascript/codegen/tests/test262-min/e78c7b54fc87d08c.js b/ecmascript/codegen/tests/test262-min/e78c7b54fc87d08c.js new file mode 100644 index 00000000000..fbd88dbac63 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e78c7b54fc87d08c.js @@ -0,0 +1 @@ +function*a(b,c,d){} diff --git a/ecmascript/codegen/tests/test262-min/e7c1f6f0913c4a95.js b/ecmascript/codegen/tests/test262-min/e7c1f6f0913c4a95.js new file mode 100644 index 00000000000..f9c2f7198b8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e7c1f6f0913c4a95.js @@ -0,0 +1 @@ +function a(){yield*a} diff --git a/ecmascript/codegen/tests/references/e7c444fc9aed1257.js b/ecmascript/codegen/tests/test262-min/e7c444fc9aed1257.js similarity index 100% rename from ecmascript/codegen/tests/references/e7c444fc9aed1257.js rename to ecmascript/codegen/tests/test262-min/e7c444fc9aed1257.js diff --git a/ecmascript/codegen/tests/test262-min/e7fa87b10d5136a0.js b/ecmascript/codegen/tests/test262-min/e7fa87b10d5136a0.js new file mode 100644 index 00000000000..c1707182621 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e7fa87b10d5136a0.js @@ -0,0 +1 @@ +class a{get b(){}set c(d){};} diff --git a/ecmascript/codegen/tests/test262-min/e815494eb50fa42f.js b/ecmascript/codegen/tests/test262-min/e815494eb50fa42f.js new file mode 100644 index 00000000000..93cb7a21685 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e815494eb50fa42f.js @@ -0,0 +1 @@ +function a(){var b} diff --git a/ecmascript/codegen/tests/test262-min/e84ef669246313d2.js b/ecmascript/codegen/tests/test262-min/e84ef669246313d2.js new file mode 100644 index 00000000000..492539e70cd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e84ef669246313d2.js @@ -0,0 +1 @@ +('(');a(')') diff --git a/ecmascript/codegen/tests/test262-min/e877f5e6753dc7e4.js b/ecmascript/codegen/tests/test262-min/e877f5e6753dc7e4.js new file mode 100644 index 00000000000..61558ad2121 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e877f5e6753dc7e4.js @@ -0,0 +1 @@ +(a,b,c,d)?e:f diff --git a/ecmascript/codegen/tests/test262-min/e899a2594bd5311c.js b/ecmascript/codegen/tests/test262-min/e899a2594bd5311c.js new file mode 100644 index 00000000000..0dcf6b2a651 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e899a2594bd5311c.js @@ -0,0 +1 @@ +()=>1 diff --git a/ecmascript/codegen/tests/test262-min/e8de5af87dc0004c.js b/ecmascript/codegen/tests/test262-min/e8de5af87dc0004c.js new file mode 100644 index 00000000000..555208d7577 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e8de5af87dc0004c.js @@ -0,0 +1 @@ +a/=1 diff --git a/ecmascript/codegen/tests/test262-min/e8ef6188865f9def.js b/ecmascript/codegen/tests/test262-min/e8ef6188865f9def.js new file mode 100644 index 00000000000..fa994a713a4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e8ef6188865f9def.js @@ -0,0 +1 @@ +d:{if(a)b("c");else break d;e.f("g")} diff --git a/ecmascript/codegen/tests/test262-min/e8ef944fd2c2e7fa.js b/ecmascript/codegen/tests/test262-min/e8ef944fd2c2e7fa.js new file mode 100644 index 00000000000..74e0c0b56e6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e8ef944fd2c2e7fa.js @@ -0,0 +1 @@ +a`42` diff --git a/ecmascript/codegen/tests/test262-min/e95b9364e90a4b5c.js b/ecmascript/codegen/tests/test262-min/e95b9364e90a4b5c.js new file mode 100644 index 00000000000..bcf50000d4f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e95b9364e90a4b5c.js @@ -0,0 +1 @@ +`$$$${a}` diff --git a/ecmascript/codegen/tests/test262-min/e9682c37a1a959e1.js b/ecmascript/codegen/tests/test262-min/e9682c37a1a959e1.js new file mode 100644 index 00000000000..1a53c8f42c5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e9682c37a1a959e1.js @@ -0,0 +1 @@ +"\u{20BB7}\u{91CE}\u{5BB6}" diff --git a/ecmascript/codegen/tests/test262-min/e99d260ec2ea47be.js b/ecmascript/codegen/tests/test262-min/e99d260ec2ea47be.js new file mode 100644 index 00000000000..3bdcc579838 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e99d260ec2ea47be.js @@ -0,0 +1 @@ +let a=1,b=2,c=3 diff --git a/ecmascript/codegen/tests/test262-min/e9a24a964ace5330.js b/ecmascript/codegen/tests/test262-min/e9a24a964ace5330.js new file mode 100644 index 00000000000..3e591c909bc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e9a24a964ace5330.js @@ -0,0 +1 @@ +if(a){b}else{b} diff --git a/ecmascript/codegen/tests/test262-min/e9a74729daea9b84.js b/ecmascript/codegen/tests/test262-min/e9a74729daea9b84.js new file mode 100644 index 00000000000..9b7d5e5ba61 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e9a74729daea9b84.js @@ -0,0 +1 @@ +a+b*c diff --git a/ecmascript/codegen/tests/test262-min/e9d44e4cbaf92011.js b/ecmascript/codegen/tests/test262-min/e9d44e4cbaf92011.js new file mode 100644 index 00000000000..a057038f9f1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/e9d44e4cbaf92011.js @@ -0,0 +1 @@ +({[a](){}}) diff --git a/ecmascript/codegen/tests/test262-min/ea2e883b50b24651.js b/ecmascript/codegen/tests/test262-min/ea2e883b50b24651.js new file mode 100644 index 00000000000..b8ee54e6942 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ea2e883b50b24651.js @@ -0,0 +1 @@ +b:switch(1){case 2:a();for(;;)break b;c();break;case 3+4:d();default:e()} diff --git a/ecmascript/codegen/tests/test262-min/ea3fcad439ac905f.js b/ecmascript/codegen/tests/test262-min/ea3fcad439ac905f.js new file mode 100644 index 00000000000..3bae8cd33fe --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ea3fcad439ac905f.js @@ -0,0 +1 @@ +({a:1,a:2}) diff --git a/ecmascript/codegen/tests/test262-min/ea54fe11ef8702f7.js b/ecmascript/codegen/tests/test262-min/ea54fe11ef8702f7.js new file mode 100644 index 00000000000..88844296fad --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ea54fe11ef8702f7.js @@ -0,0 +1 @@ +function*a(){yield 1} diff --git a/ecmascript/codegen/tests/test262-min/eabc983d82222f2a.js b/ecmascript/codegen/tests/test262-min/eabc983d82222f2a.js new file mode 100644 index 00000000000..3277939a44f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/eabc983d82222f2a.js @@ -0,0 +1 @@ +for(let a of b)c(a) diff --git a/ecmascript/codegen/tests/test262-min/eaee2c64dfc46b6a.js b/ecmascript/codegen/tests/test262-min/eaee2c64dfc46b6a.js new file mode 100644 index 00000000000..419465a4415 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/eaee2c64dfc46b6a.js @@ -0,0 +1 @@ +let xǕ,x󠇕 diff --git a/ecmascript/codegen/tests/test262-min/eb4b9e8905923468.js b/ecmascript/codegen/tests/test262-min/eb4b9e8905923468.js new file mode 100644 index 00000000000..286ef8a36ad --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/eb4b9e8905923468.js @@ -0,0 +1 @@ +2748 diff --git a/ecmascript/codegen/tests/test262-min/eb7bb0c4a0ced2a8.js b/ecmascript/codegen/tests/test262-min/eb7bb0c4a0ced2a8.js new file mode 100644 index 00000000000..bafed0740e2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/eb7bb0c4a0ced2a8.js @@ -0,0 +1 @@ +a||b||c diff --git a/ecmascript/codegen/tests/test262-min/ebbc09d90157cb5b.js b/ecmascript/codegen/tests/test262-min/ebbc09d90157cb5b.js new file mode 100644 index 00000000000..cb3f70718ee --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ebbc09d90157cb5b.js @@ -0,0 +1 @@ +function a(){var{b,c}=a;var d=a} diff --git a/ecmascript/codegen/tests/test262-min/ebd6534f7bb01a7a.js b/ecmascript/codegen/tests/test262-min/ebd6534f7bb01a7a.js new file mode 100644 index 00000000000..9f5eafec321 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ebd6534f7bb01a7a.js @@ -0,0 +1 @@ +({true:1}) diff --git a/ecmascript/codegen/tests/test262-min/ec05d8a5722be86c.js b/ecmascript/codegen/tests/test262-min/ec05d8a5722be86c.js new file mode 100644 index 00000000000..5a1b82b7657 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ec05d8a5722be86c.js @@ -0,0 +1 @@ +(function(){var a=1;a=a+=2}()) diff --git a/ecmascript/codegen/tests/test262-min/ec782937135d4f32.js b/ecmascript/codegen/tests/test262-min/ec782937135d4f32.js new file mode 100644 index 00000000000..e7225802c8d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ec782937135d4f32.js @@ -0,0 +1 @@ +/a/i diff --git a/ecmascript/codegen/tests/test262-min/ec79f9c27c045b00.js b/ecmascript/codegen/tests/test262-min/ec79f9c27c045b00.js new file mode 100644 index 00000000000..12895beaaf3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ec79f9c27c045b00.js @@ -0,0 +1 @@ +b:while(1){continue;a} diff --git a/ecmascript/codegen/tests/test262-min/ec97990c2cc5e0e8.js b/ecmascript/codegen/tests/test262-min/ec97990c2cc5e0e8.js new file mode 100644 index 00000000000..3fad44a335c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ec97990c2cc5e0e8.js @@ -0,0 +1 @@ +a||b&&c|d^e&f==g>>i+j*k diff --git a/ecmascript/codegen/tests/test262-min/ec99a663d6f3983d.js b/ecmascript/codegen/tests/test262-min/ec99a663d6f3983d.js new file mode 100644 index 00000000000..0b05bfaa1bb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ec99a663d6f3983d.js @@ -0,0 +1 @@ +function a(){({*[yield](){}})} diff --git a/ecmascript/codegen/tests/test262-min/ecba8fb326c2c985.js b/ecmascript/codegen/tests/test262-min/ecba8fb326c2c985.js new file mode 100644 index 00000000000..cd91f14c891 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ecba8fb326c2c985.js @@ -0,0 +1 @@ +var a,b,c,d,e;if(b){a=1+2}else{a=3}if(b){a=4+5}else if(c){a=6}else{a=7-8}a=b?'f':'g'+'h';a=b?'f':b?'f':'g'+'h';if(i()){a=9+10}else{a=11}if(c){a='j'}else if(i()){a='k'+'l'}else{a='j'}a=i()?'m':'f'+'n';a=b?d:e;a=b?'f':'g' diff --git a/ecmascript/codegen/tests/test262-min/ed0783c35e43032b.js b/ecmascript/codegen/tests/test262-min/ed0783c35e43032b.js new file mode 100644 index 00000000000..ffe3c23b751 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ed0783c35e43032b.js @@ -0,0 +1 @@ +a["b"]="c";a["if"]="if";a["*"]="d";a["\u0EB3"]="e";a[""]="f";a["1_1"]="b" diff --git a/ecmascript/codegen/tests/test262-min/ed085cb2fd0dc355.js b/ecmascript/codegen/tests/test262-min/ed085cb2fd0dc355.js new file mode 100644 index 00000000000..c7d61f0dd08 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ed085cb2fd0dc355.js @@ -0,0 +1 @@ +var a;if(!b&&!c&&!d&&!e){a=1}else{a=2} diff --git a/ecmascript/codegen/tests/test262-min/ed32642380a6e603.js b/ecmascript/codegen/tests/test262-min/ed32642380a6e603.js new file mode 100644 index 00000000000..2291df983ef --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ed32642380a6e603.js @@ -0,0 +1 @@ +var _𞸃 diff --git a/ecmascript/codegen/tests/test262-min/ed49ee70d6eabf4a.js b/ecmascript/codegen/tests/test262-min/ed49ee70d6eabf4a.js new file mode 100644 index 00000000000..82698e0d026 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ed49ee70d6eabf4a.js @@ -0,0 +1 @@ +arguments=1 diff --git a/ecmascript/codegen/tests/test262-min/ed65dd575be2b4ab.js b/ecmascript/codegen/tests/test262-min/ed65dd575be2b4ab.js new file mode 100644 index 00000000000..899d27cc9f2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ed65dd575be2b4ab.js @@ -0,0 +1 @@ +function a(){b.c('d')}function a(){b.c('e')}a() diff --git a/ecmascript/codegen/tests/test262-min/ed6981438ac1918b.js b/ecmascript/codegen/tests/test262-min/ed6981438ac1918b.js new file mode 100644 index 00000000000..b8444b35bcf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ed6981438ac1918b.js @@ -0,0 +1 @@ +a|=1 diff --git a/ecmascript/codegen/tests/test262-min/ed894bd570d47113.js b/ecmascript/codegen/tests/test262-min/ed894bd570d47113.js new file mode 100644 index 00000000000..b9aaa7864ef --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ed894bd570d47113.js @@ -0,0 +1 @@ +throw a*b diff --git a/ecmascript/codegen/tests/test262-min/eda5026c194f7279.js b/ecmascript/codegen/tests/test262-min/eda5026c194f7279.js new file mode 100644 index 00000000000..573541ac970 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/eda5026c194f7279.js @@ -0,0 +1 @@ +0 diff --git a/ecmascript/codegen/tests/test262-min/edbdeeb1761675a7.js b/ecmascript/codegen/tests/test262-min/edbdeeb1761675a7.js new file mode 100644 index 00000000000..51374ca5308 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/edbdeeb1761675a7.js @@ -0,0 +1 @@ +({"[":1}) diff --git a/ecmascript/codegen/tests/test262-min/edd1f39f90576180.js b/ecmascript/codegen/tests/test262-min/edd1f39f90576180.js new file mode 100644 index 00000000000..dbc89c4ab53 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/edd1f39f90576180.js @@ -0,0 +1 @@ +try{}catch(a){b(a)} diff --git a/ecmascript/codegen/tests/test262-min/edfe04e832b81a82.js b/ecmascript/codegen/tests/test262-min/edfe04e832b81a82.js new file mode 100644 index 00000000000..545cf4446d9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/edfe04e832b81a82.js @@ -0,0 +1 @@ +new a(b) diff --git a/ecmascript/codegen/tests/test262-min/ee2342b2715c3bf0.js b/ecmascript/codegen/tests/test262-min/ee2342b2715c3bf0.js new file mode 100644 index 00000000000..7b1c90d267b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ee2342b2715c3bf0.js @@ -0,0 +1 @@ +do{a++;b--}while(a<1) diff --git a/ecmascript/codegen/tests/test262-min/ee4e8fa6257d810a.js b/ecmascript/codegen/tests/test262-min/ee4e8fa6257d810a.js new file mode 100644 index 00000000000..75e7cadf56e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ee4e8fa6257d810a.js @@ -0,0 +1 @@ +let++ diff --git a/ecmascript/codegen/tests/test262-min/eea2875eacf36279.js b/ecmascript/codegen/tests/test262-min/eea2875eacf36279.js new file mode 100644 index 00000000000..1b1e9a47cb5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/eea2875eacf36279.js @@ -0,0 +1 @@ +if(a){b=c();d=e();for(;bsuper.c}} diff --git a/ecmascript/codegen/tests/test262-min/f0d9a7a2f5d42210.js b/ecmascript/codegen/tests/test262-min/f0d9a7a2f5d42210.js new file mode 100644 index 00000000000..8d978c87c4b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f0d9a7a2f5d42210.js @@ -0,0 +1 @@ +let+1 diff --git a/ecmascript/codegen/tests/test262-min/f0f2ab32e7f42314.js b/ecmascript/codegen/tests/test262-min/f0f2ab32e7f42314.js new file mode 100644 index 00000000000..7ef40801c1c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f0f2ab32e7f42314.js @@ -0,0 +1 @@ +for(var a of[1,2])3 diff --git a/ecmascript/codegen/tests/test262-min/f0f9e218a70eba5c.js b/ecmascript/codegen/tests/test262-min/f0f9e218a70eba5c.js new file mode 100644 index 00000000000..5c84c7ba0ba --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f0f9e218a70eba5c.js @@ -0,0 +1 @@ +/[\w-\s]/ diff --git a/ecmascript/codegen/tests/test262-min/f0fbbdabdaca2146.js b/ecmascript/codegen/tests/test262-min/f0fbbdabdaca2146.js new file mode 100644 index 00000000000..c87b8eaaf43 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f0fbbdabdaca2146.js @@ -0,0 +1 @@ +var let diff --git a/ecmascript/codegen/tests/test262-min/f108a85d36ec9afc.js b/ecmascript/codegen/tests/test262-min/f108a85d36ec9afc.js new file mode 100644 index 00000000000..202bc291c62 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f108a85d36ec9afc.js @@ -0,0 +1 @@ +({*a(){yield super.a()}}) diff --git a/ecmascript/codegen/tests/test262-min/f1218947a6a17e65.js b/ecmascript/codegen/tests/test262-min/f1218947a6a17e65.js new file mode 100644 index 00000000000..0129df8b8ae --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f1218947a6a17e65.js @@ -0,0 +1 @@ +(function(){var a=1;(function(){eval('')}())}()) diff --git a/ecmascript/codegen/tests/test262-min/f139fd88bd0ad9d0.js b/ecmascript/codegen/tests/test262-min/f139fd88bd0ad9d0.js new file mode 100644 index 00000000000..106d81f3d85 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f139fd88bd0ad9d0.js @@ -0,0 +1 @@ +`{${a}}`,`}` diff --git a/ecmascript/codegen/tests/test262-min/f13a130829aa77c5.js b/ecmascript/codegen/tests/test262-min/f13a130829aa77c5.js new file mode 100644 index 00000000000..89ca1341236 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f13a130829aa77c5.js @@ -0,0 +1 @@ +class a{static*b(){}} diff --git a/ecmascript/codegen/tests/test262-min/f1534392279bddbf.js b/ecmascript/codegen/tests/test262-min/f1534392279bddbf.js new file mode 100644 index 00000000000..573541ac970 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f1534392279bddbf.js @@ -0,0 +1 @@ +0 diff --git a/ecmascript/codegen/tests/test262-min/f15772354efa5ecf.js b/ecmascript/codegen/tests/test262-min/f15772354efa5ecf.js new file mode 100644 index 00000000000..734af036b7d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f15772354efa5ecf.js @@ -0,0 +1 @@ +(function(){'use strict';return 1}) diff --git a/ecmascript/codegen/tests/test262-min/f1643d0e6c7fde9a.js b/ecmascript/codegen/tests/test262-min/f1643d0e6c7fde9a.js new file mode 100644 index 00000000000..a32c8139d2e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f1643d0e6c7fde9a.js @@ -0,0 +1 @@ +var a=/=([^=\s])+/g diff --git a/ecmascript/codegen/tests/test262-min/f17ec9517a3339d9.js b/ecmascript/codegen/tests/test262-min/f17ec9517a3339d9.js new file mode 100644 index 00000000000..ba2ae722aed --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f17ec9517a3339d9.js @@ -0,0 +1 @@ +({set if(a){a}}) diff --git a/ecmascript/codegen/tests/test262-min/f1bf02f18fa71ba7.js b/ecmascript/codegen/tests/test262-min/f1bf02f18fa71ba7.js new file mode 100644 index 00000000000..a3654b98166 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f1bf02f18fa71ba7.js @@ -0,0 +1 @@ +([])=>1 diff --git a/ecmascript/codegen/tests/test262-min/f1d7e3cc86ffc02b.js b/ecmascript/codegen/tests/test262-min/f1d7e3cc86ffc02b.js new file mode 100644 index 00000000000..b68072054f2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f1d7e3cc86ffc02b.js @@ -0,0 +1 @@ +function a(){b();var c;var d}function e(f){b();var c;var f} diff --git a/ecmascript/codegen/tests/test262-min/f2113065d9111e6d.js b/ecmascript/codegen/tests/test262-min/f2113065d9111e6d.js new file mode 100644 index 00000000000..e901e8a879c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f2113065d9111e6d.js @@ -0,0 +1 @@ +(()=>null)() diff --git a/ecmascript/codegen/tests/test262-min/f2142c1dabd961c1.js b/ecmascript/codegen/tests/test262-min/f2142c1dabd961c1.js new file mode 100644 index 00000000000..10ce1e2a106 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f2142c1dabd961c1.js @@ -0,0 +1 @@ +;a-- >1 diff --git a/ecmascript/codegen/tests/test262-min/f2aa3da994da03a7.js b/ecmascript/codegen/tests/test262-min/f2aa3da994da03a7.js new file mode 100644 index 00000000000..bf6edd221e3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f2aa3da994da03a7.js @@ -0,0 +1 @@ +var{a=b}=c diff --git a/ecmascript/codegen/tests/test262-min/f2d394b74219a023.js b/ecmascript/codegen/tests/test262-min/f2d394b74219a023.js new file mode 100644 index 00000000000..7722b1e8f8b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f2d394b74219a023.js @@ -0,0 +1 @@ +typeof/test/+' RegExp' diff --git a/ecmascript/codegen/tests/test262-min/f2e0a415d88b3451.js b/ecmascript/codegen/tests/test262-min/f2e0a415d88b3451.js new file mode 100644 index 00000000000..a738ce69e56 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f2e0a415d88b3451.js @@ -0,0 +1 @@ +if(a){b()} diff --git a/ecmascript/codegen/tests/test262-min/f2e41488e95243a8.js b/ecmascript/codegen/tests/test262-min/f2e41488e95243a8.js new file mode 100644 index 00000000000..6bf0b635d51 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f2e41488e95243a8.js @@ -0,0 +1 @@ +var[let]=a diff --git a/ecmascript/codegen/tests/test262-min/f2ed650f15f224fa.module.js b/ecmascript/codegen/tests/test262-min/f2ed650f15f224fa.module.js new file mode 100644 index 00000000000..b0d35f3a137 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f2ed650f15f224fa.module.js @@ -0,0 +1 @@ +export default 1 diff --git a/ecmascript/codegen/tests/test262-min/f30d88a123e11b55.js b/ecmascript/codegen/tests/test262-min/f30d88a123e11b55.js new file mode 100644 index 00000000000..90f3e28626d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f30d88a123e11b55.js @@ -0,0 +1 @@ +for(var[a,b]of c); diff --git a/ecmascript/codegen/tests/test262-min/f3219596b50bb381.js b/ecmascript/codegen/tests/test262-min/f3219596b50bb381.js new file mode 100644 index 00000000000..e2b2a986290 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f3219596b50bb381.js @@ -0,0 +1 @@ +{[1]}/foo/ diff --git a/ecmascript/codegen/tests/test262-min/f3260491590325af.js b/ecmascript/codegen/tests/test262-min/f3260491590325af.js new file mode 100644 index 00000000000..a3b610e41f3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f3260491590325af.js @@ -0,0 +1 @@ +(function(){return true})()?a.b(true):a.b(false) diff --git a/ecmascript/codegen/tests/test262-min/f355802cb6d444e1.js b/ecmascript/codegen/tests/test262-min/f355802cb6d444e1.js new file mode 100644 index 00000000000..da394efcc64 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f355802cb6d444e1.js @@ -0,0 +1 @@ +let a diff --git a/ecmascript/codegen/tests/test262-min/f3d3a0f30115de54.js b/ecmascript/codegen/tests/test262-min/f3d3a0f30115de54.js new file mode 100644 index 00000000000..9dc5e524c4f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f3d3a0f30115de54.js @@ -0,0 +1 @@ +a2 diff --git a/ecmascript/codegen/tests/test262-min/f43f922cccf5b9af.js b/ecmascript/codegen/tests/test262-min/f43f922cccf5b9af.js new file mode 100644 index 00000000000..4046e6489e6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f43f922cccf5b9af.js @@ -0,0 +1 @@ +(function(){a=a+=1}()) diff --git a/ecmascript/codegen/tests/test262-min/f471327b3e9b8933.js b/ecmascript/codegen/tests/test262-min/f471327b3e9b8933.js new file mode 100644 index 00000000000..a61f02cf2cc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f471327b3e9b8933.js @@ -0,0 +1 @@ +a={a:1,a:2} diff --git a/ecmascript/codegen/tests/test262-min/f4864ec70dd99c21.js b/ecmascript/codegen/tests/test262-min/f4864ec70dd99c21.js new file mode 100644 index 00000000000..baf48cb4eab --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f4864ec70dd99c21.js @@ -0,0 +1 @@ +a.false diff --git a/ecmascript/codegen/tests/test262-min/f4a61fcdefebb9d4.js b/ecmascript/codegen/tests/test262-min/f4a61fcdefebb9d4.js new file mode 100644 index 00000000000..f5bea222519 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f4a61fcdefebb9d4.js @@ -0,0 +1 @@ +var private,protected,public,static diff --git a/ecmascript/codegen/tests/test262-min/f4b2d8937ec13ab0.js b/ecmascript/codegen/tests/test262-min/f4b2d8937ec13ab0.js new file mode 100644 index 00000000000..bb98c558384 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f4b2d8937ec13ab0.js @@ -0,0 +1 @@ +for(var a=("b"in c),d=1;d<2;++d); diff --git a/ecmascript/codegen/tests/test262-min/f50f858c3ef003f4.js b/ecmascript/codegen/tests/test262-min/f50f858c3ef003f4.js new file mode 100644 index 00000000000..888ad2daf87 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f50f858c3ef003f4.js @@ -0,0 +1 @@ +a&&(b&&c) diff --git a/ecmascript/codegen/tests/test262-min/f552daf299e1c6e5.js b/ecmascript/codegen/tests/test262-min/f552daf299e1c6e5.js new file mode 100644 index 00000000000..a31f0180cba --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f552daf299e1c6e5.js @@ -0,0 +1 @@ +({a(){let a}}) diff --git a/ecmascript/codegen/tests/test262-min/f597b0312e2b678c.js b/ecmascript/codegen/tests/test262-min/f597b0312e2b678c.js new file mode 100644 index 00000000000..e22ec80b629 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f597b0312e2b678c.js @@ -0,0 +1 @@ +if(a){b()}else{} diff --git a/ecmascript/codegen/tests/test262-min/f5b89028dfa29f27.js b/ecmascript/codegen/tests/test262-min/f5b89028dfa29f27.js new file mode 100644 index 00000000000..98c10c1f852 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f5b89028dfa29f27.js @@ -0,0 +1 @@ +var 𞸆_$ diff --git a/ecmascript/codegen/tests/test262-min/f5ba9f1b21487d3b.js b/ecmascript/codegen/tests/test262-min/f5ba9f1b21487d3b.js new file mode 100644 index 00000000000..1621b527a4b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f5ba9f1b21487d3b.js @@ -0,0 +1 @@ +function a(){var b=1} diff --git a/ecmascript/codegen/tests/test262-min/f601e7dd0235d423.js b/ecmascript/codegen/tests/test262-min/f601e7dd0235d423.js new file mode 100644 index 00000000000..f3e1274c320 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f601e7dd0235d423.js @@ -0,0 +1 @@ +var{a:b=c}=d diff --git a/ecmascript/codegen/tests/test262-min/f658dbaa20c36388.js b/ecmascript/codegen/tests/test262-min/f658dbaa20c36388.js new file mode 100644 index 00000000000..48e6b3a1c18 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f658dbaa20c36388.js @@ -0,0 +1 @@ +(function(){if(!!a&&b()){with(b){}}}()) diff --git a/ecmascript/codegen/tests/test262-min/f69b27444afab042.js b/ecmascript/codegen/tests/test262-min/f69b27444afab042.js new file mode 100644 index 00000000000..5fc233fae3c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f69b27444afab042.js @@ -0,0 +1 @@ +(function(){b:{if(a)break b;if(a)break b;if(a)break b;if(a)break b}eval(c)}()) diff --git a/ecmascript/codegen/tests/test262-min/f6d11d1e4dcb1ded.js b/ecmascript/codegen/tests/test262-min/f6d11d1e4dcb1ded.js new file mode 100644 index 00000000000..4f1bd23ddc0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f6d11d1e4dcb1ded.js @@ -0,0 +1 @@ +function a(){let b=new.target} diff --git a/ecmascript/codegen/tests/test262-min/f6d42525cd87339b.js b/ecmascript/codegen/tests/test262-min/f6d42525cd87339b.js new file mode 100644 index 00000000000..5aed497b134 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f6d42525cd87339b.js @@ -0,0 +1 @@ +(function(){var a,b,c}()) diff --git a/ecmascript/codegen/tests/test262-min/f7291c5ec70a4152.js b/ecmascript/codegen/tests/test262-min/f7291c5ec70a4152.js new file mode 100644 index 00000000000..284a196c44f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f7291c5ec70a4152.js @@ -0,0 +1 @@ +({a:b,c},[d,e],...f)=>{} diff --git a/ecmascript/codegen/tests/test262-min/f78abc3cba581cdd.js b/ecmascript/codegen/tests/test262-min/f78abc3cba581cdd.js new file mode 100644 index 00000000000..92d2190b67a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f78abc3cba581cdd.js @@ -0,0 +1 @@ +class a{*b(c){yield c}} diff --git a/ecmascript/codegen/tests/test262-min/f7af1a6b02dbd440.js b/ecmascript/codegen/tests/test262-min/f7af1a6b02dbd440.js new file mode 100644 index 00000000000..1e2f449106d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f7af1a6b02dbd440.js @@ -0,0 +1 @@ +for(;;){a} diff --git a/ecmascript/codegen/tests/test262-min/f7e2edf1ccb61303.js b/ecmascript/codegen/tests/test262-min/f7e2edf1ccb61303.js new file mode 100644 index 00000000000..c9310ecd361 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f7e2edf1ccb61303.js @@ -0,0 +1 @@ +var[[a]]=1 diff --git a/ecmascript/codegen/tests/test262-min/f7f611e6fdb5b9fc.js b/ecmascript/codegen/tests/test262-min/f7f611e6fdb5b9fc.js new file mode 100644 index 00000000000..e1ad50f51db --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f7f611e6fdb5b9fc.js @@ -0,0 +1 @@ +var 𞸊𞸋 diff --git a/ecmascript/codegen/tests/test262-min/f80f30fbdd7e7b19.js b/ecmascript/codegen/tests/test262-min/f80f30fbdd7e7b19.js new file mode 100644 index 00000000000..516f1a4aae1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f80f30fbdd7e7b19.js @@ -0,0 +1 @@ +/.{.}/ diff --git a/ecmascript/codegen/tests/test262-min/f8323b3c45bd107a.js b/ecmascript/codegen/tests/test262-min/f8323b3c45bd107a.js new file mode 100644 index 00000000000..4f75afbb2e7 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f8323b3c45bd107a.js @@ -0,0 +1 @@ +a^b^c diff --git a/ecmascript/codegen/tests/test262-min/f89bf797c3b1dda4.js b/ecmascript/codegen/tests/test262-min/f89bf797c3b1dda4.js new file mode 100644 index 00000000000..b03e7409119 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f89bf797c3b1dda4.js @@ -0,0 +1 @@ +(a) diff --git a/ecmascript/codegen/tests/test262-min/f8a07bd5ab703d4b.js b/ecmascript/codegen/tests/test262-min/f8a07bd5ab703d4b.js new file mode 100644 index 00000000000..415f5794b14 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f8a07bd5ab703d4b.js @@ -0,0 +1 @@ +for(;;){if(a){continue}b()} diff --git a/ecmascript/codegen/tests/test262-min/f8cf06a0d5699319.js b/ecmascript/codegen/tests/test262-min/f8cf06a0d5699319.js new file mode 100644 index 00000000000..68cae6d1c7a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f8cf06a0d5699319.js @@ -0,0 +1 @@ +function a(b,...c){} diff --git a/ecmascript/codegen/tests/test262-min/f8d843a30c73377a.js b/ecmascript/codegen/tests/test262-min/f8d843a30c73377a.js new file mode 100644 index 00000000000..346272f6a93 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f8d843a30c73377a.js @@ -0,0 +1 @@ +(class a{}) diff --git a/ecmascript/codegen/tests/test262-min/f8dc2e8bbddcdfbe.js b/ecmascript/codegen/tests/test262-min/f8dc2e8bbddcdfbe.js new file mode 100644 index 00000000000..3a278035bb0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f8dc2e8bbddcdfbe.js @@ -0,0 +1 @@ +a||b diff --git a/ecmascript/codegen/tests/test262-min/f94e47b7b5cfda74.js b/ecmascript/codegen/tests/test262-min/f94e47b7b5cfda74.js new file mode 100644 index 00000000000..ee54d0a85c2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f94e47b7b5cfda74.js @@ -0,0 +1 @@ +1<<2 diff --git a/ecmascript/codegen/tests/test262-min/f96c694c5a2f2be9.js b/ecmascript/codegen/tests/test262-min/f96c694c5a2f2be9.js new file mode 100644 index 00000000000..450ed7dde6b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f96c694c5a2f2be9.js @@ -0,0 +1 @@ +function a(b,c,d,e){return b< !--c&&d-- >e} diff --git a/ecmascript/codegen/tests/test262-min/f974f2619b25b027.js b/ecmascript/codegen/tests/test262-min/f974f2619b25b027.js new file mode 100644 index 00000000000..5f6541260b1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f974f2619b25b027.js @@ -0,0 +1 @@ +({a:1}) diff --git a/ecmascript/codegen/tests/test262-min/f9888fa1a1e366e7.js b/ecmascript/codegen/tests/test262-min/f9888fa1a1e366e7.js new file mode 100644 index 00000000000..1f5c6ebd966 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f9888fa1a1e366e7.js @@ -0,0 +1 @@ +a=[,,1] diff --git a/ecmascript/codegen/tests/test262-min/f990e76e7fcb0dd9.js b/ecmascript/codegen/tests/test262-min/f990e76e7fcb0dd9.js new file mode 100644 index 00000000000..1f768225013 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f990e76e7fcb0dd9.js @@ -0,0 +1 @@ +const[a]=[] diff --git a/ecmascript/codegen/tests/test262-min/f9b92700d0e68f49.js b/ecmascript/codegen/tests/test262-min/f9b92700d0e68f49.js new file mode 100644 index 00000000000..3ed7b6373bd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f9b92700d0e68f49.js @@ -0,0 +1 @@ +({a}=1) diff --git a/ecmascript/codegen/tests/test262-min/f9c201250f225ab9.js b/ecmascript/codegen/tests/test262-min/f9c201250f225ab9.js new file mode 100644 index 00000000000..b37b88d8cf3 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f9c201250f225ab9.js @@ -0,0 +1 @@ +delete(1,a) diff --git a/ecmascript/codegen/tests/test262-min/f9d67ab9db16c4d5.js b/ecmascript/codegen/tests/test262-min/f9d67ab9db16c4d5.js new file mode 100644 index 00000000000..5508e99fa44 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/f9d67ab9db16c4d5.js @@ -0,0 +1 @@ +var a=1 diff --git a/ecmascript/codegen/tests/test262-min/fa59ac4c41d26c14.js b/ecmascript/codegen/tests/test262-min/fa59ac4c41d26c14.js new file mode 100644 index 00000000000..4936641b176 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fa59ac4c41d26c14.js @@ -0,0 +1 @@ +({let}) diff --git a/ecmascript/codegen/tests/test262-min/fa5b398eeef697a6.js b/ecmascript/codegen/tests/test262-min/fa5b398eeef697a6.js new file mode 100644 index 00000000000..cf4ba21a79f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fa5b398eeef697a6.js @@ -0,0 +1 @@ +({set a(eval){}}) diff --git a/ecmascript/codegen/tests/test262-min/fa6c17d9a188d0bb.js b/ecmascript/codegen/tests/test262-min/fa6c17d9a188d0bb.js new file mode 100644 index 00000000000..4097d6a7350 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fa6c17d9a188d0bb.js @@ -0,0 +1 @@ +(function(){if(!a||b());}()) diff --git a/ecmascript/codegen/tests/test262-min/fa736f4b0cf19c0c.js b/ecmascript/codegen/tests/test262-min/fa736f4b0cf19c0c.js new file mode 100644 index 00000000000..a1212c04beb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fa736f4b0cf19c0c.js @@ -0,0 +1 @@ +"Hello\1World" diff --git a/ecmascript/codegen/tests/test262-min/fa9eaf58f51d6926.js b/ecmascript/codegen/tests/test262-min/fa9eaf58f51d6926.js new file mode 100644 index 00000000000..0c3a3282724 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fa9eaf58f51d6926.js @@ -0,0 +1 @@ +(function(){}) diff --git a/ecmascript/codegen/tests/test262-min/faa4a026e1e86145.js b/ecmascript/codegen/tests/test262-min/faa4a026e1e86145.js new file mode 100644 index 00000000000..d3279e87b63 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/faa4a026e1e86145.js @@ -0,0 +1 @@ +(()=>{})() diff --git a/ecmascript/codegen/tests/test262-min/fada2c7bbfabe14a.js b/ecmascript/codegen/tests/test262-min/fada2c7bbfabe14a.js new file mode 100644 index 00000000000..1af7d8e5896 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fada2c7bbfabe14a.js @@ -0,0 +1 @@ +(function arguments(){}) diff --git a/ecmascript/codegen/tests/test262-min/fae42f5a2ab85c1d.js b/ecmascript/codegen/tests/test262-min/fae42f5a2ab85c1d.js new file mode 100644 index 00000000000..89c3a4bc9f6 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fae42f5a2ab85c1d.js @@ -0,0 +1 @@ +a%=1 diff --git a/ecmascript/codegen/tests/test262-min/fb50400b4c9cf740.js b/ecmascript/codegen/tests/test262-min/fb50400b4c9cf740.js new file mode 100644 index 00000000000..fe8def49865 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fb50400b4c9cf740.js @@ -0,0 +1 @@ +({*a(){yield}}) diff --git a/ecmascript/codegen/tests/test262-min/fb69459d7628ace1.js b/ecmascript/codegen/tests/test262-min/fb69459d7628ace1.js new file mode 100644 index 00000000000..116959e9aa4 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fb69459d7628ace1.js @@ -0,0 +1 @@ +({set:1}) diff --git a/ecmascript/codegen/tests/test262-min/fb7c5656640f6ec7.js b/ecmascript/codegen/tests/test262-min/fb7c5656640f6ec7.js new file mode 100644 index 00000000000..f1ae7f290b5 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fb7c5656640f6ec7.js @@ -0,0 +1 @@ +`${/\d/.a('1')[1]}` diff --git a/ecmascript/codegen/tests/test262-min/fb8d437ce90b1178.js b/ecmascript/codegen/tests/test262-min/fb8d437ce90b1178.js new file mode 100644 index 00000000000..b6c35476ffc --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fb8d437ce90b1178.js @@ -0,0 +1 @@ +[a]=1 diff --git a/ecmascript/codegen/tests/test262-min/fb8db7a71f3755fc.js b/ecmascript/codegen/tests/test262-min/fb8db7a71f3755fc.js new file mode 100644 index 00000000000..3d93f6304c2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fb8db7a71f3755fc.js @@ -0,0 +1 @@ +class a{set b(c){}} diff --git a/ecmascript/codegen/tests/test262-min/fba24e17d16fd0c4.js b/ecmascript/codegen/tests/test262-min/fba24e17d16fd0c4.js new file mode 100644 index 00000000000..fe0f88ea2f8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fba24e17d16fd0c4.js @@ -0,0 +1 @@ +"\x61" diff --git a/ecmascript/codegen/tests/test262-min/fbacebe72fb15fed.module.js b/ecmascript/codegen/tests/test262-min/fbacebe72fb15fed.module.js new file mode 100644 index 00000000000..d4abd13206b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fbacebe72fb15fed.module.js @@ -0,0 +1 @@ +export class a{};1 diff --git a/ecmascript/codegen/tests/test262-min/fbb6b30b41732026.js b/ecmascript/codegen/tests/test262-min/fbb6b30b41732026.js new file mode 100644 index 00000000000..56db76ce64a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fbb6b30b41732026.js @@ -0,0 +1 @@ +new a diff --git a/ecmascript/codegen/tests/test262-min/fbde237f11796df9.js b/ecmascript/codegen/tests/test262-min/fbde237f11796df9.js new file mode 100644 index 00000000000..4192b32c5fb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fbde237f11796df9.js @@ -0,0 +1 @@ +({a:1,set a(b){}}) diff --git a/ecmascript/codegen/tests/test262-min/fc020c065098cbd5.js b/ecmascript/codegen/tests/test262-min/fc020c065098cbd5.js new file mode 100644 index 00000000000..657440e0a66 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fc020c065098cbd5.js @@ -0,0 +1 @@ +var a=/[\u{61}-b][\u0061-b][a-\u{62}][a-\u0062]\u{1ffff}/u diff --git a/ecmascript/codegen/tests/test262-min/fc035551a2a4c15c.js b/ecmascript/codegen/tests/test262-min/fc035551a2a4c15c.js new file mode 100644 index 00000000000..3a75d5be02a --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fc035551a2a4c15c.js @@ -0,0 +1 @@ +while(a-- >1){} diff --git a/ecmascript/codegen/tests/test262-min/fc063bfba795ad91.js b/ecmascript/codegen/tests/test262-min/fc063bfba795ad91.js new file mode 100644 index 00000000000..3ce206ccbb9 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fc063bfba795ad91.js @@ -0,0 +1 @@ +({a(b=new.target){}}) diff --git a/ecmascript/codegen/tests/test262-min/fc1ba7d289fb1af1.js b/ecmascript/codegen/tests/test262-min/fc1ba7d289fb1af1.js new file mode 100644 index 00000000000..3793a101b41 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fc1ba7d289fb1af1.js @@ -0,0 +1 @@ +a={b:function(c,...d){}} diff --git a/ecmascript/codegen/tests/test262-min/fc286bf26373db8d.js b/ecmascript/codegen/tests/test262-min/fc286bf26373db8d.js new file mode 100644 index 00000000000..6188d7dac67 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fc286bf26373db8d.js @@ -0,0 +1 @@ +switch(a){case'b':c();default:} diff --git a/ecmascript/codegen/tests/test262-min/fc5c8d6f6bf16121.js b/ecmascript/codegen/tests/test262-min/fc5c8d6f6bf16121.js new file mode 100644 index 00000000000..63714c7c459 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fc5c8d6f6bf16121.js @@ -0,0 +1 @@ +{a();b()} diff --git a/ecmascript/codegen/tests/references/fc9f000aa3e4bd79.js b/ecmascript/codegen/tests/test262-min/fc9f000aa3e4bd79.js similarity index 100% rename from ecmascript/codegen/tests/references/fc9f000aa3e4bd79.js rename to ecmascript/codegen/tests/test262-min/fc9f000aa3e4bd79.js diff --git a/ecmascript/codegen/tests/test262-min/fcb318e400b44257.js b/ecmascript/codegen/tests/test262-min/fcb318e400b44257.js new file mode 100644 index 00000000000..6aaf26619c0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fcb318e400b44257.js @@ -0,0 +1 @@ +a?1:2 diff --git a/ecmascript/codegen/tests/test262-min/fcd33c00916dd6ad.js b/ecmascript/codegen/tests/test262-min/fcd33c00916dd6ad.js new file mode 100644 index 00000000000..441bb9d9269 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fcd33c00916dd6ad.js @@ -0,0 +1 @@ +a.b.c(1) diff --git a/ecmascript/codegen/tests/test262-min/fcf3738a49a5f358.js b/ecmascript/codegen/tests/test262-min/fcf3738a49a5f358.js new file mode 100644 index 00000000000..d9bfc37b8bf --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fcf3738a49a5f358.js @@ -0,0 +1 @@ +while(true){} diff --git a/ecmascript/codegen/tests/test262-min/fd0ad9026eee596b.js b/ecmascript/codegen/tests/test262-min/fd0ad9026eee596b.js new file mode 100644 index 00000000000..7c67b0104cb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fd0ad9026eee596b.js @@ -0,0 +1 @@ +(1) diff --git a/ecmascript/codegen/tests/test262-min/fd0e7b0f778f8a3b.js b/ecmascript/codegen/tests/test262-min/fd0e7b0f778f8a3b.js new file mode 100644 index 00000000000..d482f9b8862 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fd0e7b0f778f8a3b.js @@ -0,0 +1 @@ +if(a){a} diff --git a/ecmascript/codegen/tests/test262-min/fd167642d02f2c66.js b/ecmascript/codegen/tests/test262-min/fd167642d02f2c66.js new file mode 100644 index 00000000000..7bc056fbafd --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fd167642d02f2c66.js @@ -0,0 +1 @@ +({*[yield](){}}) diff --git a/ecmascript/codegen/tests/test262-min/fd29828f68a7634e.js b/ecmascript/codegen/tests/test262-min/fd29828f68a7634e.js new file mode 100644 index 00000000000..d13c643dd1d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fd29828f68a7634e.js @@ -0,0 +1 @@ +for(;a();){if(b())break;c();d()} diff --git a/ecmascript/codegen/tests/test262-min/fd34477284c96cbf.js b/ecmascript/codegen/tests/test262-min/fd34477284c96cbf.js new file mode 100644 index 00000000000..38771b1e4b2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fd34477284c96cbf.js @@ -0,0 +1 @@ +var[a,a]=1 diff --git a/ecmascript/codegen/tests/test262-min/fd5ea844fcc07d3d.js b/ecmascript/codegen/tests/test262-min/fd5ea844fcc07d3d.js new file mode 100644 index 00000000000..d7c3d93292f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fd5ea844fcc07d3d.js @@ -0,0 +1 @@ +a=>{1} diff --git a/ecmascript/codegen/tests/test262-min/fd889a4ef6e361f1.js b/ecmascript/codegen/tests/test262-min/fd889a4ef6e361f1.js new file mode 100644 index 00000000000..a5e7e45ad05 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fd889a4ef6e361f1.js @@ -0,0 +1 @@ +function a(b,c){d()} diff --git a/ecmascript/codegen/tests/test262-min/fdb05dfd469c46c4.js b/ecmascript/codegen/tests/test262-min/fdb05dfd469c46c4.js new file mode 100644 index 00000000000..f343b9433f0 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fdb05dfd469c46c4.js @@ -0,0 +1 @@ +var a={};a.你好=1;var ↂωↂ=2;var l০=3 diff --git a/ecmascript/codegen/tests/test262-min/fdb684acf63f6274.js b/ecmascript/codegen/tests/test262-min/fdb684acf63f6274.js new file mode 100644 index 00000000000..0cfbf08886f --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fdb684acf63f6274.js @@ -0,0 +1 @@ +2 diff --git a/ecmascript/codegen/tests/test262-min/fe03ba1b818c762e.js b/ecmascript/codegen/tests/test262-min/fe03ba1b818c762e.js new file mode 100644 index 00000000000..8289485f9b8 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fe03ba1b818c762e.js @@ -0,0 +1 @@ +(function(){null!=(a,1)}()) diff --git a/ecmascript/codegen/tests/test262-min/fe24fc72de1ef7cc.js b/ecmascript/codegen/tests/test262-min/fe24fc72de1ef7cc.js new file mode 100644 index 00000000000..4eb9547704e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fe24fc72de1ef7cc.js @@ -0,0 +1 @@ +([a,b])=>1 diff --git a/ecmascript/codegen/tests/test262-min/fe2d3b945530c806.js b/ecmascript/codegen/tests/test262-min/fe2d3b945530c806.js new file mode 100644 index 00000000000..4cb0356c192 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fe2d3b945530c806.js @@ -0,0 +1 @@ +a;b diff --git a/ecmascript/codegen/tests/test262-min/fe5ae04c8d239b26.js b/ecmascript/codegen/tests/test262-min/fe5ae04c8d239b26.js new file mode 100644 index 00000000000..e0ee0fee95c --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fe5ae04c8d239b26.js @@ -0,0 +1 @@ +function a(){var b=1;c();var d=2} diff --git a/ecmascript/codegen/tests/test262-min/fe5f0dcb8e902857.js b/ecmascript/codegen/tests/test262-min/fe5f0dcb8e902857.js new file mode 100644 index 00000000000..85f15ba2f6b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fe5f0dcb8e902857.js @@ -0,0 +1 @@ +while(a)(function(){b('c')}());try{}catch(d){b('e')} diff --git a/ecmascript/codegen/tests/test262-min/fe7c2a6e1efe2cf4.js b/ecmascript/codegen/tests/test262-min/fe7c2a6e1efe2cf4.js new file mode 100644 index 00000000000..61ab1e7e30d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fe7c2a6e1efe2cf4.js @@ -0,0 +1 @@ +let[a]=b diff --git a/ecmascript/codegen/tests/test262-min/fec4c4ff229d3fc2.js b/ecmascript/codegen/tests/test262-min/fec4c4ff229d3fc2.js new file mode 100644 index 00000000000..4977d416dd2 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fec4c4ff229d3fc2.js @@ -0,0 +1 @@ +a(b()+1+"c"+"d");a(b()+(2+"c")+"d");a((b()+3)+"c"+"d");a(b()+4+"c"+"d"+("e"+"f"));a("e"+"f"+b()+5+"c"+"d"+("e"+"f"));a("c"+b()+6+"d");a(b()+'e'+(7+g('10'))) diff --git a/ecmascript/codegen/tests/test262-min/fee1cb654a489f02.js b/ecmascript/codegen/tests/test262-min/fee1cb654a489f02.js new file mode 100644 index 00000000000..66572937cdb --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fee1cb654a489f02.js @@ -0,0 +1 @@ +a-b%c diff --git a/ecmascript/codegen/tests/test262-min/fee3f54aa720263f.js b/ecmascript/codegen/tests/test262-min/fee3f54aa720263f.js new file mode 100644 index 00000000000..40f0aed008e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fee3f54aa720263f.js @@ -0,0 +1 @@ +(a?b:c)?d:e diff --git a/ecmascript/codegen/tests/test262-min/fef4facb0b8479bf.js b/ecmascript/codegen/tests/test262-min/fef4facb0b8479bf.js new file mode 100644 index 00000000000..c172b1fe52d --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fef4facb0b8479bf.js @@ -0,0 +1 @@ +function a(){return 1?2:3} diff --git a/ecmascript/codegen/tests/test262-min/ff03d6d14c3f4007.js b/ecmascript/codegen/tests/test262-min/ff03d6d14c3f4007.js new file mode 100644 index 00000000000..c985aaa323b --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ff03d6d14c3f4007.js @@ -0,0 +1 @@ +(function(){var a={'NaN':1}}()) diff --git a/ecmascript/codegen/tests/test262-min/ff215f966bed2b85.js b/ecmascript/codegen/tests/test262-min/ff215f966bed2b85.js new file mode 100644 index 00000000000..480bf3dc632 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ff215f966bed2b85.js @@ -0,0 +1 @@ +({"__proto__":1}) diff --git a/ecmascript/codegen/tests/test262-min/ff488aae349cc02d.js b/ecmascript/codegen/tests/test262-min/ff488aae349cc02d.js new file mode 100644 index 00000000000..e41a1eef2e1 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ff488aae349cc02d.js @@ -0,0 +1 @@ +for(const a of b); diff --git a/ecmascript/codegen/tests/test262-min/ff4b8762733080cb.js b/ecmascript/codegen/tests/test262-min/ff4b8762733080cb.js new file mode 100644 index 00000000000..e2933699e06 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ff4b8762733080cb.js @@ -0,0 +1 @@ +while(true){continue} diff --git a/ecmascript/codegen/tests/test262-min/ff902593b25092d1.js b/ecmascript/codegen/tests/test262-min/ff902593b25092d1.js new file mode 100644 index 00000000000..647ef7fdb11 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ff902593b25092d1.js @@ -0,0 +1 @@ +/[P QR]/i diff --git a/ecmascript/codegen/tests/test262-min/ffaf5b9d3140465b.js b/ecmascript/codegen/tests/test262-min/ffaf5b9d3140465b.js new file mode 100644 index 00000000000..6e82d104c35 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ffaf5b9d3140465b.js @@ -0,0 +1 @@ +let() diff --git a/ecmascript/codegen/tests/test262-min/ffbba9592c03baa6.js b/ecmascript/codegen/tests/test262-min/ffbba9592c03baa6.js new file mode 100644 index 00000000000..857621fa704 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ffbba9592c03baa6.js @@ -0,0 +1 @@ +switch(a){case 1:b();break} diff --git a/ecmascript/codegen/tests/test262-min/ffc32056a146cc9b.js b/ecmascript/codegen/tests/test262-min/ffc32056a146cc9b.js new file mode 100644 index 00000000000..6738528566e --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ffc32056a146cc9b.js @@ -0,0 +1 @@ +for(a of b); diff --git a/ecmascript/codegen/tests/test262-min/ffcf0064736d41e7.js b/ecmascript/codegen/tests/test262-min/ffcf0064736d41e7.js new file mode 100644 index 00000000000..d319c900591 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/ffcf0064736d41e7.js @@ -0,0 +1 @@ +(function*(){(function yield(){})}) diff --git a/ecmascript/codegen/tests/test262-min/fffe7e78a7ce9f9a.js b/ecmascript/codegen/tests/test262-min/fffe7e78a7ce9f9a.js new file mode 100644 index 00000000000..7cfe01e9338 --- /dev/null +++ b/ecmascript/codegen/tests/test262-min/fffe7e78a7ce9f9a.js @@ -0,0 +1 @@ +/foobar/ diff --git a/ecmascript/codegen/tests/test262.rs b/ecmascript/codegen/tests/test262.rs index 66f84f3e20f..f0f6bda5235 100644 --- a/ecmascript/codegen/tests/test262.rs +++ b/ecmascript/codegen/tests/test262.rs @@ -10,7 +10,7 @@ use std::{ sync::{Arc, RwLock}, }; use swc_common::comments::SingleThreadedComments; -use swc_ecma_codegen::{self, Emitter}; +use swc_ecma_codegen::{self, text_writer::WriteJs, Emitter}; use swc_ecma_parser::{lexer::Lexer, Parser, StringInput, Syntax}; use test::{ test_main, DynTestFn, Options, ShouldPanic::No, TestDesc, TestDescAndFn, TestName, TestType, @@ -89,10 +89,10 @@ fn add_test( }); } -fn error_tests(tests: &mut Vec) -> Result<(), io::Error> { +fn error_tests(tests: &mut Vec, minify: bool) -> Result<(), io::Error> { let ref_dir = Path::new(env!("CARGO_MANIFEST_DIR")) .join("tests") - .join("references"); + .join(if minify { "test262-min" } else { "test262" }); let dir = Path::new(env!("CARGO_MANIFEST_DIR")) .parent() .unwrap() @@ -124,7 +124,11 @@ fn error_tests(tests: &mut Vec) -> Result<(), io::Error> { let module = file_name.contains("module"); let ref_dir = ref_dir.clone(); - let name = format!("test262::golden::{}", file_name); + let name = format!( + "test262::golden::{}::{}", + if minify { "minify" } else { "normal" }, + file_name + ); add_test(tests, name, ignore, move || { let msg = format!( @@ -153,13 +157,22 @@ fn error_tests(tests: &mut Vec) -> Result<(), io::Error> { let mut parser: Parser> = Parser::new_from(lexer); { + let mut wr = Box::new(swc_ecma_codegen::text_writer::JsWriter::new( + cm.clone(), + "\n", + &mut wr, + None, + )) as Box; + + if minify { + wr = Box::new(swc_ecma_codegen::text_writer::omit_trailing_semi(wr)); + } + let mut emitter = Emitter { - cfg: Default::default(), + cfg: swc_ecma_codegen::Config { minify }, cm: cm.clone(), - wr: Box::new(swc_ecma_codegen::text_writer::JsWriter::new( - cm, "\n", &mut wr, None, - )), - comments: Some(&comments), + wr, + comments: if minify { None } else { Some(&comments) }, }; // Parse source @@ -200,7 +213,8 @@ fn error_tests(tests: &mut Vec) -> Result<(), io::Error> { fn identity() { let args: Vec<_> = env::args().collect(); let mut tests = Vec::new(); - error_tests(&mut tests).expect("failed to load testss"); + error_tests(&mut tests, true).expect("failed to load testss"); + error_tests(&mut tests, false).expect("failed to load testss"); test_main(&args, tests, Some(Options::new())); } diff --git a/ecmascript/codegen/tests/references/005dc7dff71d4b97.js b/ecmascript/codegen/tests/test262/005dc7dff71d4b97.js similarity index 100% rename from ecmascript/codegen/tests/references/005dc7dff71d4b97.js rename to ecmascript/codegen/tests/test262/005dc7dff71d4b97.js diff --git a/ecmascript/codegen/tests/references/006949a4f1471866.js b/ecmascript/codegen/tests/test262/006949a4f1471866.js similarity index 100% rename from ecmascript/codegen/tests/references/006949a4f1471866.js rename to ecmascript/codegen/tests/test262/006949a4f1471866.js diff --git a/ecmascript/codegen/tests/references/00b851b06af02cc0.js b/ecmascript/codegen/tests/test262/00b851b06af02cc0.js similarity index 100% rename from ecmascript/codegen/tests/references/00b851b06af02cc0.js rename to ecmascript/codegen/tests/test262/00b851b06af02cc0.js diff --git a/ecmascript/codegen/tests/references/00bd68a9d0203f10.js b/ecmascript/codegen/tests/test262/00bd68a9d0203f10.js similarity index 100% rename from ecmascript/codegen/tests/references/00bd68a9d0203f10.js rename to ecmascript/codegen/tests/test262/00bd68a9d0203f10.js diff --git a/ecmascript/codegen/tests/references/00c79d09c52df3ec.js b/ecmascript/codegen/tests/test262/00c79d09c52df3ec.js similarity index 100% rename from ecmascript/codegen/tests/references/00c79d09c52df3ec.js rename to ecmascript/codegen/tests/test262/00c79d09c52df3ec.js diff --git a/ecmascript/codegen/tests/references/0140c25a4177e5f7.module.js b/ecmascript/codegen/tests/test262/0140c25a4177e5f7.module.js similarity index 100% rename from ecmascript/codegen/tests/references/0140c25a4177e5f7.module.js rename to ecmascript/codegen/tests/test262/0140c25a4177e5f7.module.js diff --git a/ecmascript/codegen/tests/references/01533b37d1d9ede8.js b/ecmascript/codegen/tests/test262/01533b37d1d9ede8.js similarity index 100% rename from ecmascript/codegen/tests/references/01533b37d1d9ede8.js rename to ecmascript/codegen/tests/test262/01533b37d1d9ede8.js diff --git a/ecmascript/codegen/tests/references/017a45a1919f4006.js b/ecmascript/codegen/tests/test262/017a45a1919f4006.js similarity index 100% rename from ecmascript/codegen/tests/references/017a45a1919f4006.js rename to ecmascript/codegen/tests/test262/017a45a1919f4006.js diff --git a/ecmascript/codegen/tests/references/01f27ee3c1bb68e5.js b/ecmascript/codegen/tests/test262/01f27ee3c1bb68e5.js similarity index 100% rename from ecmascript/codegen/tests/references/01f27ee3c1bb68e5.js rename to ecmascript/codegen/tests/test262/01f27ee3c1bb68e5.js diff --git a/ecmascript/codegen/tests/references/01fd8e8a0a42307b.js b/ecmascript/codegen/tests/test262/01fd8e8a0a42307b.js similarity index 100% rename from ecmascript/codegen/tests/references/01fd8e8a0a42307b.js rename to ecmascript/codegen/tests/test262/01fd8e8a0a42307b.js diff --git a/ecmascript/codegen/tests/references/02028e3b961bfee0.js b/ecmascript/codegen/tests/test262/02028e3b961bfee0.js similarity index 100% rename from ecmascript/codegen/tests/references/02028e3b961bfee0.js rename to ecmascript/codegen/tests/test262/02028e3b961bfee0.js diff --git a/ecmascript/codegen/tests/references/0228be549a7706e7.js b/ecmascript/codegen/tests/test262/0228be549a7706e7.js similarity index 100% rename from ecmascript/codegen/tests/references/0228be549a7706e7.js rename to ecmascript/codegen/tests/test262/0228be549a7706e7.js diff --git a/ecmascript/codegen/tests/references/023e4178e1ad1a82.module.js b/ecmascript/codegen/tests/test262/023e4178e1ad1a82.module.js similarity index 100% rename from ecmascript/codegen/tests/references/023e4178e1ad1a82.module.js rename to ecmascript/codegen/tests/test262/023e4178e1ad1a82.module.js diff --git a/ecmascript/codegen/tests/references/024f7b95336f7fad.js b/ecmascript/codegen/tests/test262/024f7b95336f7fad.js similarity index 100% rename from ecmascript/codegen/tests/references/024f7b95336f7fad.js rename to ecmascript/codegen/tests/test262/024f7b95336f7fad.js diff --git a/ecmascript/codegen/tests/references/0262c247b28885e2.js b/ecmascript/codegen/tests/test262/0262c247b28885e2.js similarity index 100% rename from ecmascript/codegen/tests/references/0262c247b28885e2.js rename to ecmascript/codegen/tests/test262/0262c247b28885e2.js diff --git a/ecmascript/codegen/tests/references/0266b93cf3014995.js b/ecmascript/codegen/tests/test262/0266b93cf3014995.js similarity index 100% rename from ecmascript/codegen/tests/references/0266b93cf3014995.js rename to ecmascript/codegen/tests/test262/0266b93cf3014995.js diff --git a/ecmascript/codegen/tests/references/027abe815032df72.js b/ecmascript/codegen/tests/test262/027abe815032df72.js similarity index 100% rename from ecmascript/codegen/tests/references/027abe815032df72.js rename to ecmascript/codegen/tests/test262/027abe815032df72.js diff --git a/ecmascript/codegen/tests/references/028846a58c67687f.js b/ecmascript/codegen/tests/test262/028846a58c67687f.js similarity index 100% rename from ecmascript/codegen/tests/references/028846a58c67687f.js rename to ecmascript/codegen/tests/test262/028846a58c67687f.js diff --git a/ecmascript/codegen/tests/references/02b924339f85fe00.js b/ecmascript/codegen/tests/test262/02b924339f85fe00.js similarity index 100% rename from ecmascript/codegen/tests/references/02b924339f85fe00.js rename to ecmascript/codegen/tests/test262/02b924339f85fe00.js diff --git a/ecmascript/codegen/tests/references/02cf1a37af2403fe.js b/ecmascript/codegen/tests/test262/02cf1a37af2403fe.js similarity index 100% rename from ecmascript/codegen/tests/references/02cf1a37af2403fe.js rename to ecmascript/codegen/tests/test262/02cf1a37af2403fe.js diff --git a/ecmascript/codegen/tests/references/02dad3c9ec38d3c7.js b/ecmascript/codegen/tests/test262/02dad3c9ec38d3c7.js similarity index 100% rename from ecmascript/codegen/tests/references/02dad3c9ec38d3c7.js rename to ecmascript/codegen/tests/test262/02dad3c9ec38d3c7.js diff --git a/ecmascript/codegen/tests/references/0339fa95c78c11bd.js b/ecmascript/codegen/tests/test262/0339fa95c78c11bd.js similarity index 100% rename from ecmascript/codegen/tests/references/0339fa95c78c11bd.js rename to ecmascript/codegen/tests/test262/0339fa95c78c11bd.js diff --git a/ecmascript/codegen/tests/references/034ded949b5c2fa3.js b/ecmascript/codegen/tests/test262/034ded949b5c2fa3.js similarity index 100% rename from ecmascript/codegen/tests/references/034ded949b5c2fa3.js rename to ecmascript/codegen/tests/test262/034ded949b5c2fa3.js diff --git a/ecmascript/codegen/tests/references/03608b6e222ae700.js b/ecmascript/codegen/tests/test262/03608b6e222ae700.js similarity index 100% rename from ecmascript/codegen/tests/references/03608b6e222ae700.js rename to ecmascript/codegen/tests/test262/03608b6e222ae700.js diff --git a/ecmascript/codegen/tests/references/0371eb8b8c28569d.js b/ecmascript/codegen/tests/test262/0371eb8b8c28569d.js similarity index 100% rename from ecmascript/codegen/tests/references/0371eb8b8c28569d.js rename to ecmascript/codegen/tests/test262/0371eb8b8c28569d.js diff --git a/ecmascript/codegen/tests/references/037ecd1db38c230c.module.js b/ecmascript/codegen/tests/test262/037ecd1db38c230c.module.js similarity index 100% rename from ecmascript/codegen/tests/references/037ecd1db38c230c.module.js rename to ecmascript/codegen/tests/test262/037ecd1db38c230c.module.js diff --git a/ecmascript/codegen/tests/references/03d1cf071a76d061.js b/ecmascript/codegen/tests/test262/03d1cf071a76d061.js similarity index 100% rename from ecmascript/codegen/tests/references/03d1cf071a76d061.js rename to ecmascript/codegen/tests/test262/03d1cf071a76d061.js diff --git a/ecmascript/codegen/tests/references/040001f3b0eb3bde.js b/ecmascript/codegen/tests/test262/040001f3b0eb3bde.js similarity index 100% rename from ecmascript/codegen/tests/references/040001f3b0eb3bde.js rename to ecmascript/codegen/tests/test262/040001f3b0eb3bde.js diff --git a/ecmascript/codegen/tests/references/0426f15dac46e92d.js b/ecmascript/codegen/tests/test262/0426f15dac46e92d.js similarity index 100% rename from ecmascript/codegen/tests/references/0426f15dac46e92d.js rename to ecmascript/codegen/tests/test262/0426f15dac46e92d.js diff --git a/ecmascript/codegen/tests/references/0453974dd98e662d.js b/ecmascript/codegen/tests/test262/0453974dd98e662d.js similarity index 100% rename from ecmascript/codegen/tests/references/0453974dd98e662d.js rename to ecmascript/codegen/tests/test262/0453974dd98e662d.js diff --git a/ecmascript/codegen/tests/references/0458e0c30e8e6fb0.module.js b/ecmascript/codegen/tests/test262/0458e0c30e8e6fb0.module.js similarity index 100% rename from ecmascript/codegen/tests/references/0458e0c30e8e6fb0.module.js rename to ecmascript/codegen/tests/test262/0458e0c30e8e6fb0.module.js diff --git a/ecmascript/codegen/tests/references/0466764f0fb9af62.js b/ecmascript/codegen/tests/test262/0466764f0fb9af62.js similarity index 100% rename from ecmascript/codegen/tests/references/0466764f0fb9af62.js rename to ecmascript/codegen/tests/test262/0466764f0fb9af62.js diff --git a/ecmascript/codegen/tests/references/046a0bb70d03d0cc.js b/ecmascript/codegen/tests/test262/046a0bb70d03d0cc.js similarity index 100% rename from ecmascript/codegen/tests/references/046a0bb70d03d0cc.js rename to ecmascript/codegen/tests/test262/046a0bb70d03d0cc.js diff --git a/ecmascript/codegen/tests/references/046b1012ef9b0e26.js b/ecmascript/codegen/tests/test262/046b1012ef9b0e26.js similarity index 100% rename from ecmascript/codegen/tests/references/046b1012ef9b0e26.js rename to ecmascript/codegen/tests/test262/046b1012ef9b0e26.js diff --git a/ecmascript/codegen/tests/references/04b26d042948d474.js b/ecmascript/codegen/tests/test262/04b26d042948d474.js similarity index 100% rename from ecmascript/codegen/tests/references/04b26d042948d474.js rename to ecmascript/codegen/tests/test262/04b26d042948d474.js diff --git a/ecmascript/codegen/tests/references/04df09188055748a.js b/ecmascript/codegen/tests/test262/04df09188055748a.js similarity index 100% rename from ecmascript/codegen/tests/references/04df09188055748a.js rename to ecmascript/codegen/tests/test262/04df09188055748a.js diff --git a/ecmascript/codegen/tests/references/0507b18e39d58a9f.js b/ecmascript/codegen/tests/test262/0507b18e39d58a9f.js similarity index 100% rename from ecmascript/codegen/tests/references/0507b18e39d58a9f.js rename to ecmascript/codegen/tests/test262/0507b18e39d58a9f.js diff --git a/ecmascript/codegen/tests/references/05089e6cc717523e.js b/ecmascript/codegen/tests/test262/05089e6cc717523e.js similarity index 100% rename from ecmascript/codegen/tests/references/05089e6cc717523e.js rename to ecmascript/codegen/tests/test262/05089e6cc717523e.js diff --git a/ecmascript/codegen/tests/references/050a006ae573e260.js b/ecmascript/codegen/tests/test262/050a006ae573e260.js similarity index 100% rename from ecmascript/codegen/tests/references/050a006ae573e260.js rename to ecmascript/codegen/tests/test262/050a006ae573e260.js diff --git a/ecmascript/codegen/tests/references/051696d4c46ad99b.js b/ecmascript/codegen/tests/test262/051696d4c46ad99b.js similarity index 100% rename from ecmascript/codegen/tests/references/051696d4c46ad99b.js rename to ecmascript/codegen/tests/test262/051696d4c46ad99b.js diff --git a/ecmascript/codegen/tests/references/053480e541f54faf.js b/ecmascript/codegen/tests/test262/053480e541f54faf.js similarity index 100% rename from ecmascript/codegen/tests/references/053480e541f54faf.js rename to ecmascript/codegen/tests/test262/053480e541f54faf.js diff --git a/ecmascript/codegen/tests/references/053c0475e49bd36b.js b/ecmascript/codegen/tests/test262/053c0475e49bd36b.js similarity index 100% rename from ecmascript/codegen/tests/references/053c0475e49bd36b.js rename to ecmascript/codegen/tests/test262/053c0475e49bd36b.js diff --git a/ecmascript/codegen/tests/references/05448bc107f9b759.js b/ecmascript/codegen/tests/test262/05448bc107f9b759.js similarity index 100% rename from ecmascript/codegen/tests/references/05448bc107f9b759.js rename to ecmascript/codegen/tests/test262/05448bc107f9b759.js diff --git a/ecmascript/codegen/tests/references/054620d2d7fbe8fb.js b/ecmascript/codegen/tests/test262/054620d2d7fbe8fb.js similarity index 100% rename from ecmascript/codegen/tests/references/054620d2d7fbe8fb.js rename to ecmascript/codegen/tests/test262/054620d2d7fbe8fb.js diff --git a/ecmascript/codegen/tests/references/058c33e92f0d37a5.js b/ecmascript/codegen/tests/test262/058c33e92f0d37a5.js similarity index 100% rename from ecmascript/codegen/tests/references/058c33e92f0d37a5.js rename to ecmascript/codegen/tests/test262/058c33e92f0d37a5.js diff --git a/ecmascript/codegen/tests/references/059b850298ae3352.js b/ecmascript/codegen/tests/test262/059b850298ae3352.js similarity index 100% rename from ecmascript/codegen/tests/references/059b850298ae3352.js rename to ecmascript/codegen/tests/test262/059b850298ae3352.js diff --git a/ecmascript/codegen/tests/references/05b849122b429743.js b/ecmascript/codegen/tests/test262/05b849122b429743.js similarity index 100% rename from ecmascript/codegen/tests/references/05b849122b429743.js rename to ecmascript/codegen/tests/test262/05b849122b429743.js diff --git a/ecmascript/codegen/tests/references/05b9c5f007cbaa56.js b/ecmascript/codegen/tests/test262/05b9c5f007cbaa56.js similarity index 100% rename from ecmascript/codegen/tests/references/05b9c5f007cbaa56.js rename to ecmascript/codegen/tests/test262/05b9c5f007cbaa56.js diff --git a/ecmascript/codegen/tests/references/05d268921a1f6899.js b/ecmascript/codegen/tests/test262/05d268921a1f6899.js similarity index 100% rename from ecmascript/codegen/tests/references/05d268921a1f6899.js rename to ecmascript/codegen/tests/test262/05d268921a1f6899.js diff --git a/ecmascript/codegen/tests/references/05d5195f0d388d98.js b/ecmascript/codegen/tests/test262/05d5195f0d388d98.js similarity index 100% rename from ecmascript/codegen/tests/references/05d5195f0d388d98.js rename to ecmascript/codegen/tests/test262/05d5195f0d388d98.js diff --git a/ecmascript/codegen/tests/references/05d93894463f57ca.js b/ecmascript/codegen/tests/test262/05d93894463f57ca.js similarity index 100% rename from ecmascript/codegen/tests/references/05d93894463f57ca.js rename to ecmascript/codegen/tests/test262/05d93894463f57ca.js diff --git a/ecmascript/codegen/tests/references/05fcc31bfd8d3e60.js b/ecmascript/codegen/tests/test262/05fcc31bfd8d3e60.js similarity index 100% rename from ecmascript/codegen/tests/references/05fcc31bfd8d3e60.js rename to ecmascript/codegen/tests/test262/05fcc31bfd8d3e60.js diff --git a/ecmascript/codegen/tests/references/066b76285ce79182.js b/ecmascript/codegen/tests/test262/066b76285ce79182.js similarity index 100% rename from ecmascript/codegen/tests/references/066b76285ce79182.js rename to ecmascript/codegen/tests/test262/066b76285ce79182.js diff --git a/ecmascript/codegen/tests/references/066e2ec2de8a7c6e.js b/ecmascript/codegen/tests/test262/066e2ec2de8a7c6e.js similarity index 100% rename from ecmascript/codegen/tests/references/066e2ec2de8a7c6e.js rename to ecmascript/codegen/tests/test262/066e2ec2de8a7c6e.js diff --git a/ecmascript/codegen/tests/references/0671ec3d0b8ded79.js b/ecmascript/codegen/tests/test262/0671ec3d0b8ded79.js similarity index 100% rename from ecmascript/codegen/tests/references/0671ec3d0b8ded79.js rename to ecmascript/codegen/tests/test262/0671ec3d0b8ded79.js diff --git a/ecmascript/codegen/tests/references/068fd501eb381dba.js b/ecmascript/codegen/tests/test262/068fd501eb381dba.js similarity index 100% rename from ecmascript/codegen/tests/references/068fd501eb381dba.js rename to ecmascript/codegen/tests/test262/068fd501eb381dba.js diff --git a/ecmascript/codegen/tests/references/06981f39d0844079.js b/ecmascript/codegen/tests/test262/06981f39d0844079.js similarity index 100% rename from ecmascript/codegen/tests/references/06981f39d0844079.js rename to ecmascript/codegen/tests/test262/06981f39d0844079.js diff --git a/ecmascript/codegen/tests/references/06c7efc128ce74a0.js b/ecmascript/codegen/tests/test262/06c7efc128ce74a0.js similarity index 100% rename from ecmascript/codegen/tests/references/06c7efc128ce74a0.js rename to ecmascript/codegen/tests/test262/06c7efc128ce74a0.js diff --git a/ecmascript/codegen/tests/references/06d84c003dc8a3af.js b/ecmascript/codegen/tests/test262/06d84c003dc8a3af.js similarity index 100% rename from ecmascript/codegen/tests/references/06d84c003dc8a3af.js rename to ecmascript/codegen/tests/test262/06d84c003dc8a3af.js diff --git a/ecmascript/codegen/tests/references/06f0deb843fbf358.js b/ecmascript/codegen/tests/test262/06f0deb843fbf358.js similarity index 100% rename from ecmascript/codegen/tests/references/06f0deb843fbf358.js rename to ecmascript/codegen/tests/test262/06f0deb843fbf358.js diff --git a/ecmascript/codegen/tests/references/06f7278423cef571.js b/ecmascript/codegen/tests/test262/06f7278423cef571.js similarity index 100% rename from ecmascript/codegen/tests/references/06f7278423cef571.js rename to ecmascript/codegen/tests/test262/06f7278423cef571.js diff --git a/ecmascript/codegen/tests/references/070d82d1b3b3a975.js b/ecmascript/codegen/tests/test262/070d82d1b3b3a975.js similarity index 100% rename from ecmascript/codegen/tests/references/070d82d1b3b3a975.js rename to ecmascript/codegen/tests/test262/070d82d1b3b3a975.js diff --git a/ecmascript/codegen/tests/references/071f05b40ea0163f.js b/ecmascript/codegen/tests/test262/071f05b40ea0163f.js similarity index 100% rename from ecmascript/codegen/tests/references/071f05b40ea0163f.js rename to ecmascript/codegen/tests/test262/071f05b40ea0163f.js diff --git a/ecmascript/codegen/tests/references/075c7204d0b0af60.js b/ecmascript/codegen/tests/test262/075c7204d0b0af60.js similarity index 100% rename from ecmascript/codegen/tests/references/075c7204d0b0af60.js rename to ecmascript/codegen/tests/test262/075c7204d0b0af60.js diff --git a/ecmascript/codegen/tests/references/079b7b699d0cacab.js b/ecmascript/codegen/tests/test262/079b7b699d0cacab.js similarity index 100% rename from ecmascript/codegen/tests/references/079b7b699d0cacab.js rename to ecmascript/codegen/tests/test262/079b7b699d0cacab.js diff --git a/ecmascript/codegen/tests/references/07a74deab99e85eb.js b/ecmascript/codegen/tests/test262/07a74deab99e85eb.js similarity index 100% rename from ecmascript/codegen/tests/references/07a74deab99e85eb.js rename to ecmascript/codegen/tests/test262/07a74deab99e85eb.js diff --git a/ecmascript/codegen/tests/references/07bce073a241288b.js b/ecmascript/codegen/tests/test262/07bce073a241288b.js similarity index 100% rename from ecmascript/codegen/tests/references/07bce073a241288b.js rename to ecmascript/codegen/tests/test262/07bce073a241288b.js diff --git a/ecmascript/codegen/tests/references/07cfd31162dc117a.js b/ecmascript/codegen/tests/test262/07cfd31162dc117a.js similarity index 100% rename from ecmascript/codegen/tests/references/07cfd31162dc117a.js rename to ecmascript/codegen/tests/test262/07cfd31162dc117a.js diff --git a/ecmascript/codegen/tests/references/07d4bedb35fb60b6.js b/ecmascript/codegen/tests/test262/07d4bedb35fb60b6.js similarity index 100% rename from ecmascript/codegen/tests/references/07d4bedb35fb60b6.js rename to ecmascript/codegen/tests/test262/07d4bedb35fb60b6.js diff --git a/ecmascript/codegen/tests/references/0813adc754c82a98.js b/ecmascript/codegen/tests/test262/0813adc754c82a98.js similarity index 100% rename from ecmascript/codegen/tests/references/0813adc754c82a98.js rename to ecmascript/codegen/tests/test262/0813adc754c82a98.js diff --git a/ecmascript/codegen/tests/references/0821d3a84023aca2.js b/ecmascript/codegen/tests/test262/0821d3a84023aca2.js similarity index 100% rename from ecmascript/codegen/tests/references/0821d3a84023aca2.js rename to ecmascript/codegen/tests/test262/0821d3a84023aca2.js diff --git a/ecmascript/codegen/tests/references/0827a8316cca777a.js b/ecmascript/codegen/tests/test262/0827a8316cca777a.js similarity index 100% rename from ecmascript/codegen/tests/references/0827a8316cca777a.js rename to ecmascript/codegen/tests/test262/0827a8316cca777a.js diff --git a/ecmascript/codegen/tests/references/08358cb4732d8ce1.js b/ecmascript/codegen/tests/test262/08358cb4732d8ce1.js similarity index 100% rename from ecmascript/codegen/tests/references/08358cb4732d8ce1.js rename to ecmascript/codegen/tests/test262/08358cb4732d8ce1.js diff --git a/ecmascript/codegen/tests/references/0860caf88460e363.js b/ecmascript/codegen/tests/test262/0860caf88460e363.js similarity index 100% rename from ecmascript/codegen/tests/references/0860caf88460e363.js rename to ecmascript/codegen/tests/test262/0860caf88460e363.js diff --git a/ecmascript/codegen/tests/references/0889a34434e586e9.js b/ecmascript/codegen/tests/test262/0889a34434e586e9.js similarity index 100% rename from ecmascript/codegen/tests/references/0889a34434e586e9.js rename to ecmascript/codegen/tests/test262/0889a34434e586e9.js diff --git a/ecmascript/codegen/tests/references/08a39e4289b0c3f3.js b/ecmascript/codegen/tests/test262/08a39e4289b0c3f3.js similarity index 100% rename from ecmascript/codegen/tests/references/08a39e4289b0c3f3.js rename to ecmascript/codegen/tests/test262/08a39e4289b0c3f3.js diff --git a/ecmascript/codegen/tests/references/08ba81b9af0132ea.js b/ecmascript/codegen/tests/test262/08ba81b9af0132ea.js similarity index 100% rename from ecmascript/codegen/tests/references/08ba81b9af0132ea.js rename to ecmascript/codegen/tests/test262/08ba81b9af0132ea.js diff --git a/ecmascript/codegen/tests/references/08c3105bb3f7ccb7.js b/ecmascript/codegen/tests/test262/08c3105bb3f7ccb7.js similarity index 100% rename from ecmascript/codegen/tests/references/08c3105bb3f7ccb7.js rename to ecmascript/codegen/tests/test262/08c3105bb3f7ccb7.js diff --git a/ecmascript/codegen/tests/references/091d00847cbf8a9d.js b/ecmascript/codegen/tests/test262/091d00847cbf8a9d.js similarity index 100% rename from ecmascript/codegen/tests/references/091d00847cbf8a9d.js rename to ecmascript/codegen/tests/test262/091d00847cbf8a9d.js diff --git a/ecmascript/codegen/tests/references/09245ed873c9e7ea.js b/ecmascript/codegen/tests/test262/09245ed873c9e7ea.js similarity index 100% rename from ecmascript/codegen/tests/references/09245ed873c9e7ea.js rename to ecmascript/codegen/tests/test262/09245ed873c9e7ea.js diff --git a/ecmascript/codegen/tests/references/0986e63317738f46.js b/ecmascript/codegen/tests/test262/0986e63317738f46.js similarity index 100% rename from ecmascript/codegen/tests/references/0986e63317738f46.js rename to ecmascript/codegen/tests/test262/0986e63317738f46.js diff --git a/ecmascript/codegen/tests/references/098e1fe1335e222b.js b/ecmascript/codegen/tests/test262/098e1fe1335e222b.js similarity index 100% rename from ecmascript/codegen/tests/references/098e1fe1335e222b.js rename to ecmascript/codegen/tests/test262/098e1fe1335e222b.js diff --git a/ecmascript/codegen/tests/references/09be3a3198b40536.js b/ecmascript/codegen/tests/test262/09be3a3198b40536.js similarity index 100% rename from ecmascript/codegen/tests/references/09be3a3198b40536.js rename to ecmascript/codegen/tests/test262/09be3a3198b40536.js diff --git a/ecmascript/codegen/tests/references/09c1c4b95bf0df77.js b/ecmascript/codegen/tests/test262/09c1c4b95bf0df77.js similarity index 100% rename from ecmascript/codegen/tests/references/09c1c4b95bf0df77.js rename to ecmascript/codegen/tests/test262/09c1c4b95bf0df77.js diff --git a/ecmascript/codegen/tests/references/09e84f25af85b836.js b/ecmascript/codegen/tests/test262/09e84f25af85b836.js similarity index 100% rename from ecmascript/codegen/tests/references/09e84f25af85b836.js rename to ecmascript/codegen/tests/test262/09e84f25af85b836.js diff --git a/ecmascript/codegen/tests/references/0a068bc70fe14c94.js b/ecmascript/codegen/tests/test262/0a068bc70fe14c94.js similarity index 100% rename from ecmascript/codegen/tests/references/0a068bc70fe14c94.js rename to ecmascript/codegen/tests/test262/0a068bc70fe14c94.js diff --git a/ecmascript/codegen/tests/references/0a2fc93b6a63bbd3.js b/ecmascript/codegen/tests/test262/0a2fc93b6a63bbd3.js similarity index 100% rename from ecmascript/codegen/tests/references/0a2fc93b6a63bbd3.js rename to ecmascript/codegen/tests/test262/0a2fc93b6a63bbd3.js diff --git a/ecmascript/codegen/tests/references/0a38bb9fff27bc21.js b/ecmascript/codegen/tests/test262/0a38bb9fff27bc21.js similarity index 100% rename from ecmascript/codegen/tests/references/0a38bb9fff27bc21.js rename to ecmascript/codegen/tests/test262/0a38bb9fff27bc21.js diff --git a/ecmascript/codegen/tests/references/0a616ee6dd067bc6.js b/ecmascript/codegen/tests/test262/0a616ee6dd067bc6.js similarity index 100% rename from ecmascript/codegen/tests/references/0a616ee6dd067bc6.js rename to ecmascript/codegen/tests/test262/0a616ee6dd067bc6.js diff --git a/ecmascript/codegen/tests/references/0a9e4cbb36d95f7c.js b/ecmascript/codegen/tests/test262/0a9e4cbb36d95f7c.js similarity index 100% rename from ecmascript/codegen/tests/references/0a9e4cbb36d95f7c.js rename to ecmascript/codegen/tests/test262/0a9e4cbb36d95f7c.js diff --git a/ecmascript/codegen/tests/references/0aa6aab640155051.js b/ecmascript/codegen/tests/test262/0aa6aab640155051.js similarity index 100% rename from ecmascript/codegen/tests/references/0aa6aab640155051.js rename to ecmascript/codegen/tests/test262/0aa6aab640155051.js diff --git a/ecmascript/codegen/tests/references/0aa9242278e1393b.js b/ecmascript/codegen/tests/test262/0aa9242278e1393b.js similarity index 100% rename from ecmascript/codegen/tests/references/0aa9242278e1393b.js rename to ecmascript/codegen/tests/test262/0aa9242278e1393b.js diff --git a/ecmascript/codegen/tests/references/0aeb95f62766e684.js b/ecmascript/codegen/tests/test262/0aeb95f62766e684.js similarity index 100% rename from ecmascript/codegen/tests/references/0aeb95f62766e684.js rename to ecmascript/codegen/tests/test262/0aeb95f62766e684.js diff --git a/ecmascript/codegen/tests/references/0b1fc7208759253b.js b/ecmascript/codegen/tests/test262/0b1fc7208759253b.js similarity index 100% rename from ecmascript/codegen/tests/references/0b1fc7208759253b.js rename to ecmascript/codegen/tests/test262/0b1fc7208759253b.js diff --git a/ecmascript/codegen/tests/references/0b2804600405dbf6.js b/ecmascript/codegen/tests/test262/0b2804600405dbf6.js similarity index 100% rename from ecmascript/codegen/tests/references/0b2804600405dbf6.js rename to ecmascript/codegen/tests/test262/0b2804600405dbf6.js diff --git a/ecmascript/codegen/tests/references/0b281915a3227177.js b/ecmascript/codegen/tests/test262/0b281915a3227177.js similarity index 100% rename from ecmascript/codegen/tests/references/0b281915a3227177.js rename to ecmascript/codegen/tests/test262/0b281915a3227177.js diff --git a/ecmascript/codegen/tests/references/0b4d61559ccce0f9.js b/ecmascript/codegen/tests/test262/0b4d61559ccce0f9.js similarity index 100% rename from ecmascript/codegen/tests/references/0b4d61559ccce0f9.js rename to ecmascript/codegen/tests/test262/0b4d61559ccce0f9.js diff --git a/ecmascript/codegen/tests/references/0b4e932ec15cdae4.js b/ecmascript/codegen/tests/test262/0b4e932ec15cdae4.js similarity index 100% rename from ecmascript/codegen/tests/references/0b4e932ec15cdae4.js rename to ecmascript/codegen/tests/test262/0b4e932ec15cdae4.js diff --git a/ecmascript/codegen/tests/references/0b50309b4112013e.js b/ecmascript/codegen/tests/test262/0b50309b4112013e.js similarity index 100% rename from ecmascript/codegen/tests/references/0b50309b4112013e.js rename to ecmascript/codegen/tests/test262/0b50309b4112013e.js diff --git a/ecmascript/codegen/tests/references/0b5f023129f23abf.js b/ecmascript/codegen/tests/test262/0b5f023129f23abf.js similarity index 100% rename from ecmascript/codegen/tests/references/0b5f023129f23abf.js rename to ecmascript/codegen/tests/test262/0b5f023129f23abf.js diff --git a/ecmascript/codegen/tests/references/0b6dfcd5427a43a6.js b/ecmascript/codegen/tests/test262/0b6dfcd5427a43a6.js similarity index 100% rename from ecmascript/codegen/tests/references/0b6dfcd5427a43a6.js rename to ecmascript/codegen/tests/test262/0b6dfcd5427a43a6.js diff --git a/ecmascript/codegen/tests/references/0b881b80b7220fad.js b/ecmascript/codegen/tests/test262/0b881b80b7220fad.js similarity index 100% rename from ecmascript/codegen/tests/references/0b881b80b7220fad.js rename to ecmascript/codegen/tests/test262/0b881b80b7220fad.js diff --git a/ecmascript/codegen/tests/references/0ba326a76aa2a0ae.js b/ecmascript/codegen/tests/test262/0ba326a76aa2a0ae.js similarity index 100% rename from ecmascript/codegen/tests/references/0ba326a76aa2a0ae.js rename to ecmascript/codegen/tests/test262/0ba326a76aa2a0ae.js diff --git a/ecmascript/codegen/tests/references/0bbda5d7d8ae8990.js b/ecmascript/codegen/tests/test262/0bbda5d7d8ae8990.js similarity index 100% rename from ecmascript/codegen/tests/references/0bbda5d7d8ae8990.js rename to ecmascript/codegen/tests/test262/0bbda5d7d8ae8990.js diff --git a/ecmascript/codegen/tests/references/0bef54f61acccbe5.js b/ecmascript/codegen/tests/test262/0bef54f61acccbe5.js similarity index 100% rename from ecmascript/codegen/tests/references/0bef54f61acccbe5.js rename to ecmascript/codegen/tests/test262/0bef54f61acccbe5.js diff --git a/ecmascript/codegen/tests/references/0c44152a1a3e2f90.js b/ecmascript/codegen/tests/test262/0c44152a1a3e2f90.js similarity index 100% rename from ecmascript/codegen/tests/references/0c44152a1a3e2f90.js rename to ecmascript/codegen/tests/test262/0c44152a1a3e2f90.js diff --git a/ecmascript/codegen/tests/references/0c7719169ed21a87.js b/ecmascript/codegen/tests/test262/0c7719169ed21a87.js similarity index 100% rename from ecmascript/codegen/tests/references/0c7719169ed21a87.js rename to ecmascript/codegen/tests/test262/0c7719169ed21a87.js diff --git a/ecmascript/codegen/tests/references/0c8a07486c1ff18e.js b/ecmascript/codegen/tests/test262/0c8a07486c1ff18e.js similarity index 100% rename from ecmascript/codegen/tests/references/0c8a07486c1ff18e.js rename to ecmascript/codegen/tests/test262/0c8a07486c1ff18e.js diff --git a/ecmascript/codegen/tests/references/0cd7b76d7d1431d6.js b/ecmascript/codegen/tests/test262/0cd7b76d7d1431d6.js similarity index 100% rename from ecmascript/codegen/tests/references/0cd7b76d7d1431d6.js rename to ecmascript/codegen/tests/test262/0cd7b76d7d1431d6.js diff --git a/ecmascript/codegen/tests/references/0ce4fa8fdf700065.js b/ecmascript/codegen/tests/test262/0ce4fa8fdf700065.js similarity index 100% rename from ecmascript/codegen/tests/references/0ce4fa8fdf700065.js rename to ecmascript/codegen/tests/test262/0ce4fa8fdf700065.js diff --git a/ecmascript/codegen/tests/references/0cf1df0ef867a7f4.js b/ecmascript/codegen/tests/test262/0cf1df0ef867a7f4.js similarity index 100% rename from ecmascript/codegen/tests/references/0cf1df0ef867a7f4.js rename to ecmascript/codegen/tests/test262/0cf1df0ef867a7f4.js diff --git a/ecmascript/codegen/tests/references/0d137e8a97ffe083.js b/ecmascript/codegen/tests/test262/0d137e8a97ffe083.js similarity index 100% rename from ecmascript/codegen/tests/references/0d137e8a97ffe083.js rename to ecmascript/codegen/tests/test262/0d137e8a97ffe083.js diff --git a/ecmascript/codegen/tests/references/0d6e503c739611e2.js b/ecmascript/codegen/tests/test262/0d6e503c739611e2.js similarity index 100% rename from ecmascript/codegen/tests/references/0d6e503c739611e2.js rename to ecmascript/codegen/tests/test262/0d6e503c739611e2.js diff --git a/ecmascript/codegen/tests/references/0d7e3e1647af9ba6.js b/ecmascript/codegen/tests/test262/0d7e3e1647af9ba6.js similarity index 100% rename from ecmascript/codegen/tests/references/0d7e3e1647af9ba6.js rename to ecmascript/codegen/tests/test262/0d7e3e1647af9ba6.js diff --git a/ecmascript/codegen/tests/references/0d9f26fe4d91ad07.js b/ecmascript/codegen/tests/test262/0d9f26fe4d91ad07.js similarity index 100% rename from ecmascript/codegen/tests/references/0d9f26fe4d91ad07.js rename to ecmascript/codegen/tests/test262/0d9f26fe4d91ad07.js diff --git a/ecmascript/codegen/tests/references/0da4b57d03d33129.js b/ecmascript/codegen/tests/test262/0da4b57d03d33129.js similarity index 100% rename from ecmascript/codegen/tests/references/0da4b57d03d33129.js rename to ecmascript/codegen/tests/test262/0da4b57d03d33129.js diff --git a/ecmascript/codegen/tests/references/0da6496ed75822b1.module.js b/ecmascript/codegen/tests/test262/0da6496ed75822b1.module.js similarity index 100% rename from ecmascript/codegen/tests/references/0da6496ed75822b1.module.js rename to ecmascript/codegen/tests/test262/0da6496ed75822b1.module.js diff --git a/ecmascript/codegen/tests/references/0de4ef1344cbb907.js b/ecmascript/codegen/tests/test262/0de4ef1344cbb907.js similarity index 100% rename from ecmascript/codegen/tests/references/0de4ef1344cbb907.js rename to ecmascript/codegen/tests/test262/0de4ef1344cbb907.js diff --git a/ecmascript/codegen/tests/references/0de707242475664c.js b/ecmascript/codegen/tests/test262/0de707242475664c.js similarity index 100% rename from ecmascript/codegen/tests/references/0de707242475664c.js rename to ecmascript/codegen/tests/test262/0de707242475664c.js diff --git a/ecmascript/codegen/tests/references/0de805d0c921e235.js b/ecmascript/codegen/tests/test262/0de805d0c921e235.js similarity index 100% rename from ecmascript/codegen/tests/references/0de805d0c921e235.js rename to ecmascript/codegen/tests/test262/0de805d0c921e235.js diff --git a/ecmascript/codegen/tests/references/0def12c63f682470.js b/ecmascript/codegen/tests/test262/0def12c63f682470.js similarity index 100% rename from ecmascript/codegen/tests/references/0def12c63f682470.js rename to ecmascript/codegen/tests/test262/0def12c63f682470.js diff --git a/ecmascript/codegen/tests/references/0e22e969622bf137.js b/ecmascript/codegen/tests/test262/0e22e969622bf137.js similarity index 100% rename from ecmascript/codegen/tests/references/0e22e969622bf137.js rename to ecmascript/codegen/tests/test262/0e22e969622bf137.js diff --git a/ecmascript/codegen/tests/references/0e3ca454ddfb4729.js b/ecmascript/codegen/tests/test262/0e3ca454ddfb4729.js similarity index 100% rename from ecmascript/codegen/tests/references/0e3ca454ddfb4729.js rename to ecmascript/codegen/tests/test262/0e3ca454ddfb4729.js diff --git a/ecmascript/codegen/tests/references/0eb53d0e06cd5417.js b/ecmascript/codegen/tests/test262/0eb53d0e06cd5417.js similarity index 100% rename from ecmascript/codegen/tests/references/0eb53d0e06cd5417.js rename to ecmascript/codegen/tests/test262/0eb53d0e06cd5417.js diff --git a/ecmascript/codegen/tests/references/0f18951fd55b8c07.js b/ecmascript/codegen/tests/test262/0f18951fd55b8c07.js similarity index 100% rename from ecmascript/codegen/tests/references/0f18951fd55b8c07.js rename to ecmascript/codegen/tests/test262/0f18951fd55b8c07.js diff --git a/ecmascript/codegen/tests/references/0f59aedfe2c7682c.js b/ecmascript/codegen/tests/test262/0f59aedfe2c7682c.js similarity index 100% rename from ecmascript/codegen/tests/references/0f59aedfe2c7682c.js rename to ecmascript/codegen/tests/test262/0f59aedfe2c7682c.js diff --git a/ecmascript/codegen/tests/references/0f630e67e4542867.js b/ecmascript/codegen/tests/test262/0f630e67e4542867.js similarity index 100% rename from ecmascript/codegen/tests/references/0f630e67e4542867.js rename to ecmascript/codegen/tests/test262/0f630e67e4542867.js diff --git a/ecmascript/codegen/tests/references/0f809258920b3469.js b/ecmascript/codegen/tests/test262/0f809258920b3469.js similarity index 100% rename from ecmascript/codegen/tests/references/0f809258920b3469.js rename to ecmascript/codegen/tests/test262/0f809258920b3469.js diff --git a/ecmascript/codegen/tests/references/0f88c334715d2489.js b/ecmascript/codegen/tests/test262/0f88c334715d2489.js similarity index 100% rename from ecmascript/codegen/tests/references/0f88c334715d2489.js rename to ecmascript/codegen/tests/test262/0f88c334715d2489.js diff --git a/ecmascript/codegen/tests/references/0f9f10c894a7d811.js b/ecmascript/codegen/tests/test262/0f9f10c894a7d811.js similarity index 100% rename from ecmascript/codegen/tests/references/0f9f10c894a7d811.js rename to ecmascript/codegen/tests/test262/0f9f10c894a7d811.js diff --git a/ecmascript/codegen/tests/references/0fa2102f53acd283.js b/ecmascript/codegen/tests/test262/0fa2102f53acd283.js similarity index 100% rename from ecmascript/codegen/tests/references/0fa2102f53acd283.js rename to ecmascript/codegen/tests/test262/0fa2102f53acd283.js diff --git a/ecmascript/codegen/tests/references/0fc7d5705a324efb.js b/ecmascript/codegen/tests/test262/0fc7d5705a324efb.js similarity index 100% rename from ecmascript/codegen/tests/references/0fc7d5705a324efb.js rename to ecmascript/codegen/tests/test262/0fc7d5705a324efb.js diff --git a/ecmascript/codegen/tests/references/0fe1f55610641156.js b/ecmascript/codegen/tests/test262/0fe1f55610641156.js similarity index 100% rename from ecmascript/codegen/tests/references/0fe1f55610641156.js rename to ecmascript/codegen/tests/test262/0fe1f55610641156.js diff --git a/ecmascript/codegen/tests/references/0fe2654034a20f6b.module.js b/ecmascript/codegen/tests/test262/0fe2654034a20f6b.module.js similarity index 100% rename from ecmascript/codegen/tests/references/0fe2654034a20f6b.module.js rename to ecmascript/codegen/tests/test262/0fe2654034a20f6b.module.js diff --git a/ecmascript/codegen/tests/references/0ffdc03e2ffcb5dc.js b/ecmascript/codegen/tests/test262/0ffdc03e2ffcb5dc.js similarity index 100% rename from ecmascript/codegen/tests/references/0ffdc03e2ffcb5dc.js rename to ecmascript/codegen/tests/test262/0ffdc03e2ffcb5dc.js diff --git a/ecmascript/codegen/tests/references/10786cdac00d0c02.module.js b/ecmascript/codegen/tests/test262/10786cdac00d0c02.module.js similarity index 100% rename from ecmascript/codegen/tests/references/10786cdac00d0c02.module.js rename to ecmascript/codegen/tests/test262/10786cdac00d0c02.module.js diff --git a/ecmascript/codegen/tests/references/10857a84ed2962f1.js b/ecmascript/codegen/tests/test262/10857a84ed2962f1.js similarity index 100% rename from ecmascript/codegen/tests/references/10857a84ed2962f1.js rename to ecmascript/codegen/tests/test262/10857a84ed2962f1.js diff --git a/ecmascript/codegen/tests/references/1093d98f5fc0758d.js b/ecmascript/codegen/tests/test262/1093d98f5fc0758d.js similarity index 100% rename from ecmascript/codegen/tests/references/1093d98f5fc0758d.js rename to ecmascript/codegen/tests/test262/1093d98f5fc0758d.js diff --git a/ecmascript/codegen/tests/references/10a21e1cf65c5afb.js b/ecmascript/codegen/tests/test262/10a21e1cf65c5afb.js similarity index 100% rename from ecmascript/codegen/tests/references/10a21e1cf65c5afb.js rename to ecmascript/codegen/tests/test262/10a21e1cf65c5afb.js diff --git a/ecmascript/codegen/tests/references/10d6486502949e74.js b/ecmascript/codegen/tests/test262/10d6486502949e74.js similarity index 100% rename from ecmascript/codegen/tests/references/10d6486502949e74.js rename to ecmascript/codegen/tests/test262/10d6486502949e74.js diff --git a/ecmascript/codegen/tests/references/10f0ef998c05c611.js b/ecmascript/codegen/tests/test262/10f0ef998c05c611.js similarity index 100% rename from ecmascript/codegen/tests/references/10f0ef998c05c611.js rename to ecmascript/codegen/tests/test262/10f0ef998c05c611.js diff --git a/ecmascript/codegen/tests/references/10fda5cd119b39a5.js b/ecmascript/codegen/tests/test262/10fda5cd119b39a5.js similarity index 100% rename from ecmascript/codegen/tests/references/10fda5cd119b39a5.js rename to ecmascript/codegen/tests/test262/10fda5cd119b39a5.js diff --git a/ecmascript/codegen/tests/references/110fa1efdd0868b8.js b/ecmascript/codegen/tests/test262/110fa1efdd0868b8.js similarity index 100% rename from ecmascript/codegen/tests/references/110fa1efdd0868b8.js rename to ecmascript/codegen/tests/test262/110fa1efdd0868b8.js diff --git a/ecmascript/codegen/tests/references/111668493e3e0823.js b/ecmascript/codegen/tests/test262/111668493e3e0823.js similarity index 100% rename from ecmascript/codegen/tests/references/111668493e3e0823.js rename to ecmascript/codegen/tests/test262/111668493e3e0823.js diff --git a/ecmascript/codegen/tests/references/1145e94ad27e7ba6.js b/ecmascript/codegen/tests/test262/1145e94ad27e7ba6.js similarity index 100% rename from ecmascript/codegen/tests/references/1145e94ad27e7ba6.js rename to ecmascript/codegen/tests/test262/1145e94ad27e7ba6.js diff --git a/ecmascript/codegen/tests/references/11611f2a3d32994e.js b/ecmascript/codegen/tests/test262/11611f2a3d32994e.js similarity index 100% rename from ecmascript/codegen/tests/references/11611f2a3d32994e.js rename to ecmascript/codegen/tests/test262/11611f2a3d32994e.js diff --git a/ecmascript/codegen/tests/references/116cacc3c80a5a3e.js b/ecmascript/codegen/tests/test262/116cacc3c80a5a3e.js similarity index 100% rename from ecmascript/codegen/tests/references/116cacc3c80a5a3e.js rename to ecmascript/codegen/tests/test262/116cacc3c80a5a3e.js diff --git a/ecmascript/codegen/tests/references/119e9dce4feae643.js b/ecmascript/codegen/tests/test262/119e9dce4feae643.js similarity index 100% rename from ecmascript/codegen/tests/references/119e9dce4feae643.js rename to ecmascript/codegen/tests/test262/119e9dce4feae643.js diff --git a/ecmascript/codegen/tests/references/11a021c9efe0e432.js b/ecmascript/codegen/tests/test262/11a021c9efe0e432.js similarity index 100% rename from ecmascript/codegen/tests/references/11a021c9efe0e432.js rename to ecmascript/codegen/tests/test262/11a021c9efe0e432.js diff --git a/ecmascript/codegen/tests/references/121491a690a13543.js b/ecmascript/codegen/tests/test262/121491a690a13543.js similarity index 100% rename from ecmascript/codegen/tests/references/121491a690a13543.js rename to ecmascript/codegen/tests/test262/121491a690a13543.js diff --git a/ecmascript/codegen/tests/references/1223609b0f7a2129.js b/ecmascript/codegen/tests/test262/1223609b0f7a2129.js similarity index 100% rename from ecmascript/codegen/tests/references/1223609b0f7a2129.js rename to ecmascript/codegen/tests/test262/1223609b0f7a2129.js diff --git a/ecmascript/codegen/tests/references/123285734ee7f954.js b/ecmascript/codegen/tests/test262/123285734ee7f954.js similarity index 100% rename from ecmascript/codegen/tests/references/123285734ee7f954.js rename to ecmascript/codegen/tests/test262/123285734ee7f954.js diff --git a/ecmascript/codegen/tests/references/123bfcc3f6cf379f.js b/ecmascript/codegen/tests/test262/123bfcc3f6cf379f.js similarity index 100% rename from ecmascript/codegen/tests/references/123bfcc3f6cf379f.js rename to ecmascript/codegen/tests/test262/123bfcc3f6cf379f.js diff --git a/ecmascript/codegen/tests/references/123f89c06747ced2.js b/ecmascript/codegen/tests/test262/123f89c06747ced2.js similarity index 100% rename from ecmascript/codegen/tests/references/123f89c06747ced2.js rename to ecmascript/codegen/tests/test262/123f89c06747ced2.js diff --git a/ecmascript/codegen/tests/references/124490e0f2dbbac7.js b/ecmascript/codegen/tests/test262/124490e0f2dbbac7.js similarity index 100% rename from ecmascript/codegen/tests/references/124490e0f2dbbac7.js rename to ecmascript/codegen/tests/test262/124490e0f2dbbac7.js diff --git a/ecmascript/codegen/tests/references/12556d5e39db1cea.js b/ecmascript/codegen/tests/test262/12556d5e39db1cea.js similarity index 100% rename from ecmascript/codegen/tests/references/12556d5e39db1cea.js rename to ecmascript/codegen/tests/test262/12556d5e39db1cea.js diff --git a/ecmascript/codegen/tests/references/126a6455f0f721fe.js b/ecmascript/codegen/tests/test262/126a6455f0f721fe.js similarity index 100% rename from ecmascript/codegen/tests/references/126a6455f0f721fe.js rename to ecmascript/codegen/tests/test262/126a6455f0f721fe.js diff --git a/ecmascript/codegen/tests/references/1270d541e0fd6af8.js b/ecmascript/codegen/tests/test262/1270d541e0fd6af8.js similarity index 100% rename from ecmascript/codegen/tests/references/1270d541e0fd6af8.js rename to ecmascript/codegen/tests/test262/1270d541e0fd6af8.js diff --git a/ecmascript/codegen/tests/references/12752899d5c5eb00.js b/ecmascript/codegen/tests/test262/12752899d5c5eb00.js similarity index 100% rename from ecmascript/codegen/tests/references/12752899d5c5eb00.js rename to ecmascript/codegen/tests/test262/12752899d5c5eb00.js diff --git a/ecmascript/codegen/tests/references/129c95a57d234b7b.js b/ecmascript/codegen/tests/test262/129c95a57d234b7b.js similarity index 100% rename from ecmascript/codegen/tests/references/129c95a57d234b7b.js rename to ecmascript/codegen/tests/test262/129c95a57d234b7b.js diff --git a/ecmascript/codegen/tests/references/12d4b327a5e20850.js b/ecmascript/codegen/tests/test262/12d4b327a5e20850.js similarity index 100% rename from ecmascript/codegen/tests/references/12d4b327a5e20850.js rename to ecmascript/codegen/tests/test262/12d4b327a5e20850.js diff --git a/ecmascript/codegen/tests/references/12d5bedf1812952a.js b/ecmascript/codegen/tests/test262/12d5bedf1812952a.js similarity index 100% rename from ecmascript/codegen/tests/references/12d5bedf1812952a.js rename to ecmascript/codegen/tests/test262/12d5bedf1812952a.js diff --git a/ecmascript/codegen/tests/references/12e59b6d403833ae.js b/ecmascript/codegen/tests/test262/12e59b6d403833ae.js similarity index 100% rename from ecmascript/codegen/tests/references/12e59b6d403833ae.js rename to ecmascript/codegen/tests/test262/12e59b6d403833ae.js diff --git a/ecmascript/codegen/tests/references/12ea3bf0653f8409.js b/ecmascript/codegen/tests/test262/12ea3bf0653f8409.js similarity index 100% rename from ecmascript/codegen/tests/references/12ea3bf0653f8409.js rename to ecmascript/codegen/tests/test262/12ea3bf0653f8409.js diff --git a/ecmascript/codegen/tests/references/12edb6ae55d95b59.js b/ecmascript/codegen/tests/test262/12edb6ae55d95b59.js similarity index 100% rename from ecmascript/codegen/tests/references/12edb6ae55d95b59.js rename to ecmascript/codegen/tests/test262/12edb6ae55d95b59.js diff --git a/ecmascript/codegen/tests/references/12ef713cb7737bdd.js b/ecmascript/codegen/tests/test262/12ef713cb7737bdd.js similarity index 100% rename from ecmascript/codegen/tests/references/12ef713cb7737bdd.js rename to ecmascript/codegen/tests/test262/12ef713cb7737bdd.js diff --git a/ecmascript/codegen/tests/references/13045bfdda0434e0.js b/ecmascript/codegen/tests/test262/13045bfdda0434e0.js similarity index 100% rename from ecmascript/codegen/tests/references/13045bfdda0434e0.js rename to ecmascript/codegen/tests/test262/13045bfdda0434e0.js diff --git a/ecmascript/codegen/tests/references/1325417193f50cc3.js b/ecmascript/codegen/tests/test262/1325417193f50cc3.js similarity index 100% rename from ecmascript/codegen/tests/references/1325417193f50cc3.js rename to ecmascript/codegen/tests/test262/1325417193f50cc3.js diff --git a/ecmascript/codegen/tests/references/14199f22a45c7e30.js b/ecmascript/codegen/tests/test262/14199f22a45c7e30.js similarity index 100% rename from ecmascript/codegen/tests/references/14199f22a45c7e30.js rename to ecmascript/codegen/tests/test262/14199f22a45c7e30.js diff --git a/ecmascript/codegen/tests/references/1426cb41eb6d515f.js b/ecmascript/codegen/tests/test262/1426cb41eb6d515f.js similarity index 100% rename from ecmascript/codegen/tests/references/1426cb41eb6d515f.js rename to ecmascript/codegen/tests/test262/1426cb41eb6d515f.js diff --git a/ecmascript/codegen/tests/references/14360fa75e6ae228.js b/ecmascript/codegen/tests/test262/14360fa75e6ae228.js similarity index 100% rename from ecmascript/codegen/tests/references/14360fa75e6ae228.js rename to ecmascript/codegen/tests/test262/14360fa75e6ae228.js diff --git a/ecmascript/codegen/tests/references/1450a897a4ba83a7.js b/ecmascript/codegen/tests/test262/1450a897a4ba83a7.js similarity index 100% rename from ecmascript/codegen/tests/references/1450a897a4ba83a7.js rename to ecmascript/codegen/tests/test262/1450a897a4ba83a7.js diff --git a/ecmascript/codegen/tests/references/14551b80fa8a0ce1.module.js b/ecmascript/codegen/tests/test262/14551b80fa8a0ce1.module.js similarity index 100% rename from ecmascript/codegen/tests/references/14551b80fa8a0ce1.module.js rename to ecmascript/codegen/tests/test262/14551b80fa8a0ce1.module.js diff --git a/ecmascript/codegen/tests/references/14a62ce75845f5dd.js b/ecmascript/codegen/tests/test262/14a62ce75845f5dd.js similarity index 100% rename from ecmascript/codegen/tests/references/14a62ce75845f5dd.js rename to ecmascript/codegen/tests/test262/14a62ce75845f5dd.js diff --git a/ecmascript/codegen/tests/references/14bb381a17b683e3.js b/ecmascript/codegen/tests/test262/14bb381a17b683e3.js similarity index 100% rename from ecmascript/codegen/tests/references/14bb381a17b683e3.js rename to ecmascript/codegen/tests/test262/14bb381a17b683e3.js diff --git a/ecmascript/codegen/tests/references/14c205bb81db8014.js b/ecmascript/codegen/tests/test262/14c205bb81db8014.js similarity index 100% rename from ecmascript/codegen/tests/references/14c205bb81db8014.js rename to ecmascript/codegen/tests/test262/14c205bb81db8014.js diff --git a/ecmascript/codegen/tests/references/14df05a5ad02af18.js b/ecmascript/codegen/tests/test262/14df05a5ad02af18.js similarity index 100% rename from ecmascript/codegen/tests/references/14df05a5ad02af18.js rename to ecmascript/codegen/tests/test262/14df05a5ad02af18.js diff --git a/ecmascript/codegen/tests/references/14f95b3c9a9e7480.js b/ecmascript/codegen/tests/test262/14f95b3c9a9e7480.js similarity index 100% rename from ecmascript/codegen/tests/references/14f95b3c9a9e7480.js rename to ecmascript/codegen/tests/test262/14f95b3c9a9e7480.js diff --git a/ecmascript/codegen/tests/references/14fb22cf10e20236.js b/ecmascript/codegen/tests/test262/14fb22cf10e20236.js similarity index 100% rename from ecmascript/codegen/tests/references/14fb22cf10e20236.js rename to ecmascript/codegen/tests/test262/14fb22cf10e20236.js diff --git a/ecmascript/codegen/tests/references/151d4db59b774864.js b/ecmascript/codegen/tests/test262/151d4db59b774864.js similarity index 100% rename from ecmascript/codegen/tests/references/151d4db59b774864.js rename to ecmascript/codegen/tests/test262/151d4db59b774864.js diff --git a/ecmascript/codegen/tests/references/1530c2c5484d867f.js b/ecmascript/codegen/tests/test262/1530c2c5484d867f.js similarity index 100% rename from ecmascript/codegen/tests/references/1530c2c5484d867f.js rename to ecmascript/codegen/tests/test262/1530c2c5484d867f.js diff --git a/ecmascript/codegen/tests/references/153688477d7e69ba.js b/ecmascript/codegen/tests/test262/153688477d7e69ba.js similarity index 100% rename from ecmascript/codegen/tests/references/153688477d7e69ba.js rename to ecmascript/codegen/tests/test262/153688477d7e69ba.js diff --git a/ecmascript/codegen/tests/references/153bd6819f5fa69b.js b/ecmascript/codegen/tests/test262/153bd6819f5fa69b.js similarity index 100% rename from ecmascript/codegen/tests/references/153bd6819f5fa69b.js rename to ecmascript/codegen/tests/test262/153bd6819f5fa69b.js diff --git a/ecmascript/codegen/tests/references/159c17331c90a465.module.js b/ecmascript/codegen/tests/test262/159c17331c90a465.module.js similarity index 100% rename from ecmascript/codegen/tests/references/159c17331c90a465.module.js rename to ecmascript/codegen/tests/test262/159c17331c90a465.module.js diff --git a/ecmascript/codegen/tests/references/15a12468ff312d51.js b/ecmascript/codegen/tests/test262/15a12468ff312d51.js similarity index 100% rename from ecmascript/codegen/tests/references/15a12468ff312d51.js rename to ecmascript/codegen/tests/test262/15a12468ff312d51.js diff --git a/ecmascript/codegen/tests/references/15d072c60817cdca.js b/ecmascript/codegen/tests/test262/15d072c60817cdca.js similarity index 100% rename from ecmascript/codegen/tests/references/15d072c60817cdca.js rename to ecmascript/codegen/tests/test262/15d072c60817cdca.js diff --git a/ecmascript/codegen/tests/references/15d9592709b947a0.js b/ecmascript/codegen/tests/test262/15d9592709b947a0.js similarity index 100% rename from ecmascript/codegen/tests/references/15d9592709b947a0.js rename to ecmascript/codegen/tests/test262/15d9592709b947a0.js diff --git a/ecmascript/codegen/tests/references/15dfd62aa10c8b18.js b/ecmascript/codegen/tests/test262/15dfd62aa10c8b18.js similarity index 100% rename from ecmascript/codegen/tests/references/15dfd62aa10c8b18.js rename to ecmascript/codegen/tests/test262/15dfd62aa10c8b18.js diff --git a/ecmascript/codegen/tests/references/1623cc76ec1fb540.js b/ecmascript/codegen/tests/test262/1623cc76ec1fb540.js similarity index 100% rename from ecmascript/codegen/tests/references/1623cc76ec1fb540.js rename to ecmascript/codegen/tests/test262/1623cc76ec1fb540.js diff --git a/ecmascript/codegen/tests/references/162fd7b4a7647a1b.js b/ecmascript/codegen/tests/test262/162fd7b4a7647a1b.js similarity index 100% rename from ecmascript/codegen/tests/references/162fd7b4a7647a1b.js rename to ecmascript/codegen/tests/test262/162fd7b4a7647a1b.js diff --git a/ecmascript/codegen/tests/references/163e6a68a09abaed.js b/ecmascript/codegen/tests/test262/163e6a68a09abaed.js similarity index 100% rename from ecmascript/codegen/tests/references/163e6a68a09abaed.js rename to ecmascript/codegen/tests/test262/163e6a68a09abaed.js diff --git a/ecmascript/codegen/tests/references/166431dca77feba6.module.js b/ecmascript/codegen/tests/test262/166431dca77feba6.module.js similarity index 100% rename from ecmascript/codegen/tests/references/166431dca77feba6.module.js rename to ecmascript/codegen/tests/test262/166431dca77feba6.module.js diff --git a/ecmascript/codegen/tests/references/16b9227a4a41bc7e.js b/ecmascript/codegen/tests/test262/16b9227a4a41bc7e.js similarity index 100% rename from ecmascript/codegen/tests/references/16b9227a4a41bc7e.js rename to ecmascript/codegen/tests/test262/16b9227a4a41bc7e.js diff --git a/ecmascript/codegen/tests/references/16c7073c546fdd58.js b/ecmascript/codegen/tests/test262/16c7073c546fdd58.js similarity index 100% rename from ecmascript/codegen/tests/references/16c7073c546fdd58.js rename to ecmascript/codegen/tests/test262/16c7073c546fdd58.js diff --git a/ecmascript/codegen/tests/references/16d0c12aad83f9b3.js b/ecmascript/codegen/tests/test262/16d0c12aad83f9b3.js similarity index 100% rename from ecmascript/codegen/tests/references/16d0c12aad83f9b3.js rename to ecmascript/codegen/tests/test262/16d0c12aad83f9b3.js diff --git a/ecmascript/codegen/tests/references/1714b06e6a415766.js b/ecmascript/codegen/tests/test262/1714b06e6a415766.js similarity index 100% rename from ecmascript/codegen/tests/references/1714b06e6a415766.js rename to ecmascript/codegen/tests/test262/1714b06e6a415766.js diff --git a/ecmascript/codegen/tests/references/1717229250780255.js b/ecmascript/codegen/tests/test262/1717229250780255.js similarity index 100% rename from ecmascript/codegen/tests/references/1717229250780255.js rename to ecmascript/codegen/tests/test262/1717229250780255.js diff --git a/ecmascript/codegen/tests/references/17302b9b0cab0c69.module.js b/ecmascript/codegen/tests/test262/17302b9b0cab0c69.module.js similarity index 100% rename from ecmascript/codegen/tests/references/17302b9b0cab0c69.module.js rename to ecmascript/codegen/tests/test262/17302b9b0cab0c69.module.js diff --git a/ecmascript/codegen/tests/references/17326734a7bf9629.js b/ecmascript/codegen/tests/test262/17326734a7bf9629.js similarity index 100% rename from ecmascript/codegen/tests/references/17326734a7bf9629.js rename to ecmascript/codegen/tests/test262/17326734a7bf9629.js diff --git a/ecmascript/codegen/tests/references/174d05abbd69a960.js b/ecmascript/codegen/tests/test262/174d05abbd69a960.js similarity index 100% rename from ecmascript/codegen/tests/references/174d05abbd69a960.js rename to ecmascript/codegen/tests/test262/174d05abbd69a960.js diff --git a/ecmascript/codegen/tests/references/175a032b2252eb0d.js b/ecmascript/codegen/tests/test262/175a032b2252eb0d.js similarity index 100% rename from ecmascript/codegen/tests/references/175a032b2252eb0d.js rename to ecmascript/codegen/tests/test262/175a032b2252eb0d.js diff --git a/ecmascript/codegen/tests/references/177fef3d002eb873.js b/ecmascript/codegen/tests/test262/177fef3d002eb873.js similarity index 100% rename from ecmascript/codegen/tests/references/177fef3d002eb873.js rename to ecmascript/codegen/tests/test262/177fef3d002eb873.js diff --git a/ecmascript/codegen/tests/references/17a2de2c9e102bba.js b/ecmascript/codegen/tests/test262/17a2de2c9e102bba.js similarity index 100% rename from ecmascript/codegen/tests/references/17a2de2c9e102bba.js rename to ecmascript/codegen/tests/test262/17a2de2c9e102bba.js diff --git a/ecmascript/codegen/tests/references/17bd5dc47ec4a3ba.js b/ecmascript/codegen/tests/test262/17bd5dc47ec4a3ba.js similarity index 100% rename from ecmascript/codegen/tests/references/17bd5dc47ec4a3ba.js rename to ecmascript/codegen/tests/test262/17bd5dc47ec4a3ba.js diff --git a/ecmascript/codegen/tests/test262/17bd95dfa6a302f2.js b/ecmascript/codegen/tests/test262/17bd95dfa6a302f2.js new file mode 100644 index 00000000000..03f89d2cf28 --- /dev/null +++ b/ecmascript/codegen/tests/test262/17bd95dfa6a302f2.js @@ -0,0 +1 @@ +for(a.b in c); diff --git a/ecmascript/codegen/tests/references/17cc7c10e02028be.js b/ecmascript/codegen/tests/test262/17cc7c10e02028be.js similarity index 100% rename from ecmascript/codegen/tests/references/17cc7c10e02028be.js rename to ecmascript/codegen/tests/test262/17cc7c10e02028be.js diff --git a/ecmascript/codegen/tests/references/17d63bb0b9482189.js b/ecmascript/codegen/tests/test262/17d63bb0b9482189.js similarity index 100% rename from ecmascript/codegen/tests/references/17d63bb0b9482189.js rename to ecmascript/codegen/tests/test262/17d63bb0b9482189.js diff --git a/ecmascript/codegen/tests/references/17d881105a9a6c85.js b/ecmascript/codegen/tests/test262/17d881105a9a6c85.js similarity index 100% rename from ecmascript/codegen/tests/references/17d881105a9a6c85.js rename to ecmascript/codegen/tests/test262/17d881105a9a6c85.js diff --git a/ecmascript/codegen/tests/references/1819ffb142e9c5ea.js b/ecmascript/codegen/tests/test262/1819ffb142e9c5ea.js similarity index 100% rename from ecmascript/codegen/tests/references/1819ffb142e9c5ea.js rename to ecmascript/codegen/tests/test262/1819ffb142e9c5ea.js diff --git a/ecmascript/codegen/tests/references/185dc3ee443bb737.js b/ecmascript/codegen/tests/test262/185dc3ee443bb737.js similarity index 100% rename from ecmascript/codegen/tests/references/185dc3ee443bb737.js rename to ecmascript/codegen/tests/test262/185dc3ee443bb737.js diff --git a/ecmascript/codegen/tests/references/18cc9a6b7038070f.js b/ecmascript/codegen/tests/test262/18cc9a6b7038070f.js similarity index 100% rename from ecmascript/codegen/tests/references/18cc9a6b7038070f.js rename to ecmascript/codegen/tests/test262/18cc9a6b7038070f.js diff --git a/ecmascript/codegen/tests/references/18e32b70e6a5574c.js b/ecmascript/codegen/tests/test262/18e32b70e6a5574c.js similarity index 100% rename from ecmascript/codegen/tests/references/18e32b70e6a5574c.js rename to ecmascript/codegen/tests/test262/18e32b70e6a5574c.js diff --git a/ecmascript/codegen/tests/references/18f05b95a72dffa1.js b/ecmascript/codegen/tests/test262/18f05b95a72dffa1.js similarity index 100% rename from ecmascript/codegen/tests/references/18f05b95a72dffa1.js rename to ecmascript/codegen/tests/test262/18f05b95a72dffa1.js diff --git a/ecmascript/codegen/tests/references/18f731daf0845475.js b/ecmascript/codegen/tests/test262/18f731daf0845475.js similarity index 100% rename from ecmascript/codegen/tests/references/18f731daf0845475.js rename to ecmascript/codegen/tests/test262/18f731daf0845475.js diff --git a/ecmascript/codegen/tests/references/1908280b73954ef7.js b/ecmascript/codegen/tests/test262/1908280b73954ef7.js similarity index 100% rename from ecmascript/codegen/tests/references/1908280b73954ef7.js rename to ecmascript/codegen/tests/test262/1908280b73954ef7.js diff --git a/ecmascript/codegen/tests/references/1938db3bb862ded1.js b/ecmascript/codegen/tests/test262/1938db3bb862ded1.js similarity index 100% rename from ecmascript/codegen/tests/references/1938db3bb862ded1.js rename to ecmascript/codegen/tests/test262/1938db3bb862ded1.js diff --git a/ecmascript/codegen/tests/references/194b702816a7e5e5.js b/ecmascript/codegen/tests/test262/194b702816a7e5e5.js similarity index 100% rename from ecmascript/codegen/tests/references/194b702816a7e5e5.js rename to ecmascript/codegen/tests/test262/194b702816a7e5e5.js diff --git a/ecmascript/codegen/tests/references/1972b64c4704a1eb.js b/ecmascript/codegen/tests/test262/1972b64c4704a1eb.js similarity index 100% rename from ecmascript/codegen/tests/references/1972b64c4704a1eb.js rename to ecmascript/codegen/tests/test262/1972b64c4704a1eb.js diff --git a/ecmascript/codegen/tests/references/19d1d07fe88ec849.js b/ecmascript/codegen/tests/test262/19d1d07fe88ec849.js similarity index 100% rename from ecmascript/codegen/tests/references/19d1d07fe88ec849.js rename to ecmascript/codegen/tests/test262/19d1d07fe88ec849.js diff --git a/ecmascript/codegen/tests/references/19ffea7e9e887e08.js b/ecmascript/codegen/tests/test262/19ffea7e9e887e08.js similarity index 100% rename from ecmascript/codegen/tests/references/19ffea7e9e887e08.js rename to ecmascript/codegen/tests/test262/19ffea7e9e887e08.js diff --git a/ecmascript/codegen/tests/references/1a0dac12dbd33ef6.js b/ecmascript/codegen/tests/test262/1a0dac12dbd33ef6.js similarity index 100% rename from ecmascript/codegen/tests/references/1a0dac12dbd33ef6.js rename to ecmascript/codegen/tests/test262/1a0dac12dbd33ef6.js diff --git a/ecmascript/codegen/tests/references/1a1c717109ab67e1.js b/ecmascript/codegen/tests/test262/1a1c717109ab67e1.js similarity index 100% rename from ecmascript/codegen/tests/references/1a1c717109ab67e1.js rename to ecmascript/codegen/tests/test262/1a1c717109ab67e1.js diff --git a/ecmascript/codegen/tests/references/1a7800a74a866638.js b/ecmascript/codegen/tests/test262/1a7800a74a866638.js similarity index 100% rename from ecmascript/codegen/tests/references/1a7800a74a866638.js rename to ecmascript/codegen/tests/test262/1a7800a74a866638.js diff --git a/ecmascript/codegen/tests/references/1b0c0fc32b9e5e35.js b/ecmascript/codegen/tests/test262/1b0c0fc32b9e5e35.js similarity index 100% rename from ecmascript/codegen/tests/references/1b0c0fc32b9e5e35.js rename to ecmascript/codegen/tests/test262/1b0c0fc32b9e5e35.js diff --git a/ecmascript/codegen/tests/references/1b542dd79e4444c7.module.js b/ecmascript/codegen/tests/test262/1b542dd79e4444c7.module.js similarity index 100% rename from ecmascript/codegen/tests/references/1b542dd79e4444c7.module.js rename to ecmascript/codegen/tests/test262/1b542dd79e4444c7.module.js diff --git a/ecmascript/codegen/tests/references/1b6e33ab982844af.js b/ecmascript/codegen/tests/test262/1b6e33ab982844af.js similarity index 100% rename from ecmascript/codegen/tests/references/1b6e33ab982844af.js rename to ecmascript/codegen/tests/test262/1b6e33ab982844af.js diff --git a/ecmascript/codegen/tests/references/1b87f88ae8ea1cb1.js b/ecmascript/codegen/tests/test262/1b87f88ae8ea1cb1.js similarity index 100% rename from ecmascript/codegen/tests/references/1b87f88ae8ea1cb1.js rename to ecmascript/codegen/tests/test262/1b87f88ae8ea1cb1.js diff --git a/ecmascript/codegen/tests/references/1b884461ff1acfc6.js b/ecmascript/codegen/tests/test262/1b884461ff1acfc6.js similarity index 100% rename from ecmascript/codegen/tests/references/1b884461ff1acfc6.js rename to ecmascript/codegen/tests/test262/1b884461ff1acfc6.js diff --git a/ecmascript/codegen/tests/test262/1ba78d63a36ea567.js b/ecmascript/codegen/tests/test262/1ba78d63a36ea567.js new file mode 100644 index 00000000000..8d6ecc5bafa --- /dev/null +++ b/ecmascript/codegen/tests/test262/1ba78d63a36ea567.js @@ -0,0 +1 @@ +for(let a in a); diff --git a/ecmascript/codegen/tests/references/1bbe65871120530b.js b/ecmascript/codegen/tests/test262/1bbe65871120530b.js similarity index 100% rename from ecmascript/codegen/tests/references/1bbe65871120530b.js rename to ecmascript/codegen/tests/test262/1bbe65871120530b.js diff --git a/ecmascript/codegen/tests/references/1c055d256ec34f17.js b/ecmascript/codegen/tests/test262/1c055d256ec34f17.js similarity index 100% rename from ecmascript/codegen/tests/references/1c055d256ec34f17.js rename to ecmascript/codegen/tests/test262/1c055d256ec34f17.js diff --git a/ecmascript/codegen/tests/references/1c1e2a43fe5515b6.js b/ecmascript/codegen/tests/test262/1c1e2a43fe5515b6.js similarity index 100% rename from ecmascript/codegen/tests/references/1c1e2a43fe5515b6.js rename to ecmascript/codegen/tests/test262/1c1e2a43fe5515b6.js diff --git a/ecmascript/codegen/tests/references/1c2f680b78692645.js b/ecmascript/codegen/tests/test262/1c2f680b78692645.js similarity index 100% rename from ecmascript/codegen/tests/references/1c2f680b78692645.js rename to ecmascript/codegen/tests/test262/1c2f680b78692645.js diff --git a/ecmascript/codegen/tests/references/1c6424d9a7209f81.js b/ecmascript/codegen/tests/test262/1c6424d9a7209f81.js similarity index 100% rename from ecmascript/codegen/tests/references/1c6424d9a7209f81.js rename to ecmascript/codegen/tests/test262/1c6424d9a7209f81.js diff --git a/ecmascript/codegen/tests/references/1c6c67fcd71f2d08.js b/ecmascript/codegen/tests/test262/1c6c67fcd71f2d08.js similarity index 100% rename from ecmascript/codegen/tests/references/1c6c67fcd71f2d08.js rename to ecmascript/codegen/tests/test262/1c6c67fcd71f2d08.js diff --git a/ecmascript/codegen/tests/references/1c7e1e347f726166.js b/ecmascript/codegen/tests/test262/1c7e1e347f726166.js similarity index 100% rename from ecmascript/codegen/tests/references/1c7e1e347f726166.js rename to ecmascript/codegen/tests/test262/1c7e1e347f726166.js diff --git a/ecmascript/codegen/tests/references/1ca991b39b6e7754.js b/ecmascript/codegen/tests/test262/1ca991b39b6e7754.js similarity index 100% rename from ecmascript/codegen/tests/references/1ca991b39b6e7754.js rename to ecmascript/codegen/tests/test262/1ca991b39b6e7754.js diff --git a/ecmascript/codegen/tests/references/1cb2c267c552028f.js b/ecmascript/codegen/tests/test262/1cb2c267c552028f.js similarity index 100% rename from ecmascript/codegen/tests/references/1cb2c267c552028f.js rename to ecmascript/codegen/tests/test262/1cb2c267c552028f.js diff --git a/ecmascript/codegen/tests/references/1cdce2d337e64b4f.js b/ecmascript/codegen/tests/test262/1cdce2d337e64b4f.js similarity index 100% rename from ecmascript/codegen/tests/references/1cdce2d337e64b4f.js rename to ecmascript/codegen/tests/test262/1cdce2d337e64b4f.js diff --git a/ecmascript/codegen/tests/references/1ce4afd9b35e3312.js b/ecmascript/codegen/tests/test262/1ce4afd9b35e3312.js similarity index 100% rename from ecmascript/codegen/tests/references/1ce4afd9b35e3312.js rename to ecmascript/codegen/tests/test262/1ce4afd9b35e3312.js diff --git a/ecmascript/codegen/tests/references/1d1037fcfa0c7958.js b/ecmascript/codegen/tests/test262/1d1037fcfa0c7958.js similarity index 100% rename from ecmascript/codegen/tests/references/1d1037fcfa0c7958.js rename to ecmascript/codegen/tests/test262/1d1037fcfa0c7958.js diff --git a/ecmascript/codegen/tests/references/1d1ac5ee0d1a9bd4.js b/ecmascript/codegen/tests/test262/1d1ac5ee0d1a9bd4.js similarity index 100% rename from ecmascript/codegen/tests/references/1d1ac5ee0d1a9bd4.js rename to ecmascript/codegen/tests/test262/1d1ac5ee0d1a9bd4.js diff --git a/ecmascript/codegen/tests/references/1d3dd296a717e478.js b/ecmascript/codegen/tests/test262/1d3dd296a717e478.js similarity index 100% rename from ecmascript/codegen/tests/references/1d3dd296a717e478.js rename to ecmascript/codegen/tests/test262/1d3dd296a717e478.js diff --git a/ecmascript/codegen/tests/references/1db0d98ff1726af8.js b/ecmascript/codegen/tests/test262/1db0d98ff1726af8.js similarity index 100% rename from ecmascript/codegen/tests/references/1db0d98ff1726af8.js rename to ecmascript/codegen/tests/test262/1db0d98ff1726af8.js diff --git a/ecmascript/codegen/tests/references/1db76a05c7b9a090.js b/ecmascript/codegen/tests/test262/1db76a05c7b9a090.js similarity index 100% rename from ecmascript/codegen/tests/references/1db76a05c7b9a090.js rename to ecmascript/codegen/tests/test262/1db76a05c7b9a090.js diff --git a/ecmascript/codegen/tests/references/1de765c987733026.js b/ecmascript/codegen/tests/test262/1de765c987733026.js similarity index 100% rename from ecmascript/codegen/tests/references/1de765c987733026.js rename to ecmascript/codegen/tests/test262/1de765c987733026.js diff --git a/ecmascript/codegen/tests/references/1e3f57c4ec83f5bc.js b/ecmascript/codegen/tests/test262/1e3f57c4ec83f5bc.js similarity index 100% rename from ecmascript/codegen/tests/references/1e3f57c4ec83f5bc.js rename to ecmascript/codegen/tests/test262/1e3f57c4ec83f5bc.js diff --git a/ecmascript/codegen/tests/references/1e61843633dcb483.js b/ecmascript/codegen/tests/test262/1e61843633dcb483.js similarity index 100% rename from ecmascript/codegen/tests/references/1e61843633dcb483.js rename to ecmascript/codegen/tests/test262/1e61843633dcb483.js diff --git a/ecmascript/codegen/tests/references/1ea254c74f1071de.js b/ecmascript/codegen/tests/test262/1ea254c74f1071de.js similarity index 100% rename from ecmascript/codegen/tests/references/1ea254c74f1071de.js rename to ecmascript/codegen/tests/test262/1ea254c74f1071de.js diff --git a/ecmascript/codegen/tests/references/1ef3bdd7e919cca8.js b/ecmascript/codegen/tests/test262/1ef3bdd7e919cca8.js similarity index 100% rename from ecmascript/codegen/tests/references/1ef3bdd7e919cca8.js rename to ecmascript/codegen/tests/test262/1ef3bdd7e919cca8.js diff --git a/ecmascript/codegen/tests/references/1efde9ddd9d6e6ce.module.js b/ecmascript/codegen/tests/test262/1efde9ddd9d6e6ce.module.js similarity index 100% rename from ecmascript/codegen/tests/references/1efde9ddd9d6e6ce.module.js rename to ecmascript/codegen/tests/test262/1efde9ddd9d6e6ce.module.js diff --git a/ecmascript/codegen/tests/references/1f039e0eeb1bc271.js b/ecmascript/codegen/tests/test262/1f039e0eeb1bc271.js similarity index 100% rename from ecmascript/codegen/tests/references/1f039e0eeb1bc271.js rename to ecmascript/codegen/tests/test262/1f039e0eeb1bc271.js diff --git a/ecmascript/codegen/tests/references/1f3808cbdfab97e4.js b/ecmascript/codegen/tests/test262/1f3808cbdfab97e4.js similarity index 100% rename from ecmascript/codegen/tests/references/1f3808cbdfab97e4.js rename to ecmascript/codegen/tests/test262/1f3808cbdfab97e4.js diff --git a/ecmascript/codegen/tests/references/1f5de1d7092dcd82.js b/ecmascript/codegen/tests/test262/1f5de1d7092dcd82.js similarity index 100% rename from ecmascript/codegen/tests/references/1f5de1d7092dcd82.js rename to ecmascript/codegen/tests/test262/1f5de1d7092dcd82.js diff --git a/ecmascript/codegen/tests/references/1f89cd96db326f7a.js b/ecmascript/codegen/tests/test262/1f89cd96db326f7a.js similarity index 100% rename from ecmascript/codegen/tests/references/1f89cd96db326f7a.js rename to ecmascript/codegen/tests/test262/1f89cd96db326f7a.js diff --git a/ecmascript/codegen/tests/references/1f988cc22167927b.js b/ecmascript/codegen/tests/test262/1f988cc22167927b.js similarity index 100% rename from ecmascript/codegen/tests/references/1f988cc22167927b.js rename to ecmascript/codegen/tests/test262/1f988cc22167927b.js diff --git a/ecmascript/codegen/tests/references/1fbf374c8a04fb23.js b/ecmascript/codegen/tests/test262/1fbf374c8a04fb23.js similarity index 100% rename from ecmascript/codegen/tests/references/1fbf374c8a04fb23.js rename to ecmascript/codegen/tests/test262/1fbf374c8a04fb23.js diff --git a/ecmascript/codegen/tests/references/1fc4349ef394b505.js b/ecmascript/codegen/tests/test262/1fc4349ef394b505.js similarity index 100% rename from ecmascript/codegen/tests/references/1fc4349ef394b505.js rename to ecmascript/codegen/tests/test262/1fc4349ef394b505.js diff --git a/ecmascript/codegen/tests/references/1fd743f03945fd05.js b/ecmascript/codegen/tests/test262/1fd743f03945fd05.js similarity index 100% rename from ecmascript/codegen/tests/references/1fd743f03945fd05.js rename to ecmascript/codegen/tests/test262/1fd743f03945fd05.js diff --git a/ecmascript/codegen/tests/references/2010526ea64db82e.js b/ecmascript/codegen/tests/test262/2010526ea64db82e.js similarity index 100% rename from ecmascript/codegen/tests/references/2010526ea64db82e.js rename to ecmascript/codegen/tests/test262/2010526ea64db82e.js diff --git a/ecmascript/codegen/tests/references/20644d335e3cd008.js b/ecmascript/codegen/tests/test262/20644d335e3cd008.js similarity index 100% rename from ecmascript/codegen/tests/references/20644d335e3cd008.js rename to ecmascript/codegen/tests/test262/20644d335e3cd008.js diff --git a/ecmascript/codegen/tests/references/206ebb4e67a6daa9.js b/ecmascript/codegen/tests/test262/206ebb4e67a6daa9.js similarity index 100% rename from ecmascript/codegen/tests/references/206ebb4e67a6daa9.js rename to ecmascript/codegen/tests/test262/206ebb4e67a6daa9.js diff --git a/ecmascript/codegen/tests/references/2072cb8131a4ae2b.js b/ecmascript/codegen/tests/test262/2072cb8131a4ae2b.js similarity index 100% rename from ecmascript/codegen/tests/references/2072cb8131a4ae2b.js rename to ecmascript/codegen/tests/test262/2072cb8131a4ae2b.js diff --git a/ecmascript/codegen/tests/references/209fc98bea7b9d67.js b/ecmascript/codegen/tests/test262/209fc98bea7b9d67.js similarity index 100% rename from ecmascript/codegen/tests/references/209fc98bea7b9d67.js rename to ecmascript/codegen/tests/test262/209fc98bea7b9d67.js diff --git a/ecmascript/codegen/tests/references/20aca21e32bf7772.js b/ecmascript/codegen/tests/test262/20aca21e32bf7772.js similarity index 100% rename from ecmascript/codegen/tests/references/20aca21e32bf7772.js rename to ecmascript/codegen/tests/test262/20aca21e32bf7772.js diff --git a/ecmascript/codegen/tests/references/20b873ad024b210f.js b/ecmascript/codegen/tests/test262/20b873ad024b210f.js similarity index 100% rename from ecmascript/codegen/tests/references/20b873ad024b210f.js rename to ecmascript/codegen/tests/test262/20b873ad024b210f.js diff --git a/ecmascript/codegen/tests/references/20f9bec9f3215688.js b/ecmascript/codegen/tests/test262/20f9bec9f3215688.js similarity index 100% rename from ecmascript/codegen/tests/references/20f9bec9f3215688.js rename to ecmascript/codegen/tests/test262/20f9bec9f3215688.js diff --git a/ecmascript/codegen/tests/references/2100bec1b92b51ae.js b/ecmascript/codegen/tests/test262/2100bec1b92b51ae.js similarity index 100% rename from ecmascript/codegen/tests/references/2100bec1b92b51ae.js rename to ecmascript/codegen/tests/test262/2100bec1b92b51ae.js diff --git a/ecmascript/codegen/tests/references/212d2ca66d97a90f.js b/ecmascript/codegen/tests/test262/212d2ca66d97a90f.js similarity index 100% rename from ecmascript/codegen/tests/references/212d2ca66d97a90f.js rename to ecmascript/codegen/tests/test262/212d2ca66d97a90f.js diff --git a/ecmascript/codegen/tests/references/213c3b05c6690d2d.js b/ecmascript/codegen/tests/test262/213c3b05c6690d2d.js similarity index 100% rename from ecmascript/codegen/tests/references/213c3b05c6690d2d.js rename to ecmascript/codegen/tests/test262/213c3b05c6690d2d.js diff --git a/ecmascript/codegen/tests/references/213e3455c8f8ceb2.js b/ecmascript/codegen/tests/test262/213e3455c8f8ceb2.js similarity index 100% rename from ecmascript/codegen/tests/references/213e3455c8f8ceb2.js rename to ecmascript/codegen/tests/test262/213e3455c8f8ceb2.js diff --git a/ecmascript/codegen/tests/references/2160fc99c3589501.js b/ecmascript/codegen/tests/test262/2160fc99c3589501.js similarity index 100% rename from ecmascript/codegen/tests/references/2160fc99c3589501.js rename to ecmascript/codegen/tests/test262/2160fc99c3589501.js diff --git a/ecmascript/codegen/tests/references/2179895ec5cc6276.js b/ecmascript/codegen/tests/test262/2179895ec5cc6276.js similarity index 100% rename from ecmascript/codegen/tests/references/2179895ec5cc6276.js rename to ecmascript/codegen/tests/test262/2179895ec5cc6276.js diff --git a/ecmascript/codegen/tests/references/218ca74570bf06b5.module.js b/ecmascript/codegen/tests/test262/218ca74570bf06b5.module.js similarity index 100% rename from ecmascript/codegen/tests/references/218ca74570bf06b5.module.js rename to ecmascript/codegen/tests/test262/218ca74570bf06b5.module.js diff --git a/ecmascript/codegen/tests/references/218e751b8b453b9b.js b/ecmascript/codegen/tests/test262/218e751b8b453b9b.js similarity index 100% rename from ecmascript/codegen/tests/references/218e751b8b453b9b.js rename to ecmascript/codegen/tests/test262/218e751b8b453b9b.js diff --git a/ecmascript/codegen/tests/references/21ebb8746371268b.module.js b/ecmascript/codegen/tests/test262/21ebb8746371268b.module.js similarity index 100% rename from ecmascript/codegen/tests/references/21ebb8746371268b.module.js rename to ecmascript/codegen/tests/test262/21ebb8746371268b.module.js diff --git a/ecmascript/codegen/tests/references/21f1173fff072ee5.js b/ecmascript/codegen/tests/test262/21f1173fff072ee5.js similarity index 100% rename from ecmascript/codegen/tests/references/21f1173fff072ee5.js rename to ecmascript/codegen/tests/test262/21f1173fff072ee5.js diff --git a/ecmascript/codegen/tests/references/21f5ce68788d4ffa.js b/ecmascript/codegen/tests/test262/21f5ce68788d4ffa.js similarity index 100% rename from ecmascript/codegen/tests/references/21f5ce68788d4ffa.js rename to ecmascript/codegen/tests/test262/21f5ce68788d4ffa.js diff --git a/ecmascript/codegen/tests/references/2207b24e625f30db.js b/ecmascript/codegen/tests/test262/2207b24e625f30db.js similarity index 100% rename from ecmascript/codegen/tests/references/2207b24e625f30db.js rename to ecmascript/codegen/tests/test262/2207b24e625f30db.js diff --git a/ecmascript/codegen/tests/references/22119a1d30256255.js b/ecmascript/codegen/tests/test262/22119a1d30256255.js similarity index 100% rename from ecmascript/codegen/tests/references/22119a1d30256255.js rename to ecmascript/codegen/tests/test262/22119a1d30256255.js diff --git a/ecmascript/codegen/tests/references/224d4dca3d98b618.js b/ecmascript/codegen/tests/test262/224d4dca3d98b618.js similarity index 100% rename from ecmascript/codegen/tests/references/224d4dca3d98b618.js rename to ecmascript/codegen/tests/test262/224d4dca3d98b618.js diff --git a/ecmascript/codegen/tests/references/227118dffd2c9935.js b/ecmascript/codegen/tests/test262/227118dffd2c9935.js similarity index 100% rename from ecmascript/codegen/tests/references/227118dffd2c9935.js rename to ecmascript/codegen/tests/test262/227118dffd2c9935.js diff --git a/ecmascript/codegen/tests/references/22b24d1deb35baf3.js b/ecmascript/codegen/tests/test262/22b24d1deb35baf3.js similarity index 100% rename from ecmascript/codegen/tests/references/22b24d1deb35baf3.js rename to ecmascript/codegen/tests/test262/22b24d1deb35baf3.js diff --git a/ecmascript/codegen/tests/references/22dc0bb1d4e8d89f.js b/ecmascript/codegen/tests/test262/22dc0bb1d4e8d89f.js similarity index 100% rename from ecmascript/codegen/tests/references/22dc0bb1d4e8d89f.js rename to ecmascript/codegen/tests/test262/22dc0bb1d4e8d89f.js diff --git a/ecmascript/codegen/tests/references/22eba6e3841edeec.js b/ecmascript/codegen/tests/test262/22eba6e3841edeec.js similarity index 100% rename from ecmascript/codegen/tests/references/22eba6e3841edeec.js rename to ecmascript/codegen/tests/test262/22eba6e3841edeec.js diff --git a/ecmascript/codegen/tests/references/230da70c908c1859.js b/ecmascript/codegen/tests/test262/230da70c908c1859.js similarity index 100% rename from ecmascript/codegen/tests/references/230da70c908c1859.js rename to ecmascript/codegen/tests/test262/230da70c908c1859.js diff --git a/ecmascript/codegen/tests/references/23869c020fc2cb0f.js b/ecmascript/codegen/tests/test262/23869c020fc2cb0f.js similarity index 100% rename from ecmascript/codegen/tests/references/23869c020fc2cb0f.js rename to ecmascript/codegen/tests/test262/23869c020fc2cb0f.js diff --git a/ecmascript/codegen/tests/test262/23d6a92eed7f18fa.js b/ecmascript/codegen/tests/test262/23d6a92eed7f18fa.js new file mode 100644 index 00000000000..6f53a93c3be --- /dev/null +++ b/ecmascript/codegen/tests/test262/23d6a92eed7f18fa.js @@ -0,0 +1 @@ +for(a.in in a); diff --git a/ecmascript/codegen/tests/references/2418fddf06e515f8.js b/ecmascript/codegen/tests/test262/2418fddf06e515f8.js similarity index 100% rename from ecmascript/codegen/tests/references/2418fddf06e515f8.js rename to ecmascript/codegen/tests/test262/2418fddf06e515f8.js diff --git a/ecmascript/codegen/tests/references/242ede66951e11b1.js b/ecmascript/codegen/tests/test262/242ede66951e11b1.js similarity index 100% rename from ecmascript/codegen/tests/references/242ede66951e11b1.js rename to ecmascript/codegen/tests/test262/242ede66951e11b1.js diff --git a/ecmascript/codegen/tests/references/24557730b5076325.js b/ecmascript/codegen/tests/test262/24557730b5076325.js similarity index 100% rename from ecmascript/codegen/tests/references/24557730b5076325.js rename to ecmascript/codegen/tests/test262/24557730b5076325.js diff --git a/ecmascript/codegen/tests/references/247a3a57e8176ebd.js b/ecmascript/codegen/tests/test262/247a3a57e8176ebd.js similarity index 100% rename from ecmascript/codegen/tests/references/247a3a57e8176ebd.js rename to ecmascript/codegen/tests/test262/247a3a57e8176ebd.js diff --git a/ecmascript/codegen/tests/references/24e299720285b6c1.js b/ecmascript/codegen/tests/test262/24e299720285b6c1.js similarity index 100% rename from ecmascript/codegen/tests/references/24e299720285b6c1.js rename to ecmascript/codegen/tests/test262/24e299720285b6c1.js diff --git a/ecmascript/codegen/tests/references/24fa28a37061a18f.js b/ecmascript/codegen/tests/test262/24fa28a37061a18f.js similarity index 100% rename from ecmascript/codegen/tests/references/24fa28a37061a18f.js rename to ecmascript/codegen/tests/test262/24fa28a37061a18f.js diff --git a/ecmascript/codegen/tests/references/250ced8c8e83b389.js b/ecmascript/codegen/tests/test262/250ced8c8e83b389.js similarity index 100% rename from ecmascript/codegen/tests/references/250ced8c8e83b389.js rename to ecmascript/codegen/tests/test262/250ced8c8e83b389.js diff --git a/ecmascript/codegen/tests/references/25296359c69440e8.js b/ecmascript/codegen/tests/test262/25296359c69440e8.js similarity index 100% rename from ecmascript/codegen/tests/references/25296359c69440e8.js rename to ecmascript/codegen/tests/test262/25296359c69440e8.js diff --git a/ecmascript/codegen/tests/references/252bb992a448270e.js b/ecmascript/codegen/tests/test262/252bb992a448270e.js similarity index 100% rename from ecmascript/codegen/tests/references/252bb992a448270e.js rename to ecmascript/codegen/tests/test262/252bb992a448270e.js diff --git a/ecmascript/codegen/tests/references/25542e65ad9d2bf1.js b/ecmascript/codegen/tests/test262/25542e65ad9d2bf1.js similarity index 100% rename from ecmascript/codegen/tests/references/25542e65ad9d2bf1.js rename to ecmascript/codegen/tests/test262/25542e65ad9d2bf1.js diff --git a/ecmascript/codegen/tests/references/2565ae4b2f2956b0.module.js b/ecmascript/codegen/tests/test262/2565ae4b2f2956b0.module.js similarity index 100% rename from ecmascript/codegen/tests/references/2565ae4b2f2956b0.module.js rename to ecmascript/codegen/tests/test262/2565ae4b2f2956b0.module.js diff --git a/ecmascript/codegen/tests/references/257f15ea5c44a423.js b/ecmascript/codegen/tests/test262/257f15ea5c44a423.js similarity index 100% rename from ecmascript/codegen/tests/references/257f15ea5c44a423.js rename to ecmascript/codegen/tests/test262/257f15ea5c44a423.js diff --git a/ecmascript/codegen/tests/references/25824f6a683e7467.module.js b/ecmascript/codegen/tests/test262/25824f6a683e7467.module.js similarity index 100% rename from ecmascript/codegen/tests/references/25824f6a683e7467.module.js rename to ecmascript/codegen/tests/test262/25824f6a683e7467.module.js diff --git a/ecmascript/codegen/tests/references/25fd48ccc3bef96a.js b/ecmascript/codegen/tests/test262/25fd48ccc3bef96a.js similarity index 100% rename from ecmascript/codegen/tests/references/25fd48ccc3bef96a.js rename to ecmascript/codegen/tests/test262/25fd48ccc3bef96a.js diff --git a/ecmascript/codegen/tests/references/2619be6c7f521c49.js b/ecmascript/codegen/tests/test262/2619be6c7f521c49.js similarity index 100% rename from ecmascript/codegen/tests/references/2619be6c7f521c49.js rename to ecmascript/codegen/tests/test262/2619be6c7f521c49.js diff --git a/ecmascript/codegen/tests/references/264266c68369c672.js b/ecmascript/codegen/tests/test262/264266c68369c672.js similarity index 100% rename from ecmascript/codegen/tests/references/264266c68369c672.js rename to ecmascript/codegen/tests/test262/264266c68369c672.js diff --git a/ecmascript/codegen/tests/references/26974bc54e93b191.js b/ecmascript/codegen/tests/test262/26974bc54e93b191.js similarity index 100% rename from ecmascript/codegen/tests/references/26974bc54e93b191.js rename to ecmascript/codegen/tests/test262/26974bc54e93b191.js diff --git a/ecmascript/codegen/tests/references/26998ded3750f7d8.js b/ecmascript/codegen/tests/test262/26998ded3750f7d8.js similarity index 100% rename from ecmascript/codegen/tests/references/26998ded3750f7d8.js rename to ecmascript/codegen/tests/test262/26998ded3750f7d8.js diff --git a/ecmascript/codegen/tests/references/26a4b2dddf53ab39.js b/ecmascript/codegen/tests/test262/26a4b2dddf53ab39.js similarity index 100% rename from ecmascript/codegen/tests/references/26a4b2dddf53ab39.js rename to ecmascript/codegen/tests/test262/26a4b2dddf53ab39.js diff --git a/ecmascript/codegen/tests/references/26aa785e12e00fb1.js b/ecmascript/codegen/tests/test262/26aa785e12e00fb1.js similarity index 100% rename from ecmascript/codegen/tests/references/26aa785e12e00fb1.js rename to ecmascript/codegen/tests/test262/26aa785e12e00fb1.js diff --git a/ecmascript/codegen/tests/references/26aa8b685715d445.module.js b/ecmascript/codegen/tests/test262/26aa8b685715d445.module.js similarity index 100% rename from ecmascript/codegen/tests/references/26aa8b685715d445.module.js rename to ecmascript/codegen/tests/test262/26aa8b685715d445.module.js diff --git a/ecmascript/codegen/tests/references/26b946d7cc01c226.js b/ecmascript/codegen/tests/test262/26b946d7cc01c226.js similarity index 100% rename from ecmascript/codegen/tests/references/26b946d7cc01c226.js rename to ecmascript/codegen/tests/test262/26b946d7cc01c226.js diff --git a/ecmascript/codegen/tests/references/26edf4bcd3ed9e74.js b/ecmascript/codegen/tests/test262/26edf4bcd3ed9e74.js similarity index 100% rename from ecmascript/codegen/tests/references/26edf4bcd3ed9e74.js rename to ecmascript/codegen/tests/test262/26edf4bcd3ed9e74.js diff --git a/ecmascript/codegen/tests/references/26f27d747e98d3eb.js b/ecmascript/codegen/tests/test262/26f27d747e98d3eb.js similarity index 100% rename from ecmascript/codegen/tests/references/26f27d747e98d3eb.js rename to ecmascript/codegen/tests/test262/26f27d747e98d3eb.js diff --git a/ecmascript/codegen/tests/references/26f632a0a4d60150.js b/ecmascript/codegen/tests/test262/26f632a0a4d60150.js similarity index 100% rename from ecmascript/codegen/tests/references/26f632a0a4d60150.js rename to ecmascript/codegen/tests/test262/26f632a0a4d60150.js diff --git a/ecmascript/codegen/tests/references/27409f5b7b692b24.js b/ecmascript/codegen/tests/test262/27409f5b7b692b24.js similarity index 100% rename from ecmascript/codegen/tests/references/27409f5b7b692b24.js rename to ecmascript/codegen/tests/test262/27409f5b7b692b24.js diff --git a/ecmascript/codegen/tests/references/2754a9872f3512ed.js b/ecmascript/codegen/tests/test262/2754a9872f3512ed.js similarity index 100% rename from ecmascript/codegen/tests/references/2754a9872f3512ed.js rename to ecmascript/codegen/tests/test262/2754a9872f3512ed.js diff --git a/ecmascript/codegen/tests/references/27ac24465c731ff9.js b/ecmascript/codegen/tests/test262/27ac24465c731ff9.js similarity index 100% rename from ecmascript/codegen/tests/references/27ac24465c731ff9.js rename to ecmascript/codegen/tests/test262/27ac24465c731ff9.js diff --git a/ecmascript/codegen/tests/references/27b5d00cc75de02f.js b/ecmascript/codegen/tests/test262/27b5d00cc75de02f.js similarity index 100% rename from ecmascript/codegen/tests/references/27b5d00cc75de02f.js rename to ecmascript/codegen/tests/test262/27b5d00cc75de02f.js diff --git a/ecmascript/codegen/tests/references/27ca96102da82628.js b/ecmascript/codegen/tests/test262/27ca96102da82628.js similarity index 100% rename from ecmascript/codegen/tests/references/27ca96102da82628.js rename to ecmascript/codegen/tests/test262/27ca96102da82628.js diff --git a/ecmascript/codegen/tests/references/27ed2f0fdb7f53f6.module.js b/ecmascript/codegen/tests/test262/27ed2f0fdb7f53f6.module.js similarity index 100% rename from ecmascript/codegen/tests/references/27ed2f0fdb7f53f6.module.js rename to ecmascript/codegen/tests/test262/27ed2f0fdb7f53f6.module.js diff --git a/ecmascript/codegen/tests/references/284ca169f09605be.js b/ecmascript/codegen/tests/test262/284ca169f09605be.js similarity index 100% rename from ecmascript/codegen/tests/references/284ca169f09605be.js rename to ecmascript/codegen/tests/test262/284ca169f09605be.js diff --git a/ecmascript/codegen/tests/references/285648c16156804f.js b/ecmascript/codegen/tests/test262/285648c16156804f.js similarity index 100% rename from ecmascript/codegen/tests/references/285648c16156804f.js rename to ecmascript/codegen/tests/test262/285648c16156804f.js diff --git a/ecmascript/codegen/tests/references/286876d6fdab22d7.js b/ecmascript/codegen/tests/test262/286876d6fdab22d7.js similarity index 100% rename from ecmascript/codegen/tests/references/286876d6fdab22d7.js rename to ecmascript/codegen/tests/test262/286876d6fdab22d7.js diff --git a/ecmascript/codegen/tests/references/28a54e6410ad3f19.js b/ecmascript/codegen/tests/test262/28a54e6410ad3f19.js similarity index 100% rename from ecmascript/codegen/tests/references/28a54e6410ad3f19.js rename to ecmascript/codegen/tests/test262/28a54e6410ad3f19.js diff --git a/ecmascript/codegen/tests/references/290fdc5a2f826ead.js b/ecmascript/codegen/tests/test262/290fdc5a2f826ead.js similarity index 100% rename from ecmascript/codegen/tests/references/290fdc5a2f826ead.js rename to ecmascript/codegen/tests/test262/290fdc5a2f826ead.js diff --git a/ecmascript/codegen/tests/references/2935f62bfe48ca1b.js b/ecmascript/codegen/tests/test262/2935f62bfe48ca1b.js similarity index 100% rename from ecmascript/codegen/tests/references/2935f62bfe48ca1b.js rename to ecmascript/codegen/tests/test262/2935f62bfe48ca1b.js diff --git a/ecmascript/codegen/tests/references/2976a1598d3a75e1.js b/ecmascript/codegen/tests/test262/2976a1598d3a75e1.js similarity index 100% rename from ecmascript/codegen/tests/references/2976a1598d3a75e1.js rename to ecmascript/codegen/tests/test262/2976a1598d3a75e1.js diff --git a/ecmascript/codegen/tests/references/29bcad4873d3581b.js b/ecmascript/codegen/tests/test262/29bcad4873d3581b.js similarity index 100% rename from ecmascript/codegen/tests/references/29bcad4873d3581b.js rename to ecmascript/codegen/tests/test262/29bcad4873d3581b.js diff --git a/ecmascript/codegen/tests/references/29e41f46ede71f11.js b/ecmascript/codegen/tests/test262/29e41f46ede71f11.js similarity index 100% rename from ecmascript/codegen/tests/references/29e41f46ede71f11.js rename to ecmascript/codegen/tests/test262/29e41f46ede71f11.js diff --git a/ecmascript/codegen/tests/references/29ef8a7a1cbfda7f.js b/ecmascript/codegen/tests/test262/29ef8a7a1cbfda7f.js similarity index 100% rename from ecmascript/codegen/tests/references/29ef8a7a1cbfda7f.js rename to ecmascript/codegen/tests/test262/29ef8a7a1cbfda7f.js diff --git a/ecmascript/codegen/tests/references/2a11bb318142547e.js b/ecmascript/codegen/tests/test262/2a11bb318142547e.js similarity index 100% rename from ecmascript/codegen/tests/references/2a11bb318142547e.js rename to ecmascript/codegen/tests/test262/2a11bb318142547e.js diff --git a/ecmascript/codegen/tests/references/2a327fdbcc6cb870.js b/ecmascript/codegen/tests/test262/2a327fdbcc6cb870.js similarity index 100% rename from ecmascript/codegen/tests/references/2a327fdbcc6cb870.js rename to ecmascript/codegen/tests/test262/2a327fdbcc6cb870.js diff --git a/ecmascript/codegen/tests/references/2a7d131074016ba6.js b/ecmascript/codegen/tests/test262/2a7d131074016ba6.js similarity index 100% rename from ecmascript/codegen/tests/references/2a7d131074016ba6.js rename to ecmascript/codegen/tests/test262/2a7d131074016ba6.js diff --git a/ecmascript/codegen/tests/references/2aa1db78027ba395.js b/ecmascript/codegen/tests/test262/2aa1db78027ba395.js similarity index 100% rename from ecmascript/codegen/tests/references/2aa1db78027ba395.js rename to ecmascript/codegen/tests/test262/2aa1db78027ba395.js diff --git a/ecmascript/codegen/tests/references/2ab9ca1f6a30c203.js b/ecmascript/codegen/tests/test262/2ab9ca1f6a30c203.js similarity index 100% rename from ecmascript/codegen/tests/references/2ab9ca1f6a30c203.js rename to ecmascript/codegen/tests/test262/2ab9ca1f6a30c203.js diff --git a/ecmascript/codegen/tests/references/2acc83b037420689.js b/ecmascript/codegen/tests/test262/2acc83b037420689.js similarity index 100% rename from ecmascript/codegen/tests/references/2acc83b037420689.js rename to ecmascript/codegen/tests/test262/2acc83b037420689.js diff --git a/ecmascript/codegen/tests/references/2afc5d4b75dbf12d.js b/ecmascript/codegen/tests/test262/2afc5d4b75dbf12d.js similarity index 100% rename from ecmascript/codegen/tests/references/2afc5d4b75dbf12d.js rename to ecmascript/codegen/tests/test262/2afc5d4b75dbf12d.js diff --git a/ecmascript/codegen/tests/references/2b0727c871857af5.js b/ecmascript/codegen/tests/test262/2b0727c871857af5.js similarity index 100% rename from ecmascript/codegen/tests/references/2b0727c871857af5.js rename to ecmascript/codegen/tests/test262/2b0727c871857af5.js diff --git a/ecmascript/codegen/tests/references/2b1f4f042cff07a3.js b/ecmascript/codegen/tests/test262/2b1f4f042cff07a3.js similarity index 100% rename from ecmascript/codegen/tests/references/2b1f4f042cff07a3.js rename to ecmascript/codegen/tests/test262/2b1f4f042cff07a3.js diff --git a/ecmascript/codegen/tests/references/2b393e093a0e2fb3.module.js b/ecmascript/codegen/tests/test262/2b393e093a0e2fb3.module.js similarity index 100% rename from ecmascript/codegen/tests/references/2b393e093a0e2fb3.module.js rename to ecmascript/codegen/tests/test262/2b393e093a0e2fb3.module.js diff --git a/ecmascript/codegen/tests/references/2b478bb5ceb2e18b.js b/ecmascript/codegen/tests/test262/2b478bb5ceb2e18b.js similarity index 100% rename from ecmascript/codegen/tests/references/2b478bb5ceb2e18b.js rename to ecmascript/codegen/tests/test262/2b478bb5ceb2e18b.js diff --git a/ecmascript/codegen/tests/references/2b83dea123ed2e2e.js b/ecmascript/codegen/tests/test262/2b83dea123ed2e2e.js similarity index 100% rename from ecmascript/codegen/tests/references/2b83dea123ed2e2e.js rename to ecmascript/codegen/tests/test262/2b83dea123ed2e2e.js diff --git a/ecmascript/codegen/tests/references/2b9d4a632590814a.js b/ecmascript/codegen/tests/test262/2b9d4a632590814a.js similarity index 100% rename from ecmascript/codegen/tests/references/2b9d4a632590814a.js rename to ecmascript/codegen/tests/test262/2b9d4a632590814a.js diff --git a/ecmascript/codegen/tests/references/2ba11d8ca169ab6c.js b/ecmascript/codegen/tests/test262/2ba11d8ca169ab6c.js similarity index 100% rename from ecmascript/codegen/tests/references/2ba11d8ca169ab6c.js rename to ecmascript/codegen/tests/test262/2ba11d8ca169ab6c.js diff --git a/ecmascript/codegen/tests/references/2bd8ae9202baa31e.js b/ecmascript/codegen/tests/test262/2bd8ae9202baa31e.js similarity index 100% rename from ecmascript/codegen/tests/references/2bd8ae9202baa31e.js rename to ecmascript/codegen/tests/test262/2bd8ae9202baa31e.js diff --git a/ecmascript/codegen/tests/references/2bdb271c1ff34f35.js b/ecmascript/codegen/tests/test262/2bdb271c1ff34f35.js similarity index 100% rename from ecmascript/codegen/tests/references/2bdb271c1ff34f35.js rename to ecmascript/codegen/tests/test262/2bdb271c1ff34f35.js diff --git a/ecmascript/codegen/tests/references/2c0f785914da9d0b.js b/ecmascript/codegen/tests/test262/2c0f785914da9d0b.js similarity index 100% rename from ecmascript/codegen/tests/references/2c0f785914da9d0b.js rename to ecmascript/codegen/tests/test262/2c0f785914da9d0b.js diff --git a/ecmascript/codegen/tests/references/2c16af589c5c8535.js b/ecmascript/codegen/tests/test262/2c16af589c5c8535.js similarity index 100% rename from ecmascript/codegen/tests/references/2c16af589c5c8535.js rename to ecmascript/codegen/tests/test262/2c16af589c5c8535.js diff --git a/ecmascript/codegen/tests/references/2c4b264884006a8e.js b/ecmascript/codegen/tests/test262/2c4b264884006a8e.js similarity index 100% rename from ecmascript/codegen/tests/references/2c4b264884006a8e.js rename to ecmascript/codegen/tests/test262/2c4b264884006a8e.js diff --git a/ecmascript/codegen/tests/references/2c5f4d039f9c7740.js b/ecmascript/codegen/tests/test262/2c5f4d039f9c7740.js similarity index 100% rename from ecmascript/codegen/tests/references/2c5f4d039f9c7740.js rename to ecmascript/codegen/tests/test262/2c5f4d039f9c7740.js diff --git a/ecmascript/codegen/tests/references/2c7a69627f1d8062.js b/ecmascript/codegen/tests/test262/2c7a69627f1d8062.js similarity index 100% rename from ecmascript/codegen/tests/references/2c7a69627f1d8062.js rename to ecmascript/codegen/tests/test262/2c7a69627f1d8062.js diff --git a/ecmascript/codegen/tests/references/2c7e2fecbc1cb477.js b/ecmascript/codegen/tests/test262/2c7e2fecbc1cb477.js similarity index 100% rename from ecmascript/codegen/tests/references/2c7e2fecbc1cb477.js rename to ecmascript/codegen/tests/test262/2c7e2fecbc1cb477.js diff --git a/ecmascript/codegen/tests/references/2ccf4707fe3749ff.js b/ecmascript/codegen/tests/test262/2ccf4707fe3749ff.js similarity index 100% rename from ecmascript/codegen/tests/references/2ccf4707fe3749ff.js rename to ecmascript/codegen/tests/test262/2ccf4707fe3749ff.js diff --git a/ecmascript/codegen/tests/references/2cda5eb51a2d97e7.js b/ecmascript/codegen/tests/test262/2cda5eb51a2d97e7.js similarity index 100% rename from ecmascript/codegen/tests/references/2cda5eb51a2d97e7.js rename to ecmascript/codegen/tests/test262/2cda5eb51a2d97e7.js diff --git a/ecmascript/codegen/tests/references/2cdf798a24c241e3.js b/ecmascript/codegen/tests/test262/2cdf798a24c241e3.js similarity index 100% rename from ecmascript/codegen/tests/references/2cdf798a24c241e3.js rename to ecmascript/codegen/tests/test262/2cdf798a24c241e3.js diff --git a/ecmascript/codegen/tests/references/2d10fed2af94fbd1.js b/ecmascript/codegen/tests/test262/2d10fed2af94fbd1.js similarity index 100% rename from ecmascript/codegen/tests/references/2d10fed2af94fbd1.js rename to ecmascript/codegen/tests/test262/2d10fed2af94fbd1.js diff --git a/ecmascript/codegen/tests/references/2d1ecf6fb0d1afe2.js b/ecmascript/codegen/tests/test262/2d1ecf6fb0d1afe2.js similarity index 100% rename from ecmascript/codegen/tests/references/2d1ecf6fb0d1afe2.js rename to ecmascript/codegen/tests/test262/2d1ecf6fb0d1afe2.js diff --git a/ecmascript/codegen/tests/references/2d3273e0386e9cb8.js b/ecmascript/codegen/tests/test262/2d3273e0386e9cb8.js similarity index 100% rename from ecmascript/codegen/tests/references/2d3273e0386e9cb8.js rename to ecmascript/codegen/tests/test262/2d3273e0386e9cb8.js diff --git a/ecmascript/codegen/tests/references/2d614e07c62fc32d.js b/ecmascript/codegen/tests/test262/2d614e07c62fc32d.js similarity index 100% rename from ecmascript/codegen/tests/references/2d614e07c62fc32d.js rename to ecmascript/codegen/tests/test262/2d614e07c62fc32d.js diff --git a/ecmascript/codegen/tests/references/2db5219f0ac5dd71.js b/ecmascript/codegen/tests/test262/2db5219f0ac5dd71.js similarity index 100% rename from ecmascript/codegen/tests/references/2db5219f0ac5dd71.js rename to ecmascript/codegen/tests/test262/2db5219f0ac5dd71.js diff --git a/ecmascript/codegen/tests/references/2dc0ded5a1bff643.js b/ecmascript/codegen/tests/test262/2dc0ded5a1bff643.js similarity index 100% rename from ecmascript/codegen/tests/references/2dc0ded5a1bff643.js rename to ecmascript/codegen/tests/test262/2dc0ded5a1bff643.js diff --git a/ecmascript/codegen/tests/references/2dc1c08d0bff6eba.js b/ecmascript/codegen/tests/test262/2dc1c08d0bff6eba.js similarity index 100% rename from ecmascript/codegen/tests/references/2dc1c08d0bff6eba.js rename to ecmascript/codegen/tests/test262/2dc1c08d0bff6eba.js diff --git a/ecmascript/codegen/tests/references/2dd810da4984502b.js b/ecmascript/codegen/tests/test262/2dd810da4984502b.js similarity index 100% rename from ecmascript/codegen/tests/references/2dd810da4984502b.js rename to ecmascript/codegen/tests/test262/2dd810da4984502b.js diff --git a/ecmascript/codegen/tests/references/2df813ffa8a0a9e1.js b/ecmascript/codegen/tests/test262/2df813ffa8a0a9e1.js similarity index 100% rename from ecmascript/codegen/tests/references/2df813ffa8a0a9e1.js rename to ecmascript/codegen/tests/test262/2df813ffa8a0a9e1.js diff --git a/ecmascript/codegen/tests/references/2e371094f1b1ac51.js b/ecmascript/codegen/tests/test262/2e371094f1b1ac51.js similarity index 100% rename from ecmascript/codegen/tests/references/2e371094f1b1ac51.js rename to ecmascript/codegen/tests/test262/2e371094f1b1ac51.js diff --git a/ecmascript/codegen/tests/references/2e5fbf7b1685fa1b.js b/ecmascript/codegen/tests/test262/2e5fbf7b1685fa1b.js similarity index 100% rename from ecmascript/codegen/tests/references/2e5fbf7b1685fa1b.js rename to ecmascript/codegen/tests/test262/2e5fbf7b1685fa1b.js diff --git a/ecmascript/codegen/tests/references/2e7336dc8eba87ef.js b/ecmascript/codegen/tests/test262/2e7336dc8eba87ef.js similarity index 100% rename from ecmascript/codegen/tests/references/2e7336dc8eba87ef.js rename to ecmascript/codegen/tests/test262/2e7336dc8eba87ef.js diff --git a/ecmascript/codegen/tests/references/2e75e3bd39e6df05.js b/ecmascript/codegen/tests/test262/2e75e3bd39e6df05.js similarity index 100% rename from ecmascript/codegen/tests/references/2e75e3bd39e6df05.js rename to ecmascript/codegen/tests/test262/2e75e3bd39e6df05.js diff --git a/ecmascript/codegen/tests/references/2e7f443b2f555bc5.js b/ecmascript/codegen/tests/test262/2e7f443b2f555bc5.js similarity index 100% rename from ecmascript/codegen/tests/references/2e7f443b2f555bc5.js rename to ecmascript/codegen/tests/test262/2e7f443b2f555bc5.js diff --git a/ecmascript/codegen/tests/references/2e8a88da875f40c7.js b/ecmascript/codegen/tests/test262/2e8a88da875f40c7.js similarity index 100% rename from ecmascript/codegen/tests/references/2e8a88da875f40c7.js rename to ecmascript/codegen/tests/test262/2e8a88da875f40c7.js diff --git a/ecmascript/codegen/tests/references/2ef5ba0343d739dc.js b/ecmascript/codegen/tests/test262/2ef5ba0343d739dc.js similarity index 100% rename from ecmascript/codegen/tests/references/2ef5ba0343d739dc.js rename to ecmascript/codegen/tests/test262/2ef5ba0343d739dc.js diff --git a/ecmascript/codegen/tests/references/2f6d8a2215407ae3.js b/ecmascript/codegen/tests/test262/2f6d8a2215407ae3.js similarity index 100% rename from ecmascript/codegen/tests/references/2f6d8a2215407ae3.js rename to ecmascript/codegen/tests/test262/2f6d8a2215407ae3.js diff --git a/ecmascript/codegen/tests/references/2f84859abd5a242c.js b/ecmascript/codegen/tests/test262/2f84859abd5a242c.js similarity index 100% rename from ecmascript/codegen/tests/references/2f84859abd5a242c.js rename to ecmascript/codegen/tests/test262/2f84859abd5a242c.js diff --git a/ecmascript/codegen/tests/references/300a638d978d0f2c.js b/ecmascript/codegen/tests/test262/300a638d978d0f2c.js similarity index 100% rename from ecmascript/codegen/tests/references/300a638d978d0f2c.js rename to ecmascript/codegen/tests/test262/300a638d978d0f2c.js diff --git a/ecmascript/codegen/tests/references/30142c5b79e4eea9.js b/ecmascript/codegen/tests/test262/30142c5b79e4eea9.js similarity index 100% rename from ecmascript/codegen/tests/references/30142c5b79e4eea9.js rename to ecmascript/codegen/tests/test262/30142c5b79e4eea9.js diff --git a/ecmascript/codegen/tests/references/3085290028dd33e1.js b/ecmascript/codegen/tests/test262/3085290028dd33e1.js similarity index 100% rename from ecmascript/codegen/tests/references/3085290028dd33e1.js rename to ecmascript/codegen/tests/test262/3085290028dd33e1.js diff --git a/ecmascript/codegen/tests/references/3097f73926c93640.js b/ecmascript/codegen/tests/test262/3097f73926c93640.js similarity index 100% rename from ecmascript/codegen/tests/references/3097f73926c93640.js rename to ecmascript/codegen/tests/test262/3097f73926c93640.js diff --git a/ecmascript/codegen/tests/references/3098b57020860587.js b/ecmascript/codegen/tests/test262/3098b57020860587.js similarity index 100% rename from ecmascript/codegen/tests/references/3098b57020860587.js rename to ecmascript/codegen/tests/test262/3098b57020860587.js diff --git a/ecmascript/codegen/tests/references/30aee1020fc69090.js b/ecmascript/codegen/tests/test262/30aee1020fc69090.js similarity index 100% rename from ecmascript/codegen/tests/references/30aee1020fc69090.js rename to ecmascript/codegen/tests/test262/30aee1020fc69090.js diff --git a/ecmascript/codegen/tests/references/30c2911c05100e92.js b/ecmascript/codegen/tests/test262/30c2911c05100e92.js similarity index 100% rename from ecmascript/codegen/tests/references/30c2911c05100e92.js rename to ecmascript/codegen/tests/test262/30c2911c05100e92.js diff --git a/ecmascript/codegen/tests/references/31232b72db0fd24f.js b/ecmascript/codegen/tests/test262/31232b72db0fd24f.js similarity index 100% rename from ecmascript/codegen/tests/references/31232b72db0fd24f.js rename to ecmascript/codegen/tests/test262/31232b72db0fd24f.js diff --git a/ecmascript/codegen/tests/references/31237b174ba6047a.js b/ecmascript/codegen/tests/test262/31237b174ba6047a.js similarity index 100% rename from ecmascript/codegen/tests/references/31237b174ba6047a.js rename to ecmascript/codegen/tests/test262/31237b174ba6047a.js diff --git a/ecmascript/codegen/tests/references/312f85fecc352681.js b/ecmascript/codegen/tests/test262/312f85fecc352681.js similarity index 100% rename from ecmascript/codegen/tests/references/312f85fecc352681.js rename to ecmascript/codegen/tests/test262/312f85fecc352681.js diff --git a/ecmascript/codegen/tests/references/315692af7fe2aad3.js b/ecmascript/codegen/tests/test262/315692af7fe2aad3.js similarity index 100% rename from ecmascript/codegen/tests/references/315692af7fe2aad3.js rename to ecmascript/codegen/tests/test262/315692af7fe2aad3.js diff --git a/ecmascript/codegen/tests/references/3156a92ca5319b8b.js b/ecmascript/codegen/tests/test262/3156a92ca5319b8b.js similarity index 100% rename from ecmascript/codegen/tests/references/3156a92ca5319b8b.js rename to ecmascript/codegen/tests/test262/3156a92ca5319b8b.js diff --git a/ecmascript/codegen/tests/references/317532451c2ce8ff.js b/ecmascript/codegen/tests/test262/317532451c2ce8ff.js similarity index 100% rename from ecmascript/codegen/tests/references/317532451c2ce8ff.js rename to ecmascript/codegen/tests/test262/317532451c2ce8ff.js diff --git a/ecmascript/codegen/tests/references/318c169a25ee42c5.js b/ecmascript/codegen/tests/test262/318c169a25ee42c5.js similarity index 100% rename from ecmascript/codegen/tests/references/318c169a25ee42c5.js rename to ecmascript/codegen/tests/test262/318c169a25ee42c5.js diff --git a/ecmascript/codegen/tests/references/31ad88cae27258b7.js b/ecmascript/codegen/tests/test262/31ad88cae27258b7.js similarity index 100% rename from ecmascript/codegen/tests/references/31ad88cae27258b7.js rename to ecmascript/codegen/tests/test262/31ad88cae27258b7.js diff --git a/ecmascript/codegen/tests/references/31cca30ad2bf696d.js b/ecmascript/codegen/tests/test262/31cca30ad2bf696d.js similarity index 100% rename from ecmascript/codegen/tests/references/31cca30ad2bf696d.js rename to ecmascript/codegen/tests/test262/31cca30ad2bf696d.js diff --git a/ecmascript/codegen/tests/references/323783be9a53a31e.js b/ecmascript/codegen/tests/test262/323783be9a53a31e.js similarity index 100% rename from ecmascript/codegen/tests/references/323783be9a53a31e.js rename to ecmascript/codegen/tests/test262/323783be9a53a31e.js diff --git a/ecmascript/codegen/tests/references/329bc0e532da6227.js b/ecmascript/codegen/tests/test262/329bc0e532da6227.js similarity index 100% rename from ecmascript/codegen/tests/references/329bc0e532da6227.js rename to ecmascript/codegen/tests/test262/329bc0e532da6227.js diff --git a/ecmascript/codegen/tests/references/32a9af0615bf7618.js b/ecmascript/codegen/tests/test262/32a9af0615bf7618.js similarity index 100% rename from ecmascript/codegen/tests/references/32a9af0615bf7618.js rename to ecmascript/codegen/tests/test262/32a9af0615bf7618.js diff --git a/ecmascript/codegen/tests/references/32b4780ad9c4292a.js b/ecmascript/codegen/tests/test262/32b4780ad9c4292a.js similarity index 100% rename from ecmascript/codegen/tests/references/32b4780ad9c4292a.js rename to ecmascript/codegen/tests/test262/32b4780ad9c4292a.js diff --git a/ecmascript/codegen/tests/references/32b635a9667a9fb1.js b/ecmascript/codegen/tests/test262/32b635a9667a9fb1.js similarity index 100% rename from ecmascript/codegen/tests/references/32b635a9667a9fb1.js rename to ecmascript/codegen/tests/test262/32b635a9667a9fb1.js diff --git a/ecmascript/codegen/tests/references/32b6854d07aefbda.js b/ecmascript/codegen/tests/test262/32b6854d07aefbda.js similarity index 100% rename from ecmascript/codegen/tests/references/32b6854d07aefbda.js rename to ecmascript/codegen/tests/test262/32b6854d07aefbda.js diff --git a/ecmascript/codegen/tests/references/32efa0efd255748a.js b/ecmascript/codegen/tests/test262/32efa0efd255748a.js similarity index 100% rename from ecmascript/codegen/tests/references/32efa0efd255748a.js rename to ecmascript/codegen/tests/test262/32efa0efd255748a.js diff --git a/ecmascript/codegen/tests/references/32f782a4b16306aa.js b/ecmascript/codegen/tests/test262/32f782a4b16306aa.js similarity index 100% rename from ecmascript/codegen/tests/references/32f782a4b16306aa.js rename to ecmascript/codegen/tests/test262/32f782a4b16306aa.js diff --git a/ecmascript/codegen/tests/references/3315c524a740fe55.js b/ecmascript/codegen/tests/test262/3315c524a740fe55.js similarity index 100% rename from ecmascript/codegen/tests/references/3315c524a740fe55.js rename to ecmascript/codegen/tests/test262/3315c524a740fe55.js diff --git a/ecmascript/codegen/tests/references/332f0bc46d28db25.js b/ecmascript/codegen/tests/test262/332f0bc46d28db25.js similarity index 100% rename from ecmascript/codegen/tests/references/332f0bc46d28db25.js rename to ecmascript/codegen/tests/test262/332f0bc46d28db25.js diff --git a/ecmascript/codegen/tests/references/3348741c8bdd4f3c.js b/ecmascript/codegen/tests/test262/3348741c8bdd4f3c.js similarity index 100% rename from ecmascript/codegen/tests/references/3348741c8bdd4f3c.js rename to ecmascript/codegen/tests/test262/3348741c8bdd4f3c.js diff --git a/ecmascript/codegen/tests/references/33720cee3dabde0d.js b/ecmascript/codegen/tests/test262/33720cee3dabde0d.js similarity index 100% rename from ecmascript/codegen/tests/references/33720cee3dabde0d.js rename to ecmascript/codegen/tests/test262/33720cee3dabde0d.js diff --git a/ecmascript/codegen/tests/references/338762eadb13a2f0.js b/ecmascript/codegen/tests/test262/338762eadb13a2f0.js similarity index 100% rename from ecmascript/codegen/tests/references/338762eadb13a2f0.js rename to ecmascript/codegen/tests/test262/338762eadb13a2f0.js diff --git a/ecmascript/codegen/tests/references/341bc3f1b434f6d1.js b/ecmascript/codegen/tests/test262/341bc3f1b434f6d1.js similarity index 100% rename from ecmascript/codegen/tests/references/341bc3f1b434f6d1.js rename to ecmascript/codegen/tests/test262/341bc3f1b434f6d1.js diff --git a/ecmascript/codegen/tests/references/345713fe7f52524a.js b/ecmascript/codegen/tests/test262/345713fe7f52524a.js similarity index 100% rename from ecmascript/codegen/tests/references/345713fe7f52524a.js rename to ecmascript/codegen/tests/test262/345713fe7f52524a.js diff --git a/ecmascript/codegen/tests/references/347e9a5443e4cd3c.js b/ecmascript/codegen/tests/test262/347e9a5443e4cd3c.js similarity index 100% rename from ecmascript/codegen/tests/references/347e9a5443e4cd3c.js rename to ecmascript/codegen/tests/test262/347e9a5443e4cd3c.js diff --git a/ecmascript/codegen/tests/references/34d5455824302935.js b/ecmascript/codegen/tests/test262/34d5455824302935.js similarity index 100% rename from ecmascript/codegen/tests/references/34d5455824302935.js rename to ecmascript/codegen/tests/test262/34d5455824302935.js diff --git a/ecmascript/codegen/tests/references/350a7ec7041c079f.js b/ecmascript/codegen/tests/test262/350a7ec7041c079f.js similarity index 100% rename from ecmascript/codegen/tests/references/350a7ec7041c079f.js rename to ecmascript/codegen/tests/test262/350a7ec7041c079f.js diff --git a/ecmascript/codegen/tests/references/3514acf61732f662.js b/ecmascript/codegen/tests/test262/3514acf61732f662.js similarity index 100% rename from ecmascript/codegen/tests/references/3514acf61732f662.js rename to ecmascript/codegen/tests/test262/3514acf61732f662.js diff --git a/ecmascript/codegen/tests/references/35bf182594dc08ac.js b/ecmascript/codegen/tests/test262/35bf182594dc08ac.js similarity index 100% rename from ecmascript/codegen/tests/references/35bf182594dc08ac.js rename to ecmascript/codegen/tests/test262/35bf182594dc08ac.js diff --git a/ecmascript/codegen/tests/references/35e730121a5e6326.js b/ecmascript/codegen/tests/test262/35e730121a5e6326.js similarity index 100% rename from ecmascript/codegen/tests/references/35e730121a5e6326.js rename to ecmascript/codegen/tests/test262/35e730121a5e6326.js diff --git a/ecmascript/codegen/tests/references/35eb2e229858a6c7.js b/ecmascript/codegen/tests/test262/35eb2e229858a6c7.js similarity index 100% rename from ecmascript/codegen/tests/references/35eb2e229858a6c7.js rename to ecmascript/codegen/tests/test262/35eb2e229858a6c7.js diff --git a/ecmascript/codegen/tests/references/3610e596404818d6.js b/ecmascript/codegen/tests/test262/3610e596404818d6.js similarity index 100% rename from ecmascript/codegen/tests/references/3610e596404818d6.js rename to ecmascript/codegen/tests/test262/3610e596404818d6.js diff --git a/ecmascript/codegen/tests/references/36224cf8215ad8e4.js b/ecmascript/codegen/tests/test262/36224cf8215ad8e4.js similarity index 100% rename from ecmascript/codegen/tests/references/36224cf8215ad8e4.js rename to ecmascript/codegen/tests/test262/36224cf8215ad8e4.js diff --git a/ecmascript/codegen/tests/references/366585381e4610b4.js b/ecmascript/codegen/tests/test262/366585381e4610b4.js similarity index 100% rename from ecmascript/codegen/tests/references/366585381e4610b4.js rename to ecmascript/codegen/tests/test262/366585381e4610b4.js diff --git a/ecmascript/codegen/tests/references/369b56fe359d52fc.js b/ecmascript/codegen/tests/test262/369b56fe359d52fc.js similarity index 100% rename from ecmascript/codegen/tests/references/369b56fe359d52fc.js rename to ecmascript/codegen/tests/test262/369b56fe359d52fc.js diff --git a/ecmascript/codegen/tests/references/369fd0a1e40030d8.js b/ecmascript/codegen/tests/test262/369fd0a1e40030d8.js similarity index 100% rename from ecmascript/codegen/tests/references/369fd0a1e40030d8.js rename to ecmascript/codegen/tests/test262/369fd0a1e40030d8.js diff --git a/ecmascript/codegen/tests/references/36a9e7f1c95b82ff.js b/ecmascript/codegen/tests/test262/36a9e7f1c95b82ff.js similarity index 100% rename from ecmascript/codegen/tests/references/36a9e7f1c95b82ff.js rename to ecmascript/codegen/tests/test262/36a9e7f1c95b82ff.js diff --git a/ecmascript/codegen/tests/references/36fb3e9c8cedf764.js b/ecmascript/codegen/tests/test262/36fb3e9c8cedf764.js similarity index 100% rename from ecmascript/codegen/tests/references/36fb3e9c8cedf764.js rename to ecmascript/codegen/tests/test262/36fb3e9c8cedf764.js diff --git a/ecmascript/codegen/tests/references/36ff120198eea816.js b/ecmascript/codegen/tests/test262/36ff120198eea816.js similarity index 100% rename from ecmascript/codegen/tests/references/36ff120198eea816.js rename to ecmascript/codegen/tests/test262/36ff120198eea816.js diff --git a/ecmascript/codegen/tests/references/370a2bd1387fd440.js b/ecmascript/codegen/tests/test262/370a2bd1387fd440.js similarity index 100% rename from ecmascript/codegen/tests/references/370a2bd1387fd440.js rename to ecmascript/codegen/tests/test262/370a2bd1387fd440.js diff --git a/ecmascript/codegen/tests/references/372097a44c33daf2.js b/ecmascript/codegen/tests/test262/372097a44c33daf2.js similarity index 100% rename from ecmascript/codegen/tests/references/372097a44c33daf2.js rename to ecmascript/codegen/tests/test262/372097a44c33daf2.js diff --git a/ecmascript/codegen/tests/references/373e35460ecaccc6.js b/ecmascript/codegen/tests/test262/373e35460ecaccc6.js similarity index 100% rename from ecmascript/codegen/tests/references/373e35460ecaccc6.js rename to ecmascript/codegen/tests/test262/373e35460ecaccc6.js diff --git a/ecmascript/codegen/tests/references/3793ec99f844de1c.js b/ecmascript/codegen/tests/test262/3793ec99f844de1c.js similarity index 100% rename from ecmascript/codegen/tests/references/3793ec99f844de1c.js rename to ecmascript/codegen/tests/test262/3793ec99f844de1c.js diff --git a/ecmascript/codegen/tests/references/37ac3bcee6fa89f9.js b/ecmascript/codegen/tests/test262/37ac3bcee6fa89f9.js similarity index 100% rename from ecmascript/codegen/tests/references/37ac3bcee6fa89f9.js rename to ecmascript/codegen/tests/test262/37ac3bcee6fa89f9.js diff --git a/ecmascript/codegen/tests/references/37c0f5275362d1c9.js b/ecmascript/codegen/tests/test262/37c0f5275362d1c9.js similarity index 100% rename from ecmascript/codegen/tests/references/37c0f5275362d1c9.js rename to ecmascript/codegen/tests/test262/37c0f5275362d1c9.js diff --git a/ecmascript/codegen/tests/references/37d26e3bec6d9a0f.js b/ecmascript/codegen/tests/test262/37d26e3bec6d9a0f.js similarity index 100% rename from ecmascript/codegen/tests/references/37d26e3bec6d9a0f.js rename to ecmascript/codegen/tests/test262/37d26e3bec6d9a0f.js diff --git a/ecmascript/codegen/tests/references/37e4a6eca1ece7e5.js b/ecmascript/codegen/tests/test262/37e4a6eca1ece7e5.js similarity index 100% rename from ecmascript/codegen/tests/references/37e4a6eca1ece7e5.js rename to ecmascript/codegen/tests/test262/37e4a6eca1ece7e5.js diff --git a/ecmascript/codegen/tests/references/37e845e0d8283fb3.js b/ecmascript/codegen/tests/test262/37e845e0d8283fb3.js similarity index 100% rename from ecmascript/codegen/tests/references/37e845e0d8283fb3.js rename to ecmascript/codegen/tests/test262/37e845e0d8283fb3.js diff --git a/ecmascript/codegen/tests/references/380e999de8f31c7d.js b/ecmascript/codegen/tests/test262/380e999de8f31c7d.js similarity index 100% rename from ecmascript/codegen/tests/references/380e999de8f31c7d.js rename to ecmascript/codegen/tests/test262/380e999de8f31c7d.js diff --git a/ecmascript/codegen/tests/references/3812dc38bcdc97db.js b/ecmascript/codegen/tests/test262/3812dc38bcdc97db.js similarity index 100% rename from ecmascript/codegen/tests/references/3812dc38bcdc97db.js rename to ecmascript/codegen/tests/test262/3812dc38bcdc97db.js diff --git a/ecmascript/codegen/tests/references/38284ea2d9914d86.js b/ecmascript/codegen/tests/test262/38284ea2d9914d86.js similarity index 100% rename from ecmascript/codegen/tests/references/38284ea2d9914d86.js rename to ecmascript/codegen/tests/test262/38284ea2d9914d86.js diff --git a/ecmascript/codegen/tests/references/3852fb3ffb8fd8d5.js b/ecmascript/codegen/tests/test262/3852fb3ffb8fd8d5.js similarity index 100% rename from ecmascript/codegen/tests/references/3852fb3ffb8fd8d5.js rename to ecmascript/codegen/tests/test262/3852fb3ffb8fd8d5.js diff --git a/ecmascript/codegen/tests/references/38594572e7bb32f4.js b/ecmascript/codegen/tests/test262/38594572e7bb32f4.js similarity index 100% rename from ecmascript/codegen/tests/references/38594572e7bb32f4.js rename to ecmascript/codegen/tests/test262/38594572e7bb32f4.js diff --git a/ecmascript/codegen/tests/references/389adf81b76d8b25.js b/ecmascript/codegen/tests/test262/389adf81b76d8b25.js similarity index 100% rename from ecmascript/codegen/tests/references/389adf81b76d8b25.js rename to ecmascript/codegen/tests/test262/389adf81b76d8b25.js diff --git a/ecmascript/codegen/tests/references/38befc89fcf92e25.js b/ecmascript/codegen/tests/test262/38befc89fcf92e25.js similarity index 100% rename from ecmascript/codegen/tests/references/38befc89fcf92e25.js rename to ecmascript/codegen/tests/test262/38befc89fcf92e25.js diff --git a/ecmascript/codegen/tests/references/38c0e030050edb57.js b/ecmascript/codegen/tests/test262/38c0e030050edb57.js similarity index 100% rename from ecmascript/codegen/tests/references/38c0e030050edb57.js rename to ecmascript/codegen/tests/test262/38c0e030050edb57.js diff --git a/ecmascript/codegen/tests/references/38e0b9de817f645c.js b/ecmascript/codegen/tests/test262/38e0b9de817f645c.js similarity index 100% rename from ecmascript/codegen/tests/references/38e0b9de817f645c.js rename to ecmascript/codegen/tests/test262/38e0b9de817f645c.js diff --git a/ecmascript/codegen/tests/references/38fefd37caf6f8bb.js b/ecmascript/codegen/tests/test262/38fefd37caf6f8bb.js similarity index 100% rename from ecmascript/codegen/tests/references/38fefd37caf6f8bb.js rename to ecmascript/codegen/tests/test262/38fefd37caf6f8bb.js diff --git a/ecmascript/codegen/tests/references/3990bb94b19b1071.js b/ecmascript/codegen/tests/test262/3990bb94b19b1071.js similarity index 100% rename from ecmascript/codegen/tests/references/3990bb94b19b1071.js rename to ecmascript/codegen/tests/test262/3990bb94b19b1071.js diff --git a/ecmascript/codegen/tests/references/39bd53b0c3dcd639.js b/ecmascript/codegen/tests/test262/39bd53b0c3dcd639.js similarity index 100% rename from ecmascript/codegen/tests/references/39bd53b0c3dcd639.js rename to ecmascript/codegen/tests/test262/39bd53b0c3dcd639.js diff --git a/ecmascript/codegen/tests/references/3a1ccd915e97ed68.js b/ecmascript/codegen/tests/test262/3a1ccd915e97ed68.js similarity index 100% rename from ecmascript/codegen/tests/references/3a1ccd915e97ed68.js rename to ecmascript/codegen/tests/test262/3a1ccd915e97ed68.js diff --git a/ecmascript/codegen/tests/references/3a1f039e533d1543.js b/ecmascript/codegen/tests/test262/3a1f039e533d1543.js similarity index 100% rename from ecmascript/codegen/tests/references/3a1f039e533d1543.js rename to ecmascript/codegen/tests/test262/3a1f039e533d1543.js diff --git a/ecmascript/codegen/tests/references/3a50539d66e7fb07.js b/ecmascript/codegen/tests/test262/3a50539d66e7fb07.js similarity index 100% rename from ecmascript/codegen/tests/references/3a50539d66e7fb07.js rename to ecmascript/codegen/tests/test262/3a50539d66e7fb07.js diff --git a/ecmascript/codegen/tests/references/3a5a7699f0631c6f.js b/ecmascript/codegen/tests/test262/3a5a7699f0631c6f.js similarity index 100% rename from ecmascript/codegen/tests/references/3a5a7699f0631c6f.js rename to ecmascript/codegen/tests/test262/3a5a7699f0631c6f.js diff --git a/ecmascript/codegen/tests/references/3a707c56867f396c.js b/ecmascript/codegen/tests/test262/3a707c56867f396c.js similarity index 100% rename from ecmascript/codegen/tests/references/3a707c56867f396c.js rename to ecmascript/codegen/tests/test262/3a707c56867f396c.js diff --git a/ecmascript/codegen/tests/references/3aa600e48cbd8a5c.js b/ecmascript/codegen/tests/test262/3aa600e48cbd8a5c.js similarity index 100% rename from ecmascript/codegen/tests/references/3aa600e48cbd8a5c.js rename to ecmascript/codegen/tests/test262/3aa600e48cbd8a5c.js diff --git a/ecmascript/codegen/tests/references/3ae4f46daa688c58.js b/ecmascript/codegen/tests/test262/3ae4f46daa688c58.js similarity index 100% rename from ecmascript/codegen/tests/references/3ae4f46daa688c58.js rename to ecmascript/codegen/tests/test262/3ae4f46daa688c58.js diff --git a/ecmascript/codegen/tests/references/3b1ab093f7ebeb51.module.js b/ecmascript/codegen/tests/test262/3b1ab093f7ebeb51.module.js similarity index 100% rename from ecmascript/codegen/tests/references/3b1ab093f7ebeb51.module.js rename to ecmascript/codegen/tests/test262/3b1ab093f7ebeb51.module.js diff --git a/ecmascript/codegen/tests/references/3b1fca65828182ab.js b/ecmascript/codegen/tests/test262/3b1fca65828182ab.js similarity index 100% rename from ecmascript/codegen/tests/references/3b1fca65828182ab.js rename to ecmascript/codegen/tests/test262/3b1fca65828182ab.js diff --git a/ecmascript/codegen/tests/references/3b36d546985cd9cb.js b/ecmascript/codegen/tests/test262/3b36d546985cd9cb.js similarity index 100% rename from ecmascript/codegen/tests/references/3b36d546985cd9cb.js rename to ecmascript/codegen/tests/test262/3b36d546985cd9cb.js diff --git a/ecmascript/codegen/tests/references/3b57183c81070eec.js b/ecmascript/codegen/tests/test262/3b57183c81070eec.js similarity index 100% rename from ecmascript/codegen/tests/references/3b57183c81070eec.js rename to ecmascript/codegen/tests/test262/3b57183c81070eec.js diff --git a/ecmascript/codegen/tests/references/3b5d1fb0e093dab8.js b/ecmascript/codegen/tests/test262/3b5d1fb0e093dab8.js similarity index 100% rename from ecmascript/codegen/tests/references/3b5d1fb0e093dab8.js rename to ecmascript/codegen/tests/test262/3b5d1fb0e093dab8.js diff --git a/ecmascript/codegen/tests/references/3b9779d2e19376a1.js b/ecmascript/codegen/tests/test262/3b9779d2e19376a1.js similarity index 100% rename from ecmascript/codegen/tests/references/3b9779d2e19376a1.js rename to ecmascript/codegen/tests/test262/3b9779d2e19376a1.js diff --git a/ecmascript/codegen/tests/references/3b9e8797aacce77f.js b/ecmascript/codegen/tests/test262/3b9e8797aacce77f.js similarity index 100% rename from ecmascript/codegen/tests/references/3b9e8797aacce77f.js rename to ecmascript/codegen/tests/test262/3b9e8797aacce77f.js diff --git a/ecmascript/codegen/tests/references/3bac973df7480fe9.js b/ecmascript/codegen/tests/test262/3bac973df7480fe9.js similarity index 100% rename from ecmascript/codegen/tests/references/3bac973df7480fe9.js rename to ecmascript/codegen/tests/test262/3bac973df7480fe9.js diff --git a/ecmascript/codegen/tests/references/3bbd75d597d54fe6.js b/ecmascript/codegen/tests/test262/3bbd75d597d54fe6.js similarity index 100% rename from ecmascript/codegen/tests/references/3bbd75d597d54fe6.js rename to ecmascript/codegen/tests/test262/3bbd75d597d54fe6.js diff --git a/ecmascript/codegen/tests/references/3bc21b350f65c8f2.js b/ecmascript/codegen/tests/test262/3bc21b350f65c8f2.js similarity index 100% rename from ecmascript/codegen/tests/references/3bc21b350f65c8f2.js rename to ecmascript/codegen/tests/test262/3bc21b350f65c8f2.js diff --git a/ecmascript/codegen/tests/references/3c0c251ad455218d.js b/ecmascript/codegen/tests/test262/3c0c251ad455218d.js similarity index 100% rename from ecmascript/codegen/tests/references/3c0c251ad455218d.js rename to ecmascript/codegen/tests/test262/3c0c251ad455218d.js diff --git a/ecmascript/codegen/tests/references/3c1e2ada0ac2b8e3.js b/ecmascript/codegen/tests/test262/3c1e2ada0ac2b8e3.js similarity index 100% rename from ecmascript/codegen/tests/references/3c1e2ada0ac2b8e3.js rename to ecmascript/codegen/tests/test262/3c1e2ada0ac2b8e3.js diff --git a/ecmascript/codegen/tests/references/3c6b557b1aa9cc05.js b/ecmascript/codegen/tests/test262/3c6b557b1aa9cc05.js similarity index 100% rename from ecmascript/codegen/tests/references/3c6b557b1aa9cc05.js rename to ecmascript/codegen/tests/test262/3c6b557b1aa9cc05.js diff --git a/ecmascript/codegen/tests/references/3c895971bd50ea01.js b/ecmascript/codegen/tests/test262/3c895971bd50ea01.js similarity index 100% rename from ecmascript/codegen/tests/references/3c895971bd50ea01.js rename to ecmascript/codegen/tests/test262/3c895971bd50ea01.js diff --git a/ecmascript/codegen/tests/references/3caf07d66e4f7b5a.js b/ecmascript/codegen/tests/test262/3caf07d66e4f7b5a.js similarity index 100% rename from ecmascript/codegen/tests/references/3caf07d66e4f7b5a.js rename to ecmascript/codegen/tests/test262/3caf07d66e4f7b5a.js diff --git a/ecmascript/codegen/tests/references/3cbf0138d2dc0686.js b/ecmascript/codegen/tests/test262/3cbf0138d2dc0686.js similarity index 100% rename from ecmascript/codegen/tests/references/3cbf0138d2dc0686.js rename to ecmascript/codegen/tests/test262/3cbf0138d2dc0686.js diff --git a/ecmascript/codegen/tests/references/3cf11f8790169c3f.js b/ecmascript/codegen/tests/test262/3cf11f8790169c3f.js similarity index 100% rename from ecmascript/codegen/tests/references/3cf11f8790169c3f.js rename to ecmascript/codegen/tests/test262/3cf11f8790169c3f.js diff --git a/ecmascript/codegen/tests/references/3cf53efb53099596.js b/ecmascript/codegen/tests/test262/3cf53efb53099596.js similarity index 100% rename from ecmascript/codegen/tests/references/3cf53efb53099596.js rename to ecmascript/codegen/tests/test262/3cf53efb53099596.js diff --git a/ecmascript/codegen/tests/references/3d0c4eda96e0412b.js b/ecmascript/codegen/tests/test262/3d0c4eda96e0412b.js similarity index 100% rename from ecmascript/codegen/tests/references/3d0c4eda96e0412b.js rename to ecmascript/codegen/tests/test262/3d0c4eda96e0412b.js diff --git a/ecmascript/codegen/tests/references/3d137e7b0cb6c8bc.js b/ecmascript/codegen/tests/test262/3d137e7b0cb6c8bc.js similarity index 100% rename from ecmascript/codegen/tests/references/3d137e7b0cb6c8bc.js rename to ecmascript/codegen/tests/test262/3d137e7b0cb6c8bc.js diff --git a/ecmascript/codegen/tests/references/3d2ab39608730a47.js b/ecmascript/codegen/tests/test262/3d2ab39608730a47.js similarity index 100% rename from ecmascript/codegen/tests/references/3d2ab39608730a47.js rename to ecmascript/codegen/tests/test262/3d2ab39608730a47.js diff --git a/ecmascript/codegen/tests/references/3d3ddc63a85b13a0.js b/ecmascript/codegen/tests/test262/3d3ddc63a85b13a0.js similarity index 100% rename from ecmascript/codegen/tests/references/3d3ddc63a85b13a0.js rename to ecmascript/codegen/tests/test262/3d3ddc63a85b13a0.js diff --git a/ecmascript/codegen/tests/references/3d9c76216b0a9d4b.js b/ecmascript/codegen/tests/test262/3d9c76216b0a9d4b.js similarity index 100% rename from ecmascript/codegen/tests/references/3d9c76216b0a9d4b.js rename to ecmascript/codegen/tests/test262/3d9c76216b0a9d4b.js diff --git a/ecmascript/codegen/tests/references/3dabeca76119d501.js b/ecmascript/codegen/tests/test262/3dabeca76119d501.js similarity index 100% rename from ecmascript/codegen/tests/references/3dabeca76119d501.js rename to ecmascript/codegen/tests/test262/3dabeca76119d501.js diff --git a/ecmascript/codegen/tests/references/3dbb6e166b14a6c0.js b/ecmascript/codegen/tests/test262/3dbb6e166b14a6c0.js similarity index 100% rename from ecmascript/codegen/tests/references/3dbb6e166b14a6c0.js rename to ecmascript/codegen/tests/test262/3dbb6e166b14a6c0.js diff --git a/ecmascript/codegen/tests/references/3df03e7e138b7760.js b/ecmascript/codegen/tests/test262/3df03e7e138b7760.js similarity index 100% rename from ecmascript/codegen/tests/references/3df03e7e138b7760.js rename to ecmascript/codegen/tests/test262/3df03e7e138b7760.js diff --git a/ecmascript/codegen/tests/references/3e1a6f702041b599.js b/ecmascript/codegen/tests/test262/3e1a6f702041b599.js similarity index 100% rename from ecmascript/codegen/tests/references/3e1a6f702041b599.js rename to ecmascript/codegen/tests/test262/3e1a6f702041b599.js diff --git a/ecmascript/codegen/tests/references/3e3a99768a4a1502.js b/ecmascript/codegen/tests/test262/3e3a99768a4a1502.js similarity index 100% rename from ecmascript/codegen/tests/references/3e3a99768a4a1502.js rename to ecmascript/codegen/tests/test262/3e3a99768a4a1502.js diff --git a/ecmascript/codegen/tests/references/3e48826018d23c85.js b/ecmascript/codegen/tests/test262/3e48826018d23c85.js similarity index 100% rename from ecmascript/codegen/tests/references/3e48826018d23c85.js rename to ecmascript/codegen/tests/test262/3e48826018d23c85.js diff --git a/ecmascript/codegen/tests/references/3e665d875e0049a3.js b/ecmascript/codegen/tests/test262/3e665d875e0049a3.js similarity index 100% rename from ecmascript/codegen/tests/references/3e665d875e0049a3.js rename to ecmascript/codegen/tests/test262/3e665d875e0049a3.js diff --git a/ecmascript/codegen/tests/references/3e69c5cc1a7ac103.js b/ecmascript/codegen/tests/test262/3e69c5cc1a7ac103.js similarity index 100% rename from ecmascript/codegen/tests/references/3e69c5cc1a7ac103.js rename to ecmascript/codegen/tests/test262/3e69c5cc1a7ac103.js diff --git a/ecmascript/codegen/tests/references/3ea15e86885d3c1a.js b/ecmascript/codegen/tests/test262/3ea15e86885d3c1a.js similarity index 100% rename from ecmascript/codegen/tests/references/3ea15e86885d3c1a.js rename to ecmascript/codegen/tests/test262/3ea15e86885d3c1a.js diff --git a/ecmascript/codegen/tests/references/3eac36e29398cdc5.js b/ecmascript/codegen/tests/test262/3eac36e29398cdc5.js similarity index 100% rename from ecmascript/codegen/tests/references/3eac36e29398cdc5.js rename to ecmascript/codegen/tests/test262/3eac36e29398cdc5.js diff --git a/ecmascript/codegen/tests/references/3eb2c2bf585c0916.js b/ecmascript/codegen/tests/test262/3eb2c2bf585c0916.js similarity index 100% rename from ecmascript/codegen/tests/references/3eb2c2bf585c0916.js rename to ecmascript/codegen/tests/test262/3eb2c2bf585c0916.js diff --git a/ecmascript/codegen/tests/references/3ec1e9982b5f4a45.js b/ecmascript/codegen/tests/test262/3ec1e9982b5f4a45.js similarity index 100% rename from ecmascript/codegen/tests/references/3ec1e9982b5f4a45.js rename to ecmascript/codegen/tests/test262/3ec1e9982b5f4a45.js diff --git a/ecmascript/codegen/tests/references/3ee117e37bd3bcea.js b/ecmascript/codegen/tests/test262/3ee117e37bd3bcea.js similarity index 100% rename from ecmascript/codegen/tests/references/3ee117e37bd3bcea.js rename to ecmascript/codegen/tests/test262/3ee117e37bd3bcea.js diff --git a/ecmascript/codegen/tests/references/3f34ca3add7bcb9b.js b/ecmascript/codegen/tests/test262/3f34ca3add7bcb9b.js similarity index 100% rename from ecmascript/codegen/tests/references/3f34ca3add7bcb9b.js rename to ecmascript/codegen/tests/test262/3f34ca3add7bcb9b.js diff --git a/ecmascript/codegen/tests/references/3f39e406df3080dc.js b/ecmascript/codegen/tests/test262/3f39e406df3080dc.js similarity index 100% rename from ecmascript/codegen/tests/references/3f39e406df3080dc.js rename to ecmascript/codegen/tests/test262/3f39e406df3080dc.js diff --git a/ecmascript/codegen/tests/references/3f44c09167d5753d.js b/ecmascript/codegen/tests/test262/3f44c09167d5753d.js similarity index 100% rename from ecmascript/codegen/tests/references/3f44c09167d5753d.js rename to ecmascript/codegen/tests/test262/3f44c09167d5753d.js diff --git a/ecmascript/codegen/tests/references/3f46ee1db509d55d.js b/ecmascript/codegen/tests/test262/3f46ee1db509d55d.js similarity index 100% rename from ecmascript/codegen/tests/references/3f46ee1db509d55d.js rename to ecmascript/codegen/tests/test262/3f46ee1db509d55d.js diff --git a/ecmascript/codegen/tests/references/3f6fd744861ee7c3.js b/ecmascript/codegen/tests/test262/3f6fd744861ee7c3.js similarity index 100% rename from ecmascript/codegen/tests/references/3f6fd744861ee7c3.js rename to ecmascript/codegen/tests/test262/3f6fd744861ee7c3.js diff --git a/ecmascript/codegen/tests/references/3f8b15109761ea65.js b/ecmascript/codegen/tests/test262/3f8b15109761ea65.js similarity index 100% rename from ecmascript/codegen/tests/references/3f8b15109761ea65.js rename to ecmascript/codegen/tests/test262/3f8b15109761ea65.js diff --git a/ecmascript/codegen/tests/references/3f9b0dd207c09990.js b/ecmascript/codegen/tests/test262/3f9b0dd207c09990.js similarity index 100% rename from ecmascript/codegen/tests/references/3f9b0dd207c09990.js rename to ecmascript/codegen/tests/test262/3f9b0dd207c09990.js diff --git a/ecmascript/codegen/tests/references/3fb07536eb5aea8d.js b/ecmascript/codegen/tests/test262/3fb07536eb5aea8d.js similarity index 100% rename from ecmascript/codegen/tests/references/3fb07536eb5aea8d.js rename to ecmascript/codegen/tests/test262/3fb07536eb5aea8d.js diff --git a/ecmascript/codegen/tests/references/3ff52d86c77678bd.js b/ecmascript/codegen/tests/test262/3ff52d86c77678bd.js similarity index 100% rename from ecmascript/codegen/tests/references/3ff52d86c77678bd.js rename to ecmascript/codegen/tests/test262/3ff52d86c77678bd.js diff --git a/ecmascript/codegen/tests/references/4014ec6c7931de54.js b/ecmascript/codegen/tests/test262/4014ec6c7931de54.js similarity index 100% rename from ecmascript/codegen/tests/references/4014ec6c7931de54.js rename to ecmascript/codegen/tests/test262/4014ec6c7931de54.js diff --git a/ecmascript/codegen/tests/references/401544b8abe9d656.js b/ecmascript/codegen/tests/test262/401544b8abe9d656.js similarity index 100% rename from ecmascript/codegen/tests/references/401544b8abe9d656.js rename to ecmascript/codegen/tests/test262/401544b8abe9d656.js diff --git a/ecmascript/codegen/tests/references/40215319424a8227.js b/ecmascript/codegen/tests/test262/40215319424a8227.js similarity index 100% rename from ecmascript/codegen/tests/references/40215319424a8227.js rename to ecmascript/codegen/tests/test262/40215319424a8227.js diff --git a/ecmascript/codegen/tests/references/402c32920b1b9991.js b/ecmascript/codegen/tests/test262/402c32920b1b9991.js similarity index 100% rename from ecmascript/codegen/tests/references/402c32920b1b9991.js rename to ecmascript/codegen/tests/test262/402c32920b1b9991.js diff --git a/ecmascript/codegen/tests/references/402e8d30db64e5af.js b/ecmascript/codegen/tests/test262/402e8d30db64e5af.js similarity index 100% rename from ecmascript/codegen/tests/references/402e8d30db64e5af.js rename to ecmascript/codegen/tests/test262/402e8d30db64e5af.js diff --git a/ecmascript/codegen/tests/references/403a7d28c611b71b.js b/ecmascript/codegen/tests/test262/403a7d28c611b71b.js similarity index 100% rename from ecmascript/codegen/tests/references/403a7d28c611b71b.js rename to ecmascript/codegen/tests/test262/403a7d28c611b71b.js diff --git a/ecmascript/codegen/tests/references/4040d47a3534b244.js b/ecmascript/codegen/tests/test262/4040d47a3534b244.js similarity index 100% rename from ecmascript/codegen/tests/references/4040d47a3534b244.js rename to ecmascript/codegen/tests/test262/4040d47a3534b244.js diff --git a/ecmascript/codegen/tests/references/40766161d96ac708.js b/ecmascript/codegen/tests/test262/40766161d96ac708.js similarity index 100% rename from ecmascript/codegen/tests/references/40766161d96ac708.js rename to ecmascript/codegen/tests/test262/40766161d96ac708.js diff --git a/ecmascript/codegen/tests/references/4086605956ddfcbb.js b/ecmascript/codegen/tests/test262/4086605956ddfcbb.js similarity index 100% rename from ecmascript/codegen/tests/references/4086605956ddfcbb.js rename to ecmascript/codegen/tests/test262/4086605956ddfcbb.js diff --git a/ecmascript/codegen/tests/references/408971d922c72ea2.js b/ecmascript/codegen/tests/test262/408971d922c72ea2.js similarity index 100% rename from ecmascript/codegen/tests/references/408971d922c72ea2.js rename to ecmascript/codegen/tests/test262/408971d922c72ea2.js diff --git a/ecmascript/codegen/tests/references/409f30dc7efe75d5.js b/ecmascript/codegen/tests/test262/409f30dc7efe75d5.js similarity index 100% rename from ecmascript/codegen/tests/references/409f30dc7efe75d5.js rename to ecmascript/codegen/tests/test262/409f30dc7efe75d5.js diff --git a/ecmascript/codegen/tests/references/40adcdf7cfe3fa0d.js b/ecmascript/codegen/tests/test262/40adcdf7cfe3fa0d.js similarity index 100% rename from ecmascript/codegen/tests/references/40adcdf7cfe3fa0d.js rename to ecmascript/codegen/tests/test262/40adcdf7cfe3fa0d.js diff --git a/ecmascript/codegen/tests/references/40b9ff090910c512.js b/ecmascript/codegen/tests/test262/40b9ff090910c512.js similarity index 100% rename from ecmascript/codegen/tests/references/40b9ff090910c512.js rename to ecmascript/codegen/tests/test262/40b9ff090910c512.js diff --git a/ecmascript/codegen/tests/references/414b9b02f2789648.js b/ecmascript/codegen/tests/test262/414b9b02f2789648.js similarity index 100% rename from ecmascript/codegen/tests/references/414b9b02f2789648.js rename to ecmascript/codegen/tests/test262/414b9b02f2789648.js diff --git a/ecmascript/codegen/tests/references/4180f57196d0388d.js b/ecmascript/codegen/tests/test262/4180f57196d0388d.js similarity index 100% rename from ecmascript/codegen/tests/references/4180f57196d0388d.js rename to ecmascript/codegen/tests/test262/4180f57196d0388d.js diff --git a/ecmascript/codegen/tests/references/41ad2d6d8414c573.js b/ecmascript/codegen/tests/test262/41ad2d6d8414c573.js similarity index 100% rename from ecmascript/codegen/tests/references/41ad2d6d8414c573.js rename to ecmascript/codegen/tests/test262/41ad2d6d8414c573.js diff --git a/ecmascript/codegen/tests/test262/41b805ea7ac014e2.js b/ecmascript/codegen/tests/test262/41b805ea7ac014e2.js new file mode 100644 index 00000000000..092bc2b0412 --- /dev/null +++ b/ecmascript/codegen/tests/test262/41b805ea7ac014e2.js @@ -0,0 +1 @@ +; diff --git a/ecmascript/codegen/tests/references/41e79ea43f242aed.js b/ecmascript/codegen/tests/test262/41e79ea43f242aed.js similarity index 100% rename from ecmascript/codegen/tests/references/41e79ea43f242aed.js rename to ecmascript/codegen/tests/test262/41e79ea43f242aed.js diff --git a/ecmascript/codegen/tests/references/41fc5bd8d644937c.js b/ecmascript/codegen/tests/test262/41fc5bd8d644937c.js similarity index 100% rename from ecmascript/codegen/tests/references/41fc5bd8d644937c.js rename to ecmascript/codegen/tests/test262/41fc5bd8d644937c.js diff --git a/ecmascript/codegen/tests/references/420855197cbff7ce.js b/ecmascript/codegen/tests/test262/420855197cbff7ce.js similarity index 100% rename from ecmascript/codegen/tests/references/420855197cbff7ce.js rename to ecmascript/codegen/tests/test262/420855197cbff7ce.js diff --git a/ecmascript/codegen/tests/references/424fb5db0f6734b6.js b/ecmascript/codegen/tests/test262/424fb5db0f6734b6.js similarity index 100% rename from ecmascript/codegen/tests/references/424fb5db0f6734b6.js rename to ecmascript/codegen/tests/test262/424fb5db0f6734b6.js diff --git a/ecmascript/codegen/tests/references/4263e76758123044.js b/ecmascript/codegen/tests/test262/4263e76758123044.js similarity index 100% rename from ecmascript/codegen/tests/references/4263e76758123044.js rename to ecmascript/codegen/tests/test262/4263e76758123044.js diff --git a/ecmascript/codegen/tests/references/42907dc7a3d7b79b.js b/ecmascript/codegen/tests/test262/42907dc7a3d7b79b.js similarity index 100% rename from ecmascript/codegen/tests/references/42907dc7a3d7b79b.js rename to ecmascript/codegen/tests/test262/42907dc7a3d7b79b.js diff --git a/ecmascript/codegen/tests/references/43023cd549deee77.js b/ecmascript/codegen/tests/test262/43023cd549deee77.js similarity index 100% rename from ecmascript/codegen/tests/references/43023cd549deee77.js rename to ecmascript/codegen/tests/test262/43023cd549deee77.js diff --git a/ecmascript/codegen/tests/references/43163c094787d534.js b/ecmascript/codegen/tests/test262/43163c094787d534.js similarity index 100% rename from ecmascript/codegen/tests/references/43163c094787d534.js rename to ecmascript/codegen/tests/test262/43163c094787d534.js diff --git a/ecmascript/codegen/tests/references/431ecef8c85d4d24.js b/ecmascript/codegen/tests/test262/431ecef8c85d4d24.js similarity index 100% rename from ecmascript/codegen/tests/references/431ecef8c85d4d24.js rename to ecmascript/codegen/tests/test262/431ecef8c85d4d24.js diff --git a/ecmascript/codegen/tests/references/432639592c565344.js b/ecmascript/codegen/tests/test262/432639592c565344.js similarity index 100% rename from ecmascript/codegen/tests/references/432639592c565344.js rename to ecmascript/codegen/tests/test262/432639592c565344.js diff --git a/ecmascript/codegen/tests/references/433859474119631f.js b/ecmascript/codegen/tests/test262/433859474119631f.js similarity index 100% rename from ecmascript/codegen/tests/references/433859474119631f.js rename to ecmascript/codegen/tests/test262/433859474119631f.js diff --git a/ecmascript/codegen/tests/references/4369559377b6394e.js b/ecmascript/codegen/tests/test262/4369559377b6394e.js similarity index 100% rename from ecmascript/codegen/tests/references/4369559377b6394e.js rename to ecmascript/codegen/tests/test262/4369559377b6394e.js diff --git a/ecmascript/codegen/tests/references/438521c40cf1b08b.js b/ecmascript/codegen/tests/test262/438521c40cf1b08b.js similarity index 100% rename from ecmascript/codegen/tests/references/438521c40cf1b08b.js rename to ecmascript/codegen/tests/test262/438521c40cf1b08b.js diff --git a/ecmascript/codegen/tests/references/4389b59f7805c7c7.js b/ecmascript/codegen/tests/test262/4389b59f7805c7c7.js similarity index 100% rename from ecmascript/codegen/tests/references/4389b59f7805c7c7.js rename to ecmascript/codegen/tests/test262/4389b59f7805c7c7.js diff --git a/ecmascript/codegen/tests/references/43bbb253d4035175.module.js b/ecmascript/codegen/tests/test262/43bbb253d4035175.module.js similarity index 100% rename from ecmascript/codegen/tests/references/43bbb253d4035175.module.js rename to ecmascript/codegen/tests/test262/43bbb253d4035175.module.js diff --git a/ecmascript/codegen/tests/references/4412172b5dc13cd6.js b/ecmascript/codegen/tests/test262/4412172b5dc13cd6.js similarity index 100% rename from ecmascript/codegen/tests/references/4412172b5dc13cd6.js rename to ecmascript/codegen/tests/test262/4412172b5dc13cd6.js diff --git a/ecmascript/codegen/tests/references/44136fa355b3678a.js b/ecmascript/codegen/tests/test262/44136fa355b3678a.js similarity index 100% rename from ecmascript/codegen/tests/references/44136fa355b3678a.js rename to ecmascript/codegen/tests/test262/44136fa355b3678a.js diff --git a/ecmascript/codegen/tests/references/441a92357939904a.js b/ecmascript/codegen/tests/test262/441a92357939904a.js similarity index 100% rename from ecmascript/codegen/tests/references/441a92357939904a.js rename to ecmascript/codegen/tests/test262/441a92357939904a.js diff --git a/ecmascript/codegen/tests/references/444856ec05e8d330.js b/ecmascript/codegen/tests/test262/444856ec05e8d330.js similarity index 100% rename from ecmascript/codegen/tests/references/444856ec05e8d330.js rename to ecmascript/codegen/tests/test262/444856ec05e8d330.js diff --git a/ecmascript/codegen/tests/references/446ffc8afda7e47f.js b/ecmascript/codegen/tests/test262/446ffc8afda7e47f.js similarity index 100% rename from ecmascript/codegen/tests/references/446ffc8afda7e47f.js rename to ecmascript/codegen/tests/test262/446ffc8afda7e47f.js diff --git a/ecmascript/codegen/tests/references/44af28febe2288cc.js b/ecmascript/codegen/tests/test262/44af28febe2288cc.js similarity index 100% rename from ecmascript/codegen/tests/references/44af28febe2288cc.js rename to ecmascript/codegen/tests/test262/44af28febe2288cc.js diff --git a/ecmascript/codegen/tests/references/44b0c8a5a1ecb389.js b/ecmascript/codegen/tests/test262/44b0c8a5a1ecb389.js similarity index 100% rename from ecmascript/codegen/tests/references/44b0c8a5a1ecb389.js rename to ecmascript/codegen/tests/test262/44b0c8a5a1ecb389.js diff --git a/ecmascript/codegen/tests/references/44f31660bd715f05.js b/ecmascript/codegen/tests/test262/44f31660bd715f05.js similarity index 100% rename from ecmascript/codegen/tests/references/44f31660bd715f05.js rename to ecmascript/codegen/tests/test262/44f31660bd715f05.js diff --git a/ecmascript/codegen/tests/references/45ab34717c038020.js b/ecmascript/codegen/tests/test262/45ab34717c038020.js similarity index 100% rename from ecmascript/codegen/tests/references/45ab34717c038020.js rename to ecmascript/codegen/tests/test262/45ab34717c038020.js diff --git a/ecmascript/codegen/tests/references/45d1662a41c9a1e9.js b/ecmascript/codegen/tests/test262/45d1662a41c9a1e9.js similarity index 100% rename from ecmascript/codegen/tests/references/45d1662a41c9a1e9.js rename to ecmascript/codegen/tests/test262/45d1662a41c9a1e9.js diff --git a/ecmascript/codegen/tests/references/45dd9586f26a3cf4.js b/ecmascript/codegen/tests/test262/45dd9586f26a3cf4.js similarity index 100% rename from ecmascript/codegen/tests/references/45dd9586f26a3cf4.js rename to ecmascript/codegen/tests/test262/45dd9586f26a3cf4.js diff --git a/ecmascript/codegen/tests/references/45ed987996568823.js b/ecmascript/codegen/tests/test262/45ed987996568823.js similarity index 100% rename from ecmascript/codegen/tests/references/45ed987996568823.js rename to ecmascript/codegen/tests/test262/45ed987996568823.js diff --git a/ecmascript/codegen/tests/references/45ff445d87e37214.js b/ecmascript/codegen/tests/test262/45ff445d87e37214.js similarity index 100% rename from ecmascript/codegen/tests/references/45ff445d87e37214.js rename to ecmascript/codegen/tests/test262/45ff445d87e37214.js diff --git a/ecmascript/codegen/tests/references/46173461e93df4c2.js b/ecmascript/codegen/tests/test262/46173461e93df4c2.js similarity index 100% rename from ecmascript/codegen/tests/references/46173461e93df4c2.js rename to ecmascript/codegen/tests/test262/46173461e93df4c2.js diff --git a/ecmascript/codegen/tests/references/46279e885d2aa853.js b/ecmascript/codegen/tests/test262/46279e885d2aa853.js similarity index 100% rename from ecmascript/codegen/tests/references/46279e885d2aa853.js rename to ecmascript/codegen/tests/test262/46279e885d2aa853.js diff --git a/ecmascript/codegen/tests/references/465b79616fdc9794.js b/ecmascript/codegen/tests/test262/465b79616fdc9794.js similarity index 100% rename from ecmascript/codegen/tests/references/465b79616fdc9794.js rename to ecmascript/codegen/tests/test262/465b79616fdc9794.js diff --git a/ecmascript/codegen/tests/references/46657ec13f5857d5.js b/ecmascript/codegen/tests/test262/46657ec13f5857d5.js similarity index 100% rename from ecmascript/codegen/tests/references/46657ec13f5857d5.js rename to ecmascript/codegen/tests/test262/46657ec13f5857d5.js diff --git a/ecmascript/codegen/tests/references/4672c2ef688237c9.js b/ecmascript/codegen/tests/test262/4672c2ef688237c9.js similarity index 100% rename from ecmascript/codegen/tests/references/4672c2ef688237c9.js rename to ecmascript/codegen/tests/test262/4672c2ef688237c9.js diff --git a/ecmascript/codegen/tests/references/4694af065eecd95a.js b/ecmascript/codegen/tests/test262/4694af065eecd95a.js similarity index 100% rename from ecmascript/codegen/tests/references/4694af065eecd95a.js rename to ecmascript/codegen/tests/test262/4694af065eecd95a.js diff --git a/ecmascript/codegen/tests/references/47094fe8a994b7de.js b/ecmascript/codegen/tests/test262/47094fe8a994b7de.js similarity index 100% rename from ecmascript/codegen/tests/references/47094fe8a994b7de.js rename to ecmascript/codegen/tests/test262/47094fe8a994b7de.js diff --git a/ecmascript/codegen/tests/references/4724023c6bb03bac.js b/ecmascript/codegen/tests/test262/4724023c6bb03bac.js similarity index 100% rename from ecmascript/codegen/tests/references/4724023c6bb03bac.js rename to ecmascript/codegen/tests/test262/4724023c6bb03bac.js diff --git a/ecmascript/codegen/tests/references/472765ae4585cf8b.js b/ecmascript/codegen/tests/test262/472765ae4585cf8b.js similarity index 100% rename from ecmascript/codegen/tests/references/472765ae4585cf8b.js rename to ecmascript/codegen/tests/test262/472765ae4585cf8b.js diff --git a/ecmascript/codegen/tests/references/4743508488414d6a.js b/ecmascript/codegen/tests/test262/4743508488414d6a.js similarity index 100% rename from ecmascript/codegen/tests/references/4743508488414d6a.js rename to ecmascript/codegen/tests/test262/4743508488414d6a.js diff --git a/ecmascript/codegen/tests/references/4789c3375f112cd4.js b/ecmascript/codegen/tests/test262/4789c3375f112cd4.js similarity index 100% rename from ecmascript/codegen/tests/references/4789c3375f112cd4.js rename to ecmascript/codegen/tests/test262/4789c3375f112cd4.js diff --git a/ecmascript/codegen/tests/references/478ede4cfe7906d5.js b/ecmascript/codegen/tests/test262/478ede4cfe7906d5.js similarity index 100% rename from ecmascript/codegen/tests/references/478ede4cfe7906d5.js rename to ecmascript/codegen/tests/test262/478ede4cfe7906d5.js diff --git a/ecmascript/codegen/tests/references/47ddfd79dcd20fd5.js b/ecmascript/codegen/tests/test262/47ddfd79dcd20fd5.js similarity index 100% rename from ecmascript/codegen/tests/references/47ddfd79dcd20fd5.js rename to ecmascript/codegen/tests/test262/47ddfd79dcd20fd5.js diff --git a/ecmascript/codegen/tests/references/47ea193a5fc3f2c7.js b/ecmascript/codegen/tests/test262/47ea193a5fc3f2c7.js similarity index 100% rename from ecmascript/codegen/tests/references/47ea193a5fc3f2c7.js rename to ecmascript/codegen/tests/test262/47ea193a5fc3f2c7.js diff --git a/ecmascript/codegen/tests/references/47f974d6fc52e3e4.js b/ecmascript/codegen/tests/test262/47f974d6fc52e3e4.js similarity index 100% rename from ecmascript/codegen/tests/references/47f974d6fc52e3e4.js rename to ecmascript/codegen/tests/test262/47f974d6fc52e3e4.js diff --git a/ecmascript/codegen/tests/references/47fce5046a1b2098.js b/ecmascript/codegen/tests/test262/47fce5046a1b2098.js similarity index 100% rename from ecmascript/codegen/tests/references/47fce5046a1b2098.js rename to ecmascript/codegen/tests/test262/47fce5046a1b2098.js diff --git a/ecmascript/codegen/tests/references/48567b651f81277e.js b/ecmascript/codegen/tests/test262/48567b651f81277e.js similarity index 100% rename from ecmascript/codegen/tests/references/48567b651f81277e.js rename to ecmascript/codegen/tests/test262/48567b651f81277e.js diff --git a/ecmascript/codegen/tests/references/4869454dd215468e.js b/ecmascript/codegen/tests/test262/4869454dd215468e.js similarity index 100% rename from ecmascript/codegen/tests/references/4869454dd215468e.js rename to ecmascript/codegen/tests/test262/4869454dd215468e.js diff --git a/ecmascript/codegen/tests/references/488ae37630cb4d83.js b/ecmascript/codegen/tests/test262/488ae37630cb4d83.js similarity index 100% rename from ecmascript/codegen/tests/references/488ae37630cb4d83.js rename to ecmascript/codegen/tests/test262/488ae37630cb4d83.js diff --git a/ecmascript/codegen/tests/references/488cd27c94308caa.js b/ecmascript/codegen/tests/test262/488cd27c94308caa.js similarity index 100% rename from ecmascript/codegen/tests/references/488cd27c94308caa.js rename to ecmascript/codegen/tests/test262/488cd27c94308caa.js diff --git a/ecmascript/codegen/tests/references/489e6113a41ef33f.js b/ecmascript/codegen/tests/test262/489e6113a41ef33f.js similarity index 100% rename from ecmascript/codegen/tests/references/489e6113a41ef33f.js rename to ecmascript/codegen/tests/test262/489e6113a41ef33f.js diff --git a/ecmascript/codegen/tests/references/48b43f80306f5dff.js b/ecmascript/codegen/tests/test262/48b43f80306f5dff.js similarity index 100% rename from ecmascript/codegen/tests/references/48b43f80306f5dff.js rename to ecmascript/codegen/tests/test262/48b43f80306f5dff.js diff --git a/ecmascript/codegen/tests/references/48b6f8ce65d3b3ee.js b/ecmascript/codegen/tests/test262/48b6f8ce65d3b3ee.js similarity index 100% rename from ecmascript/codegen/tests/references/48b6f8ce65d3b3ee.js rename to ecmascript/codegen/tests/test262/48b6f8ce65d3b3ee.js diff --git a/ecmascript/codegen/tests/references/48bb091783df3da9.js b/ecmascript/codegen/tests/test262/48bb091783df3da9.js similarity index 100% rename from ecmascript/codegen/tests/references/48bb091783df3da9.js rename to ecmascript/codegen/tests/test262/48bb091783df3da9.js diff --git a/ecmascript/codegen/tests/references/48bb138a6b033a34.js b/ecmascript/codegen/tests/test262/48bb138a6b033a34.js similarity index 100% rename from ecmascript/codegen/tests/references/48bb138a6b033a34.js rename to ecmascript/codegen/tests/test262/48bb138a6b033a34.js diff --git a/ecmascript/codegen/tests/references/48f39ccbea69907a.js b/ecmascript/codegen/tests/test262/48f39ccbea69907a.js similarity index 100% rename from ecmascript/codegen/tests/references/48f39ccbea69907a.js rename to ecmascript/codegen/tests/test262/48f39ccbea69907a.js diff --git a/ecmascript/codegen/tests/references/490efeb71bdb7c3b.js b/ecmascript/codegen/tests/test262/490efeb71bdb7c3b.js similarity index 100% rename from ecmascript/codegen/tests/references/490efeb71bdb7c3b.js rename to ecmascript/codegen/tests/test262/490efeb71bdb7c3b.js diff --git a/ecmascript/codegen/tests/references/492d3fde7a53e85a.js b/ecmascript/codegen/tests/test262/492d3fde7a53e85a.js similarity index 100% rename from ecmascript/codegen/tests/references/492d3fde7a53e85a.js rename to ecmascript/codegen/tests/test262/492d3fde7a53e85a.js diff --git a/ecmascript/codegen/tests/references/4933a329b80ed6ec.js b/ecmascript/codegen/tests/test262/4933a329b80ed6ec.js similarity index 100% rename from ecmascript/codegen/tests/references/4933a329b80ed6ec.js rename to ecmascript/codegen/tests/test262/4933a329b80ed6ec.js diff --git a/ecmascript/codegen/tests/references/495c05812d179d67.js b/ecmascript/codegen/tests/test262/495c05812d179d67.js similarity index 100% rename from ecmascript/codegen/tests/references/495c05812d179d67.js rename to ecmascript/codegen/tests/test262/495c05812d179d67.js diff --git a/ecmascript/codegen/tests/references/49bdb14b27afe650.js b/ecmascript/codegen/tests/test262/49bdb14b27afe650.js similarity index 100% rename from ecmascript/codegen/tests/references/49bdb14b27afe650.js rename to ecmascript/codegen/tests/test262/49bdb14b27afe650.js diff --git a/ecmascript/codegen/tests/references/49e54e5acd18a8e1.js b/ecmascript/codegen/tests/test262/49e54e5acd18a8e1.js similarity index 100% rename from ecmascript/codegen/tests/references/49e54e5acd18a8e1.js rename to ecmascript/codegen/tests/test262/49e54e5acd18a8e1.js diff --git a/ecmascript/codegen/tests/references/4a0d9236bc523b77.js b/ecmascript/codegen/tests/test262/4a0d9236bc523b77.js similarity index 100% rename from ecmascript/codegen/tests/references/4a0d9236bc523b77.js rename to ecmascript/codegen/tests/test262/4a0d9236bc523b77.js diff --git a/ecmascript/codegen/tests/references/4a479db6af79906e.js b/ecmascript/codegen/tests/test262/4a479db6af79906e.js similarity index 100% rename from ecmascript/codegen/tests/references/4a479db6af79906e.js rename to ecmascript/codegen/tests/test262/4a479db6af79906e.js diff --git a/ecmascript/codegen/tests/references/4a56cf2dea99fcd6.js b/ecmascript/codegen/tests/test262/4a56cf2dea99fcd6.js similarity index 100% rename from ecmascript/codegen/tests/references/4a56cf2dea99fcd6.js rename to ecmascript/codegen/tests/test262/4a56cf2dea99fcd6.js diff --git a/ecmascript/codegen/tests/references/4a5fe6bf2362352b.js b/ecmascript/codegen/tests/test262/4a5fe6bf2362352b.js similarity index 100% rename from ecmascript/codegen/tests/references/4a5fe6bf2362352b.js rename to ecmascript/codegen/tests/test262/4a5fe6bf2362352b.js diff --git a/ecmascript/codegen/tests/references/4a79205bd8cd49d0.js b/ecmascript/codegen/tests/test262/4a79205bd8cd49d0.js similarity index 100% rename from ecmascript/codegen/tests/references/4a79205bd8cd49d0.js rename to ecmascript/codegen/tests/test262/4a79205bd8cd49d0.js diff --git a/ecmascript/codegen/tests/references/4a807fda565547a2.js b/ecmascript/codegen/tests/test262/4a807fda565547a2.js similarity index 100% rename from ecmascript/codegen/tests/references/4a807fda565547a2.js rename to ecmascript/codegen/tests/test262/4a807fda565547a2.js diff --git a/ecmascript/codegen/tests/references/4ac1a1bc6b3cbe66.js b/ecmascript/codegen/tests/test262/4ac1a1bc6b3cbe66.js similarity index 100% rename from ecmascript/codegen/tests/references/4ac1a1bc6b3cbe66.js rename to ecmascript/codegen/tests/test262/4ac1a1bc6b3cbe66.js diff --git a/ecmascript/codegen/tests/references/4ad6e3a59e27e9b1.js b/ecmascript/codegen/tests/test262/4ad6e3a59e27e9b1.js similarity index 100% rename from ecmascript/codegen/tests/references/4ad6e3a59e27e9b1.js rename to ecmascript/codegen/tests/test262/4ad6e3a59e27e9b1.js diff --git a/ecmascript/codegen/tests/references/4ada45968b9f45ec.js b/ecmascript/codegen/tests/test262/4ada45968b9f45ec.js similarity index 100% rename from ecmascript/codegen/tests/references/4ada45968b9f45ec.js rename to ecmascript/codegen/tests/test262/4ada45968b9f45ec.js diff --git a/ecmascript/codegen/tests/references/4ae32442eef8a4e0.js b/ecmascript/codegen/tests/test262/4ae32442eef8a4e0.js similarity index 100% rename from ecmascript/codegen/tests/references/4ae32442eef8a4e0.js rename to ecmascript/codegen/tests/test262/4ae32442eef8a4e0.js diff --git a/ecmascript/codegen/tests/references/4b346e8c85a29408.js b/ecmascript/codegen/tests/test262/4b346e8c85a29408.js similarity index 100% rename from ecmascript/codegen/tests/references/4b346e8c85a29408.js rename to ecmascript/codegen/tests/test262/4b346e8c85a29408.js diff --git a/ecmascript/codegen/tests/references/4b40241551a495c2.js b/ecmascript/codegen/tests/test262/4b40241551a495c2.js similarity index 100% rename from ecmascript/codegen/tests/references/4b40241551a495c2.js rename to ecmascript/codegen/tests/test262/4b40241551a495c2.js diff --git a/ecmascript/codegen/tests/references/4b6559716b2f7b21.js b/ecmascript/codegen/tests/test262/4b6559716b2f7b21.js similarity index 100% rename from ecmascript/codegen/tests/references/4b6559716b2f7b21.js rename to ecmascript/codegen/tests/test262/4b6559716b2f7b21.js diff --git a/ecmascript/codegen/tests/references/4ba667b7404cc45d.js b/ecmascript/codegen/tests/test262/4ba667b7404cc45d.js similarity index 100% rename from ecmascript/codegen/tests/references/4ba667b7404cc45d.js rename to ecmascript/codegen/tests/test262/4ba667b7404cc45d.js diff --git a/ecmascript/codegen/tests/references/4bd3199f5a4d8e52.js b/ecmascript/codegen/tests/test262/4bd3199f5a4d8e52.js similarity index 100% rename from ecmascript/codegen/tests/references/4bd3199f5a4d8e52.js rename to ecmascript/codegen/tests/test262/4bd3199f5a4d8e52.js diff --git a/ecmascript/codegen/tests/references/4bd7e14411b6a889.js b/ecmascript/codegen/tests/test262/4bd7e14411b6a889.js similarity index 100% rename from ecmascript/codegen/tests/references/4bd7e14411b6a889.js rename to ecmascript/codegen/tests/test262/4bd7e14411b6a889.js diff --git a/ecmascript/codegen/tests/references/4beb0b6ae8b9801a.js b/ecmascript/codegen/tests/test262/4beb0b6ae8b9801a.js similarity index 100% rename from ecmascript/codegen/tests/references/4beb0b6ae8b9801a.js rename to ecmascript/codegen/tests/test262/4beb0b6ae8b9801a.js diff --git a/ecmascript/codegen/tests/references/4bffa044ecd9d841.js b/ecmascript/codegen/tests/test262/4bffa044ecd9d841.js similarity index 100% rename from ecmascript/codegen/tests/references/4bffa044ecd9d841.js rename to ecmascript/codegen/tests/test262/4bffa044ecd9d841.js diff --git a/ecmascript/codegen/tests/references/4c2a2b32f0470048.js b/ecmascript/codegen/tests/test262/4c2a2b32f0470048.js similarity index 100% rename from ecmascript/codegen/tests/references/4c2a2b32f0470048.js rename to ecmascript/codegen/tests/test262/4c2a2b32f0470048.js diff --git a/ecmascript/codegen/tests/references/4c3a394af4d281d1.js b/ecmascript/codegen/tests/test262/4c3a394af4d281d1.js similarity index 100% rename from ecmascript/codegen/tests/references/4c3a394af4d281d1.js rename to ecmascript/codegen/tests/test262/4c3a394af4d281d1.js diff --git a/ecmascript/codegen/tests/references/4c44d7c28ec0f6ca.js b/ecmascript/codegen/tests/test262/4c44d7c28ec0f6ca.js similarity index 100% rename from ecmascript/codegen/tests/references/4c44d7c28ec0f6ca.js rename to ecmascript/codegen/tests/test262/4c44d7c28ec0f6ca.js diff --git a/ecmascript/codegen/tests/references/4c56fb063bea0ec2.js b/ecmascript/codegen/tests/test262/4c56fb063bea0ec2.js similarity index 100% rename from ecmascript/codegen/tests/references/4c56fb063bea0ec2.js rename to ecmascript/codegen/tests/test262/4c56fb063bea0ec2.js diff --git a/ecmascript/codegen/tests/references/4c71e11fbbc56349.js b/ecmascript/codegen/tests/test262/4c71e11fbbc56349.js similarity index 100% rename from ecmascript/codegen/tests/references/4c71e11fbbc56349.js rename to ecmascript/codegen/tests/test262/4c71e11fbbc56349.js diff --git a/ecmascript/codegen/tests/references/4d2c7020de650d40.js b/ecmascript/codegen/tests/test262/4d2c7020de650d40.js similarity index 100% rename from ecmascript/codegen/tests/references/4d2c7020de650d40.js rename to ecmascript/codegen/tests/test262/4d2c7020de650d40.js diff --git a/ecmascript/codegen/tests/references/4d310ef039a7435c.js b/ecmascript/codegen/tests/test262/4d310ef039a7435c.js similarity index 100% rename from ecmascript/codegen/tests/references/4d310ef039a7435c.js rename to ecmascript/codegen/tests/test262/4d310ef039a7435c.js diff --git a/ecmascript/codegen/tests/references/4d833cbc56caaaf9.js b/ecmascript/codegen/tests/test262/4d833cbc56caaaf9.js similarity index 100% rename from ecmascript/codegen/tests/references/4d833cbc56caaaf9.js rename to ecmascript/codegen/tests/test262/4d833cbc56caaaf9.js diff --git a/ecmascript/codegen/tests/references/4d88f169e3827587.js b/ecmascript/codegen/tests/test262/4d88f169e3827587.js similarity index 100% rename from ecmascript/codegen/tests/references/4d88f169e3827587.js rename to ecmascript/codegen/tests/test262/4d88f169e3827587.js diff --git a/ecmascript/codegen/tests/references/4dc600d5ae71e8eb.js b/ecmascript/codegen/tests/test262/4dc600d5ae71e8eb.js similarity index 100% rename from ecmascript/codegen/tests/references/4dc600d5ae71e8eb.js rename to ecmascript/codegen/tests/test262/4dc600d5ae71e8eb.js diff --git a/ecmascript/codegen/tests/references/4deb8938d7b36024.js b/ecmascript/codegen/tests/test262/4deb8938d7b36024.js similarity index 100% rename from ecmascript/codegen/tests/references/4deb8938d7b36024.js rename to ecmascript/codegen/tests/test262/4deb8938d7b36024.js diff --git a/ecmascript/codegen/tests/references/4df14f701f9881fd.js b/ecmascript/codegen/tests/test262/4df14f701f9881fd.js similarity index 100% rename from ecmascript/codegen/tests/references/4df14f701f9881fd.js rename to ecmascript/codegen/tests/test262/4df14f701f9881fd.js diff --git a/ecmascript/codegen/tests/references/4dfe7c0219422eff.module.js b/ecmascript/codegen/tests/test262/4dfe7c0219422eff.module.js similarity index 100% rename from ecmascript/codegen/tests/references/4dfe7c0219422eff.module.js rename to ecmascript/codegen/tests/test262/4dfe7c0219422eff.module.js diff --git a/ecmascript/codegen/tests/references/4e07f8992cca7db0.js b/ecmascript/codegen/tests/test262/4e07f8992cca7db0.js similarity index 100% rename from ecmascript/codegen/tests/references/4e07f8992cca7db0.js rename to ecmascript/codegen/tests/test262/4e07f8992cca7db0.js diff --git a/ecmascript/codegen/tests/references/4e1a0da46ca45afe.js b/ecmascript/codegen/tests/test262/4e1a0da46ca45afe.js similarity index 100% rename from ecmascript/codegen/tests/references/4e1a0da46ca45afe.js rename to ecmascript/codegen/tests/test262/4e1a0da46ca45afe.js diff --git a/ecmascript/codegen/tests/references/4e3de59ad16a7d0f.js b/ecmascript/codegen/tests/test262/4e3de59ad16a7d0f.js similarity index 100% rename from ecmascript/codegen/tests/references/4e3de59ad16a7d0f.js rename to ecmascript/codegen/tests/test262/4e3de59ad16a7d0f.js diff --git a/ecmascript/codegen/tests/references/4e625840177567fc.js b/ecmascript/codegen/tests/test262/4e625840177567fc.js similarity index 100% rename from ecmascript/codegen/tests/references/4e625840177567fc.js rename to ecmascript/codegen/tests/test262/4e625840177567fc.js diff --git a/ecmascript/codegen/tests/references/4e742059e0fc3d3c.js b/ecmascript/codegen/tests/test262/4e742059e0fc3d3c.js similarity index 100% rename from ecmascript/codegen/tests/references/4e742059e0fc3d3c.js rename to ecmascript/codegen/tests/test262/4e742059e0fc3d3c.js diff --git a/ecmascript/codegen/tests/references/4e7c58761e24d77c.js b/ecmascript/codegen/tests/test262/4e7c58761e24d77c.js similarity index 100% rename from ecmascript/codegen/tests/references/4e7c58761e24d77c.js rename to ecmascript/codegen/tests/test262/4e7c58761e24d77c.js diff --git a/ecmascript/codegen/tests/references/4e8e7d6fe1e67ce5.js b/ecmascript/codegen/tests/test262/4e8e7d6fe1e67ce5.js similarity index 100% rename from ecmascript/codegen/tests/references/4e8e7d6fe1e67ce5.js rename to ecmascript/codegen/tests/test262/4e8e7d6fe1e67ce5.js diff --git a/ecmascript/codegen/tests/references/4e9006104ab9afe8.js b/ecmascript/codegen/tests/test262/4e9006104ab9afe8.js similarity index 100% rename from ecmascript/codegen/tests/references/4e9006104ab9afe8.js rename to ecmascript/codegen/tests/test262/4e9006104ab9afe8.js diff --git a/ecmascript/codegen/tests/references/4e997dab642864ca.js b/ecmascript/codegen/tests/test262/4e997dab642864ca.js similarity index 100% rename from ecmascript/codegen/tests/references/4e997dab642864ca.js rename to ecmascript/codegen/tests/test262/4e997dab642864ca.js diff --git a/ecmascript/codegen/tests/references/4eafc760484cd72b.js b/ecmascript/codegen/tests/test262/4eafc760484cd72b.js similarity index 100% rename from ecmascript/codegen/tests/references/4eafc760484cd72b.js rename to ecmascript/codegen/tests/test262/4eafc760484cd72b.js diff --git a/ecmascript/codegen/tests/references/4ec2942a940cd0b8.js b/ecmascript/codegen/tests/test262/4ec2942a940cd0b8.js similarity index 100% rename from ecmascript/codegen/tests/references/4ec2942a940cd0b8.js rename to ecmascript/codegen/tests/test262/4ec2942a940cd0b8.js diff --git a/ecmascript/codegen/tests/references/4ed17e0e2686e5e5.js b/ecmascript/codegen/tests/test262/4ed17e0e2686e5e5.js similarity index 100% rename from ecmascript/codegen/tests/references/4ed17e0e2686e5e5.js rename to ecmascript/codegen/tests/test262/4ed17e0e2686e5e5.js diff --git a/ecmascript/codegen/tests/references/4eee835d0ac8382a.js b/ecmascript/codegen/tests/test262/4eee835d0ac8382a.js similarity index 100% rename from ecmascript/codegen/tests/references/4eee835d0ac8382a.js rename to ecmascript/codegen/tests/test262/4eee835d0ac8382a.js diff --git a/ecmascript/codegen/tests/references/4efcd175a5db8b47.js b/ecmascript/codegen/tests/test262/4efcd175a5db8b47.js similarity index 100% rename from ecmascript/codegen/tests/references/4efcd175a5db8b47.js rename to ecmascript/codegen/tests/test262/4efcd175a5db8b47.js diff --git a/ecmascript/codegen/tests/references/4f21a4e88694c0d8.js b/ecmascript/codegen/tests/test262/4f21a4e88694c0d8.js similarity index 100% rename from ecmascript/codegen/tests/references/4f21a4e88694c0d8.js rename to ecmascript/codegen/tests/test262/4f21a4e88694c0d8.js diff --git a/ecmascript/codegen/tests/references/4f24ffe2c3ebe706.js b/ecmascript/codegen/tests/test262/4f24ffe2c3ebe706.js similarity index 100% rename from ecmascript/codegen/tests/references/4f24ffe2c3ebe706.js rename to ecmascript/codegen/tests/test262/4f24ffe2c3ebe706.js diff --git a/ecmascript/codegen/tests/references/4f53cda18c2baa0c.js b/ecmascript/codegen/tests/test262/4f53cda18c2baa0c.js similarity index 100% rename from ecmascript/codegen/tests/references/4f53cda18c2baa0c.js rename to ecmascript/codegen/tests/test262/4f53cda18c2baa0c.js diff --git a/ecmascript/codegen/tests/references/4f5419fe648c691b.js b/ecmascript/codegen/tests/test262/4f5419fe648c691b.js similarity index 100% rename from ecmascript/codegen/tests/references/4f5419fe648c691b.js rename to ecmascript/codegen/tests/test262/4f5419fe648c691b.js diff --git a/ecmascript/codegen/tests/references/4f60d8fbb4be1120.js b/ecmascript/codegen/tests/test262/4f60d8fbb4be1120.js similarity index 100% rename from ecmascript/codegen/tests/references/4f60d8fbb4be1120.js rename to ecmascript/codegen/tests/test262/4f60d8fbb4be1120.js diff --git a/ecmascript/codegen/tests/references/4f731d62a74ab666.js b/ecmascript/codegen/tests/test262/4f731d62a74ab666.js similarity index 100% rename from ecmascript/codegen/tests/references/4f731d62a74ab666.js rename to ecmascript/codegen/tests/test262/4f731d62a74ab666.js diff --git a/ecmascript/codegen/tests/references/4f805a43cc2e8854.js b/ecmascript/codegen/tests/test262/4f805a43cc2e8854.js similarity index 100% rename from ecmascript/codegen/tests/references/4f805a43cc2e8854.js rename to ecmascript/codegen/tests/test262/4f805a43cc2e8854.js diff --git a/ecmascript/codegen/tests/references/4fa08a62c2d8c495.js b/ecmascript/codegen/tests/test262/4fa08a62c2d8c495.js similarity index 100% rename from ecmascript/codegen/tests/references/4fa08a62c2d8c495.js rename to ecmascript/codegen/tests/test262/4fa08a62c2d8c495.js diff --git a/ecmascript/codegen/tests/references/4fa4f9e47503bc5f.js b/ecmascript/codegen/tests/test262/4fa4f9e47503bc5f.js similarity index 100% rename from ecmascript/codegen/tests/references/4fa4f9e47503bc5f.js rename to ecmascript/codegen/tests/test262/4fa4f9e47503bc5f.js diff --git a/ecmascript/codegen/tests/references/4fdc22a42fa0d040.js b/ecmascript/codegen/tests/test262/4fdc22a42fa0d040.js similarity index 100% rename from ecmascript/codegen/tests/references/4fdc22a42fa0d040.js rename to ecmascript/codegen/tests/test262/4fdc22a42fa0d040.js diff --git a/ecmascript/codegen/tests/references/4fee4ac53bdfd7f7.js b/ecmascript/codegen/tests/test262/4fee4ac53bdfd7f7.js similarity index 100% rename from ecmascript/codegen/tests/references/4fee4ac53bdfd7f7.js rename to ecmascript/codegen/tests/test262/4fee4ac53bdfd7f7.js diff --git a/ecmascript/codegen/tests/references/500804fd29695dac.js b/ecmascript/codegen/tests/test262/500804fd29695dac.js similarity index 100% rename from ecmascript/codegen/tests/references/500804fd29695dac.js rename to ecmascript/codegen/tests/test262/500804fd29695dac.js diff --git a/ecmascript/codegen/tests/references/5021396f85a70480.js b/ecmascript/codegen/tests/test262/5021396f85a70480.js similarity index 100% rename from ecmascript/codegen/tests/references/5021396f85a70480.js rename to ecmascript/codegen/tests/test262/5021396f85a70480.js diff --git a/ecmascript/codegen/tests/references/503cf49b200abf64.js b/ecmascript/codegen/tests/test262/503cf49b200abf64.js similarity index 100% rename from ecmascript/codegen/tests/references/503cf49b200abf64.js rename to ecmascript/codegen/tests/test262/503cf49b200abf64.js diff --git a/ecmascript/codegen/tests/references/50ac15a08f7c812f.js b/ecmascript/codegen/tests/test262/50ac15a08f7c812f.js similarity index 100% rename from ecmascript/codegen/tests/references/50ac15a08f7c812f.js rename to ecmascript/codegen/tests/test262/50ac15a08f7c812f.js diff --git a/ecmascript/codegen/tests/references/50bc1f24c865c57a.js b/ecmascript/codegen/tests/test262/50bc1f24c865c57a.js similarity index 100% rename from ecmascript/codegen/tests/references/50bc1f24c865c57a.js rename to ecmascript/codegen/tests/test262/50bc1f24c865c57a.js diff --git a/ecmascript/codegen/tests/references/50c6ab935ccb020a.module.js b/ecmascript/codegen/tests/test262/50c6ab935ccb020a.module.js similarity index 100% rename from ecmascript/codegen/tests/references/50c6ab935ccb020a.module.js rename to ecmascript/codegen/tests/test262/50c6ab935ccb020a.module.js diff --git a/ecmascript/codegen/tests/references/50cea0e25b2b707d.js b/ecmascript/codegen/tests/test262/50cea0e25b2b707d.js similarity index 100% rename from ecmascript/codegen/tests/references/50cea0e25b2b707d.js rename to ecmascript/codegen/tests/test262/50cea0e25b2b707d.js diff --git a/ecmascript/codegen/tests/references/50e04108598730ff.js b/ecmascript/codegen/tests/test262/50e04108598730ff.js similarity index 100% rename from ecmascript/codegen/tests/references/50e04108598730ff.js rename to ecmascript/codegen/tests/test262/50e04108598730ff.js diff --git a/ecmascript/codegen/tests/references/511a2a5fd8cac64d.js b/ecmascript/codegen/tests/test262/511a2a5fd8cac64d.js similarity index 100% rename from ecmascript/codegen/tests/references/511a2a5fd8cac64d.js rename to ecmascript/codegen/tests/test262/511a2a5fd8cac64d.js diff --git a/ecmascript/codegen/tests/references/513275ce0e3c7ef3.js b/ecmascript/codegen/tests/test262/513275ce0e3c7ef3.js similarity index 100% rename from ecmascript/codegen/tests/references/513275ce0e3c7ef3.js rename to ecmascript/codegen/tests/test262/513275ce0e3c7ef3.js diff --git a/ecmascript/codegen/tests/references/5147bda197f961c1.js b/ecmascript/codegen/tests/test262/5147bda197f961c1.js similarity index 100% rename from ecmascript/codegen/tests/references/5147bda197f961c1.js rename to ecmascript/codegen/tests/test262/5147bda197f961c1.js diff --git a/ecmascript/codegen/tests/references/515825915b8d1cd8.js b/ecmascript/codegen/tests/test262/515825915b8d1cd8.js similarity index 100% rename from ecmascript/codegen/tests/references/515825915b8d1cd8.js rename to ecmascript/codegen/tests/test262/515825915b8d1cd8.js diff --git a/ecmascript/codegen/tests/references/5171e99c2d9d3e5a.js b/ecmascript/codegen/tests/test262/5171e99c2d9d3e5a.js similarity index 100% rename from ecmascript/codegen/tests/references/5171e99c2d9d3e5a.js rename to ecmascript/codegen/tests/test262/5171e99c2d9d3e5a.js diff --git a/ecmascript/codegen/tests/references/5183eafe6b4cd6e0.js b/ecmascript/codegen/tests/test262/5183eafe6b4cd6e0.js similarity index 100% rename from ecmascript/codegen/tests/references/5183eafe6b4cd6e0.js rename to ecmascript/codegen/tests/test262/5183eafe6b4cd6e0.js diff --git a/ecmascript/codegen/tests/references/51a3505b43223a9f.js b/ecmascript/codegen/tests/test262/51a3505b43223a9f.js similarity index 100% rename from ecmascript/codegen/tests/references/51a3505b43223a9f.js rename to ecmascript/codegen/tests/test262/51a3505b43223a9f.js diff --git a/ecmascript/codegen/tests/references/51b243bb5076b692.js b/ecmascript/codegen/tests/test262/51b243bb5076b692.js similarity index 100% rename from ecmascript/codegen/tests/references/51b243bb5076b692.js rename to ecmascript/codegen/tests/test262/51b243bb5076b692.js diff --git a/ecmascript/codegen/tests/references/51b58dc84e1fab89.js b/ecmascript/codegen/tests/test262/51b58dc84e1fab89.js similarity index 100% rename from ecmascript/codegen/tests/references/51b58dc84e1fab89.js rename to ecmascript/codegen/tests/test262/51b58dc84e1fab89.js diff --git a/ecmascript/codegen/tests/references/51ea4e18429c02e4.js b/ecmascript/codegen/tests/test262/51ea4e18429c02e4.js similarity index 100% rename from ecmascript/codegen/tests/references/51ea4e18429c02e4.js rename to ecmascript/codegen/tests/test262/51ea4e18429c02e4.js diff --git a/ecmascript/codegen/tests/references/51fd2b53ad7e1581.js b/ecmascript/codegen/tests/test262/51fd2b53ad7e1581.js similarity index 100% rename from ecmascript/codegen/tests/references/51fd2b53ad7e1581.js rename to ecmascript/codegen/tests/test262/51fd2b53ad7e1581.js diff --git a/ecmascript/codegen/tests/references/5203633f36fbe544.js b/ecmascript/codegen/tests/test262/5203633f36fbe544.js similarity index 100% rename from ecmascript/codegen/tests/references/5203633f36fbe544.js rename to ecmascript/codegen/tests/test262/5203633f36fbe544.js diff --git a/ecmascript/codegen/tests/references/5212ddf4e4b70261.js b/ecmascript/codegen/tests/test262/5212ddf4e4b70261.js similarity index 100% rename from ecmascript/codegen/tests/references/5212ddf4e4b70261.js rename to ecmascript/codegen/tests/test262/5212ddf4e4b70261.js diff --git a/ecmascript/codegen/tests/references/521479b987ae2d7f.js b/ecmascript/codegen/tests/test262/521479b987ae2d7f.js similarity index 100% rename from ecmascript/codegen/tests/references/521479b987ae2d7f.js rename to ecmascript/codegen/tests/test262/521479b987ae2d7f.js diff --git a/ecmascript/codegen/tests/references/521b6dfff0a28aa1.js b/ecmascript/codegen/tests/test262/521b6dfff0a28aa1.js similarity index 100% rename from ecmascript/codegen/tests/references/521b6dfff0a28aa1.js rename to ecmascript/codegen/tests/test262/521b6dfff0a28aa1.js diff --git a/ecmascript/codegen/tests/references/523950fa023d7305.js b/ecmascript/codegen/tests/test262/523950fa023d7305.js similarity index 100% rename from ecmascript/codegen/tests/references/523950fa023d7305.js rename to ecmascript/codegen/tests/test262/523950fa023d7305.js diff --git a/ecmascript/codegen/tests/references/5239dd0fc0effb71.js b/ecmascript/codegen/tests/test262/5239dd0fc0effb71.js similarity index 100% rename from ecmascript/codegen/tests/references/5239dd0fc0effb71.js rename to ecmascript/codegen/tests/test262/5239dd0fc0effb71.js diff --git a/ecmascript/codegen/tests/references/524172bf792ef97e.js b/ecmascript/codegen/tests/test262/524172bf792ef97e.js similarity index 100% rename from ecmascript/codegen/tests/references/524172bf792ef97e.js rename to ecmascript/codegen/tests/test262/524172bf792ef97e.js diff --git a/ecmascript/codegen/tests/references/52aeec7b8da212a2.js b/ecmascript/codegen/tests/test262/52aeec7b8da212a2.js similarity index 100% rename from ecmascript/codegen/tests/references/52aeec7b8da212a2.js rename to ecmascript/codegen/tests/test262/52aeec7b8da212a2.js diff --git a/ecmascript/codegen/tests/references/52ce5853ea953f0f.js b/ecmascript/codegen/tests/test262/52ce5853ea953f0f.js similarity index 100% rename from ecmascript/codegen/tests/references/52ce5853ea953f0f.js rename to ecmascript/codegen/tests/test262/52ce5853ea953f0f.js diff --git a/ecmascript/codegen/tests/references/52f2f30356750b9b.js b/ecmascript/codegen/tests/test262/52f2f30356750b9b.js similarity index 100% rename from ecmascript/codegen/tests/references/52f2f30356750b9b.js rename to ecmascript/codegen/tests/test262/52f2f30356750b9b.js diff --git a/ecmascript/codegen/tests/references/52f9245e7cd97f6a.js b/ecmascript/codegen/tests/test262/52f9245e7cd97f6a.js similarity index 100% rename from ecmascript/codegen/tests/references/52f9245e7cd97f6a.js rename to ecmascript/codegen/tests/test262/52f9245e7cd97f6a.js diff --git a/ecmascript/codegen/tests/references/5317b960ad78bbfe.js b/ecmascript/codegen/tests/test262/5317b960ad78bbfe.js similarity index 100% rename from ecmascript/codegen/tests/references/5317b960ad78bbfe.js rename to ecmascript/codegen/tests/test262/5317b960ad78bbfe.js diff --git a/ecmascript/codegen/tests/references/5333f04581124314.js b/ecmascript/codegen/tests/test262/5333f04581124314.js similarity index 100% rename from ecmascript/codegen/tests/references/5333f04581124314.js rename to ecmascript/codegen/tests/test262/5333f04581124314.js diff --git a/ecmascript/codegen/tests/references/53645d3765e5f67f.js b/ecmascript/codegen/tests/test262/53645d3765e5f67f.js similarity index 100% rename from ecmascript/codegen/tests/references/53645d3765e5f67f.js rename to ecmascript/codegen/tests/test262/53645d3765e5f67f.js diff --git a/ecmascript/codegen/tests/references/54032532b8655caf.js b/ecmascript/codegen/tests/test262/54032532b8655caf.js similarity index 100% rename from ecmascript/codegen/tests/references/54032532b8655caf.js rename to ecmascript/codegen/tests/test262/54032532b8655caf.js diff --git a/ecmascript/codegen/tests/references/5406bea2982a6e13.module.js b/ecmascript/codegen/tests/test262/5406bea2982a6e13.module.js similarity index 100% rename from ecmascript/codegen/tests/references/5406bea2982a6e13.module.js rename to ecmascript/codegen/tests/test262/5406bea2982a6e13.module.js diff --git a/ecmascript/codegen/tests/references/54190cc5a11a0233.js b/ecmascript/codegen/tests/test262/54190cc5a11a0233.js similarity index 100% rename from ecmascript/codegen/tests/references/54190cc5a11a0233.js rename to ecmascript/codegen/tests/test262/54190cc5a11a0233.js diff --git a/ecmascript/codegen/tests/references/541ee533b54ae664.js b/ecmascript/codegen/tests/test262/541ee533b54ae664.js similarity index 100% rename from ecmascript/codegen/tests/references/541ee533b54ae664.js rename to ecmascript/codegen/tests/test262/541ee533b54ae664.js diff --git a/ecmascript/codegen/tests/references/54257d53a8fffe8c.js b/ecmascript/codegen/tests/test262/54257d53a8fffe8c.js similarity index 100% rename from ecmascript/codegen/tests/references/54257d53a8fffe8c.js rename to ecmascript/codegen/tests/test262/54257d53a8fffe8c.js diff --git a/ecmascript/codegen/tests/references/547fa50af16beca7.js b/ecmascript/codegen/tests/test262/547fa50af16beca7.js similarity index 100% rename from ecmascript/codegen/tests/references/547fa50af16beca7.js rename to ecmascript/codegen/tests/test262/547fa50af16beca7.js diff --git a/ecmascript/codegen/tests/references/5495e25325fdd364.js b/ecmascript/codegen/tests/test262/5495e25325fdd364.js similarity index 100% rename from ecmascript/codegen/tests/references/5495e25325fdd364.js rename to ecmascript/codegen/tests/test262/5495e25325fdd364.js diff --git a/ecmascript/codegen/tests/references/54e70df597a4f9a3.js b/ecmascript/codegen/tests/test262/54e70df597a4f9a3.js similarity index 100% rename from ecmascript/codegen/tests/references/54e70df597a4f9a3.js rename to ecmascript/codegen/tests/test262/54e70df597a4f9a3.js diff --git a/ecmascript/codegen/tests/references/54fb77cb2384a86b.js b/ecmascript/codegen/tests/test262/54fb77cb2384a86b.js similarity index 100% rename from ecmascript/codegen/tests/references/54fb77cb2384a86b.js rename to ecmascript/codegen/tests/test262/54fb77cb2384a86b.js diff --git a/ecmascript/codegen/tests/references/551af1dc1686e912.module.js b/ecmascript/codegen/tests/test262/551af1dc1686e912.module.js similarity index 100% rename from ecmascript/codegen/tests/references/551af1dc1686e912.module.js rename to ecmascript/codegen/tests/test262/551af1dc1686e912.module.js diff --git a/ecmascript/codegen/tests/references/5526c98fdf9150c1.js b/ecmascript/codegen/tests/test262/5526c98fdf9150c1.js similarity index 100% rename from ecmascript/codegen/tests/references/5526c98fdf9150c1.js rename to ecmascript/codegen/tests/test262/5526c98fdf9150c1.js diff --git a/ecmascript/codegen/tests/references/55b74de671f60184.js b/ecmascript/codegen/tests/test262/55b74de671f60184.js similarity index 100% rename from ecmascript/codegen/tests/references/55b74de671f60184.js rename to ecmascript/codegen/tests/test262/55b74de671f60184.js diff --git a/ecmascript/codegen/tests/references/55c15fe174790fb2.js b/ecmascript/codegen/tests/test262/55c15fe174790fb2.js similarity index 100% rename from ecmascript/codegen/tests/references/55c15fe174790fb2.js rename to ecmascript/codegen/tests/test262/55c15fe174790fb2.js diff --git a/ecmascript/codegen/tests/references/55c27b3727ba1165.js b/ecmascript/codegen/tests/test262/55c27b3727ba1165.js similarity index 100% rename from ecmascript/codegen/tests/references/55c27b3727ba1165.js rename to ecmascript/codegen/tests/test262/55c27b3727ba1165.js diff --git a/ecmascript/codegen/tests/references/55d1482dc2d95e91.js b/ecmascript/codegen/tests/test262/55d1482dc2d95e91.js similarity index 100% rename from ecmascript/codegen/tests/references/55d1482dc2d95e91.js rename to ecmascript/codegen/tests/test262/55d1482dc2d95e91.js diff --git a/ecmascript/codegen/tests/references/55d721b105cc1780.js b/ecmascript/codegen/tests/test262/55d721b105cc1780.js similarity index 100% rename from ecmascript/codegen/tests/references/55d721b105cc1780.js rename to ecmascript/codegen/tests/test262/55d721b105cc1780.js diff --git a/ecmascript/codegen/tests/references/560c364700fdb6b2.js b/ecmascript/codegen/tests/test262/560c364700fdb6b2.js similarity index 100% rename from ecmascript/codegen/tests/references/560c364700fdb6b2.js rename to ecmascript/codegen/tests/test262/560c364700fdb6b2.js diff --git a/ecmascript/codegen/tests/references/561ccbf2e5091865.js b/ecmascript/codegen/tests/test262/561ccbf2e5091865.js similarity index 100% rename from ecmascript/codegen/tests/references/561ccbf2e5091865.js rename to ecmascript/codegen/tests/test262/561ccbf2e5091865.js diff --git a/ecmascript/codegen/tests/references/5641ad33abcd1752.js b/ecmascript/codegen/tests/test262/5641ad33abcd1752.js similarity index 100% rename from ecmascript/codegen/tests/references/5641ad33abcd1752.js rename to ecmascript/codegen/tests/test262/5641ad33abcd1752.js diff --git a/ecmascript/codegen/tests/references/5654d4106d7025c2.js b/ecmascript/codegen/tests/test262/5654d4106d7025c2.js similarity index 100% rename from ecmascript/codegen/tests/references/5654d4106d7025c2.js rename to ecmascript/codegen/tests/test262/5654d4106d7025c2.js diff --git a/ecmascript/codegen/tests/references/5665da18579dd006.js b/ecmascript/codegen/tests/test262/5665da18579dd006.js similarity index 100% rename from ecmascript/codegen/tests/references/5665da18579dd006.js rename to ecmascript/codegen/tests/test262/5665da18579dd006.js diff --git a/ecmascript/codegen/tests/references/569a2c1bad3beeb2.js b/ecmascript/codegen/tests/test262/569a2c1bad3beeb2.js similarity index 100% rename from ecmascript/codegen/tests/references/569a2c1bad3beeb2.js rename to ecmascript/codegen/tests/test262/569a2c1bad3beeb2.js diff --git a/ecmascript/codegen/tests/references/56dcd0733a23aa26.js b/ecmascript/codegen/tests/test262/56dcd0733a23aa26.js similarity index 100% rename from ecmascript/codegen/tests/references/56dcd0733a23aa26.js rename to ecmascript/codegen/tests/test262/56dcd0733a23aa26.js diff --git a/ecmascript/codegen/tests/references/56debc26cbc2e077.js b/ecmascript/codegen/tests/test262/56debc26cbc2e077.js similarity index 100% rename from ecmascript/codegen/tests/references/56debc26cbc2e077.js rename to ecmascript/codegen/tests/test262/56debc26cbc2e077.js diff --git a/ecmascript/codegen/tests/references/56e2ba90e05f5659.js b/ecmascript/codegen/tests/test262/56e2ba90e05f5659.js similarity index 100% rename from ecmascript/codegen/tests/references/56e2ba90e05f5659.js rename to ecmascript/codegen/tests/test262/56e2ba90e05f5659.js diff --git a/ecmascript/codegen/tests/references/56ec311ffc030121.module.js b/ecmascript/codegen/tests/test262/56ec311ffc030121.module.js similarity index 100% rename from ecmascript/codegen/tests/references/56ec311ffc030121.module.js rename to ecmascript/codegen/tests/test262/56ec311ffc030121.module.js diff --git a/ecmascript/codegen/tests/references/56fd564979894636.js b/ecmascript/codegen/tests/test262/56fd564979894636.js similarity index 100% rename from ecmascript/codegen/tests/references/56fd564979894636.js rename to ecmascript/codegen/tests/test262/56fd564979894636.js diff --git a/ecmascript/codegen/tests/references/571bb9d1fdd6fcc0.js b/ecmascript/codegen/tests/test262/571bb9d1fdd6fcc0.js similarity index 100% rename from ecmascript/codegen/tests/references/571bb9d1fdd6fcc0.js rename to ecmascript/codegen/tests/test262/571bb9d1fdd6fcc0.js diff --git a/ecmascript/codegen/tests/references/5727b1080ddcd68e.js b/ecmascript/codegen/tests/test262/5727b1080ddcd68e.js similarity index 100% rename from ecmascript/codegen/tests/references/5727b1080ddcd68e.js rename to ecmascript/codegen/tests/test262/5727b1080ddcd68e.js diff --git a/ecmascript/codegen/tests/references/574ea84fc61bdc31.js b/ecmascript/codegen/tests/test262/574ea84fc61bdc31.js similarity index 100% rename from ecmascript/codegen/tests/references/574ea84fc61bdc31.js rename to ecmascript/codegen/tests/test262/574ea84fc61bdc31.js diff --git a/ecmascript/codegen/tests/references/575306c08cc44b10.js b/ecmascript/codegen/tests/test262/575306c08cc44b10.js similarity index 100% rename from ecmascript/codegen/tests/references/575306c08cc44b10.js rename to ecmascript/codegen/tests/test262/575306c08cc44b10.js diff --git a/ecmascript/codegen/tests/references/578ebe526f02ab34.js b/ecmascript/codegen/tests/test262/578ebe526f02ab34.js similarity index 100% rename from ecmascript/codegen/tests/references/578ebe526f02ab34.js rename to ecmascript/codegen/tests/test262/578ebe526f02ab34.js diff --git a/ecmascript/codegen/tests/references/57971b49e239c0ff.js b/ecmascript/codegen/tests/test262/57971b49e239c0ff.js similarity index 100% rename from ecmascript/codegen/tests/references/57971b49e239c0ff.js rename to ecmascript/codegen/tests/test262/57971b49e239c0ff.js diff --git a/ecmascript/codegen/tests/references/57ad28ff7d96f031.js b/ecmascript/codegen/tests/test262/57ad28ff7d96f031.js similarity index 100% rename from ecmascript/codegen/tests/references/57ad28ff7d96f031.js rename to ecmascript/codegen/tests/test262/57ad28ff7d96f031.js diff --git a/ecmascript/codegen/tests/references/5829d742ab805866.js b/ecmascript/codegen/tests/test262/5829d742ab805866.js similarity index 100% rename from ecmascript/codegen/tests/references/5829d742ab805866.js rename to ecmascript/codegen/tests/test262/5829d742ab805866.js diff --git a/ecmascript/codegen/tests/references/585130f356b0729f.js b/ecmascript/codegen/tests/test262/585130f356b0729f.js similarity index 100% rename from ecmascript/codegen/tests/references/585130f356b0729f.js rename to ecmascript/codegen/tests/test262/585130f356b0729f.js diff --git a/ecmascript/codegen/tests/references/5856de37689f8db9.js b/ecmascript/codegen/tests/test262/5856de37689f8db9.js similarity index 100% rename from ecmascript/codegen/tests/references/5856de37689f8db9.js rename to ecmascript/codegen/tests/test262/5856de37689f8db9.js diff --git a/ecmascript/codegen/tests/references/585b857c11763bad.js b/ecmascript/codegen/tests/test262/585b857c11763bad.js similarity index 100% rename from ecmascript/codegen/tests/references/585b857c11763bad.js rename to ecmascript/codegen/tests/test262/585b857c11763bad.js diff --git a/ecmascript/codegen/tests/references/587400d1c019785a.js b/ecmascript/codegen/tests/test262/587400d1c019785a.js similarity index 100% rename from ecmascript/codegen/tests/references/587400d1c019785a.js rename to ecmascript/codegen/tests/test262/587400d1c019785a.js diff --git a/ecmascript/codegen/tests/references/589dc8ad3b9aa28f.js b/ecmascript/codegen/tests/test262/589dc8ad3b9aa28f.js similarity index 100% rename from ecmascript/codegen/tests/references/589dc8ad3b9aa28f.js rename to ecmascript/codegen/tests/test262/589dc8ad3b9aa28f.js diff --git a/ecmascript/codegen/tests/references/58a52091eaa8746c.js b/ecmascript/codegen/tests/test262/58a52091eaa8746c.js similarity index 100% rename from ecmascript/codegen/tests/references/58a52091eaa8746c.js rename to ecmascript/codegen/tests/test262/58a52091eaa8746c.js diff --git a/ecmascript/codegen/tests/references/58cb05d17f7ec010.js b/ecmascript/codegen/tests/test262/58cb05d17f7ec010.js similarity index 100% rename from ecmascript/codegen/tests/references/58cb05d17f7ec010.js rename to ecmascript/codegen/tests/test262/58cb05d17f7ec010.js diff --git a/ecmascript/codegen/tests/references/58cf2c5c0cecdf0e.js b/ecmascript/codegen/tests/test262/58cf2c5c0cecdf0e.js similarity index 100% rename from ecmascript/codegen/tests/references/58cf2c5c0cecdf0e.js rename to ecmascript/codegen/tests/test262/58cf2c5c0cecdf0e.js diff --git a/ecmascript/codegen/tests/references/58d72762ccb4d31f.js b/ecmascript/codegen/tests/test262/58d72762ccb4d31f.js similarity index 100% rename from ecmascript/codegen/tests/references/58d72762ccb4d31f.js rename to ecmascript/codegen/tests/test262/58d72762ccb4d31f.js diff --git a/ecmascript/codegen/tests/references/58ed6ffb30191684.js b/ecmascript/codegen/tests/test262/58ed6ffb30191684.js similarity index 100% rename from ecmascript/codegen/tests/references/58ed6ffb30191684.js rename to ecmascript/codegen/tests/test262/58ed6ffb30191684.js diff --git a/ecmascript/codegen/tests/references/596746323492fbfd.js b/ecmascript/codegen/tests/test262/596746323492fbfd.js similarity index 100% rename from ecmascript/codegen/tests/references/596746323492fbfd.js rename to ecmascript/codegen/tests/test262/596746323492fbfd.js diff --git a/ecmascript/codegen/tests/references/597108fd45a6e79b.js b/ecmascript/codegen/tests/test262/597108fd45a6e79b.js similarity index 100% rename from ecmascript/codegen/tests/references/597108fd45a6e79b.js rename to ecmascript/codegen/tests/test262/597108fd45a6e79b.js diff --git a/ecmascript/codegen/tests/references/597b9759467727fc.js b/ecmascript/codegen/tests/test262/597b9759467727fc.js similarity index 100% rename from ecmascript/codegen/tests/references/597b9759467727fc.js rename to ecmascript/codegen/tests/test262/597b9759467727fc.js diff --git a/ecmascript/codegen/tests/references/5984eac0c5c6d947.js b/ecmascript/codegen/tests/test262/5984eac0c5c6d947.js similarity index 100% rename from ecmascript/codegen/tests/references/5984eac0c5c6d947.js rename to ecmascript/codegen/tests/test262/5984eac0c5c6d947.js diff --git a/ecmascript/codegen/tests/references/598a5cedba92154d.js b/ecmascript/codegen/tests/test262/598a5cedba92154d.js similarity index 100% rename from ecmascript/codegen/tests/references/598a5cedba92154d.js rename to ecmascript/codegen/tests/test262/598a5cedba92154d.js diff --git a/ecmascript/codegen/tests/references/599dff255c5ec792.js b/ecmascript/codegen/tests/test262/599dff255c5ec792.js similarity index 100% rename from ecmascript/codegen/tests/references/599dff255c5ec792.js rename to ecmascript/codegen/tests/test262/599dff255c5ec792.js diff --git a/ecmascript/codegen/tests/references/59ae0289778b80cd.js b/ecmascript/codegen/tests/test262/59ae0289778b80cd.js similarity index 100% rename from ecmascript/codegen/tests/references/59ae0289778b80cd.js rename to ecmascript/codegen/tests/test262/59ae0289778b80cd.js diff --git a/ecmascript/codegen/tests/references/5a06dab3e9fd0f65.js b/ecmascript/codegen/tests/test262/5a06dab3e9fd0f65.js similarity index 100% rename from ecmascript/codegen/tests/references/5a06dab3e9fd0f65.js rename to ecmascript/codegen/tests/test262/5a06dab3e9fd0f65.js diff --git a/ecmascript/codegen/tests/references/5a079debdfff12da.js b/ecmascript/codegen/tests/test262/5a079debdfff12da.js similarity index 100% rename from ecmascript/codegen/tests/references/5a079debdfff12da.js rename to ecmascript/codegen/tests/test262/5a079debdfff12da.js diff --git a/ecmascript/codegen/tests/references/5a0dcc9e43fed2c2.js b/ecmascript/codegen/tests/test262/5a0dcc9e43fed2c2.js similarity index 100% rename from ecmascript/codegen/tests/references/5a0dcc9e43fed2c2.js rename to ecmascript/codegen/tests/test262/5a0dcc9e43fed2c2.js diff --git a/ecmascript/codegen/tests/references/5a2a8e992fa4fe37.js b/ecmascript/codegen/tests/test262/5a2a8e992fa4fe37.js similarity index 100% rename from ecmascript/codegen/tests/references/5a2a8e992fa4fe37.js rename to ecmascript/codegen/tests/test262/5a2a8e992fa4fe37.js diff --git a/ecmascript/codegen/tests/references/5a51417e1ceb294f.js b/ecmascript/codegen/tests/test262/5a51417e1ceb294f.js similarity index 100% rename from ecmascript/codegen/tests/references/5a51417e1ceb294f.js rename to ecmascript/codegen/tests/test262/5a51417e1ceb294f.js diff --git a/ecmascript/codegen/tests/references/5a54ee2c0b326b18.js b/ecmascript/codegen/tests/test262/5a54ee2c0b326b18.js similarity index 100% rename from ecmascript/codegen/tests/references/5a54ee2c0b326b18.js rename to ecmascript/codegen/tests/test262/5a54ee2c0b326b18.js diff --git a/ecmascript/codegen/tests/references/5a7812b78a03b937.js b/ecmascript/codegen/tests/test262/5a7812b78a03b937.js similarity index 100% rename from ecmascript/codegen/tests/references/5a7812b78a03b937.js rename to ecmascript/codegen/tests/test262/5a7812b78a03b937.js diff --git a/ecmascript/codegen/tests/references/5aca2791ab698851.js b/ecmascript/codegen/tests/test262/5aca2791ab698851.js similarity index 100% rename from ecmascript/codegen/tests/references/5aca2791ab698851.js rename to ecmascript/codegen/tests/test262/5aca2791ab698851.js diff --git a/ecmascript/codegen/tests/references/5b146261dda66d63.js b/ecmascript/codegen/tests/test262/5b146261dda66d63.js similarity index 100% rename from ecmascript/codegen/tests/references/5b146261dda66d63.js rename to ecmascript/codegen/tests/test262/5b146261dda66d63.js diff --git a/ecmascript/codegen/tests/references/5b39aca97d9006f4.js b/ecmascript/codegen/tests/test262/5b39aca97d9006f4.js similarity index 100% rename from ecmascript/codegen/tests/references/5b39aca97d9006f4.js rename to ecmascript/codegen/tests/test262/5b39aca97d9006f4.js diff --git a/ecmascript/codegen/tests/references/5b4cef6792d9462f.js b/ecmascript/codegen/tests/test262/5b4cef6792d9462f.js similarity index 100% rename from ecmascript/codegen/tests/references/5b4cef6792d9462f.js rename to ecmascript/codegen/tests/test262/5b4cef6792d9462f.js diff --git a/ecmascript/codegen/tests/references/5b683275df4548d1.js b/ecmascript/codegen/tests/test262/5b683275df4548d1.js similarity index 100% rename from ecmascript/codegen/tests/references/5b683275df4548d1.js rename to ecmascript/codegen/tests/test262/5b683275df4548d1.js diff --git a/ecmascript/codegen/tests/references/5b8d2b991d2c1f5b.js b/ecmascript/codegen/tests/test262/5b8d2b991d2c1f5b.js similarity index 100% rename from ecmascript/codegen/tests/references/5b8d2b991d2c1f5b.js rename to ecmascript/codegen/tests/test262/5b8d2b991d2c1f5b.js diff --git a/ecmascript/codegen/tests/references/5b8fad162f489b3b.js b/ecmascript/codegen/tests/test262/5b8fad162f489b3b.js similarity index 100% rename from ecmascript/codegen/tests/references/5b8fad162f489b3b.js rename to ecmascript/codegen/tests/test262/5b8fad162f489b3b.js diff --git a/ecmascript/codegen/tests/references/5b9f113c3bdd0c49.js b/ecmascript/codegen/tests/test262/5b9f113c3bdd0c49.js similarity index 100% rename from ecmascript/codegen/tests/references/5b9f113c3bdd0c49.js rename to ecmascript/codegen/tests/test262/5b9f113c3bdd0c49.js diff --git a/ecmascript/codegen/tests/references/5bae374be95382c6.js b/ecmascript/codegen/tests/test262/5bae374be95382c6.js similarity index 100% rename from ecmascript/codegen/tests/references/5bae374be95382c6.js rename to ecmascript/codegen/tests/test262/5bae374be95382c6.js diff --git a/ecmascript/codegen/tests/references/5bb4c1e68b0925d1.js b/ecmascript/codegen/tests/test262/5bb4c1e68b0925d1.js similarity index 100% rename from ecmascript/codegen/tests/references/5bb4c1e68b0925d1.js rename to ecmascript/codegen/tests/test262/5bb4c1e68b0925d1.js diff --git a/ecmascript/codegen/tests/references/5beffd72ddb47f13.js b/ecmascript/codegen/tests/test262/5beffd72ddb47f13.js similarity index 100% rename from ecmascript/codegen/tests/references/5beffd72ddb47f13.js rename to ecmascript/codegen/tests/test262/5beffd72ddb47f13.js diff --git a/ecmascript/codegen/tests/references/5c3d125ce5f032aa.js b/ecmascript/codegen/tests/test262/5c3d125ce5f032aa.js similarity index 100% rename from ecmascript/codegen/tests/references/5c3d125ce5f032aa.js rename to ecmascript/codegen/tests/test262/5c3d125ce5f032aa.js diff --git a/ecmascript/codegen/tests/references/5c57eec29a019ebb.js b/ecmascript/codegen/tests/test262/5c57eec29a019ebb.js similarity index 100% rename from ecmascript/codegen/tests/references/5c57eec29a019ebb.js rename to ecmascript/codegen/tests/test262/5c57eec29a019ebb.js diff --git a/ecmascript/codegen/tests/references/5c587adcfe50a8c6.js b/ecmascript/codegen/tests/test262/5c587adcfe50a8c6.js similarity index 100% rename from ecmascript/codegen/tests/references/5c587adcfe50a8c6.js rename to ecmascript/codegen/tests/test262/5c587adcfe50a8c6.js diff --git a/ecmascript/codegen/tests/references/5c5ef7a4bdc3e081.js b/ecmascript/codegen/tests/test262/5c5ef7a4bdc3e081.js similarity index 100% rename from ecmascript/codegen/tests/references/5c5ef7a4bdc3e081.js rename to ecmascript/codegen/tests/test262/5c5ef7a4bdc3e081.js diff --git a/ecmascript/codegen/tests/references/5cc7ceeebdccb6d4.js b/ecmascript/codegen/tests/test262/5cc7ceeebdccb6d4.js similarity index 100% rename from ecmascript/codegen/tests/references/5cc7ceeebdccb6d4.js rename to ecmascript/codegen/tests/test262/5cc7ceeebdccb6d4.js diff --git a/ecmascript/codegen/tests/references/5cf0dc4259e98c15.js b/ecmascript/codegen/tests/test262/5cf0dc4259e98c15.js similarity index 100% rename from ecmascript/codegen/tests/references/5cf0dc4259e98c15.js rename to ecmascript/codegen/tests/test262/5cf0dc4259e98c15.js diff --git a/ecmascript/codegen/tests/references/5d0cbb3fb27c21b7.js b/ecmascript/codegen/tests/test262/5d0cbb3fb27c21b7.js similarity index 100% rename from ecmascript/codegen/tests/references/5d0cbb3fb27c21b7.js rename to ecmascript/codegen/tests/test262/5d0cbb3fb27c21b7.js diff --git a/ecmascript/codegen/tests/references/5d1a7c61bf135457.js b/ecmascript/codegen/tests/test262/5d1a7c61bf135457.js similarity index 100% rename from ecmascript/codegen/tests/references/5d1a7c61bf135457.js rename to ecmascript/codegen/tests/test262/5d1a7c61bf135457.js diff --git a/ecmascript/codegen/tests/references/5d3e89c83953788e.js b/ecmascript/codegen/tests/test262/5d3e89c83953788e.js similarity index 100% rename from ecmascript/codegen/tests/references/5d3e89c83953788e.js rename to ecmascript/codegen/tests/test262/5d3e89c83953788e.js diff --git a/ecmascript/codegen/tests/references/5d5b9de6d9b95f3e.js b/ecmascript/codegen/tests/test262/5d5b9de6d9b95f3e.js similarity index 100% rename from ecmascript/codegen/tests/references/5d5b9de6d9b95f3e.js rename to ecmascript/codegen/tests/test262/5d5b9de6d9b95f3e.js diff --git a/ecmascript/codegen/tests/references/5d687a45c607ea42.js b/ecmascript/codegen/tests/test262/5d687a45c607ea42.js similarity index 100% rename from ecmascript/codegen/tests/references/5d687a45c607ea42.js rename to ecmascript/codegen/tests/test262/5d687a45c607ea42.js diff --git a/ecmascript/codegen/tests/references/5d8ab2c35c7eb883.js b/ecmascript/codegen/tests/test262/5d8ab2c35c7eb883.js similarity index 100% rename from ecmascript/codegen/tests/references/5d8ab2c35c7eb883.js rename to ecmascript/codegen/tests/test262/5d8ab2c35c7eb883.js diff --git a/ecmascript/codegen/tests/references/5d9d30af901ba176.js b/ecmascript/codegen/tests/test262/5d9d30af901ba176.js similarity index 100% rename from ecmascript/codegen/tests/references/5d9d30af901ba176.js rename to ecmascript/codegen/tests/test262/5d9d30af901ba176.js diff --git a/ecmascript/codegen/tests/references/5dd65055dace49bc.js b/ecmascript/codegen/tests/test262/5dd65055dace49bc.js similarity index 100% rename from ecmascript/codegen/tests/references/5dd65055dace49bc.js rename to ecmascript/codegen/tests/test262/5dd65055dace49bc.js diff --git a/ecmascript/codegen/tests/references/5e0cab2e2e36274c.js b/ecmascript/codegen/tests/test262/5e0cab2e2e36274c.js similarity index 100% rename from ecmascript/codegen/tests/references/5e0cab2e2e36274c.js rename to ecmascript/codegen/tests/test262/5e0cab2e2e36274c.js diff --git a/ecmascript/codegen/tests/references/5e1cbe1737b1bbc6.js b/ecmascript/codegen/tests/test262/5e1cbe1737b1bbc6.js similarity index 100% rename from ecmascript/codegen/tests/references/5e1cbe1737b1bbc6.js rename to ecmascript/codegen/tests/test262/5e1cbe1737b1bbc6.js diff --git a/ecmascript/codegen/tests/references/5e6d5c3edf519b99.js b/ecmascript/codegen/tests/test262/5e6d5c3edf519b99.js similarity index 100% rename from ecmascript/codegen/tests/references/5e6d5c3edf519b99.js rename to ecmascript/codegen/tests/test262/5e6d5c3edf519b99.js diff --git a/ecmascript/codegen/tests/references/5e7ca8611aaa4d53.js b/ecmascript/codegen/tests/test262/5e7ca8611aaa4d53.js similarity index 100% rename from ecmascript/codegen/tests/references/5e7ca8611aaa4d53.js rename to ecmascript/codegen/tests/test262/5e7ca8611aaa4d53.js diff --git a/ecmascript/codegen/tests/references/5ec03710bd21b933.js b/ecmascript/codegen/tests/test262/5ec03710bd21b933.js similarity index 100% rename from ecmascript/codegen/tests/references/5ec03710bd21b933.js rename to ecmascript/codegen/tests/test262/5ec03710bd21b933.js diff --git a/ecmascript/codegen/tests/references/5ecbbdc097bee212.js b/ecmascript/codegen/tests/test262/5ecbbdc097bee212.js similarity index 100% rename from ecmascript/codegen/tests/references/5ecbbdc097bee212.js rename to ecmascript/codegen/tests/test262/5ecbbdc097bee212.js diff --git a/ecmascript/codegen/tests/references/5ecf2f4d83e6260d.module.js b/ecmascript/codegen/tests/test262/5ecf2f4d83e6260d.module.js similarity index 100% rename from ecmascript/codegen/tests/references/5ecf2f4d83e6260d.module.js rename to ecmascript/codegen/tests/test262/5ecf2f4d83e6260d.module.js diff --git a/ecmascript/codegen/tests/references/5ed18bdbe48cc4c3.js b/ecmascript/codegen/tests/test262/5ed18bdbe48cc4c3.js similarity index 100% rename from ecmascript/codegen/tests/references/5ed18bdbe48cc4c3.js rename to ecmascript/codegen/tests/test262/5ed18bdbe48cc4c3.js diff --git a/ecmascript/codegen/tests/references/5f1e0eff7ac775ee.js b/ecmascript/codegen/tests/test262/5f1e0eff7ac775ee.js similarity index 100% rename from ecmascript/codegen/tests/references/5f1e0eff7ac775ee.js rename to ecmascript/codegen/tests/test262/5f1e0eff7ac775ee.js diff --git a/ecmascript/codegen/tests/references/5f2834246274eccc.js b/ecmascript/codegen/tests/test262/5f2834246274eccc.js similarity index 100% rename from ecmascript/codegen/tests/references/5f2834246274eccc.js rename to ecmascript/codegen/tests/test262/5f2834246274eccc.js diff --git a/ecmascript/codegen/tests/references/5f5e1d12ad68e832.js b/ecmascript/codegen/tests/test262/5f5e1d12ad68e832.js similarity index 100% rename from ecmascript/codegen/tests/references/5f5e1d12ad68e832.js rename to ecmascript/codegen/tests/test262/5f5e1d12ad68e832.js diff --git a/ecmascript/codegen/tests/references/5f730961df66e8e8.js b/ecmascript/codegen/tests/test262/5f730961df66e8e8.js similarity index 100% rename from ecmascript/codegen/tests/references/5f730961df66e8e8.js rename to ecmascript/codegen/tests/test262/5f730961df66e8e8.js diff --git a/ecmascript/codegen/tests/references/5f85b0b6828b081b.js b/ecmascript/codegen/tests/test262/5f85b0b6828b081b.js similarity index 100% rename from ecmascript/codegen/tests/references/5f85b0b6828b081b.js rename to ecmascript/codegen/tests/test262/5f85b0b6828b081b.js diff --git a/ecmascript/codegen/tests/references/5f9eeac7b076f34b.js b/ecmascript/codegen/tests/test262/5f9eeac7b076f34b.js similarity index 100% rename from ecmascript/codegen/tests/references/5f9eeac7b076f34b.js rename to ecmascript/codegen/tests/test262/5f9eeac7b076f34b.js diff --git a/ecmascript/codegen/tests/references/5fa8c711247d70f5.js b/ecmascript/codegen/tests/test262/5fa8c711247d70f5.js similarity index 100% rename from ecmascript/codegen/tests/references/5fa8c711247d70f5.js rename to ecmascript/codegen/tests/test262/5fa8c711247d70f5.js diff --git a/ecmascript/codegen/tests/references/5fcc16142185c87c.js b/ecmascript/codegen/tests/test262/5fcc16142185c87c.js similarity index 100% rename from ecmascript/codegen/tests/references/5fcc16142185c87c.js rename to ecmascript/codegen/tests/test262/5fcc16142185c87c.js diff --git a/ecmascript/codegen/tests/references/600327b79f60606c.js b/ecmascript/codegen/tests/test262/600327b79f60606c.js similarity index 100% rename from ecmascript/codegen/tests/references/600327b79f60606c.js rename to ecmascript/codegen/tests/test262/600327b79f60606c.js diff --git a/ecmascript/codegen/tests/references/600fd3c4d9f2ca42.js b/ecmascript/codegen/tests/test262/600fd3c4d9f2ca42.js similarity index 100% rename from ecmascript/codegen/tests/references/600fd3c4d9f2ca42.js rename to ecmascript/codegen/tests/test262/600fd3c4d9f2ca42.js diff --git a/ecmascript/codegen/tests/references/60a1991953372b97.js b/ecmascript/codegen/tests/test262/60a1991953372b97.js similarity index 100% rename from ecmascript/codegen/tests/references/60a1991953372b97.js rename to ecmascript/codegen/tests/test262/60a1991953372b97.js diff --git a/ecmascript/codegen/tests/references/60bb345d725fe68b.js b/ecmascript/codegen/tests/test262/60bb345d725fe68b.js similarity index 100% rename from ecmascript/codegen/tests/references/60bb345d725fe68b.js rename to ecmascript/codegen/tests/test262/60bb345d725fe68b.js diff --git a/ecmascript/codegen/tests/references/60c092cb83b525f2.js b/ecmascript/codegen/tests/test262/60c092cb83b525f2.js similarity index 100% rename from ecmascript/codegen/tests/references/60c092cb83b525f2.js rename to ecmascript/codegen/tests/test262/60c092cb83b525f2.js diff --git a/ecmascript/codegen/tests/references/60dcd48a3f6af44f.js b/ecmascript/codegen/tests/test262/60dcd48a3f6af44f.js similarity index 100% rename from ecmascript/codegen/tests/references/60dcd48a3f6af44f.js rename to ecmascript/codegen/tests/test262/60dcd48a3f6af44f.js diff --git a/ecmascript/codegen/tests/references/610b397691988417.module.js b/ecmascript/codegen/tests/test262/610b397691988417.module.js similarity index 100% rename from ecmascript/codegen/tests/references/610b397691988417.module.js rename to ecmascript/codegen/tests/test262/610b397691988417.module.js diff --git a/ecmascript/codegen/tests/references/612fed84b89e42a8.js b/ecmascript/codegen/tests/test262/612fed84b89e42a8.js similarity index 100% rename from ecmascript/codegen/tests/references/612fed84b89e42a8.js rename to ecmascript/codegen/tests/test262/612fed84b89e42a8.js diff --git a/ecmascript/codegen/tests/references/6196b3f969486455.js b/ecmascript/codegen/tests/test262/6196b3f969486455.js similarity index 100% rename from ecmascript/codegen/tests/references/6196b3f969486455.js rename to ecmascript/codegen/tests/test262/6196b3f969486455.js diff --git a/ecmascript/codegen/tests/references/61ceb5809404ee85.js b/ecmascript/codegen/tests/test262/61ceb5809404ee85.js similarity index 100% rename from ecmascript/codegen/tests/references/61ceb5809404ee85.js rename to ecmascript/codegen/tests/test262/61ceb5809404ee85.js diff --git a/ecmascript/codegen/tests/references/61d8a7e497b6db72.js b/ecmascript/codegen/tests/test262/61d8a7e497b6db72.js similarity index 100% rename from ecmascript/codegen/tests/references/61d8a7e497b6db72.js rename to ecmascript/codegen/tests/test262/61d8a7e497b6db72.js diff --git a/ecmascript/codegen/tests/references/61f55d9f22cc8426.js b/ecmascript/codegen/tests/test262/61f55d9f22cc8426.js similarity index 100% rename from ecmascript/codegen/tests/references/61f55d9f22cc8426.js rename to ecmascript/codegen/tests/test262/61f55d9f22cc8426.js diff --git a/ecmascript/codegen/tests/references/623cec03370f088a.js b/ecmascript/codegen/tests/test262/623cec03370f088a.js similarity index 100% rename from ecmascript/codegen/tests/references/623cec03370f088a.js rename to ecmascript/codegen/tests/test262/623cec03370f088a.js diff --git a/ecmascript/codegen/tests/references/624bc7f99260037f.js b/ecmascript/codegen/tests/test262/624bc7f99260037f.js similarity index 100% rename from ecmascript/codegen/tests/references/624bc7f99260037f.js rename to ecmascript/codegen/tests/test262/624bc7f99260037f.js diff --git a/ecmascript/codegen/tests/references/62541961bcef8d79.js b/ecmascript/codegen/tests/test262/62541961bcef8d79.js similarity index 100% rename from ecmascript/codegen/tests/references/62541961bcef8d79.js rename to ecmascript/codegen/tests/test262/62541961bcef8d79.js diff --git a/ecmascript/codegen/tests/references/627fede559e0bcac.js b/ecmascript/codegen/tests/test262/627fede559e0bcac.js similarity index 100% rename from ecmascript/codegen/tests/references/627fede559e0bcac.js rename to ecmascript/codegen/tests/test262/627fede559e0bcac.js diff --git a/ecmascript/codegen/tests/references/62ab44289ebbba49.js b/ecmascript/codegen/tests/test262/62ab44289ebbba49.js similarity index 100% rename from ecmascript/codegen/tests/references/62ab44289ebbba49.js rename to ecmascript/codegen/tests/test262/62ab44289ebbba49.js diff --git a/ecmascript/codegen/tests/references/62c217b2844680ab.js b/ecmascript/codegen/tests/test262/62c217b2844680ab.js similarity index 100% rename from ecmascript/codegen/tests/references/62c217b2844680ab.js rename to ecmascript/codegen/tests/test262/62c217b2844680ab.js diff --git a/ecmascript/codegen/tests/references/62d0da6771d5317d.js b/ecmascript/codegen/tests/test262/62d0da6771d5317d.js similarity index 100% rename from ecmascript/codegen/tests/references/62d0da6771d5317d.js rename to ecmascript/codegen/tests/test262/62d0da6771d5317d.js diff --git a/ecmascript/codegen/tests/references/62d7c1ee4e1626c4.js b/ecmascript/codegen/tests/test262/62d7c1ee4e1626c4.js similarity index 100% rename from ecmascript/codegen/tests/references/62d7c1ee4e1626c4.js rename to ecmascript/codegen/tests/test262/62d7c1ee4e1626c4.js diff --git a/ecmascript/codegen/tests/references/63208a19ffb4baeb.js b/ecmascript/codegen/tests/test262/63208a19ffb4baeb.js similarity index 100% rename from ecmascript/codegen/tests/references/63208a19ffb4baeb.js rename to ecmascript/codegen/tests/test262/63208a19ffb4baeb.js diff --git a/ecmascript/codegen/tests/references/633fac25082a90af.js b/ecmascript/codegen/tests/test262/633fac25082a90af.js similarity index 100% rename from ecmascript/codegen/tests/references/633fac25082a90af.js rename to ecmascript/codegen/tests/test262/633fac25082a90af.js diff --git a/ecmascript/codegen/tests/references/63586de6fec2e3cf.js b/ecmascript/codegen/tests/test262/63586de6fec2e3cf.js similarity index 100% rename from ecmascript/codegen/tests/references/63586de6fec2e3cf.js rename to ecmascript/codegen/tests/test262/63586de6fec2e3cf.js diff --git a/ecmascript/codegen/tests/references/639b9076cc56e57c.js b/ecmascript/codegen/tests/test262/639b9076cc56e57c.js similarity index 100% rename from ecmascript/codegen/tests/references/639b9076cc56e57c.js rename to ecmascript/codegen/tests/test262/639b9076cc56e57c.js diff --git a/ecmascript/codegen/tests/references/63c92209eb77315a.js b/ecmascript/codegen/tests/test262/63c92209eb77315a.js similarity index 100% rename from ecmascript/codegen/tests/references/63c92209eb77315a.js rename to ecmascript/codegen/tests/test262/63c92209eb77315a.js diff --git a/ecmascript/codegen/tests/references/63ee9cd383dc68a3.js b/ecmascript/codegen/tests/test262/63ee9cd383dc68a3.js similarity index 100% rename from ecmascript/codegen/tests/references/63ee9cd383dc68a3.js rename to ecmascript/codegen/tests/test262/63ee9cd383dc68a3.js diff --git a/ecmascript/codegen/tests/references/64117d5c682ec505.js b/ecmascript/codegen/tests/test262/64117d5c682ec505.js similarity index 100% rename from ecmascript/codegen/tests/references/64117d5c682ec505.js rename to ecmascript/codegen/tests/test262/64117d5c682ec505.js diff --git a/ecmascript/codegen/tests/references/641ac9060a206183.js b/ecmascript/codegen/tests/test262/641ac9060a206183.js similarity index 100% rename from ecmascript/codegen/tests/references/641ac9060a206183.js rename to ecmascript/codegen/tests/test262/641ac9060a206183.js diff --git a/ecmascript/codegen/tests/references/645e8cce491528cd.js b/ecmascript/codegen/tests/test262/645e8cce491528cd.js similarity index 100% rename from ecmascript/codegen/tests/references/645e8cce491528cd.js rename to ecmascript/codegen/tests/test262/645e8cce491528cd.js diff --git a/ecmascript/codegen/tests/references/646c2391c11102b5.js b/ecmascript/codegen/tests/test262/646c2391c11102b5.js similarity index 100% rename from ecmascript/codegen/tests/references/646c2391c11102b5.js rename to ecmascript/codegen/tests/test262/646c2391c11102b5.js diff --git a/ecmascript/codegen/tests/references/647e21f8f157c338.js b/ecmascript/codegen/tests/test262/647e21f8f157c338.js similarity index 100% rename from ecmascript/codegen/tests/references/647e21f8f157c338.js rename to ecmascript/codegen/tests/test262/647e21f8f157c338.js diff --git a/ecmascript/codegen/tests/references/6498dcc494193cb4.js b/ecmascript/codegen/tests/test262/6498dcc494193cb4.js similarity index 100% rename from ecmascript/codegen/tests/references/6498dcc494193cb4.js rename to ecmascript/codegen/tests/test262/6498dcc494193cb4.js diff --git a/ecmascript/codegen/tests/references/64cc57f82a54b7fb.js b/ecmascript/codegen/tests/test262/64cc57f82a54b7fb.js similarity index 100% rename from ecmascript/codegen/tests/references/64cc57f82a54b7fb.js rename to ecmascript/codegen/tests/test262/64cc57f82a54b7fb.js diff --git a/ecmascript/codegen/tests/references/64ff3b3ee7f636c5.js b/ecmascript/codegen/tests/test262/64ff3b3ee7f636c5.js similarity index 100% rename from ecmascript/codegen/tests/references/64ff3b3ee7f636c5.js rename to ecmascript/codegen/tests/test262/64ff3b3ee7f636c5.js diff --git a/ecmascript/codegen/tests/references/65047600233c760c.js b/ecmascript/codegen/tests/test262/65047600233c760c.js similarity index 100% rename from ecmascript/codegen/tests/references/65047600233c760c.js rename to ecmascript/codegen/tests/test262/65047600233c760c.js diff --git a/ecmascript/codegen/tests/references/65228d6a31a06406.js b/ecmascript/codegen/tests/test262/65228d6a31a06406.js similarity index 100% rename from ecmascript/codegen/tests/references/65228d6a31a06406.js rename to ecmascript/codegen/tests/test262/65228d6a31a06406.js diff --git a/ecmascript/codegen/tests/references/65401ed8dc152370.js b/ecmascript/codegen/tests/test262/65401ed8dc152370.js similarity index 100% rename from ecmascript/codegen/tests/references/65401ed8dc152370.js rename to ecmascript/codegen/tests/test262/65401ed8dc152370.js diff --git a/ecmascript/codegen/tests/references/655eab0815e0567e.js b/ecmascript/codegen/tests/test262/655eab0815e0567e.js similarity index 100% rename from ecmascript/codegen/tests/references/655eab0815e0567e.js rename to ecmascript/codegen/tests/test262/655eab0815e0567e.js diff --git a/ecmascript/codegen/tests/references/65fcb1f93f1684ef.js b/ecmascript/codegen/tests/test262/65fcb1f93f1684ef.js similarity index 100% rename from ecmascript/codegen/tests/references/65fcb1f93f1684ef.js rename to ecmascript/codegen/tests/test262/65fcb1f93f1684ef.js diff --git a/ecmascript/codegen/tests/references/660f5a175a2d46ac.js b/ecmascript/codegen/tests/test262/660f5a175a2d46ac.js similarity index 100% rename from ecmascript/codegen/tests/references/660f5a175a2d46ac.js rename to ecmascript/codegen/tests/test262/660f5a175a2d46ac.js diff --git a/ecmascript/codegen/tests/references/664b0da1dd015106.js b/ecmascript/codegen/tests/test262/664b0da1dd015106.js similarity index 100% rename from ecmascript/codegen/tests/references/664b0da1dd015106.js rename to ecmascript/codegen/tests/test262/664b0da1dd015106.js diff --git a/ecmascript/codegen/tests/references/665f4940c7cf30c9.js b/ecmascript/codegen/tests/test262/665f4940c7cf30c9.js similarity index 100% rename from ecmascript/codegen/tests/references/665f4940c7cf30c9.js rename to ecmascript/codegen/tests/test262/665f4940c7cf30c9.js diff --git a/ecmascript/codegen/tests/references/668ab87597363d53.js b/ecmascript/codegen/tests/test262/668ab87597363d53.js similarity index 100% rename from ecmascript/codegen/tests/references/668ab87597363d53.js rename to ecmascript/codegen/tests/test262/668ab87597363d53.js diff --git a/ecmascript/codegen/tests/references/66aabbb5b00fb1ae.js b/ecmascript/codegen/tests/test262/66aabbb5b00fb1ae.js similarity index 100% rename from ecmascript/codegen/tests/references/66aabbb5b00fb1ae.js rename to ecmascript/codegen/tests/test262/66aabbb5b00fb1ae.js diff --git a/ecmascript/codegen/tests/references/66bd9903ea05f8cc.js b/ecmascript/codegen/tests/test262/66bd9903ea05f8cc.js similarity index 100% rename from ecmascript/codegen/tests/references/66bd9903ea05f8cc.js rename to ecmascript/codegen/tests/test262/66bd9903ea05f8cc.js diff --git a/ecmascript/codegen/tests/references/66d2dbcb692491ec.module.js b/ecmascript/codegen/tests/test262/66d2dbcb692491ec.module.js similarity index 100% rename from ecmascript/codegen/tests/references/66d2dbcb692491ec.module.js rename to ecmascript/codegen/tests/test262/66d2dbcb692491ec.module.js diff --git a/ecmascript/codegen/tests/references/66e383bfd18e66ab.js b/ecmascript/codegen/tests/test262/66e383bfd18e66ab.js similarity index 100% rename from ecmascript/codegen/tests/references/66e383bfd18e66ab.js rename to ecmascript/codegen/tests/test262/66e383bfd18e66ab.js diff --git a/ecmascript/codegen/tests/references/66ea15f7de78add7.module.js b/ecmascript/codegen/tests/test262/66ea15f7de78add7.module.js similarity index 100% rename from ecmascript/codegen/tests/references/66ea15f7de78add7.module.js rename to ecmascript/codegen/tests/test262/66ea15f7de78add7.module.js diff --git a/ecmascript/codegen/tests/references/671c914df5da04df.js b/ecmascript/codegen/tests/test262/671c914df5da04df.js similarity index 100% rename from ecmascript/codegen/tests/references/671c914df5da04df.js rename to ecmascript/codegen/tests/test262/671c914df5da04df.js diff --git a/ecmascript/codegen/tests/references/6733f491913ccff2.js b/ecmascript/codegen/tests/test262/6733f491913ccff2.js similarity index 100% rename from ecmascript/codegen/tests/references/6733f491913ccff2.js rename to ecmascript/codegen/tests/test262/6733f491913ccff2.js diff --git a/ecmascript/codegen/tests/references/673e6f2765ef3cb3.js b/ecmascript/codegen/tests/test262/673e6f2765ef3cb3.js similarity index 100% rename from ecmascript/codegen/tests/references/673e6f2765ef3cb3.js rename to ecmascript/codegen/tests/test262/673e6f2765ef3cb3.js diff --git a/ecmascript/codegen/tests/references/67711cbb84083749.js b/ecmascript/codegen/tests/test262/67711cbb84083749.js similarity index 100% rename from ecmascript/codegen/tests/references/67711cbb84083749.js rename to ecmascript/codegen/tests/test262/67711cbb84083749.js diff --git a/ecmascript/codegen/tests/references/6776e2c88e03f1a2.js b/ecmascript/codegen/tests/test262/6776e2c88e03f1a2.js similarity index 100% rename from ecmascript/codegen/tests/references/6776e2c88e03f1a2.js rename to ecmascript/codegen/tests/test262/6776e2c88e03f1a2.js diff --git a/ecmascript/codegen/tests/references/680880af107834e8.js b/ecmascript/codegen/tests/test262/680880af107834e8.js similarity index 100% rename from ecmascript/codegen/tests/references/680880af107834e8.js rename to ecmascript/codegen/tests/test262/680880af107834e8.js diff --git a/ecmascript/codegen/tests/references/68125aef6f5cc46f.js b/ecmascript/codegen/tests/test262/68125aef6f5cc46f.js similarity index 100% rename from ecmascript/codegen/tests/references/68125aef6f5cc46f.js rename to ecmascript/codegen/tests/test262/68125aef6f5cc46f.js diff --git a/ecmascript/codegen/tests/test262/6815ab22de966de8.js b/ecmascript/codegen/tests/test262/6815ab22de966de8.js new file mode 100644 index 00000000000..e8172e5c300 --- /dev/null +++ b/ecmascript/codegen/tests/test262/6815ab22de966de8.js @@ -0,0 +1 @@ +for(let();;); diff --git a/ecmascript/codegen/tests/references/681f352b7356594c.js b/ecmascript/codegen/tests/test262/681f352b7356594c.js similarity index 100% rename from ecmascript/codegen/tests/references/681f352b7356594c.js rename to ecmascript/codegen/tests/test262/681f352b7356594c.js diff --git a/ecmascript/codegen/tests/references/6823058797ddd563.js b/ecmascript/codegen/tests/test262/6823058797ddd563.js similarity index 100% rename from ecmascript/codegen/tests/references/6823058797ddd563.js rename to ecmascript/codegen/tests/test262/6823058797ddd563.js diff --git a/ecmascript/codegen/tests/references/684237281767d41d.js b/ecmascript/codegen/tests/test262/684237281767d41d.js similarity index 100% rename from ecmascript/codegen/tests/references/684237281767d41d.js rename to ecmascript/codegen/tests/test262/684237281767d41d.js diff --git a/ecmascript/codegen/tests/references/6861bb23b186f65a.js b/ecmascript/codegen/tests/test262/6861bb23b186f65a.js similarity index 100% rename from ecmascript/codegen/tests/references/6861bb23b186f65a.js rename to ecmascript/codegen/tests/test262/6861bb23b186f65a.js diff --git a/ecmascript/codegen/tests/references/687b7b904904fcfd.js b/ecmascript/codegen/tests/test262/687b7b904904fcfd.js similarity index 100% rename from ecmascript/codegen/tests/references/687b7b904904fcfd.js rename to ecmascript/codegen/tests/test262/687b7b904904fcfd.js diff --git a/ecmascript/codegen/tests/references/687f678cde900411.js b/ecmascript/codegen/tests/test262/687f678cde900411.js similarity index 100% rename from ecmascript/codegen/tests/references/687f678cde900411.js rename to ecmascript/codegen/tests/test262/687f678cde900411.js diff --git a/ecmascript/codegen/tests/references/69063bc9496ea6e5.js b/ecmascript/codegen/tests/test262/69063bc9496ea6e5.js similarity index 100% rename from ecmascript/codegen/tests/references/69063bc9496ea6e5.js rename to ecmascript/codegen/tests/test262/69063bc9496ea6e5.js diff --git a/ecmascript/codegen/tests/references/691e1d9954f3e6e2.js b/ecmascript/codegen/tests/test262/691e1d9954f3e6e2.js similarity index 100% rename from ecmascript/codegen/tests/references/691e1d9954f3e6e2.js rename to ecmascript/codegen/tests/test262/691e1d9954f3e6e2.js diff --git a/ecmascript/codegen/tests/references/697b3d30c1d06918.js b/ecmascript/codegen/tests/test262/697b3d30c1d06918.js similarity index 100% rename from ecmascript/codegen/tests/references/697b3d30c1d06918.js rename to ecmascript/codegen/tests/test262/697b3d30c1d06918.js diff --git a/ecmascript/codegen/tests/references/698a8cfb0705c277.js b/ecmascript/codegen/tests/test262/698a8cfb0705c277.js similarity index 100% rename from ecmascript/codegen/tests/references/698a8cfb0705c277.js rename to ecmascript/codegen/tests/test262/698a8cfb0705c277.js diff --git a/ecmascript/codegen/tests/references/69bbdc7c34ed23cc.js b/ecmascript/codegen/tests/test262/69bbdc7c34ed23cc.js similarity index 100% rename from ecmascript/codegen/tests/references/69bbdc7c34ed23cc.js rename to ecmascript/codegen/tests/test262/69bbdc7c34ed23cc.js diff --git a/ecmascript/codegen/tests/references/69bdc785b6e244ff.js b/ecmascript/codegen/tests/test262/69bdc785b6e244ff.js similarity index 100% rename from ecmascript/codegen/tests/references/69bdc785b6e244ff.js rename to ecmascript/codegen/tests/test262/69bdc785b6e244ff.js diff --git a/ecmascript/codegen/tests/references/69cbe8ec2f64382d.js b/ecmascript/codegen/tests/test262/69cbe8ec2f64382d.js similarity index 100% rename from ecmascript/codegen/tests/references/69cbe8ec2f64382d.js rename to ecmascript/codegen/tests/test262/69cbe8ec2f64382d.js diff --git a/ecmascript/codegen/tests/references/6a218750a221c68b.module.js b/ecmascript/codegen/tests/test262/6a218750a221c68b.module.js similarity index 100% rename from ecmascript/codegen/tests/references/6a218750a221c68b.module.js rename to ecmascript/codegen/tests/test262/6a218750a221c68b.module.js diff --git a/ecmascript/codegen/tests/references/6a220df693ce521c.js b/ecmascript/codegen/tests/test262/6a220df693ce521c.js similarity index 100% rename from ecmascript/codegen/tests/references/6a220df693ce521c.js rename to ecmascript/codegen/tests/test262/6a220df693ce521c.js diff --git a/ecmascript/codegen/tests/references/6a240463b40550d2.js b/ecmascript/codegen/tests/test262/6a240463b40550d2.js similarity index 100% rename from ecmascript/codegen/tests/references/6a240463b40550d2.js rename to ecmascript/codegen/tests/test262/6a240463b40550d2.js diff --git a/ecmascript/codegen/tests/references/6a323491fe75918a.js b/ecmascript/codegen/tests/test262/6a323491fe75918a.js similarity index 100% rename from ecmascript/codegen/tests/references/6a323491fe75918a.js rename to ecmascript/codegen/tests/test262/6a323491fe75918a.js diff --git a/ecmascript/codegen/tests/references/6a735105a5e79722.js b/ecmascript/codegen/tests/test262/6a735105a5e79722.js similarity index 100% rename from ecmascript/codegen/tests/references/6a735105a5e79722.js rename to ecmascript/codegen/tests/test262/6a735105a5e79722.js diff --git a/ecmascript/codegen/tests/references/6a7ed6cb99ea0b81.js b/ecmascript/codegen/tests/test262/6a7ed6cb99ea0b81.js similarity index 100% rename from ecmascript/codegen/tests/references/6a7ed6cb99ea0b81.js rename to ecmascript/codegen/tests/test262/6a7ed6cb99ea0b81.js diff --git a/ecmascript/codegen/tests/references/6b0e8bbdc3dca1c5.js b/ecmascript/codegen/tests/test262/6b0e8bbdc3dca1c5.js similarity index 100% rename from ecmascript/codegen/tests/references/6b0e8bbdc3dca1c5.js rename to ecmascript/codegen/tests/test262/6b0e8bbdc3dca1c5.js diff --git a/ecmascript/codegen/tests/references/6b36b5ad4f3ad84d.js b/ecmascript/codegen/tests/test262/6b36b5ad4f3ad84d.js similarity index 100% rename from ecmascript/codegen/tests/references/6b36b5ad4f3ad84d.js rename to ecmascript/codegen/tests/test262/6b36b5ad4f3ad84d.js diff --git a/ecmascript/codegen/tests/references/6b63d36394b0ffb3.js b/ecmascript/codegen/tests/test262/6b63d36394b0ffb3.js similarity index 100% rename from ecmascript/codegen/tests/references/6b63d36394b0ffb3.js rename to ecmascript/codegen/tests/test262/6b63d36394b0ffb3.js diff --git a/ecmascript/codegen/tests/references/6b68aefbfbf0beb9.js b/ecmascript/codegen/tests/test262/6b68aefbfbf0beb9.js similarity index 100% rename from ecmascript/codegen/tests/references/6b68aefbfbf0beb9.js rename to ecmascript/codegen/tests/test262/6b68aefbfbf0beb9.js diff --git a/ecmascript/codegen/tests/references/6b76b8761a049c19.js b/ecmascript/codegen/tests/test262/6b76b8761a049c19.js similarity index 100% rename from ecmascript/codegen/tests/references/6b76b8761a049c19.js rename to ecmascript/codegen/tests/test262/6b76b8761a049c19.js diff --git a/ecmascript/codegen/tests/references/6b86b273ff34fce1.js b/ecmascript/codegen/tests/test262/6b86b273ff34fce1.js similarity index 100% rename from ecmascript/codegen/tests/references/6b86b273ff34fce1.js rename to ecmascript/codegen/tests/test262/6b86b273ff34fce1.js diff --git a/ecmascript/codegen/tests/references/6bb2a138b9eb0088.js b/ecmascript/codegen/tests/test262/6bb2a138b9eb0088.js similarity index 100% rename from ecmascript/codegen/tests/references/6bb2a138b9eb0088.js rename to ecmascript/codegen/tests/test262/6bb2a138b9eb0088.js diff --git a/ecmascript/codegen/tests/references/6c27d048b07ca7e0.js b/ecmascript/codegen/tests/test262/6c27d048b07ca7e0.js similarity index 100% rename from ecmascript/codegen/tests/references/6c27d048b07ca7e0.js rename to ecmascript/codegen/tests/test262/6c27d048b07ca7e0.js diff --git a/ecmascript/codegen/tests/references/6c42024bfadac21f.js b/ecmascript/codegen/tests/test262/6c42024bfadac21f.js similarity index 100% rename from ecmascript/codegen/tests/references/6c42024bfadac21f.js rename to ecmascript/codegen/tests/test262/6c42024bfadac21f.js diff --git a/ecmascript/codegen/tests/references/6c4fe38464c16309.js b/ecmascript/codegen/tests/test262/6c4fe38464c16309.js similarity index 100% rename from ecmascript/codegen/tests/references/6c4fe38464c16309.js rename to ecmascript/codegen/tests/test262/6c4fe38464c16309.js diff --git a/ecmascript/codegen/tests/references/6c5f0dd83c417a5a.js b/ecmascript/codegen/tests/test262/6c5f0dd83c417a5a.js similarity index 100% rename from ecmascript/codegen/tests/references/6c5f0dd83c417a5a.js rename to ecmascript/codegen/tests/test262/6c5f0dd83c417a5a.js diff --git a/ecmascript/codegen/tests/references/6c688efe01b3631e.js b/ecmascript/codegen/tests/test262/6c688efe01b3631e.js similarity index 100% rename from ecmascript/codegen/tests/references/6c688efe01b3631e.js rename to ecmascript/codegen/tests/test262/6c688efe01b3631e.js diff --git a/ecmascript/codegen/tests/references/6cfcfc99afcb6e1a.js b/ecmascript/codegen/tests/test262/6cfcfc99afcb6e1a.js similarity index 100% rename from ecmascript/codegen/tests/references/6cfcfc99afcb6e1a.js rename to ecmascript/codegen/tests/test262/6cfcfc99afcb6e1a.js diff --git a/ecmascript/codegen/tests/references/6d1bf4c3db76b489.js b/ecmascript/codegen/tests/test262/6d1bf4c3db76b489.js similarity index 100% rename from ecmascript/codegen/tests/references/6d1bf4c3db76b489.js rename to ecmascript/codegen/tests/test262/6d1bf4c3db76b489.js diff --git a/ecmascript/codegen/tests/references/6d707802519c7158.js b/ecmascript/codegen/tests/test262/6d707802519c7158.js similarity index 100% rename from ecmascript/codegen/tests/references/6d707802519c7158.js rename to ecmascript/codegen/tests/test262/6d707802519c7158.js diff --git a/ecmascript/codegen/tests/references/6d79220c64963dad.js b/ecmascript/codegen/tests/test262/6d79220c64963dad.js similarity index 100% rename from ecmascript/codegen/tests/references/6d79220c64963dad.js rename to ecmascript/codegen/tests/test262/6d79220c64963dad.js diff --git a/ecmascript/codegen/tests/references/6d8728cbc7bfe6b5.js b/ecmascript/codegen/tests/test262/6d8728cbc7bfe6b5.js similarity index 100% rename from ecmascript/codegen/tests/references/6d8728cbc7bfe6b5.js rename to ecmascript/codegen/tests/test262/6d8728cbc7bfe6b5.js diff --git a/ecmascript/codegen/tests/references/6d8c97119162ad95.js b/ecmascript/codegen/tests/test262/6d8c97119162ad95.js similarity index 100% rename from ecmascript/codegen/tests/references/6d8c97119162ad95.js rename to ecmascript/codegen/tests/test262/6d8c97119162ad95.js diff --git a/ecmascript/codegen/tests/references/6d981ff8b6a3faec.js b/ecmascript/codegen/tests/test262/6d981ff8b6a3faec.js similarity index 100% rename from ecmascript/codegen/tests/references/6d981ff8b6a3faec.js rename to ecmascript/codegen/tests/test262/6d981ff8b6a3faec.js diff --git a/ecmascript/codegen/tests/references/6db6e4c3ba0299b7.js b/ecmascript/codegen/tests/test262/6db6e4c3ba0299b7.js similarity index 100% rename from ecmascript/codegen/tests/references/6db6e4c3ba0299b7.js rename to ecmascript/codegen/tests/test262/6db6e4c3ba0299b7.js diff --git a/ecmascript/codegen/tests/references/6db7dbc9b1365dfa.module.js b/ecmascript/codegen/tests/test262/6db7dbc9b1365dfa.module.js similarity index 100% rename from ecmascript/codegen/tests/references/6db7dbc9b1365dfa.module.js rename to ecmascript/codegen/tests/test262/6db7dbc9b1365dfa.module.js diff --git a/ecmascript/codegen/tests/references/6dcd76e9be7c3d00.js b/ecmascript/codegen/tests/test262/6dcd76e9be7c3d00.js similarity index 100% rename from ecmascript/codegen/tests/references/6dcd76e9be7c3d00.js rename to ecmascript/codegen/tests/test262/6dcd76e9be7c3d00.js diff --git a/ecmascript/codegen/tests/references/6e5fe0c2bb20b016.js b/ecmascript/codegen/tests/test262/6e5fe0c2bb20b016.js similarity index 100% rename from ecmascript/codegen/tests/references/6e5fe0c2bb20b016.js rename to ecmascript/codegen/tests/test262/6e5fe0c2bb20b016.js diff --git a/ecmascript/codegen/tests/references/6ec818aa7f27cdbf.js b/ecmascript/codegen/tests/test262/6ec818aa7f27cdbf.js similarity index 100% rename from ecmascript/codegen/tests/references/6ec818aa7f27cdbf.js rename to ecmascript/codegen/tests/test262/6ec818aa7f27cdbf.js diff --git a/ecmascript/codegen/tests/references/6edc155d463535cb.js b/ecmascript/codegen/tests/test262/6edc155d463535cb.js similarity index 100% rename from ecmascript/codegen/tests/references/6edc155d463535cb.js rename to ecmascript/codegen/tests/test262/6edc155d463535cb.js diff --git a/ecmascript/codegen/tests/references/6f256be2ef45a7d6.js b/ecmascript/codegen/tests/test262/6f256be2ef45a7d6.js similarity index 100% rename from ecmascript/codegen/tests/references/6f256be2ef45a7d6.js rename to ecmascript/codegen/tests/test262/6f256be2ef45a7d6.js diff --git a/ecmascript/codegen/tests/references/6f6e870785069487.js b/ecmascript/codegen/tests/test262/6f6e870785069487.js similarity index 100% rename from ecmascript/codegen/tests/references/6f6e870785069487.js rename to ecmascript/codegen/tests/test262/6f6e870785069487.js diff --git a/ecmascript/codegen/tests/references/6f824ec22e22a198.js b/ecmascript/codegen/tests/test262/6f824ec22e22a198.js similarity index 100% rename from ecmascript/codegen/tests/references/6f824ec22e22a198.js rename to ecmascript/codegen/tests/test262/6f824ec22e22a198.js diff --git a/ecmascript/codegen/tests/references/6ffb11115fcefb96.js b/ecmascript/codegen/tests/test262/6ffb11115fcefb96.js similarity index 100% rename from ecmascript/codegen/tests/references/6ffb11115fcefb96.js rename to ecmascript/codegen/tests/test262/6ffb11115fcefb96.js diff --git a/ecmascript/codegen/tests/references/6ffb1fb47c2dd12f.js b/ecmascript/codegen/tests/test262/6ffb1fb47c2dd12f.js similarity index 100% rename from ecmascript/codegen/tests/references/6ffb1fb47c2dd12f.js rename to ecmascript/codegen/tests/test262/6ffb1fb47c2dd12f.js diff --git a/ecmascript/codegen/tests/references/6ffc173d4e1e5158.js b/ecmascript/codegen/tests/test262/6ffc173d4e1e5158.js similarity index 100% rename from ecmascript/codegen/tests/references/6ffc173d4e1e5158.js rename to ecmascript/codegen/tests/test262/6ffc173d4e1e5158.js diff --git a/ecmascript/codegen/tests/references/6ffd0afb19f0a92c.js b/ecmascript/codegen/tests/test262/6ffd0afb19f0a92c.js similarity index 100% rename from ecmascript/codegen/tests/references/6ffd0afb19f0a92c.js rename to ecmascript/codegen/tests/test262/6ffd0afb19f0a92c.js diff --git a/ecmascript/codegen/tests/references/702e4ee53d26635a.module.js b/ecmascript/codegen/tests/test262/702e4ee53d26635a.module.js similarity index 100% rename from ecmascript/codegen/tests/references/702e4ee53d26635a.module.js rename to ecmascript/codegen/tests/test262/702e4ee53d26635a.module.js diff --git a/ecmascript/codegen/tests/references/7055b45fe7f74d94.js b/ecmascript/codegen/tests/test262/7055b45fe7f74d94.js similarity index 100% rename from ecmascript/codegen/tests/references/7055b45fe7f74d94.js rename to ecmascript/codegen/tests/test262/7055b45fe7f74d94.js diff --git a/ecmascript/codegen/tests/references/70ad5a19a1b2a4b6.js b/ecmascript/codegen/tests/test262/70ad5a19a1b2a4b6.js similarity index 100% rename from ecmascript/codegen/tests/references/70ad5a19a1b2a4b6.js rename to ecmascript/codegen/tests/test262/70ad5a19a1b2a4b6.js diff --git a/ecmascript/codegen/tests/references/70b701c0eb7d36fd.js b/ecmascript/codegen/tests/test262/70b701c0eb7d36fd.js similarity index 100% rename from ecmascript/codegen/tests/references/70b701c0eb7d36fd.js rename to ecmascript/codegen/tests/test262/70b701c0eb7d36fd.js diff --git a/ecmascript/codegen/tests/references/70bf2c409480ae10.js b/ecmascript/codegen/tests/test262/70bf2c409480ae10.js similarity index 100% rename from ecmascript/codegen/tests/references/70bf2c409480ae10.js rename to ecmascript/codegen/tests/test262/70bf2c409480ae10.js diff --git a/ecmascript/codegen/tests/references/70c2ced6bad143f1.js b/ecmascript/codegen/tests/test262/70c2ced6bad143f1.js similarity index 100% rename from ecmascript/codegen/tests/references/70c2ced6bad143f1.js rename to ecmascript/codegen/tests/test262/70c2ced6bad143f1.js diff --git a/ecmascript/codegen/tests/references/70da848e355cdfd2.js b/ecmascript/codegen/tests/test262/70da848e355cdfd2.js similarity index 100% rename from ecmascript/codegen/tests/references/70da848e355cdfd2.js rename to ecmascript/codegen/tests/test262/70da848e355cdfd2.js diff --git a/ecmascript/codegen/tests/references/7148f242d6770f89.js b/ecmascript/codegen/tests/test262/7148f242d6770f89.js similarity index 100% rename from ecmascript/codegen/tests/references/7148f242d6770f89.js rename to ecmascript/codegen/tests/test262/7148f242d6770f89.js diff --git a/ecmascript/codegen/tests/references/717b2f65b69e809e.js b/ecmascript/codegen/tests/test262/717b2f65b69e809e.js similarity index 100% rename from ecmascript/codegen/tests/references/717b2f65b69e809e.js rename to ecmascript/codegen/tests/test262/717b2f65b69e809e.js diff --git a/ecmascript/codegen/tests/references/717def9f9459b4e1.module.js b/ecmascript/codegen/tests/test262/717def9f9459b4e1.module.js similarity index 100% rename from ecmascript/codegen/tests/references/717def9f9459b4e1.module.js rename to ecmascript/codegen/tests/test262/717def9f9459b4e1.module.js diff --git a/ecmascript/codegen/tests/references/7188bf4c56d2ffc8.js b/ecmascript/codegen/tests/test262/7188bf4c56d2ffc8.js similarity index 100% rename from ecmascript/codegen/tests/references/7188bf4c56d2ffc8.js rename to ecmascript/codegen/tests/test262/7188bf4c56d2ffc8.js diff --git a/ecmascript/codegen/tests/references/71a2d3e7d606a959.js b/ecmascript/codegen/tests/test262/71a2d3e7d606a959.js similarity index 100% rename from ecmascript/codegen/tests/references/71a2d3e7d606a959.js rename to ecmascript/codegen/tests/test262/71a2d3e7d606a959.js diff --git a/ecmascript/codegen/tests/references/71bcb4b846c22c58.js b/ecmascript/codegen/tests/test262/71bcb4b846c22c58.js similarity index 100% rename from ecmascript/codegen/tests/references/71bcb4b846c22c58.js rename to ecmascript/codegen/tests/test262/71bcb4b846c22c58.js diff --git a/ecmascript/codegen/tests/references/71e066a0fa01825b.js b/ecmascript/codegen/tests/test262/71e066a0fa01825b.js similarity index 100% rename from ecmascript/codegen/tests/references/71e066a0fa01825b.js rename to ecmascript/codegen/tests/test262/71e066a0fa01825b.js diff --git a/ecmascript/codegen/tests/references/72286da2cadacba6.js b/ecmascript/codegen/tests/test262/72286da2cadacba6.js similarity index 100% rename from ecmascript/codegen/tests/references/72286da2cadacba6.js rename to ecmascript/codegen/tests/test262/72286da2cadacba6.js diff --git a/ecmascript/codegen/tests/references/726ee28a1b50ff13.module.js b/ecmascript/codegen/tests/test262/726ee28a1b50ff13.module.js similarity index 100% rename from ecmascript/codegen/tests/references/726ee28a1b50ff13.module.js rename to ecmascript/codegen/tests/test262/726ee28a1b50ff13.module.js diff --git a/ecmascript/codegen/tests/references/729212ece9234c48.js b/ecmascript/codegen/tests/test262/729212ece9234c48.js similarity index 100% rename from ecmascript/codegen/tests/references/729212ece9234c48.js rename to ecmascript/codegen/tests/test262/729212ece9234c48.js diff --git a/ecmascript/codegen/tests/references/72d79750e81ef03d.js b/ecmascript/codegen/tests/test262/72d79750e81ef03d.js similarity index 100% rename from ecmascript/codegen/tests/references/72d79750e81ef03d.js rename to ecmascript/codegen/tests/test262/72d79750e81ef03d.js diff --git a/ecmascript/codegen/tests/references/72e4f3f9f66a40b8.js b/ecmascript/codegen/tests/test262/72e4f3f9f66a40b8.js similarity index 100% rename from ecmascript/codegen/tests/references/72e4f3f9f66a40b8.js rename to ecmascript/codegen/tests/test262/72e4f3f9f66a40b8.js diff --git a/ecmascript/codegen/tests/references/7305be27a0713dfa.js b/ecmascript/codegen/tests/test262/7305be27a0713dfa.js similarity index 100% rename from ecmascript/codegen/tests/references/7305be27a0713dfa.js rename to ecmascript/codegen/tests/test262/7305be27a0713dfa.js diff --git a/ecmascript/codegen/tests/references/73298cb8636154f2.js b/ecmascript/codegen/tests/test262/73298cb8636154f2.js similarity index 100% rename from ecmascript/codegen/tests/references/73298cb8636154f2.js rename to ecmascript/codegen/tests/test262/73298cb8636154f2.js diff --git a/ecmascript/codegen/tests/references/739bef73b11c87de.js b/ecmascript/codegen/tests/test262/739bef73b11c87de.js similarity index 100% rename from ecmascript/codegen/tests/references/739bef73b11c87de.js rename to ecmascript/codegen/tests/test262/739bef73b11c87de.js diff --git a/ecmascript/codegen/tests/references/74234e98afe7498f.js b/ecmascript/codegen/tests/test262/74234e98afe7498f.js similarity index 100% rename from ecmascript/codegen/tests/references/74234e98afe7498f.js rename to ecmascript/codegen/tests/test262/74234e98afe7498f.js diff --git a/ecmascript/codegen/tests/references/748a60621d2abe2b.js b/ecmascript/codegen/tests/test262/748a60621d2abe2b.js similarity index 100% rename from ecmascript/codegen/tests/references/748a60621d2abe2b.js rename to ecmascript/codegen/tests/test262/748a60621d2abe2b.js diff --git a/ecmascript/codegen/tests/references/74c5ebda713c8bd7.js b/ecmascript/codegen/tests/test262/74c5ebda713c8bd7.js similarity index 100% rename from ecmascript/codegen/tests/references/74c5ebda713c8bd7.js rename to ecmascript/codegen/tests/test262/74c5ebda713c8bd7.js diff --git a/ecmascript/codegen/tests/references/74cfbae1c9639338.js b/ecmascript/codegen/tests/test262/74cfbae1c9639338.js similarity index 100% rename from ecmascript/codegen/tests/references/74cfbae1c9639338.js rename to ecmascript/codegen/tests/test262/74cfbae1c9639338.js diff --git a/ecmascript/codegen/tests/references/75172741c27c7703.js b/ecmascript/codegen/tests/test262/75172741c27c7703.js similarity index 100% rename from ecmascript/codegen/tests/references/75172741c27c7703.js rename to ecmascript/codegen/tests/test262/75172741c27c7703.js diff --git a/ecmascript/codegen/tests/references/753341b6f22ec11f.js b/ecmascript/codegen/tests/test262/753341b6f22ec11f.js similarity index 100% rename from ecmascript/codegen/tests/references/753341b6f22ec11f.js rename to ecmascript/codegen/tests/test262/753341b6f22ec11f.js diff --git a/ecmascript/codegen/tests/references/753a8b016a700975.js b/ecmascript/codegen/tests/test262/753a8b016a700975.js similarity index 100% rename from ecmascript/codegen/tests/references/753a8b016a700975.js rename to ecmascript/codegen/tests/test262/753a8b016a700975.js diff --git a/ecmascript/codegen/tests/references/756579211447db0b.js b/ecmascript/codegen/tests/test262/756579211447db0b.js similarity index 100% rename from ecmascript/codegen/tests/references/756579211447db0b.js rename to ecmascript/codegen/tests/test262/756579211447db0b.js diff --git a/ecmascript/codegen/tests/references/756e3fe0ef87b136.js b/ecmascript/codegen/tests/test262/756e3fe0ef87b136.js similarity index 100% rename from ecmascript/codegen/tests/references/756e3fe0ef87b136.js rename to ecmascript/codegen/tests/test262/756e3fe0ef87b136.js diff --git a/ecmascript/codegen/tests/references/757fc3fbe38b4ecb.js b/ecmascript/codegen/tests/test262/757fc3fbe38b4ecb.js similarity index 100% rename from ecmascript/codegen/tests/references/757fc3fbe38b4ecb.js rename to ecmascript/codegen/tests/test262/757fc3fbe38b4ecb.js diff --git a/ecmascript/codegen/tests/references/75969544af546abc.js b/ecmascript/codegen/tests/test262/75969544af546abc.js similarity index 100% rename from ecmascript/codegen/tests/references/75969544af546abc.js rename to ecmascript/codegen/tests/test262/75969544af546abc.js diff --git a/ecmascript/codegen/tests/references/75ad6a8ee6579761.js b/ecmascript/codegen/tests/test262/75ad6a8ee6579761.js similarity index 100% rename from ecmascript/codegen/tests/references/75ad6a8ee6579761.js rename to ecmascript/codegen/tests/test262/75ad6a8ee6579761.js diff --git a/ecmascript/codegen/tests/references/75b0eeaf3aa61e74.js b/ecmascript/codegen/tests/test262/75b0eeaf3aa61e74.js similarity index 100% rename from ecmascript/codegen/tests/references/75b0eeaf3aa61e74.js rename to ecmascript/codegen/tests/test262/75b0eeaf3aa61e74.js diff --git a/ecmascript/codegen/tests/references/75bb6594d6ad253f.module.js b/ecmascript/codegen/tests/test262/75bb6594d6ad253f.module.js similarity index 100% rename from ecmascript/codegen/tests/references/75bb6594d6ad253f.module.js rename to ecmascript/codegen/tests/test262/75bb6594d6ad253f.module.js diff --git a/ecmascript/codegen/tests/references/75e16348fe9e6213.js b/ecmascript/codegen/tests/test262/75e16348fe9e6213.js similarity index 100% rename from ecmascript/codegen/tests/references/75e16348fe9e6213.js rename to ecmascript/codegen/tests/test262/75e16348fe9e6213.js diff --git a/ecmascript/codegen/tests/references/764e72657e7321b5.js b/ecmascript/codegen/tests/test262/764e72657e7321b5.js similarity index 100% rename from ecmascript/codegen/tests/references/764e72657e7321b5.js rename to ecmascript/codegen/tests/test262/764e72657e7321b5.js diff --git a/ecmascript/codegen/tests/references/765a7a823aa1b070.js b/ecmascript/codegen/tests/test262/765a7a823aa1b070.js similarity index 100% rename from ecmascript/codegen/tests/references/765a7a823aa1b070.js rename to ecmascript/codegen/tests/test262/765a7a823aa1b070.js diff --git a/ecmascript/codegen/tests/references/76703c4b987330fb.js b/ecmascript/codegen/tests/test262/76703c4b987330fb.js similarity index 100% rename from ecmascript/codegen/tests/references/76703c4b987330fb.js rename to ecmascript/codegen/tests/test262/76703c4b987330fb.js diff --git a/ecmascript/codegen/tests/references/76a46be6c2f09fa3.js b/ecmascript/codegen/tests/test262/76a46be6c2f09fa3.js similarity index 100% rename from ecmascript/codegen/tests/references/76a46be6c2f09fa3.js rename to ecmascript/codegen/tests/test262/76a46be6c2f09fa3.js diff --git a/ecmascript/codegen/tests/references/76d4858e4a60be95.js b/ecmascript/codegen/tests/test262/76d4858e4a60be95.js similarity index 100% rename from ecmascript/codegen/tests/references/76d4858e4a60be95.js rename to ecmascript/codegen/tests/test262/76d4858e4a60be95.js diff --git a/ecmascript/codegen/tests/references/771467ccdae93157.js b/ecmascript/codegen/tests/test262/771467ccdae93157.js similarity index 100% rename from ecmascript/codegen/tests/references/771467ccdae93157.js rename to ecmascript/codegen/tests/test262/771467ccdae93157.js diff --git a/ecmascript/codegen/tests/references/7716587c3d80e9ab.js b/ecmascript/codegen/tests/test262/7716587c3d80e9ab.js similarity index 100% rename from ecmascript/codegen/tests/references/7716587c3d80e9ab.js rename to ecmascript/codegen/tests/test262/7716587c3d80e9ab.js diff --git a/ecmascript/codegen/tests/references/7733ab7955652851.js b/ecmascript/codegen/tests/test262/7733ab7955652851.js similarity index 100% rename from ecmascript/codegen/tests/references/7733ab7955652851.js rename to ecmascript/codegen/tests/test262/7733ab7955652851.js diff --git a/ecmascript/codegen/tests/references/776076cb09759e40.js b/ecmascript/codegen/tests/test262/776076cb09759e40.js similarity index 100% rename from ecmascript/codegen/tests/references/776076cb09759e40.js rename to ecmascript/codegen/tests/test262/776076cb09759e40.js diff --git a/ecmascript/codegen/tests/references/77710aedc74ecfa3.js b/ecmascript/codegen/tests/test262/77710aedc74ecfa3.js similarity index 100% rename from ecmascript/codegen/tests/references/77710aedc74ecfa3.js rename to ecmascript/codegen/tests/test262/77710aedc74ecfa3.js diff --git a/ecmascript/codegen/tests/references/7779cfcd717e97d3.js b/ecmascript/codegen/tests/test262/7779cfcd717e97d3.js similarity index 100% rename from ecmascript/codegen/tests/references/7779cfcd717e97d3.js rename to ecmascript/codegen/tests/test262/7779cfcd717e97d3.js diff --git a/ecmascript/codegen/tests/references/7788d3c1e1247da9.js b/ecmascript/codegen/tests/test262/7788d3c1e1247da9.js similarity index 100% rename from ecmascript/codegen/tests/references/7788d3c1e1247da9.js rename to ecmascript/codegen/tests/test262/7788d3c1e1247da9.js diff --git a/ecmascript/codegen/tests/references/779e65d6349f1616.js b/ecmascript/codegen/tests/test262/779e65d6349f1616.js similarity index 100% rename from ecmascript/codegen/tests/references/779e65d6349f1616.js rename to ecmascript/codegen/tests/test262/779e65d6349f1616.js diff --git a/ecmascript/codegen/tests/references/77a541b0502d0bde.js b/ecmascript/codegen/tests/test262/77a541b0502d0bde.js similarity index 100% rename from ecmascript/codegen/tests/references/77a541b0502d0bde.js rename to ecmascript/codegen/tests/test262/77a541b0502d0bde.js diff --git a/ecmascript/codegen/tests/references/77c661b2fbe3dd3a.js b/ecmascript/codegen/tests/test262/77c661b2fbe3dd3a.js similarity index 100% rename from ecmascript/codegen/tests/references/77c661b2fbe3dd3a.js rename to ecmascript/codegen/tests/test262/77c661b2fbe3dd3a.js diff --git a/ecmascript/codegen/tests/references/77db52b103913973.js b/ecmascript/codegen/tests/test262/77db52b103913973.js similarity index 100% rename from ecmascript/codegen/tests/references/77db52b103913973.js rename to ecmascript/codegen/tests/test262/77db52b103913973.js diff --git a/ecmascript/codegen/tests/references/78435241f6c87ece.js b/ecmascript/codegen/tests/test262/78435241f6c87ece.js similarity index 100% rename from ecmascript/codegen/tests/references/78435241f6c87ece.js rename to ecmascript/codegen/tests/test262/78435241f6c87ece.js diff --git a/ecmascript/codegen/tests/references/784a059faa166072.js b/ecmascript/codegen/tests/test262/784a059faa166072.js similarity index 100% rename from ecmascript/codegen/tests/references/784a059faa166072.js rename to ecmascript/codegen/tests/test262/784a059faa166072.js diff --git a/ecmascript/codegen/tests/references/784cbc06d5ade346.js b/ecmascript/codegen/tests/test262/784cbc06d5ade346.js similarity index 100% rename from ecmascript/codegen/tests/references/784cbc06d5ade346.js rename to ecmascript/codegen/tests/test262/784cbc06d5ade346.js diff --git a/ecmascript/codegen/tests/references/7855fbf5ea10e622.js b/ecmascript/codegen/tests/test262/7855fbf5ea10e622.js similarity index 100% rename from ecmascript/codegen/tests/references/7855fbf5ea10e622.js rename to ecmascript/codegen/tests/test262/7855fbf5ea10e622.js diff --git a/ecmascript/codegen/tests/references/787170711cb8abd6.js b/ecmascript/codegen/tests/test262/787170711cb8abd6.js similarity index 100% rename from ecmascript/codegen/tests/references/787170711cb8abd6.js rename to ecmascript/codegen/tests/test262/787170711cb8abd6.js diff --git a/ecmascript/codegen/tests/references/789af9b27c832306.js b/ecmascript/codegen/tests/test262/789af9b27c832306.js similarity index 100% rename from ecmascript/codegen/tests/references/789af9b27c832306.js rename to ecmascript/codegen/tests/test262/789af9b27c832306.js diff --git a/ecmascript/codegen/tests/references/78c215fabdf13bae.js b/ecmascript/codegen/tests/test262/78c215fabdf13bae.js similarity index 100% rename from ecmascript/codegen/tests/references/78c215fabdf13bae.js rename to ecmascript/codegen/tests/test262/78c215fabdf13bae.js diff --git a/ecmascript/codegen/tests/references/78cf02220fb0937c.js b/ecmascript/codegen/tests/test262/78cf02220fb0937c.js similarity index 100% rename from ecmascript/codegen/tests/references/78cf02220fb0937c.js rename to ecmascript/codegen/tests/test262/78cf02220fb0937c.js diff --git a/ecmascript/codegen/tests/references/78e1b8a4f3318967.js b/ecmascript/codegen/tests/test262/78e1b8a4f3318967.js similarity index 100% rename from ecmascript/codegen/tests/references/78e1b8a4f3318967.js rename to ecmascript/codegen/tests/test262/78e1b8a4f3318967.js diff --git a/ecmascript/codegen/tests/references/78ea6e4e98c18f91.js b/ecmascript/codegen/tests/test262/78ea6e4e98c18f91.js similarity index 100% rename from ecmascript/codegen/tests/references/78ea6e4e98c18f91.js rename to ecmascript/codegen/tests/test262/78ea6e4e98c18f91.js diff --git a/ecmascript/codegen/tests/references/78eb22badc114b6f.js b/ecmascript/codegen/tests/test262/78eb22badc114b6f.js similarity index 100% rename from ecmascript/codegen/tests/references/78eb22badc114b6f.js rename to ecmascript/codegen/tests/test262/78eb22badc114b6f.js diff --git a/ecmascript/codegen/tests/references/78ecd285b8b44e99.js b/ecmascript/codegen/tests/test262/78ecd285b8b44e99.js similarity index 100% rename from ecmascript/codegen/tests/references/78ecd285b8b44e99.js rename to ecmascript/codegen/tests/test262/78ecd285b8b44e99.js diff --git a/ecmascript/codegen/tests/references/78fa04077cf1950c.js b/ecmascript/codegen/tests/test262/78fa04077cf1950c.js similarity index 100% rename from ecmascript/codegen/tests/references/78fa04077cf1950c.js rename to ecmascript/codegen/tests/test262/78fa04077cf1950c.js diff --git a/ecmascript/codegen/tests/references/790a34467d7d9d58.js b/ecmascript/codegen/tests/test262/790a34467d7d9d58.js similarity index 100% rename from ecmascript/codegen/tests/references/790a34467d7d9d58.js rename to ecmascript/codegen/tests/test262/790a34467d7d9d58.js diff --git a/ecmascript/codegen/tests/references/7912cf1671c75406.js b/ecmascript/codegen/tests/test262/7912cf1671c75406.js similarity index 100% rename from ecmascript/codegen/tests/references/7912cf1671c75406.js rename to ecmascript/codegen/tests/test262/7912cf1671c75406.js diff --git a/ecmascript/codegen/tests/references/791ee64772f0ea45.js b/ecmascript/codegen/tests/test262/791ee64772f0ea45.js similarity index 100% rename from ecmascript/codegen/tests/references/791ee64772f0ea45.js rename to ecmascript/codegen/tests/test262/791ee64772f0ea45.js diff --git a/ecmascript/codegen/tests/references/7993945fc0f58feb.js b/ecmascript/codegen/tests/test262/7993945fc0f58feb.js similarity index 100% rename from ecmascript/codegen/tests/references/7993945fc0f58feb.js rename to ecmascript/codegen/tests/test262/7993945fc0f58feb.js diff --git a/ecmascript/codegen/tests/references/799fad61dcd88f30.js b/ecmascript/codegen/tests/test262/799fad61dcd88f30.js similarity index 100% rename from ecmascript/codegen/tests/references/799fad61dcd88f30.js rename to ecmascript/codegen/tests/test262/799fad61dcd88f30.js diff --git a/ecmascript/codegen/tests/references/79a4d1fdd55febec.js b/ecmascript/codegen/tests/test262/79a4d1fdd55febec.js similarity index 100% rename from ecmascript/codegen/tests/references/79a4d1fdd55febec.js rename to ecmascript/codegen/tests/test262/79a4d1fdd55febec.js diff --git a/ecmascript/codegen/tests/references/79b7f48e8a6d401c.js b/ecmascript/codegen/tests/test262/79b7f48e8a6d401c.js similarity index 100% rename from ecmascript/codegen/tests/references/79b7f48e8a6d401c.js rename to ecmascript/codegen/tests/test262/79b7f48e8a6d401c.js diff --git a/ecmascript/codegen/tests/references/79ea421b940c3474.js b/ecmascript/codegen/tests/test262/79ea421b940c3474.js similarity index 100% rename from ecmascript/codegen/tests/references/79ea421b940c3474.js rename to ecmascript/codegen/tests/test262/79ea421b940c3474.js diff --git a/ecmascript/codegen/tests/references/79f7d5d83decb768.js b/ecmascript/codegen/tests/test262/79f7d5d83decb768.js similarity index 100% rename from ecmascript/codegen/tests/references/79f7d5d83decb768.js rename to ecmascript/codegen/tests/test262/79f7d5d83decb768.js diff --git a/ecmascript/codegen/tests/references/7a405ea1fdb6a26e.js b/ecmascript/codegen/tests/test262/7a405ea1fdb6a26e.js similarity index 100% rename from ecmascript/codegen/tests/references/7a405ea1fdb6a26e.js rename to ecmascript/codegen/tests/test262/7a405ea1fdb6a26e.js diff --git a/ecmascript/codegen/tests/references/7a71c5f849677cd1.js b/ecmascript/codegen/tests/test262/7a71c5f849677cd1.js similarity index 100% rename from ecmascript/codegen/tests/references/7a71c5f849677cd1.js rename to ecmascript/codegen/tests/test262/7a71c5f849677cd1.js diff --git a/ecmascript/codegen/tests/references/7a815cb480c3cac2.js b/ecmascript/codegen/tests/test262/7a815cb480c3cac2.js similarity index 100% rename from ecmascript/codegen/tests/references/7a815cb480c3cac2.js rename to ecmascript/codegen/tests/test262/7a815cb480c3cac2.js diff --git a/ecmascript/codegen/tests/references/7a964712d5220b79.js b/ecmascript/codegen/tests/test262/7a964712d5220b79.js similarity index 100% rename from ecmascript/codegen/tests/references/7a964712d5220b79.js rename to ecmascript/codegen/tests/test262/7a964712d5220b79.js diff --git a/ecmascript/codegen/tests/references/7ab6a1dd47c6bc1f.js b/ecmascript/codegen/tests/test262/7ab6a1dd47c6bc1f.js similarity index 100% rename from ecmascript/codegen/tests/references/7ab6a1dd47c6bc1f.js rename to ecmascript/codegen/tests/test262/7ab6a1dd47c6bc1f.js diff --git a/ecmascript/codegen/tests/references/7ac0063e99bc8720.js b/ecmascript/codegen/tests/test262/7ac0063e99bc8720.js similarity index 100% rename from ecmascript/codegen/tests/references/7ac0063e99bc8720.js rename to ecmascript/codegen/tests/test262/7ac0063e99bc8720.js diff --git a/ecmascript/codegen/tests/references/7ae57d0c2d30db3a.js b/ecmascript/codegen/tests/test262/7ae57d0c2d30db3a.js similarity index 100% rename from ecmascript/codegen/tests/references/7ae57d0c2d30db3a.js rename to ecmascript/codegen/tests/test262/7ae57d0c2d30db3a.js diff --git a/ecmascript/codegen/tests/references/7afd38d79e6795a8.js b/ecmascript/codegen/tests/test262/7afd38d79e6795a8.js similarity index 100% rename from ecmascript/codegen/tests/references/7afd38d79e6795a8.js rename to ecmascript/codegen/tests/test262/7afd38d79e6795a8.js diff --git a/ecmascript/codegen/tests/references/7b0a9215ec756496.js b/ecmascript/codegen/tests/test262/7b0a9215ec756496.js similarity index 100% rename from ecmascript/codegen/tests/references/7b0a9215ec756496.js rename to ecmascript/codegen/tests/test262/7b0a9215ec756496.js diff --git a/ecmascript/codegen/tests/references/7b514406528ff126.js b/ecmascript/codegen/tests/test262/7b514406528ff126.js similarity index 100% rename from ecmascript/codegen/tests/references/7b514406528ff126.js rename to ecmascript/codegen/tests/test262/7b514406528ff126.js diff --git a/ecmascript/codegen/tests/references/7b71bc250036251c.js b/ecmascript/codegen/tests/test262/7b71bc250036251c.js similarity index 100% rename from ecmascript/codegen/tests/references/7b71bc250036251c.js rename to ecmascript/codegen/tests/test262/7b71bc250036251c.js diff --git a/ecmascript/codegen/tests/references/7b72d7b43bedc895.js b/ecmascript/codegen/tests/test262/7b72d7b43bedc895.js similarity index 100% rename from ecmascript/codegen/tests/references/7b72d7b43bedc895.js rename to ecmascript/codegen/tests/test262/7b72d7b43bedc895.js diff --git a/ecmascript/codegen/tests/references/7b8a8232be18df90.js b/ecmascript/codegen/tests/test262/7b8a8232be18df90.js similarity index 100% rename from ecmascript/codegen/tests/references/7b8a8232be18df90.js rename to ecmascript/codegen/tests/test262/7b8a8232be18df90.js diff --git a/ecmascript/codegen/tests/references/7bc8dc445fc0f1c3.js b/ecmascript/codegen/tests/test262/7bc8dc445fc0f1c3.js similarity index 100% rename from ecmascript/codegen/tests/references/7bc8dc445fc0f1c3.js rename to ecmascript/codegen/tests/test262/7bc8dc445fc0f1c3.js diff --git a/ecmascript/codegen/tests/references/7bdcce70c382a9a4.js b/ecmascript/codegen/tests/test262/7bdcce70c382a9a4.js similarity index 100% rename from ecmascript/codegen/tests/references/7bdcce70c382a9a4.js rename to ecmascript/codegen/tests/test262/7bdcce70c382a9a4.js diff --git a/ecmascript/codegen/tests/references/7be9be4918d25634.js b/ecmascript/codegen/tests/test262/7be9be4918d25634.js similarity index 100% rename from ecmascript/codegen/tests/references/7be9be4918d25634.js rename to ecmascript/codegen/tests/test262/7be9be4918d25634.js diff --git a/ecmascript/codegen/tests/references/7c027cdbc7f493b2.js b/ecmascript/codegen/tests/test262/7c027cdbc7f493b2.js similarity index 100% rename from ecmascript/codegen/tests/references/7c027cdbc7f493b2.js rename to ecmascript/codegen/tests/test262/7c027cdbc7f493b2.js diff --git a/ecmascript/codegen/tests/references/7c03e5eb6a9f6f1a.js b/ecmascript/codegen/tests/test262/7c03e5eb6a9f6f1a.js similarity index 100% rename from ecmascript/codegen/tests/references/7c03e5eb6a9f6f1a.js rename to ecmascript/codegen/tests/test262/7c03e5eb6a9f6f1a.js diff --git a/ecmascript/codegen/tests/references/7c3fc6d2a783ecd9.js b/ecmascript/codegen/tests/test262/7c3fc6d2a783ecd9.js similarity index 100% rename from ecmascript/codegen/tests/references/7c3fc6d2a783ecd9.js rename to ecmascript/codegen/tests/test262/7c3fc6d2a783ecd9.js diff --git a/ecmascript/codegen/tests/references/7c46ecc8f111b567.js b/ecmascript/codegen/tests/test262/7c46ecc8f111b567.js similarity index 100% rename from ecmascript/codegen/tests/references/7c46ecc8f111b567.js rename to ecmascript/codegen/tests/test262/7c46ecc8f111b567.js diff --git a/ecmascript/codegen/tests/references/7c508ad20a5ecbce.js b/ecmascript/codegen/tests/test262/7c508ad20a5ecbce.js similarity index 100% rename from ecmascript/codegen/tests/references/7c508ad20a5ecbce.js rename to ecmascript/codegen/tests/test262/7c508ad20a5ecbce.js diff --git a/ecmascript/codegen/tests/references/7c6d13458e08e1f4.js b/ecmascript/codegen/tests/test262/7c6d13458e08e1f4.js similarity index 100% rename from ecmascript/codegen/tests/references/7c6d13458e08e1f4.js rename to ecmascript/codegen/tests/test262/7c6d13458e08e1f4.js diff --git a/ecmascript/codegen/tests/references/7c9c0cce695bc705.js b/ecmascript/codegen/tests/test262/7c9c0cce695bc705.js similarity index 100% rename from ecmascript/codegen/tests/references/7c9c0cce695bc705.js rename to ecmascript/codegen/tests/test262/7c9c0cce695bc705.js diff --git a/ecmascript/codegen/tests/references/7cbf77c14b9c89bc.js b/ecmascript/codegen/tests/test262/7cbf77c14b9c89bc.js similarity index 100% rename from ecmascript/codegen/tests/references/7cbf77c14b9c89bc.js rename to ecmascript/codegen/tests/test262/7cbf77c14b9c89bc.js diff --git a/ecmascript/codegen/tests/references/7cd7c68a6131f816.js b/ecmascript/codegen/tests/test262/7cd7c68a6131f816.js similarity index 100% rename from ecmascript/codegen/tests/references/7cd7c68a6131f816.js rename to ecmascript/codegen/tests/test262/7cd7c68a6131f816.js diff --git a/ecmascript/codegen/tests/references/7d029e0be60dc821.module.js b/ecmascript/codegen/tests/test262/7d029e0be60dc821.module.js similarity index 100% rename from ecmascript/codegen/tests/references/7d029e0be60dc821.module.js rename to ecmascript/codegen/tests/test262/7d029e0be60dc821.module.js diff --git a/ecmascript/codegen/tests/references/7d7dd05015778d56.js b/ecmascript/codegen/tests/test262/7d7dd05015778d56.js similarity index 100% rename from ecmascript/codegen/tests/references/7d7dd05015778d56.js rename to ecmascript/codegen/tests/test262/7d7dd05015778d56.js diff --git a/ecmascript/codegen/tests/references/7d8b61ba2a3a275c.js b/ecmascript/codegen/tests/test262/7d8b61ba2a3a275c.js similarity index 100% rename from ecmascript/codegen/tests/references/7d8b61ba2a3a275c.js rename to ecmascript/codegen/tests/test262/7d8b61ba2a3a275c.js diff --git a/ecmascript/codegen/tests/references/7da12349ac9f51f2.js b/ecmascript/codegen/tests/test262/7da12349ac9f51f2.js similarity index 100% rename from ecmascript/codegen/tests/references/7da12349ac9f51f2.js rename to ecmascript/codegen/tests/test262/7da12349ac9f51f2.js diff --git a/ecmascript/codegen/tests/references/7dab6e55461806c9.js b/ecmascript/codegen/tests/test262/7dab6e55461806c9.js similarity index 100% rename from ecmascript/codegen/tests/references/7dab6e55461806c9.js rename to ecmascript/codegen/tests/test262/7dab6e55461806c9.js diff --git a/ecmascript/codegen/tests/references/7dde401422530d6b.js b/ecmascript/codegen/tests/test262/7dde401422530d6b.js similarity index 100% rename from ecmascript/codegen/tests/references/7dde401422530d6b.js rename to ecmascript/codegen/tests/test262/7dde401422530d6b.js diff --git a/ecmascript/codegen/tests/references/7dea677261fc5dd8.module.js b/ecmascript/codegen/tests/test262/7dea677261fc5dd8.module.js similarity index 100% rename from ecmascript/codegen/tests/references/7dea677261fc5dd8.module.js rename to ecmascript/codegen/tests/test262/7dea677261fc5dd8.module.js diff --git a/ecmascript/codegen/tests/references/7df2a606ecc6cd84.js b/ecmascript/codegen/tests/test262/7df2a606ecc6cd84.js similarity index 100% rename from ecmascript/codegen/tests/references/7df2a606ecc6cd84.js rename to ecmascript/codegen/tests/test262/7df2a606ecc6cd84.js diff --git a/ecmascript/codegen/tests/references/7dfb625b91c5c879.js b/ecmascript/codegen/tests/test262/7dfb625b91c5c879.js similarity index 100% rename from ecmascript/codegen/tests/references/7dfb625b91c5c879.js rename to ecmascript/codegen/tests/test262/7dfb625b91c5c879.js diff --git a/ecmascript/codegen/tests/references/7e094109208fc749.js b/ecmascript/codegen/tests/test262/7e094109208fc749.js similarity index 100% rename from ecmascript/codegen/tests/references/7e094109208fc749.js rename to ecmascript/codegen/tests/test262/7e094109208fc749.js diff --git a/ecmascript/codegen/tests/references/7e28d9664deeef8a.js b/ecmascript/codegen/tests/test262/7e28d9664deeef8a.js similarity index 100% rename from ecmascript/codegen/tests/references/7e28d9664deeef8a.js rename to ecmascript/codegen/tests/test262/7e28d9664deeef8a.js diff --git a/ecmascript/codegen/tests/references/7e50a0527f791c52.js b/ecmascript/codegen/tests/test262/7e50a0527f791c52.js similarity index 100% rename from ecmascript/codegen/tests/references/7e50a0527f791c52.js rename to ecmascript/codegen/tests/test262/7e50a0527f791c52.js diff --git a/ecmascript/codegen/tests/references/7e6e3b4c766a4d33.js b/ecmascript/codegen/tests/test262/7e6e3b4c766a4d33.js similarity index 100% rename from ecmascript/codegen/tests/references/7e6e3b4c766a4d33.js rename to ecmascript/codegen/tests/test262/7e6e3b4c766a4d33.js diff --git a/ecmascript/codegen/tests/references/7e6eac5fdc429608.js b/ecmascript/codegen/tests/test262/7e6eac5fdc429608.js similarity index 100% rename from ecmascript/codegen/tests/references/7e6eac5fdc429608.js rename to ecmascript/codegen/tests/test262/7e6eac5fdc429608.js diff --git a/ecmascript/codegen/tests/references/7e88047a36603238.js b/ecmascript/codegen/tests/test262/7e88047a36603238.js similarity index 100% rename from ecmascript/codegen/tests/references/7e88047a36603238.js rename to ecmascript/codegen/tests/test262/7e88047a36603238.js diff --git a/ecmascript/codegen/tests/references/7e8f17e7be305a2a.js b/ecmascript/codegen/tests/test262/7e8f17e7be305a2a.js similarity index 100% rename from ecmascript/codegen/tests/references/7e8f17e7be305a2a.js rename to ecmascript/codegen/tests/test262/7e8f17e7be305a2a.js diff --git a/ecmascript/codegen/tests/references/7e99cc8b7ce365fb.js b/ecmascript/codegen/tests/test262/7e99cc8b7ce365fb.js similarity index 100% rename from ecmascript/codegen/tests/references/7e99cc8b7ce365fb.js rename to ecmascript/codegen/tests/test262/7e99cc8b7ce365fb.js diff --git a/ecmascript/codegen/tests/references/7ebaa39b4a9b5b5b.js b/ecmascript/codegen/tests/test262/7ebaa39b4a9b5b5b.js similarity index 100% rename from ecmascript/codegen/tests/references/7ebaa39b4a9b5b5b.js rename to ecmascript/codegen/tests/test262/7ebaa39b4a9b5b5b.js diff --git a/ecmascript/codegen/tests/references/7f4c40906c3ebe2b.js b/ecmascript/codegen/tests/test262/7f4c40906c3ebe2b.js similarity index 100% rename from ecmascript/codegen/tests/references/7f4c40906c3ebe2b.js rename to ecmascript/codegen/tests/test262/7f4c40906c3ebe2b.js diff --git a/ecmascript/codegen/tests/references/7f88f149f16fe97a.js b/ecmascript/codegen/tests/test262/7f88f149f16fe97a.js similarity index 100% rename from ecmascript/codegen/tests/references/7f88f149f16fe97a.js rename to ecmascript/codegen/tests/test262/7f88f149f16fe97a.js diff --git a/ecmascript/codegen/tests/references/7fac17daa2bd5186.js b/ecmascript/codegen/tests/test262/7fac17daa2bd5186.js similarity index 100% rename from ecmascript/codegen/tests/references/7fac17daa2bd5186.js rename to ecmascript/codegen/tests/test262/7fac17daa2bd5186.js diff --git a/ecmascript/codegen/tests/references/7fbe94acda67721e.js b/ecmascript/codegen/tests/test262/7fbe94acda67721e.js similarity index 100% rename from ecmascript/codegen/tests/references/7fbe94acda67721e.js rename to ecmascript/codegen/tests/test262/7fbe94acda67721e.js diff --git a/ecmascript/codegen/tests/references/7fdf990c6f42edcd.module.js b/ecmascript/codegen/tests/test262/7fdf990c6f42edcd.module.js similarity index 100% rename from ecmascript/codegen/tests/references/7fdf990c6f42edcd.module.js rename to ecmascript/codegen/tests/test262/7fdf990c6f42edcd.module.js diff --git a/ecmascript/codegen/tests/references/7fe89d8edf6e778a.js b/ecmascript/codegen/tests/test262/7fe89d8edf6e778a.js similarity index 100% rename from ecmascript/codegen/tests/references/7fe89d8edf6e778a.js rename to ecmascript/codegen/tests/test262/7fe89d8edf6e778a.js diff --git a/ecmascript/codegen/tests/references/801ac33e4c34efb8.js b/ecmascript/codegen/tests/test262/801ac33e4c34efb8.js similarity index 100% rename from ecmascript/codegen/tests/references/801ac33e4c34efb8.js rename to ecmascript/codegen/tests/test262/801ac33e4c34efb8.js diff --git a/ecmascript/codegen/tests/references/802658d6ef9a83ec.js b/ecmascript/codegen/tests/test262/802658d6ef9a83ec.js similarity index 100% rename from ecmascript/codegen/tests/references/802658d6ef9a83ec.js rename to ecmascript/codegen/tests/test262/802658d6ef9a83ec.js diff --git a/ecmascript/codegen/tests/references/804e022cd08b4ae1.js b/ecmascript/codegen/tests/test262/804e022cd08b4ae1.js similarity index 100% rename from ecmascript/codegen/tests/references/804e022cd08b4ae1.js rename to ecmascript/codegen/tests/test262/804e022cd08b4ae1.js diff --git a/ecmascript/codegen/tests/references/807dfc91f4ed4394.js b/ecmascript/codegen/tests/test262/807dfc91f4ed4394.js similarity index 100% rename from ecmascript/codegen/tests/references/807dfc91f4ed4394.js rename to ecmascript/codegen/tests/test262/807dfc91f4ed4394.js diff --git a/ecmascript/codegen/tests/references/80950061e291542b.js b/ecmascript/codegen/tests/test262/80950061e291542b.js similarity index 100% rename from ecmascript/codegen/tests/references/80950061e291542b.js rename to ecmascript/codegen/tests/test262/80950061e291542b.js diff --git a/ecmascript/codegen/tests/references/80c6bda5cad0fbc5.js b/ecmascript/codegen/tests/test262/80c6bda5cad0fbc5.js similarity index 100% rename from ecmascript/codegen/tests/references/80c6bda5cad0fbc5.js rename to ecmascript/codegen/tests/test262/80c6bda5cad0fbc5.js diff --git a/ecmascript/codegen/tests/references/80d2351a5ae68524.js b/ecmascript/codegen/tests/test262/80d2351a5ae68524.js similarity index 100% rename from ecmascript/codegen/tests/references/80d2351a5ae68524.js rename to ecmascript/codegen/tests/test262/80d2351a5ae68524.js diff --git a/ecmascript/codegen/tests/references/80f60039028189e4.js b/ecmascript/codegen/tests/test262/80f60039028189e4.js similarity index 100% rename from ecmascript/codegen/tests/references/80f60039028189e4.js rename to ecmascript/codegen/tests/test262/80f60039028189e4.js diff --git a/ecmascript/codegen/tests/references/811b309b010a36ce.js b/ecmascript/codegen/tests/test262/811b309b010a36ce.js similarity index 100% rename from ecmascript/codegen/tests/references/811b309b010a36ce.js rename to ecmascript/codegen/tests/test262/811b309b010a36ce.js diff --git a/ecmascript/codegen/tests/references/8152f05423c90f61.js b/ecmascript/codegen/tests/test262/8152f05423c90f61.js similarity index 100% rename from ecmascript/codegen/tests/references/8152f05423c90f61.js rename to ecmascript/codegen/tests/test262/8152f05423c90f61.js diff --git a/ecmascript/codegen/tests/references/8179659ef4fd0965.js b/ecmascript/codegen/tests/test262/8179659ef4fd0965.js similarity index 100% rename from ecmascript/codegen/tests/references/8179659ef4fd0965.js rename to ecmascript/codegen/tests/test262/8179659ef4fd0965.js diff --git a/ecmascript/codegen/tests/references/818ea8eaeef8b3da.js b/ecmascript/codegen/tests/test262/818ea8eaeef8b3da.js similarity index 100% rename from ecmascript/codegen/tests/references/818ea8eaeef8b3da.js rename to ecmascript/codegen/tests/test262/818ea8eaeef8b3da.js diff --git a/ecmascript/codegen/tests/references/81a0322e554af8da.js b/ecmascript/codegen/tests/test262/81a0322e554af8da.js similarity index 100% rename from ecmascript/codegen/tests/references/81a0322e554af8da.js rename to ecmascript/codegen/tests/test262/81a0322e554af8da.js diff --git a/ecmascript/codegen/tests/references/81a6472df96f185f.js b/ecmascript/codegen/tests/test262/81a6472df96f185f.js similarity index 100% rename from ecmascript/codegen/tests/references/81a6472df96f185f.js rename to ecmascript/codegen/tests/test262/81a6472df96f185f.js diff --git a/ecmascript/codegen/tests/references/81b986948b58ffda.js b/ecmascript/codegen/tests/test262/81b986948b58ffda.js similarity index 100% rename from ecmascript/codegen/tests/references/81b986948b58ffda.js rename to ecmascript/codegen/tests/test262/81b986948b58ffda.js diff --git a/ecmascript/codegen/tests/references/81be1572d1eebdf2.js b/ecmascript/codegen/tests/test262/81be1572d1eebdf2.js similarity index 100% rename from ecmascript/codegen/tests/references/81be1572d1eebdf2.js rename to ecmascript/codegen/tests/test262/81be1572d1eebdf2.js diff --git a/ecmascript/codegen/tests/references/81be47a15713178e.js b/ecmascript/codegen/tests/test262/81be47a15713178e.js similarity index 100% rename from ecmascript/codegen/tests/references/81be47a15713178e.js rename to ecmascript/codegen/tests/test262/81be47a15713178e.js diff --git a/ecmascript/codegen/tests/references/820521ef532dce18.js b/ecmascript/codegen/tests/test262/820521ef532dce18.js similarity index 100% rename from ecmascript/codegen/tests/references/820521ef532dce18.js rename to ecmascript/codegen/tests/test262/820521ef532dce18.js diff --git a/ecmascript/codegen/tests/references/8286caaa8e0196bb.js b/ecmascript/codegen/tests/test262/8286caaa8e0196bb.js similarity index 100% rename from ecmascript/codegen/tests/references/8286caaa8e0196bb.js rename to ecmascript/codegen/tests/test262/8286caaa8e0196bb.js diff --git a/ecmascript/codegen/tests/references/8290412f79ac2bb6.js b/ecmascript/codegen/tests/test262/8290412f79ac2bb6.js similarity index 100% rename from ecmascript/codegen/tests/references/8290412f79ac2bb6.js rename to ecmascript/codegen/tests/test262/8290412f79ac2bb6.js diff --git a/ecmascript/codegen/tests/references/82a730bd109206bb.js b/ecmascript/codegen/tests/test262/82a730bd109206bb.js similarity index 100% rename from ecmascript/codegen/tests/references/82a730bd109206bb.js rename to ecmascript/codegen/tests/test262/82a730bd109206bb.js diff --git a/ecmascript/codegen/tests/references/82c827ccaecbe22b.js b/ecmascript/codegen/tests/test262/82c827ccaecbe22b.js similarity index 100% rename from ecmascript/codegen/tests/references/82c827ccaecbe22b.js rename to ecmascript/codegen/tests/test262/82c827ccaecbe22b.js diff --git a/ecmascript/codegen/tests/references/832ad002639ce202.js b/ecmascript/codegen/tests/test262/832ad002639ce202.js similarity index 100% rename from ecmascript/codegen/tests/references/832ad002639ce202.js rename to ecmascript/codegen/tests/test262/832ad002639ce202.js diff --git a/ecmascript/codegen/tests/references/8340cdb8653046bb.js b/ecmascript/codegen/tests/test262/8340cdb8653046bb.js similarity index 100% rename from ecmascript/codegen/tests/references/8340cdb8653046bb.js rename to ecmascript/codegen/tests/test262/8340cdb8653046bb.js diff --git a/ecmascript/codegen/tests/references/836158118a07b45d.js b/ecmascript/codegen/tests/test262/836158118a07b45d.js similarity index 100% rename from ecmascript/codegen/tests/references/836158118a07b45d.js rename to ecmascript/codegen/tests/test262/836158118a07b45d.js diff --git a/ecmascript/codegen/tests/references/8386fbff927a9e0e.js b/ecmascript/codegen/tests/test262/8386fbff927a9e0e.js similarity index 100% rename from ecmascript/codegen/tests/references/8386fbff927a9e0e.js rename to ecmascript/codegen/tests/test262/8386fbff927a9e0e.js diff --git a/ecmascript/codegen/tests/references/838d87085df03a6d.js b/ecmascript/codegen/tests/test262/838d87085df03a6d.js similarity index 100% rename from ecmascript/codegen/tests/references/838d87085df03a6d.js rename to ecmascript/codegen/tests/test262/838d87085df03a6d.js diff --git a/ecmascript/codegen/tests/references/83cea3f2e14d1e23.js b/ecmascript/codegen/tests/test262/83cea3f2e14d1e23.js similarity index 100% rename from ecmascript/codegen/tests/references/83cea3f2e14d1e23.js rename to ecmascript/codegen/tests/test262/83cea3f2e14d1e23.js diff --git a/ecmascript/codegen/tests/references/83f083525ae5a0e0.js b/ecmascript/codegen/tests/test262/83f083525ae5a0e0.js similarity index 100% rename from ecmascript/codegen/tests/references/83f083525ae5a0e0.js rename to ecmascript/codegen/tests/test262/83f083525ae5a0e0.js diff --git a/ecmascript/codegen/tests/references/83fc5b5bbdb601ef.js b/ecmascript/codegen/tests/test262/83fc5b5bbdb601ef.js similarity index 100% rename from ecmascript/codegen/tests/references/83fc5b5bbdb601ef.js rename to ecmascript/codegen/tests/test262/83fc5b5bbdb601ef.js diff --git a/ecmascript/codegen/tests/references/8411f3c15e3e8529.js b/ecmascript/codegen/tests/test262/8411f3c15e3e8529.js similarity index 100% rename from ecmascript/codegen/tests/references/8411f3c15e3e8529.js rename to ecmascript/codegen/tests/test262/8411f3c15e3e8529.js diff --git a/ecmascript/codegen/tests/references/84250e15785d8a9e.js b/ecmascript/codegen/tests/test262/84250e15785d8a9e.js similarity index 100% rename from ecmascript/codegen/tests/references/84250e15785d8a9e.js rename to ecmascript/codegen/tests/test262/84250e15785d8a9e.js diff --git a/ecmascript/codegen/tests/references/842fe071562c1a9e.js b/ecmascript/codegen/tests/test262/842fe071562c1a9e.js similarity index 100% rename from ecmascript/codegen/tests/references/842fe071562c1a9e.js rename to ecmascript/codegen/tests/test262/842fe071562c1a9e.js diff --git a/ecmascript/codegen/tests/references/845368e466d341f5.js b/ecmascript/codegen/tests/test262/845368e466d341f5.js similarity index 100% rename from ecmascript/codegen/tests/references/845368e466d341f5.js rename to ecmascript/codegen/tests/test262/845368e466d341f5.js diff --git a/ecmascript/codegen/tests/references/845631d1a33b3409.js b/ecmascript/codegen/tests/test262/845631d1a33b3409.js similarity index 100% rename from ecmascript/codegen/tests/references/845631d1a33b3409.js rename to ecmascript/codegen/tests/test262/845631d1a33b3409.js diff --git a/ecmascript/codegen/tests/references/845e30448809e2bc.js b/ecmascript/codegen/tests/test262/845e30448809e2bc.js similarity index 100% rename from ecmascript/codegen/tests/references/845e30448809e2bc.js rename to ecmascript/codegen/tests/test262/845e30448809e2bc.js diff --git a/ecmascript/codegen/tests/references/8462f068b299bca2.js b/ecmascript/codegen/tests/test262/8462f068b299bca2.js similarity index 100% rename from ecmascript/codegen/tests/references/8462f068b299bca2.js rename to ecmascript/codegen/tests/test262/8462f068b299bca2.js diff --git a/ecmascript/codegen/tests/references/849e112b480fda30.js b/ecmascript/codegen/tests/test262/849e112b480fda30.js similarity index 100% rename from ecmascript/codegen/tests/references/849e112b480fda30.js rename to ecmascript/codegen/tests/test262/849e112b480fda30.js diff --git a/ecmascript/codegen/tests/references/84b2a5d834daee2f.js b/ecmascript/codegen/tests/test262/84b2a5d834daee2f.js similarity index 100% rename from ecmascript/codegen/tests/references/84b2a5d834daee2f.js rename to ecmascript/codegen/tests/test262/84b2a5d834daee2f.js diff --git a/ecmascript/codegen/tests/references/84eaae502ca93891.js b/ecmascript/codegen/tests/test262/84eaae502ca93891.js similarity index 100% rename from ecmascript/codegen/tests/references/84eaae502ca93891.js rename to ecmascript/codegen/tests/test262/84eaae502ca93891.js diff --git a/ecmascript/codegen/tests/references/84f901eb37273117.js b/ecmascript/codegen/tests/test262/84f901eb37273117.js similarity index 100% rename from ecmascript/codegen/tests/references/84f901eb37273117.js rename to ecmascript/codegen/tests/test262/84f901eb37273117.js diff --git a/ecmascript/codegen/tests/references/850a60daa178d3b6.js b/ecmascript/codegen/tests/test262/850a60daa178d3b6.js similarity index 100% rename from ecmascript/codegen/tests/references/850a60daa178d3b6.js rename to ecmascript/codegen/tests/test262/850a60daa178d3b6.js diff --git a/ecmascript/codegen/tests/references/85263ecacc7a4dc5.js b/ecmascript/codegen/tests/test262/85263ecacc7a4dc5.js similarity index 100% rename from ecmascript/codegen/tests/references/85263ecacc7a4dc5.js rename to ecmascript/codegen/tests/test262/85263ecacc7a4dc5.js diff --git a/ecmascript/codegen/tests/references/8543b43f3c48c975.module.js b/ecmascript/codegen/tests/test262/8543b43f3c48c975.module.js similarity index 100% rename from ecmascript/codegen/tests/references/8543b43f3c48c975.module.js rename to ecmascript/codegen/tests/test262/8543b43f3c48c975.module.js diff --git a/ecmascript/codegen/tests/references/855b8dea36c841ed.js b/ecmascript/codegen/tests/test262/855b8dea36c841ed.js similarity index 100% rename from ecmascript/codegen/tests/references/855b8dea36c841ed.js rename to ecmascript/codegen/tests/test262/855b8dea36c841ed.js diff --git a/ecmascript/codegen/tests/references/858d6a756ff641f3.js b/ecmascript/codegen/tests/test262/858d6a756ff641f3.js similarity index 100% rename from ecmascript/codegen/tests/references/858d6a756ff641f3.js rename to ecmascript/codegen/tests/test262/858d6a756ff641f3.js diff --git a/ecmascript/codegen/tests/references/8597768c0fe519eb.js b/ecmascript/codegen/tests/test262/8597768c0fe519eb.js similarity index 100% rename from ecmascript/codegen/tests/references/8597768c0fe519eb.js rename to ecmascript/codegen/tests/test262/8597768c0fe519eb.js diff --git a/ecmascript/codegen/tests/references/85d2d93264f2672d.module.js b/ecmascript/codegen/tests/test262/85d2d93264f2672d.module.js similarity index 100% rename from ecmascript/codegen/tests/references/85d2d93264f2672d.module.js rename to ecmascript/codegen/tests/test262/85d2d93264f2672d.module.js diff --git a/ecmascript/codegen/tests/references/85d6723f13f33101.js b/ecmascript/codegen/tests/test262/85d6723f13f33101.js similarity index 100% rename from ecmascript/codegen/tests/references/85d6723f13f33101.js rename to ecmascript/codegen/tests/test262/85d6723f13f33101.js diff --git a/ecmascript/codegen/tests/references/85e4314fa8f0661f.js b/ecmascript/codegen/tests/test262/85e4314fa8f0661f.js similarity index 100% rename from ecmascript/codegen/tests/references/85e4314fa8f0661f.js rename to ecmascript/codegen/tests/test262/85e4314fa8f0661f.js diff --git a/ecmascript/codegen/tests/references/8628cd459b39ffe8.js b/ecmascript/codegen/tests/test262/8628cd459b39ffe8.js similarity index 100% rename from ecmascript/codegen/tests/references/8628cd459b39ffe8.js rename to ecmascript/codegen/tests/test262/8628cd459b39ffe8.js diff --git a/ecmascript/codegen/tests/references/8643da76fe7e95c7.js b/ecmascript/codegen/tests/test262/8643da76fe7e95c7.js similarity index 100% rename from ecmascript/codegen/tests/references/8643da76fe7e95c7.js rename to ecmascript/codegen/tests/test262/8643da76fe7e95c7.js diff --git a/ecmascript/codegen/tests/references/8664d1a4e7a73078.js b/ecmascript/codegen/tests/test262/8664d1a4e7a73078.js similarity index 100% rename from ecmascript/codegen/tests/references/8664d1a4e7a73078.js rename to ecmascript/codegen/tests/test262/8664d1a4e7a73078.js diff --git a/ecmascript/codegen/tests/references/86a25a2a0e393ed6.js b/ecmascript/codegen/tests/test262/86a25a2a0e393ed6.js similarity index 100% rename from ecmascript/codegen/tests/references/86a25a2a0e393ed6.js rename to ecmascript/codegen/tests/test262/86a25a2a0e393ed6.js diff --git a/ecmascript/codegen/tests/references/86b0ffc811e713ec.js b/ecmascript/codegen/tests/test262/86b0ffc811e713ec.js similarity index 100% rename from ecmascript/codegen/tests/references/86b0ffc811e713ec.js rename to ecmascript/codegen/tests/test262/86b0ffc811e713ec.js diff --git a/ecmascript/codegen/tests/references/86d8f1465e745b44.js b/ecmascript/codegen/tests/test262/86d8f1465e745b44.js similarity index 100% rename from ecmascript/codegen/tests/references/86d8f1465e745b44.js rename to ecmascript/codegen/tests/test262/86d8f1465e745b44.js diff --git a/ecmascript/codegen/tests/references/86f68610fcefaeae.js b/ecmascript/codegen/tests/test262/86f68610fcefaeae.js similarity index 100% rename from ecmascript/codegen/tests/references/86f68610fcefaeae.js rename to ecmascript/codegen/tests/test262/86f68610fcefaeae.js diff --git a/ecmascript/codegen/tests/references/870a0b8d891753e9.js b/ecmascript/codegen/tests/test262/870a0b8d891753e9.js similarity index 100% rename from ecmascript/codegen/tests/references/870a0b8d891753e9.js rename to ecmascript/codegen/tests/test262/870a0b8d891753e9.js diff --git a/ecmascript/codegen/tests/references/8751eb24f903c279.js b/ecmascript/codegen/tests/test262/8751eb24f903c279.js similarity index 100% rename from ecmascript/codegen/tests/references/8751eb24f903c279.js rename to ecmascript/codegen/tests/test262/8751eb24f903c279.js diff --git a/ecmascript/codegen/tests/references/87844be2334fba9e.js b/ecmascript/codegen/tests/test262/87844be2334fba9e.js similarity index 100% rename from ecmascript/codegen/tests/references/87844be2334fba9e.js rename to ecmascript/codegen/tests/test262/87844be2334fba9e.js diff --git a/ecmascript/codegen/tests/references/87a9b0d1d80812cc.js b/ecmascript/codegen/tests/test262/87a9b0d1d80812cc.js similarity index 100% rename from ecmascript/codegen/tests/references/87a9b0d1d80812cc.js rename to ecmascript/codegen/tests/test262/87a9b0d1d80812cc.js diff --git a/ecmascript/codegen/tests/references/87cb789c4ed2b97a.js b/ecmascript/codegen/tests/test262/87cb789c4ed2b97a.js similarity index 100% rename from ecmascript/codegen/tests/references/87cb789c4ed2b97a.js rename to ecmascript/codegen/tests/test262/87cb789c4ed2b97a.js diff --git a/ecmascript/codegen/tests/references/87e1d3eab9d05339.js b/ecmascript/codegen/tests/test262/87e1d3eab9d05339.js similarity index 100% rename from ecmascript/codegen/tests/references/87e1d3eab9d05339.js rename to ecmascript/codegen/tests/test262/87e1d3eab9d05339.js diff --git a/ecmascript/codegen/tests/references/88127d108648d05b.js b/ecmascript/codegen/tests/test262/88127d108648d05b.js similarity index 100% rename from ecmascript/codegen/tests/references/88127d108648d05b.js rename to ecmascript/codegen/tests/test262/88127d108648d05b.js diff --git a/ecmascript/codegen/tests/references/881a7a3d4e17e621.js b/ecmascript/codegen/tests/test262/881a7a3d4e17e621.js similarity index 100% rename from ecmascript/codegen/tests/references/881a7a3d4e17e621.js rename to ecmascript/codegen/tests/test262/881a7a3d4e17e621.js diff --git a/ecmascript/codegen/tests/references/884e5c2703ce95f3.js b/ecmascript/codegen/tests/test262/884e5c2703ce95f3.js similarity index 100% rename from ecmascript/codegen/tests/references/884e5c2703ce95f3.js rename to ecmascript/codegen/tests/test262/884e5c2703ce95f3.js diff --git a/ecmascript/codegen/tests/references/8854cac4acddd510.js b/ecmascript/codegen/tests/test262/8854cac4acddd510.js similarity index 100% rename from ecmascript/codegen/tests/references/8854cac4acddd510.js rename to ecmascript/codegen/tests/test262/8854cac4acddd510.js diff --git a/ecmascript/codegen/tests/references/88561e211e862344.js b/ecmascript/codegen/tests/test262/88561e211e862344.js similarity index 100% rename from ecmascript/codegen/tests/references/88561e211e862344.js rename to ecmascript/codegen/tests/test262/88561e211e862344.js diff --git a/ecmascript/codegen/tests/references/88827d8021b5b3ab.js b/ecmascript/codegen/tests/test262/88827d8021b5b3ab.js similarity index 100% rename from ecmascript/codegen/tests/references/88827d8021b5b3ab.js rename to ecmascript/codegen/tests/test262/88827d8021b5b3ab.js diff --git a/ecmascript/codegen/tests/references/88af07b3dc006159.js b/ecmascript/codegen/tests/test262/88af07b3dc006159.js similarity index 100% rename from ecmascript/codegen/tests/references/88af07b3dc006159.js rename to ecmascript/codegen/tests/test262/88af07b3dc006159.js diff --git a/ecmascript/codegen/tests/references/88c21621e3e8bba0.js b/ecmascript/codegen/tests/test262/88c21621e3e8bba0.js similarity index 100% rename from ecmascript/codegen/tests/references/88c21621e3e8bba0.js rename to ecmascript/codegen/tests/test262/88c21621e3e8bba0.js diff --git a/ecmascript/codegen/tests/references/88d42455ac933ef5.js b/ecmascript/codegen/tests/test262/88d42455ac933ef5.js similarity index 100% rename from ecmascript/codegen/tests/references/88d42455ac933ef5.js rename to ecmascript/codegen/tests/test262/88d42455ac933ef5.js diff --git a/ecmascript/codegen/tests/references/88e99d6cd8e8d87f.js b/ecmascript/codegen/tests/test262/88e99d6cd8e8d87f.js similarity index 100% rename from ecmascript/codegen/tests/references/88e99d6cd8e8d87f.js rename to ecmascript/codegen/tests/test262/88e99d6cd8e8d87f.js diff --git a/ecmascript/codegen/tests/references/891fc3470b618587.js b/ecmascript/codegen/tests/test262/891fc3470b618587.js similarity index 100% rename from ecmascript/codegen/tests/references/891fc3470b618587.js rename to ecmascript/codegen/tests/test262/891fc3470b618587.js diff --git a/ecmascript/codegen/tests/references/892f6e09c02c35b5.js b/ecmascript/codegen/tests/test262/892f6e09c02c35b5.js similarity index 100% rename from ecmascript/codegen/tests/references/892f6e09c02c35b5.js rename to ecmascript/codegen/tests/test262/892f6e09c02c35b5.js diff --git a/ecmascript/codegen/tests/references/8996d3eb07c6f7cd.js b/ecmascript/codegen/tests/test262/8996d3eb07c6f7cd.js similarity index 100% rename from ecmascript/codegen/tests/references/8996d3eb07c6f7cd.js rename to ecmascript/codegen/tests/test262/8996d3eb07c6f7cd.js diff --git a/ecmascript/codegen/tests/references/89a31837e6736b2a.js b/ecmascript/codegen/tests/test262/89a31837e6736b2a.js similarity index 100% rename from ecmascript/codegen/tests/references/89a31837e6736b2a.js rename to ecmascript/codegen/tests/test262/89a31837e6736b2a.js diff --git a/ecmascript/codegen/tests/references/89c872e56d527908.js b/ecmascript/codegen/tests/test262/89c872e56d527908.js similarity index 100% rename from ecmascript/codegen/tests/references/89c872e56d527908.js rename to ecmascript/codegen/tests/test262/89c872e56d527908.js diff --git a/ecmascript/codegen/tests/references/8a0fc8ea31727188.module.js b/ecmascript/codegen/tests/test262/8a0fc8ea31727188.module.js similarity index 100% rename from ecmascript/codegen/tests/references/8a0fc8ea31727188.module.js rename to ecmascript/codegen/tests/test262/8a0fc8ea31727188.module.js diff --git a/ecmascript/codegen/tests/references/8a40542f1f53c4f0.js b/ecmascript/codegen/tests/test262/8a40542f1f53c4f0.js similarity index 100% rename from ecmascript/codegen/tests/references/8a40542f1f53c4f0.js rename to ecmascript/codegen/tests/test262/8a40542f1f53c4f0.js diff --git a/ecmascript/codegen/tests/references/8aa3cd2609b4f278.js b/ecmascript/codegen/tests/test262/8aa3cd2609b4f278.js similarity index 100% rename from ecmascript/codegen/tests/references/8aa3cd2609b4f278.js rename to ecmascript/codegen/tests/test262/8aa3cd2609b4f278.js diff --git a/ecmascript/codegen/tests/references/8ad4edbe9317df28.js b/ecmascript/codegen/tests/test262/8ad4edbe9317df28.js similarity index 100% rename from ecmascript/codegen/tests/references/8ad4edbe9317df28.js rename to ecmascript/codegen/tests/test262/8ad4edbe9317df28.js diff --git a/ecmascript/codegen/tests/references/8ae0c86bd7897b7b.js b/ecmascript/codegen/tests/test262/8ae0c86bd7897b7b.js similarity index 100% rename from ecmascript/codegen/tests/references/8ae0c86bd7897b7b.js rename to ecmascript/codegen/tests/test262/8ae0c86bd7897b7b.js diff --git a/ecmascript/codegen/tests/references/8af69d8f15295ed2.js b/ecmascript/codegen/tests/test262/8af69d8f15295ed2.js similarity index 100% rename from ecmascript/codegen/tests/references/8af69d8f15295ed2.js rename to ecmascript/codegen/tests/test262/8af69d8f15295ed2.js diff --git a/ecmascript/codegen/tests/references/8b4ff58f416e17b5.js b/ecmascript/codegen/tests/test262/8b4ff58f416e17b5.js similarity index 100% rename from ecmascript/codegen/tests/references/8b4ff58f416e17b5.js rename to ecmascript/codegen/tests/test262/8b4ff58f416e17b5.js diff --git a/ecmascript/codegen/tests/references/8b6bded4f89f89f6.js b/ecmascript/codegen/tests/test262/8b6bded4f89f89f6.js similarity index 100% rename from ecmascript/codegen/tests/references/8b6bded4f89f89f6.js rename to ecmascript/codegen/tests/test262/8b6bded4f89f89f6.js diff --git a/ecmascript/codegen/tests/references/8b8edcb36909900b.js b/ecmascript/codegen/tests/test262/8b8edcb36909900b.js similarity index 100% rename from ecmascript/codegen/tests/references/8b8edcb36909900b.js rename to ecmascript/codegen/tests/test262/8b8edcb36909900b.js diff --git a/ecmascript/codegen/tests/references/8b9cd46352285386.js b/ecmascript/codegen/tests/test262/8b9cd46352285386.js similarity index 100% rename from ecmascript/codegen/tests/references/8b9cd46352285386.js rename to ecmascript/codegen/tests/test262/8b9cd46352285386.js diff --git a/ecmascript/codegen/tests/references/8bd57faa6bcca5e2.js b/ecmascript/codegen/tests/test262/8bd57faa6bcca5e2.js similarity index 100% rename from ecmascript/codegen/tests/references/8bd57faa6bcca5e2.js rename to ecmascript/codegen/tests/test262/8bd57faa6bcca5e2.js diff --git a/ecmascript/codegen/tests/references/8be0df708b9e56ca.js b/ecmascript/codegen/tests/test262/8be0df708b9e56ca.js similarity index 100% rename from ecmascript/codegen/tests/references/8be0df708b9e56ca.js rename to ecmascript/codegen/tests/test262/8be0df708b9e56ca.js diff --git a/ecmascript/codegen/tests/references/8bf3ec35c55ed3c0.js b/ecmascript/codegen/tests/test262/8bf3ec35c55ed3c0.js similarity index 100% rename from ecmascript/codegen/tests/references/8bf3ec35c55ed3c0.js rename to ecmascript/codegen/tests/test262/8bf3ec35c55ed3c0.js diff --git a/ecmascript/codegen/tests/references/8c27fb7ef1e3ca3d.js b/ecmascript/codegen/tests/test262/8c27fb7ef1e3ca3d.js similarity index 100% rename from ecmascript/codegen/tests/references/8c27fb7ef1e3ca3d.js rename to ecmascript/codegen/tests/test262/8c27fb7ef1e3ca3d.js diff --git a/ecmascript/codegen/tests/references/8c56513a6ac3cdff.js b/ecmascript/codegen/tests/test262/8c56513a6ac3cdff.js similarity index 100% rename from ecmascript/codegen/tests/references/8c56513a6ac3cdff.js rename to ecmascript/codegen/tests/test262/8c56513a6ac3cdff.js diff --git a/ecmascript/codegen/tests/references/8c56cf12f007a392.js b/ecmascript/codegen/tests/test262/8c56cf12f007a392.js similarity index 100% rename from ecmascript/codegen/tests/references/8c56cf12f007a392.js rename to ecmascript/codegen/tests/test262/8c56cf12f007a392.js diff --git a/ecmascript/codegen/tests/references/8c5c46a300d5addb.module.js b/ecmascript/codegen/tests/test262/8c5c46a300d5addb.module.js similarity index 100% rename from ecmascript/codegen/tests/references/8c5c46a300d5addb.module.js rename to ecmascript/codegen/tests/test262/8c5c46a300d5addb.module.js diff --git a/ecmascript/codegen/tests/references/8c80f7ee04352eba.js b/ecmascript/codegen/tests/test262/8c80f7ee04352eba.js similarity index 100% rename from ecmascript/codegen/tests/references/8c80f7ee04352eba.js rename to ecmascript/codegen/tests/test262/8c80f7ee04352eba.js diff --git a/ecmascript/codegen/tests/references/8c8a7a2941fb6d64.js b/ecmascript/codegen/tests/test262/8c8a7a2941fb6d64.js similarity index 100% rename from ecmascript/codegen/tests/references/8c8a7a2941fb6d64.js rename to ecmascript/codegen/tests/test262/8c8a7a2941fb6d64.js diff --git a/ecmascript/codegen/tests/references/8ce30bb40ffff192.js b/ecmascript/codegen/tests/test262/8ce30bb40ffff192.js similarity index 100% rename from ecmascript/codegen/tests/references/8ce30bb40ffff192.js rename to ecmascript/codegen/tests/test262/8ce30bb40ffff192.js diff --git a/ecmascript/codegen/tests/references/8d14286a8cc6ee9d.js b/ecmascript/codegen/tests/test262/8d14286a8cc6ee9d.js similarity index 100% rename from ecmascript/codegen/tests/references/8d14286a8cc6ee9d.js rename to ecmascript/codegen/tests/test262/8d14286a8cc6ee9d.js diff --git a/ecmascript/codegen/tests/references/8d2463220e3cd0d7.js b/ecmascript/codegen/tests/test262/8d2463220e3cd0d7.js similarity index 100% rename from ecmascript/codegen/tests/references/8d2463220e3cd0d7.js rename to ecmascript/codegen/tests/test262/8d2463220e3cd0d7.js diff --git a/ecmascript/codegen/tests/references/8d2ffebc7214c34f.js b/ecmascript/codegen/tests/test262/8d2ffebc7214c34f.js similarity index 100% rename from ecmascript/codegen/tests/references/8d2ffebc7214c34f.js rename to ecmascript/codegen/tests/test262/8d2ffebc7214c34f.js diff --git a/ecmascript/codegen/tests/references/8d40617aec6fabe5.js b/ecmascript/codegen/tests/test262/8d40617aec6fabe5.js similarity index 100% rename from ecmascript/codegen/tests/references/8d40617aec6fabe5.js rename to ecmascript/codegen/tests/test262/8d40617aec6fabe5.js diff --git a/ecmascript/codegen/tests/references/8d470354c5d2e216.js b/ecmascript/codegen/tests/test262/8d470354c5d2e216.js similarity index 100% rename from ecmascript/codegen/tests/references/8d470354c5d2e216.js rename to ecmascript/codegen/tests/test262/8d470354c5d2e216.js diff --git a/ecmascript/codegen/tests/references/8d5679ec94e658e1.js b/ecmascript/codegen/tests/test262/8d5679ec94e658e1.js similarity index 100% rename from ecmascript/codegen/tests/references/8d5679ec94e658e1.js rename to ecmascript/codegen/tests/test262/8d5679ec94e658e1.js diff --git a/ecmascript/codegen/tests/references/8d5aeaf1120f0897.js b/ecmascript/codegen/tests/test262/8d5aeaf1120f0897.js similarity index 100% rename from ecmascript/codegen/tests/references/8d5aeaf1120f0897.js rename to ecmascript/codegen/tests/test262/8d5aeaf1120f0897.js diff --git a/ecmascript/codegen/tests/references/8d6435fa243d5b1a.js b/ecmascript/codegen/tests/test262/8d6435fa243d5b1a.js similarity index 100% rename from ecmascript/codegen/tests/references/8d6435fa243d5b1a.js rename to ecmascript/codegen/tests/test262/8d6435fa243d5b1a.js diff --git a/ecmascript/codegen/tests/references/8d67ad04bfc356c9.js b/ecmascript/codegen/tests/test262/8d67ad04bfc356c9.js similarity index 100% rename from ecmascript/codegen/tests/references/8d67ad04bfc356c9.js rename to ecmascript/codegen/tests/test262/8d67ad04bfc356c9.js diff --git a/ecmascript/codegen/tests/references/8d6ab6352a3f7fa0.js b/ecmascript/codegen/tests/test262/8d6ab6352a3f7fa0.js similarity index 100% rename from ecmascript/codegen/tests/references/8d6ab6352a3f7fa0.js rename to ecmascript/codegen/tests/test262/8d6ab6352a3f7fa0.js diff --git a/ecmascript/codegen/tests/references/8d7d59e5d573ca84.js b/ecmascript/codegen/tests/test262/8d7d59e5d573ca84.js similarity index 100% rename from ecmascript/codegen/tests/references/8d7d59e5d573ca84.js rename to ecmascript/codegen/tests/test262/8d7d59e5d573ca84.js diff --git a/ecmascript/codegen/tests/references/8d8913ebd8403c6a.js b/ecmascript/codegen/tests/test262/8d8913ebd8403c6a.js similarity index 100% rename from ecmascript/codegen/tests/references/8d8913ebd8403c6a.js rename to ecmascript/codegen/tests/test262/8d8913ebd8403c6a.js diff --git a/ecmascript/codegen/tests/references/8db74b0d31f10261.js b/ecmascript/codegen/tests/test262/8db74b0d31f10261.js similarity index 100% rename from ecmascript/codegen/tests/references/8db74b0d31f10261.js rename to ecmascript/codegen/tests/test262/8db74b0d31f10261.js diff --git a/ecmascript/codegen/tests/references/8dbf5f9322d8b5ac.js b/ecmascript/codegen/tests/test262/8dbf5f9322d8b5ac.js similarity index 100% rename from ecmascript/codegen/tests/references/8dbf5f9322d8b5ac.js rename to ecmascript/codegen/tests/test262/8dbf5f9322d8b5ac.js diff --git a/ecmascript/codegen/tests/references/8ddbdc8954dd7aa9.js b/ecmascript/codegen/tests/test262/8ddbdc8954dd7aa9.js similarity index 100% rename from ecmascript/codegen/tests/references/8ddbdc8954dd7aa9.js rename to ecmascript/codegen/tests/test262/8ddbdc8954dd7aa9.js diff --git a/ecmascript/codegen/tests/references/8de47a8b53495792.js b/ecmascript/codegen/tests/test262/8de47a8b53495792.js similarity index 100% rename from ecmascript/codegen/tests/references/8de47a8b53495792.js rename to ecmascript/codegen/tests/test262/8de47a8b53495792.js diff --git a/ecmascript/codegen/tests/references/8e37579cd5ffb2df.js b/ecmascript/codegen/tests/test262/8e37579cd5ffb2df.js similarity index 100% rename from ecmascript/codegen/tests/references/8e37579cd5ffb2df.js rename to ecmascript/codegen/tests/test262/8e37579cd5ffb2df.js diff --git a/ecmascript/codegen/tests/references/8e3f0660b32fbfd2.js b/ecmascript/codegen/tests/test262/8e3f0660b32fbfd2.js similarity index 100% rename from ecmascript/codegen/tests/references/8e3f0660b32fbfd2.js rename to ecmascript/codegen/tests/test262/8e3f0660b32fbfd2.js diff --git a/ecmascript/codegen/tests/references/8e609bb71c20b858.module.js b/ecmascript/codegen/tests/test262/8e609bb71c20b858.module.js similarity index 100% rename from ecmascript/codegen/tests/references/8e609bb71c20b858.module.js rename to ecmascript/codegen/tests/test262/8e609bb71c20b858.module.js diff --git a/ecmascript/codegen/tests/references/8e6c915d1746636d.js b/ecmascript/codegen/tests/test262/8e6c915d1746636d.js similarity index 100% rename from ecmascript/codegen/tests/references/8e6c915d1746636d.js rename to ecmascript/codegen/tests/test262/8e6c915d1746636d.js diff --git a/ecmascript/codegen/tests/references/8e8e921a75194950.js b/ecmascript/codegen/tests/test262/8e8e921a75194950.js similarity index 100% rename from ecmascript/codegen/tests/references/8e8e921a75194950.js rename to ecmascript/codegen/tests/test262/8e8e921a75194950.js diff --git a/ecmascript/codegen/tests/references/8ec6a55806087669.js b/ecmascript/codegen/tests/test262/8ec6a55806087669.js similarity index 100% rename from ecmascript/codegen/tests/references/8ec6a55806087669.js rename to ecmascript/codegen/tests/test262/8ec6a55806087669.js diff --git a/ecmascript/codegen/tests/references/8ecaef2617d8c6a7.js b/ecmascript/codegen/tests/test262/8ecaef2617d8c6a7.js similarity index 100% rename from ecmascript/codegen/tests/references/8ecaef2617d8c6a7.js rename to ecmascript/codegen/tests/test262/8ecaef2617d8c6a7.js diff --git a/ecmascript/codegen/tests/references/8ed2a171ab34c301.js b/ecmascript/codegen/tests/test262/8ed2a171ab34c301.js similarity index 100% rename from ecmascript/codegen/tests/references/8ed2a171ab34c301.js rename to ecmascript/codegen/tests/test262/8ed2a171ab34c301.js diff --git a/ecmascript/codegen/tests/references/8ed2fce2b9b43fb7.js b/ecmascript/codegen/tests/test262/8ed2fce2b9b43fb7.js similarity index 100% rename from ecmascript/codegen/tests/references/8ed2fce2b9b43fb7.js rename to ecmascript/codegen/tests/test262/8ed2fce2b9b43fb7.js diff --git a/ecmascript/codegen/tests/references/8ef08a335a7f5966.js b/ecmascript/codegen/tests/test262/8ef08a335a7f5966.js similarity index 100% rename from ecmascript/codegen/tests/references/8ef08a335a7f5966.js rename to ecmascript/codegen/tests/test262/8ef08a335a7f5966.js diff --git a/ecmascript/codegen/tests/references/8f0084b1073e1877.js b/ecmascript/codegen/tests/test262/8f0084b1073e1877.js similarity index 100% rename from ecmascript/codegen/tests/references/8f0084b1073e1877.js rename to ecmascript/codegen/tests/test262/8f0084b1073e1877.js diff --git a/ecmascript/codegen/tests/references/8f4f97274dea4723.js b/ecmascript/codegen/tests/test262/8f4f97274dea4723.js similarity index 100% rename from ecmascript/codegen/tests/references/8f4f97274dea4723.js rename to ecmascript/codegen/tests/test262/8f4f97274dea4723.js diff --git a/ecmascript/codegen/tests/references/8f659ed872554f99.js b/ecmascript/codegen/tests/test262/8f659ed872554f99.js similarity index 100% rename from ecmascript/codegen/tests/references/8f659ed872554f99.js rename to ecmascript/codegen/tests/test262/8f659ed872554f99.js diff --git a/ecmascript/codegen/tests/references/8f8a9f6ca890939e.js b/ecmascript/codegen/tests/test262/8f8a9f6ca890939e.js similarity index 100% rename from ecmascript/codegen/tests/references/8f8a9f6ca890939e.js rename to ecmascript/codegen/tests/test262/8f8a9f6ca890939e.js diff --git a/ecmascript/codegen/tests/references/8f8bfb27569ac008.js b/ecmascript/codegen/tests/test262/8f8bfb27569ac008.js similarity index 100% rename from ecmascript/codegen/tests/references/8f8bfb27569ac008.js rename to ecmascript/codegen/tests/test262/8f8bfb27569ac008.js diff --git a/ecmascript/codegen/tests/references/8f9e8be5a6c50e77.js b/ecmascript/codegen/tests/test262/8f9e8be5a6c50e77.js similarity index 100% rename from ecmascript/codegen/tests/references/8f9e8be5a6c50e77.js rename to ecmascript/codegen/tests/test262/8f9e8be5a6c50e77.js diff --git a/ecmascript/codegen/tests/references/8fcaa7f3f8926a5e.js b/ecmascript/codegen/tests/test262/8fcaa7f3f8926a5e.js similarity index 100% rename from ecmascript/codegen/tests/references/8fcaa7f3f8926a5e.js rename to ecmascript/codegen/tests/test262/8fcaa7f3f8926a5e.js diff --git a/ecmascript/codegen/tests/references/9013f39c33dc8416.js b/ecmascript/codegen/tests/test262/9013f39c33dc8416.js similarity index 100% rename from ecmascript/codegen/tests/references/9013f39c33dc8416.js rename to ecmascript/codegen/tests/test262/9013f39c33dc8416.js diff --git a/ecmascript/codegen/tests/references/901fca17189cd709.js b/ecmascript/codegen/tests/test262/901fca17189cd709.js similarity index 100% rename from ecmascript/codegen/tests/references/901fca17189cd709.js rename to ecmascript/codegen/tests/test262/901fca17189cd709.js diff --git a/ecmascript/codegen/tests/references/9027dae72a91a9ed.js b/ecmascript/codegen/tests/test262/9027dae72a91a9ed.js similarity index 100% rename from ecmascript/codegen/tests/references/9027dae72a91a9ed.js rename to ecmascript/codegen/tests/test262/9027dae72a91a9ed.js diff --git a/ecmascript/codegen/tests/references/9036914be00c0dc7.js b/ecmascript/codegen/tests/test262/9036914be00c0dc7.js similarity index 100% rename from ecmascript/codegen/tests/references/9036914be00c0dc7.js rename to ecmascript/codegen/tests/test262/9036914be00c0dc7.js diff --git a/ecmascript/codegen/tests/references/903dd05bf49c8fac.js b/ecmascript/codegen/tests/test262/903dd05bf49c8fac.js similarity index 100% rename from ecmascript/codegen/tests/references/903dd05bf49c8fac.js rename to ecmascript/codegen/tests/test262/903dd05bf49c8fac.js diff --git a/ecmascript/codegen/tests/references/906e545ceef0fcfd.js b/ecmascript/codegen/tests/test262/906e545ceef0fcfd.js similarity index 100% rename from ecmascript/codegen/tests/references/906e545ceef0fcfd.js rename to ecmascript/codegen/tests/test262/906e545ceef0fcfd.js diff --git a/ecmascript/codegen/tests/references/90919cd6fd06c4d8.js b/ecmascript/codegen/tests/test262/90919cd6fd06c4d8.js similarity index 100% rename from ecmascript/codegen/tests/references/90919cd6fd06c4d8.js rename to ecmascript/codegen/tests/test262/90919cd6fd06c4d8.js diff --git a/ecmascript/codegen/tests/references/90abe26c46af6975.js b/ecmascript/codegen/tests/test262/90abe26c46af6975.js similarity index 100% rename from ecmascript/codegen/tests/references/90abe26c46af6975.js rename to ecmascript/codegen/tests/test262/90abe26c46af6975.js diff --git a/ecmascript/codegen/tests/references/90ad0135b905a622.js b/ecmascript/codegen/tests/test262/90ad0135b905a622.js similarity index 100% rename from ecmascript/codegen/tests/references/90ad0135b905a622.js rename to ecmascript/codegen/tests/test262/90ad0135b905a622.js diff --git a/ecmascript/codegen/tests/references/90fa9751ab71ce28.js b/ecmascript/codegen/tests/test262/90fa9751ab71ce28.js similarity index 100% rename from ecmascript/codegen/tests/references/90fa9751ab71ce28.js rename to ecmascript/codegen/tests/test262/90fa9751ab71ce28.js diff --git a/ecmascript/codegen/tests/references/914ae3168da48965.js b/ecmascript/codegen/tests/test262/914ae3168da48965.js similarity index 100% rename from ecmascript/codegen/tests/references/914ae3168da48965.js rename to ecmascript/codegen/tests/test262/914ae3168da48965.js diff --git a/ecmascript/codegen/tests/references/9159ea4175a5a021.js b/ecmascript/codegen/tests/test262/9159ea4175a5a021.js similarity index 100% rename from ecmascript/codegen/tests/references/9159ea4175a5a021.js rename to ecmascript/codegen/tests/test262/9159ea4175a5a021.js diff --git a/ecmascript/codegen/tests/references/918e105a2ff6c64a.js b/ecmascript/codegen/tests/test262/918e105a2ff6c64a.js similarity index 100% rename from ecmascript/codegen/tests/references/918e105a2ff6c64a.js rename to ecmascript/codegen/tests/test262/918e105a2ff6c64a.js diff --git a/ecmascript/codegen/tests/references/91cbb6971c86509e.js b/ecmascript/codegen/tests/test262/91cbb6971c86509e.js similarity index 100% rename from ecmascript/codegen/tests/references/91cbb6971c86509e.js rename to ecmascript/codegen/tests/test262/91cbb6971c86509e.js diff --git a/ecmascript/codegen/tests/references/91f2fa0b11550b30.js b/ecmascript/codegen/tests/test262/91f2fa0b11550b30.js similarity index 100% rename from ecmascript/codegen/tests/references/91f2fa0b11550b30.js rename to ecmascript/codegen/tests/test262/91f2fa0b11550b30.js diff --git a/ecmascript/codegen/tests/references/9203cb34e9b091dc.js b/ecmascript/codegen/tests/test262/9203cb34e9b091dc.js similarity index 100% rename from ecmascript/codegen/tests/references/9203cb34e9b091dc.js rename to ecmascript/codegen/tests/test262/9203cb34e9b091dc.js diff --git a/ecmascript/codegen/tests/references/9208254b5f8a8481.js b/ecmascript/codegen/tests/test262/9208254b5f8a8481.js similarity index 100% rename from ecmascript/codegen/tests/references/9208254b5f8a8481.js rename to ecmascript/codegen/tests/test262/9208254b5f8a8481.js diff --git a/ecmascript/codegen/tests/references/923c99b441ab5a26.js b/ecmascript/codegen/tests/test262/923c99b441ab5a26.js similarity index 100% rename from ecmascript/codegen/tests/references/923c99b441ab5a26.js rename to ecmascript/codegen/tests/test262/923c99b441ab5a26.js diff --git a/ecmascript/codegen/tests/references/925443c6cf79aa88.js b/ecmascript/codegen/tests/test262/925443c6cf79aa88.js similarity index 100% rename from ecmascript/codegen/tests/references/925443c6cf79aa88.js rename to ecmascript/codegen/tests/test262/925443c6cf79aa88.js diff --git a/ecmascript/codegen/tests/references/927b1e0dd52248a6.js b/ecmascript/codegen/tests/test262/927b1e0dd52248a6.js similarity index 100% rename from ecmascript/codegen/tests/references/927b1e0dd52248a6.js rename to ecmascript/codegen/tests/test262/927b1e0dd52248a6.js diff --git a/ecmascript/codegen/tests/references/927efb51d4882ccb.js b/ecmascript/codegen/tests/test262/927efb51d4882ccb.js similarity index 100% rename from ecmascript/codegen/tests/references/927efb51d4882ccb.js rename to ecmascript/codegen/tests/test262/927efb51d4882ccb.js diff --git a/ecmascript/codegen/tests/references/92a997b1ba17876e.js b/ecmascript/codegen/tests/test262/92a997b1ba17876e.js similarity index 100% rename from ecmascript/codegen/tests/references/92a997b1ba17876e.js rename to ecmascript/codegen/tests/test262/92a997b1ba17876e.js diff --git a/ecmascript/codegen/tests/references/92dd079c741d2a95.js b/ecmascript/codegen/tests/test262/92dd079c741d2a95.js similarity index 100% rename from ecmascript/codegen/tests/references/92dd079c741d2a95.js rename to ecmascript/codegen/tests/test262/92dd079c741d2a95.js diff --git a/ecmascript/codegen/tests/references/92fd8e24864fde0a.js b/ecmascript/codegen/tests/test262/92fd8e24864fde0a.js similarity index 100% rename from ecmascript/codegen/tests/references/92fd8e24864fde0a.js rename to ecmascript/codegen/tests/test262/92fd8e24864fde0a.js diff --git a/ecmascript/codegen/tests/references/93108a695e5ff29d.js b/ecmascript/codegen/tests/test262/93108a695e5ff29d.js similarity index 100% rename from ecmascript/codegen/tests/references/93108a695e5ff29d.js rename to ecmascript/codegen/tests/test262/93108a695e5ff29d.js diff --git a/ecmascript/codegen/tests/references/9312a1adbbf0a4c0.js b/ecmascript/codegen/tests/test262/9312a1adbbf0a4c0.js similarity index 100% rename from ecmascript/codegen/tests/references/9312a1adbbf0a4c0.js rename to ecmascript/codegen/tests/test262/9312a1adbbf0a4c0.js diff --git a/ecmascript/codegen/tests/references/9331c78bb0fc6a55.js b/ecmascript/codegen/tests/test262/9331c78bb0fc6a55.js similarity index 100% rename from ecmascript/codegen/tests/references/9331c78bb0fc6a55.js rename to ecmascript/codegen/tests/test262/9331c78bb0fc6a55.js diff --git a/ecmascript/codegen/tests/references/9349f48a456341b8.js b/ecmascript/codegen/tests/test262/9349f48a456341b8.js similarity index 100% rename from ecmascript/codegen/tests/references/9349f48a456341b8.js rename to ecmascript/codegen/tests/test262/9349f48a456341b8.js diff --git a/ecmascript/codegen/tests/references/937059a5e53177e5.js b/ecmascript/codegen/tests/test262/937059a5e53177e5.js similarity index 100% rename from ecmascript/codegen/tests/references/937059a5e53177e5.js rename to ecmascript/codegen/tests/test262/937059a5e53177e5.js diff --git a/ecmascript/codegen/tests/references/939479d60d564ccd.js b/ecmascript/codegen/tests/test262/939479d60d564ccd.js similarity index 100% rename from ecmascript/codegen/tests/references/939479d60d564ccd.js rename to ecmascript/codegen/tests/test262/939479d60d564ccd.js diff --git a/ecmascript/codegen/tests/references/93bd9d668ac308a0.js b/ecmascript/codegen/tests/test262/93bd9d668ac308a0.js similarity index 100% rename from ecmascript/codegen/tests/references/93bd9d668ac308a0.js rename to ecmascript/codegen/tests/test262/93bd9d668ac308a0.js diff --git a/ecmascript/codegen/tests/references/93c32bb0a4bad388.module.js b/ecmascript/codegen/tests/test262/93c32bb0a4bad388.module.js similarity index 100% rename from ecmascript/codegen/tests/references/93c32bb0a4bad388.module.js rename to ecmascript/codegen/tests/test262/93c32bb0a4bad388.module.js diff --git a/ecmascript/codegen/tests/references/93c75264893587a5.js b/ecmascript/codegen/tests/test262/93c75264893587a5.js similarity index 100% rename from ecmascript/codegen/tests/references/93c75264893587a5.js rename to ecmascript/codegen/tests/test262/93c75264893587a5.js diff --git a/ecmascript/codegen/tests/references/93cac77bbf2242ab.js b/ecmascript/codegen/tests/test262/93cac77bbf2242ab.js similarity index 100% rename from ecmascript/codegen/tests/references/93cac77bbf2242ab.js rename to ecmascript/codegen/tests/test262/93cac77bbf2242ab.js diff --git a/ecmascript/codegen/tests/references/93d4c5dfbddf859d.js b/ecmascript/codegen/tests/test262/93d4c5dfbddf859d.js similarity index 100% rename from ecmascript/codegen/tests/references/93d4c5dfbddf859d.js rename to ecmascript/codegen/tests/test262/93d4c5dfbddf859d.js diff --git a/ecmascript/codegen/tests/references/9427da8abb4e7c67.js b/ecmascript/codegen/tests/test262/9427da8abb4e7c67.js similarity index 100% rename from ecmascript/codegen/tests/references/9427da8abb4e7c67.js rename to ecmascript/codegen/tests/test262/9427da8abb4e7c67.js diff --git a/ecmascript/codegen/tests/references/946bee37652a31fa.js b/ecmascript/codegen/tests/test262/946bee37652a31fa.js similarity index 100% rename from ecmascript/codegen/tests/references/946bee37652a31fa.js rename to ecmascript/codegen/tests/test262/946bee37652a31fa.js diff --git a/ecmascript/codegen/tests/references/94846b0ae1cac1a2.js b/ecmascript/codegen/tests/test262/94846b0ae1cac1a2.js similarity index 100% rename from ecmascript/codegen/tests/references/94846b0ae1cac1a2.js rename to ecmascript/codegen/tests/test262/94846b0ae1cac1a2.js diff --git a/ecmascript/codegen/tests/references/9495a0dcecf5713c.js b/ecmascript/codegen/tests/test262/9495a0dcecf5713c.js similarity index 100% rename from ecmascript/codegen/tests/references/9495a0dcecf5713c.js rename to ecmascript/codegen/tests/test262/9495a0dcecf5713c.js diff --git a/ecmascript/codegen/tests/references/94b8a654a87039b9.js b/ecmascript/codegen/tests/test262/94b8a654a87039b9.js similarity index 100% rename from ecmascript/codegen/tests/references/94b8a654a87039b9.js rename to ecmascript/codegen/tests/test262/94b8a654a87039b9.js diff --git a/ecmascript/codegen/tests/references/94be09b126b946b8.js b/ecmascript/codegen/tests/test262/94be09b126b946b8.js similarity index 100% rename from ecmascript/codegen/tests/references/94be09b126b946b8.js rename to ecmascript/codegen/tests/test262/94be09b126b946b8.js diff --git a/ecmascript/codegen/tests/references/94c72b68d8726b07.js b/ecmascript/codegen/tests/test262/94c72b68d8726b07.js similarity index 100% rename from ecmascript/codegen/tests/references/94c72b68d8726b07.js rename to ecmascript/codegen/tests/test262/94c72b68d8726b07.js diff --git a/ecmascript/codegen/tests/references/94cb828d5dcfd136.js b/ecmascript/codegen/tests/test262/94cb828d5dcfd136.js similarity index 100% rename from ecmascript/codegen/tests/references/94cb828d5dcfd136.js rename to ecmascript/codegen/tests/test262/94cb828d5dcfd136.js diff --git a/ecmascript/codegen/tests/references/951e1b875db534f9.js b/ecmascript/codegen/tests/test262/951e1b875db534f9.js similarity index 100% rename from ecmascript/codegen/tests/references/951e1b875db534f9.js rename to ecmascript/codegen/tests/test262/951e1b875db534f9.js diff --git a/ecmascript/codegen/tests/references/95408309cc3a1d30.js b/ecmascript/codegen/tests/test262/95408309cc3a1d30.js similarity index 100% rename from ecmascript/codegen/tests/references/95408309cc3a1d30.js rename to ecmascript/codegen/tests/test262/95408309cc3a1d30.js diff --git a/ecmascript/codegen/tests/references/954a896471379dc8.js b/ecmascript/codegen/tests/test262/954a896471379dc8.js similarity index 100% rename from ecmascript/codegen/tests/references/954a896471379dc8.js rename to ecmascript/codegen/tests/test262/954a896471379dc8.js diff --git a/ecmascript/codegen/tests/references/95520bedf0fdd4c9.js b/ecmascript/codegen/tests/test262/95520bedf0fdd4c9.js similarity index 100% rename from ecmascript/codegen/tests/references/95520bedf0fdd4c9.js rename to ecmascript/codegen/tests/test262/95520bedf0fdd4c9.js diff --git a/ecmascript/codegen/tests/references/955c5fedb3931500.js b/ecmascript/codegen/tests/test262/955c5fedb3931500.js similarity index 100% rename from ecmascript/codegen/tests/references/955c5fedb3931500.js rename to ecmascript/codegen/tests/test262/955c5fedb3931500.js diff --git a/ecmascript/codegen/tests/references/95ab0d795c04ff38.js b/ecmascript/codegen/tests/test262/95ab0d795c04ff38.js similarity index 100% rename from ecmascript/codegen/tests/references/95ab0d795c04ff38.js rename to ecmascript/codegen/tests/test262/95ab0d795c04ff38.js diff --git a/ecmascript/codegen/tests/references/96059002704b3ac3.js b/ecmascript/codegen/tests/test262/96059002704b3ac3.js similarity index 100% rename from ecmascript/codegen/tests/references/96059002704b3ac3.js rename to ecmascript/codegen/tests/test262/96059002704b3ac3.js diff --git a/ecmascript/codegen/tests/references/9677a7160d769b1a.js b/ecmascript/codegen/tests/test262/9677a7160d769b1a.js similarity index 100% rename from ecmascript/codegen/tests/references/9677a7160d769b1a.js rename to ecmascript/codegen/tests/test262/9677a7160d769b1a.js diff --git a/ecmascript/codegen/tests/references/9681f5d844d7acd0.js b/ecmascript/codegen/tests/test262/9681f5d844d7acd0.js similarity index 100% rename from ecmascript/codegen/tests/references/9681f5d844d7acd0.js rename to ecmascript/codegen/tests/test262/9681f5d844d7acd0.js diff --git a/ecmascript/codegen/tests/references/96909e1dce85ca53.module.js b/ecmascript/codegen/tests/test262/96909e1dce85ca53.module.js similarity index 100% rename from ecmascript/codegen/tests/references/96909e1dce85ca53.module.js rename to ecmascript/codegen/tests/test262/96909e1dce85ca53.module.js diff --git a/ecmascript/codegen/tests/references/96941f16c2d7cec4.js b/ecmascript/codegen/tests/test262/96941f16c2d7cec4.js similarity index 100% rename from ecmascript/codegen/tests/references/96941f16c2d7cec4.js rename to ecmascript/codegen/tests/test262/96941f16c2d7cec4.js diff --git a/ecmascript/codegen/tests/references/96e1b294d19a101d.js b/ecmascript/codegen/tests/test262/96e1b294d19a101d.js similarity index 100% rename from ecmascript/codegen/tests/references/96e1b294d19a101d.js rename to ecmascript/codegen/tests/test262/96e1b294d19a101d.js diff --git a/ecmascript/codegen/tests/references/96ea36bc180f25d5.js b/ecmascript/codegen/tests/test262/96ea36bc180f25d5.js similarity index 100% rename from ecmascript/codegen/tests/references/96ea36bc180f25d5.js rename to ecmascript/codegen/tests/test262/96ea36bc180f25d5.js diff --git a/ecmascript/codegen/tests/references/96f5d93be9a54573.js b/ecmascript/codegen/tests/test262/96f5d93be9a54573.js similarity index 100% rename from ecmascript/codegen/tests/references/96f5d93be9a54573.js rename to ecmascript/codegen/tests/test262/96f5d93be9a54573.js diff --git a/ecmascript/codegen/tests/references/970fb35ce6ce89bb.js b/ecmascript/codegen/tests/test262/970fb35ce6ce89bb.js similarity index 100% rename from ecmascript/codegen/tests/references/970fb35ce6ce89bb.js rename to ecmascript/codegen/tests/test262/970fb35ce6ce89bb.js diff --git a/ecmascript/codegen/tests/references/973cbc9ece13acbc.js b/ecmascript/codegen/tests/test262/973cbc9ece13acbc.js similarity index 100% rename from ecmascript/codegen/tests/references/973cbc9ece13acbc.js rename to ecmascript/codegen/tests/test262/973cbc9ece13acbc.js diff --git a/ecmascript/codegen/tests/references/974e7275fdedce49.js b/ecmascript/codegen/tests/test262/974e7275fdedce49.js similarity index 100% rename from ecmascript/codegen/tests/references/974e7275fdedce49.js rename to ecmascript/codegen/tests/test262/974e7275fdedce49.js diff --git a/ecmascript/codegen/tests/references/97593deb177d09ae.js b/ecmascript/codegen/tests/test262/97593deb177d09ae.js similarity index 100% rename from ecmascript/codegen/tests/references/97593deb177d09ae.js rename to ecmascript/codegen/tests/test262/97593deb177d09ae.js diff --git a/ecmascript/codegen/tests/references/976afd9ae5f5d71a.module.js b/ecmascript/codegen/tests/test262/976afd9ae5f5d71a.module.js similarity index 100% rename from ecmascript/codegen/tests/references/976afd9ae5f5d71a.module.js rename to ecmascript/codegen/tests/test262/976afd9ae5f5d71a.module.js diff --git a/ecmascript/codegen/tests/references/979b36a2c530f286.js b/ecmascript/codegen/tests/test262/979b36a2c530f286.js similarity index 100% rename from ecmascript/codegen/tests/references/979b36a2c530f286.js rename to ecmascript/codegen/tests/test262/979b36a2c530f286.js diff --git a/ecmascript/codegen/tests/references/97e246302dfe8616.js b/ecmascript/codegen/tests/test262/97e246302dfe8616.js similarity index 100% rename from ecmascript/codegen/tests/references/97e246302dfe8616.js rename to ecmascript/codegen/tests/test262/97e246302dfe8616.js diff --git a/ecmascript/codegen/tests/references/982595e2af9d9703.js b/ecmascript/codegen/tests/test262/982595e2af9d9703.js similarity index 100% rename from ecmascript/codegen/tests/references/982595e2af9d9703.js rename to ecmascript/codegen/tests/test262/982595e2af9d9703.js diff --git a/ecmascript/codegen/tests/references/982835d8c977075c.js b/ecmascript/codegen/tests/test262/982835d8c977075c.js similarity index 100% rename from ecmascript/codegen/tests/references/982835d8c977075c.js rename to ecmascript/codegen/tests/test262/982835d8c977075c.js diff --git a/ecmascript/codegen/tests/references/988e362ed9ddcac5.js b/ecmascript/codegen/tests/test262/988e362ed9ddcac5.js similarity index 100% rename from ecmascript/codegen/tests/references/988e362ed9ddcac5.js rename to ecmascript/codegen/tests/test262/988e362ed9ddcac5.js diff --git a/ecmascript/codegen/tests/references/988f8a06b68457ef.js b/ecmascript/codegen/tests/test262/988f8a06b68457ef.js similarity index 100% rename from ecmascript/codegen/tests/references/988f8a06b68457ef.js rename to ecmascript/codegen/tests/test262/988f8a06b68457ef.js diff --git a/ecmascript/codegen/tests/references/98c7fb7947f7eae4.js b/ecmascript/codegen/tests/test262/98c7fb7947f7eae4.js similarity index 100% rename from ecmascript/codegen/tests/references/98c7fb7947f7eae4.js rename to ecmascript/codegen/tests/test262/98c7fb7947f7eae4.js diff --git a/ecmascript/codegen/tests/references/98df58b0c40fac90.js b/ecmascript/codegen/tests/test262/98df58b0c40fac90.js similarity index 100% rename from ecmascript/codegen/tests/references/98df58b0c40fac90.js rename to ecmascript/codegen/tests/test262/98df58b0c40fac90.js diff --git a/ecmascript/codegen/tests/references/993584ec37388320.js b/ecmascript/codegen/tests/test262/993584ec37388320.js similarity index 100% rename from ecmascript/codegen/tests/references/993584ec37388320.js rename to ecmascript/codegen/tests/test262/993584ec37388320.js diff --git a/ecmascript/codegen/tests/references/9949a2e1a6844836.module.js b/ecmascript/codegen/tests/test262/9949a2e1a6844836.module.js similarity index 100% rename from ecmascript/codegen/tests/references/9949a2e1a6844836.module.js rename to ecmascript/codegen/tests/test262/9949a2e1a6844836.module.js diff --git a/ecmascript/codegen/tests/references/996001e00a0c575b.js b/ecmascript/codegen/tests/test262/996001e00a0c575b.js similarity index 100% rename from ecmascript/codegen/tests/references/996001e00a0c575b.js rename to ecmascript/codegen/tests/test262/996001e00a0c575b.js diff --git a/ecmascript/codegen/tests/references/9974571a855d4447.js b/ecmascript/codegen/tests/test262/9974571a855d4447.js similarity index 100% rename from ecmascript/codegen/tests/references/9974571a855d4447.js rename to ecmascript/codegen/tests/test262/9974571a855d4447.js diff --git a/ecmascript/codegen/tests/references/9975820eb10bc0ff.js b/ecmascript/codegen/tests/test262/9975820eb10bc0ff.js similarity index 100% rename from ecmascript/codegen/tests/references/9975820eb10bc0ff.js rename to ecmascript/codegen/tests/test262/9975820eb10bc0ff.js diff --git a/ecmascript/codegen/tests/references/999c1001e3761320.js b/ecmascript/codegen/tests/test262/999c1001e3761320.js similarity index 100% rename from ecmascript/codegen/tests/references/999c1001e3761320.js rename to ecmascript/codegen/tests/test262/999c1001e3761320.js diff --git a/ecmascript/codegen/tests/references/99cdfc40e20af6f5.js b/ecmascript/codegen/tests/test262/99cdfc40e20af6f5.js similarity index 100% rename from ecmascript/codegen/tests/references/99cdfc40e20af6f5.js rename to ecmascript/codegen/tests/test262/99cdfc40e20af6f5.js diff --git a/ecmascript/codegen/tests/references/99fceed987b8ec3d.js b/ecmascript/codegen/tests/test262/99fceed987b8ec3d.js similarity index 100% rename from ecmascript/codegen/tests/references/99fceed987b8ec3d.js rename to ecmascript/codegen/tests/test262/99fceed987b8ec3d.js diff --git a/ecmascript/codegen/tests/references/9a5b92dfd9d19f60.js b/ecmascript/codegen/tests/test262/9a5b92dfd9d19f60.js similarity index 100% rename from ecmascript/codegen/tests/references/9a5b92dfd9d19f60.js rename to ecmascript/codegen/tests/test262/9a5b92dfd9d19f60.js diff --git a/ecmascript/codegen/tests/references/9a666205cafd530f.js b/ecmascript/codegen/tests/test262/9a666205cafd530f.js similarity index 100% rename from ecmascript/codegen/tests/references/9a666205cafd530f.js rename to ecmascript/codegen/tests/test262/9a666205cafd530f.js diff --git a/ecmascript/codegen/tests/references/9a6711e879a99536.js b/ecmascript/codegen/tests/test262/9a6711e879a99536.js similarity index 100% rename from ecmascript/codegen/tests/references/9a6711e879a99536.js rename to ecmascript/codegen/tests/test262/9a6711e879a99536.js diff --git a/ecmascript/codegen/tests/references/9a7f06880ce32bbc.js b/ecmascript/codegen/tests/test262/9a7f06880ce32bbc.js similarity index 100% rename from ecmascript/codegen/tests/references/9a7f06880ce32bbc.js rename to ecmascript/codegen/tests/test262/9a7f06880ce32bbc.js diff --git a/ecmascript/codegen/tests/references/9a9cb616daadf90a.js b/ecmascript/codegen/tests/test262/9a9cb616daadf90a.js similarity index 100% rename from ecmascript/codegen/tests/references/9a9cb616daadf90a.js rename to ecmascript/codegen/tests/test262/9a9cb616daadf90a.js diff --git a/ecmascript/codegen/tests/references/9aa93e1e417ce8e3.js b/ecmascript/codegen/tests/test262/9aa93e1e417ce8e3.js similarity index 100% rename from ecmascript/codegen/tests/references/9aa93e1e417ce8e3.js rename to ecmascript/codegen/tests/test262/9aa93e1e417ce8e3.js diff --git a/ecmascript/codegen/tests/references/9b9d0e250e01155d.js b/ecmascript/codegen/tests/test262/9b9d0e250e01155d.js similarity index 100% rename from ecmascript/codegen/tests/references/9b9d0e250e01155d.js rename to ecmascript/codegen/tests/test262/9b9d0e250e01155d.js diff --git a/ecmascript/codegen/tests/references/9bcae7c7f00b4e3c.js b/ecmascript/codegen/tests/test262/9bcae7c7f00b4e3c.js similarity index 100% rename from ecmascript/codegen/tests/references/9bcae7c7f00b4e3c.js rename to ecmascript/codegen/tests/test262/9bcae7c7f00b4e3c.js diff --git a/ecmascript/codegen/tests/references/9c30b0817f412a30.js b/ecmascript/codegen/tests/test262/9c30b0817f412a30.js similarity index 100% rename from ecmascript/codegen/tests/references/9c30b0817f412a30.js rename to ecmascript/codegen/tests/test262/9c30b0817f412a30.js diff --git a/ecmascript/codegen/tests/references/9cf32425f04fd865.js b/ecmascript/codegen/tests/test262/9cf32425f04fd865.js similarity index 100% rename from ecmascript/codegen/tests/references/9cf32425f04fd865.js rename to ecmascript/codegen/tests/test262/9cf32425f04fd865.js diff --git a/ecmascript/codegen/tests/references/9d0fd95dd43f59ec.js b/ecmascript/codegen/tests/test262/9d0fd95dd43f59ec.js similarity index 100% rename from ecmascript/codegen/tests/references/9d0fd95dd43f59ec.js rename to ecmascript/codegen/tests/test262/9d0fd95dd43f59ec.js diff --git a/ecmascript/codegen/tests/references/9d1320f0185b1586.js b/ecmascript/codegen/tests/test262/9d1320f0185b1586.js similarity index 100% rename from ecmascript/codegen/tests/references/9d1320f0185b1586.js rename to ecmascript/codegen/tests/test262/9d1320f0185b1586.js diff --git a/ecmascript/codegen/tests/references/9d3d960e32528788.js b/ecmascript/codegen/tests/test262/9d3d960e32528788.js similarity index 100% rename from ecmascript/codegen/tests/references/9d3d960e32528788.js rename to ecmascript/codegen/tests/test262/9d3d960e32528788.js diff --git a/ecmascript/codegen/tests/references/9d935d1b787ed251.js b/ecmascript/codegen/tests/test262/9d935d1b787ed251.js similarity index 100% rename from ecmascript/codegen/tests/references/9d935d1b787ed251.js rename to ecmascript/codegen/tests/test262/9d935d1b787ed251.js diff --git a/ecmascript/codegen/tests/references/9db4dccf1122bfc4.js b/ecmascript/codegen/tests/test262/9db4dccf1122bfc4.js similarity index 100% rename from ecmascript/codegen/tests/references/9db4dccf1122bfc4.js rename to ecmascript/codegen/tests/test262/9db4dccf1122bfc4.js diff --git a/ecmascript/codegen/tests/references/9db573299f02bf36.js b/ecmascript/codegen/tests/test262/9db573299f02bf36.js similarity index 100% rename from ecmascript/codegen/tests/references/9db573299f02bf36.js rename to ecmascript/codegen/tests/test262/9db573299f02bf36.js diff --git a/ecmascript/codegen/tests/references/9dc20e081005fba4.js b/ecmascript/codegen/tests/test262/9dc20e081005fba4.js similarity index 100% rename from ecmascript/codegen/tests/references/9dc20e081005fba4.js rename to ecmascript/codegen/tests/test262/9dc20e081005fba4.js diff --git a/ecmascript/codegen/tests/references/9dfa08b5b7ad82a9.js b/ecmascript/codegen/tests/test262/9dfa08b5b7ad82a9.js similarity index 100% rename from ecmascript/codegen/tests/references/9dfa08b5b7ad82a9.js rename to ecmascript/codegen/tests/test262/9dfa08b5b7ad82a9.js diff --git a/ecmascript/codegen/tests/references/9e3e46891aaf13de.js b/ecmascript/codegen/tests/test262/9e3e46891aaf13de.js similarity index 100% rename from ecmascript/codegen/tests/references/9e3e46891aaf13de.js rename to ecmascript/codegen/tests/test262/9e3e46891aaf13de.js diff --git a/ecmascript/codegen/tests/references/9e98dbfde77e3dfe.js b/ecmascript/codegen/tests/test262/9e98dbfde77e3dfe.js similarity index 100% rename from ecmascript/codegen/tests/references/9e98dbfde77e3dfe.js rename to ecmascript/codegen/tests/test262/9e98dbfde77e3dfe.js diff --git a/ecmascript/codegen/tests/references/9ec644dbf797e95c.js b/ecmascript/codegen/tests/test262/9ec644dbf797e95c.js similarity index 100% rename from ecmascript/codegen/tests/references/9ec644dbf797e95c.js rename to ecmascript/codegen/tests/test262/9ec644dbf797e95c.js diff --git a/ecmascript/codegen/tests/references/9ed0369295348e76.js b/ecmascript/codegen/tests/test262/9ed0369295348e76.js similarity index 100% rename from ecmascript/codegen/tests/references/9ed0369295348e76.js rename to ecmascript/codegen/tests/test262/9ed0369295348e76.js diff --git a/ecmascript/codegen/tests/references/9f0d8eb6f7ab8180.js b/ecmascript/codegen/tests/test262/9f0d8eb6f7ab8180.js similarity index 100% rename from ecmascript/codegen/tests/references/9f0d8eb6f7ab8180.js rename to ecmascript/codegen/tests/test262/9f0d8eb6f7ab8180.js diff --git a/ecmascript/codegen/tests/references/9f23d57c37e238cb.js b/ecmascript/codegen/tests/test262/9f23d57c37e238cb.js similarity index 100% rename from ecmascript/codegen/tests/references/9f23d57c37e238cb.js rename to ecmascript/codegen/tests/test262/9f23d57c37e238cb.js diff --git a/ecmascript/codegen/tests/references/9f272d23fc62842a.js b/ecmascript/codegen/tests/test262/9f272d23fc62842a.js similarity index 100% rename from ecmascript/codegen/tests/references/9f272d23fc62842a.js rename to ecmascript/codegen/tests/test262/9f272d23fc62842a.js diff --git a/ecmascript/codegen/tests/references/9fd584806e085e35.js b/ecmascript/codegen/tests/test262/9fd584806e085e35.js similarity index 100% rename from ecmascript/codegen/tests/references/9fd584806e085e35.js rename to ecmascript/codegen/tests/test262/9fd584806e085e35.js diff --git a/ecmascript/codegen/tests/test262/9fe1d41db318afba.js b/ecmascript/codegen/tests/test262/9fe1d41db318afba.js new file mode 100644 index 00000000000..b7f10e22f56 --- /dev/null +++ b/ecmascript/codegen/tests/test262/9fe1d41db318afba.js @@ -0,0 +1 @@ +for(let in 1); diff --git a/ecmascript/codegen/tests/references/a0079146ab045c26.js b/ecmascript/codegen/tests/test262/a0079146ab045c26.js similarity index 100% rename from ecmascript/codegen/tests/references/a0079146ab045c26.js rename to ecmascript/codegen/tests/test262/a0079146ab045c26.js diff --git a/ecmascript/codegen/tests/references/a022debc42a58f0c.js b/ecmascript/codegen/tests/test262/a022debc42a58f0c.js similarity index 100% rename from ecmascript/codegen/tests/references/a022debc42a58f0c.js rename to ecmascript/codegen/tests/test262/a022debc42a58f0c.js diff --git a/ecmascript/codegen/tests/references/a03475b02913e16a.js b/ecmascript/codegen/tests/test262/a03475b02913e16a.js similarity index 100% rename from ecmascript/codegen/tests/references/a03475b02913e16a.js rename to ecmascript/codegen/tests/test262/a03475b02913e16a.js diff --git a/ecmascript/codegen/tests/references/a08ed291f78352a0.js b/ecmascript/codegen/tests/test262/a08ed291f78352a0.js similarity index 100% rename from ecmascript/codegen/tests/references/a08ed291f78352a0.js rename to ecmascript/codegen/tests/test262/a08ed291f78352a0.js diff --git a/ecmascript/codegen/tests/references/a0af29e4dd6d3845.js b/ecmascript/codegen/tests/test262/a0af29e4dd6d3845.js similarity index 100% rename from ecmascript/codegen/tests/references/a0af29e4dd6d3845.js rename to ecmascript/codegen/tests/test262/a0af29e4dd6d3845.js diff --git a/ecmascript/codegen/tests/references/a0b7bf790311b763.js b/ecmascript/codegen/tests/test262/a0b7bf790311b763.js similarity index 100% rename from ecmascript/codegen/tests/references/a0b7bf790311b763.js rename to ecmascript/codegen/tests/test262/a0b7bf790311b763.js diff --git a/ecmascript/codegen/tests/references/a0fba75a10c21ac9.js b/ecmascript/codegen/tests/test262/a0fba75a10c21ac9.js similarity index 100% rename from ecmascript/codegen/tests/references/a0fba75a10c21ac9.js rename to ecmascript/codegen/tests/test262/a0fba75a10c21ac9.js diff --git a/ecmascript/codegen/tests/references/a10929d2c1b0d792.js b/ecmascript/codegen/tests/test262/a10929d2c1b0d792.js similarity index 100% rename from ecmascript/codegen/tests/references/a10929d2c1b0d792.js rename to ecmascript/codegen/tests/test262/a10929d2c1b0d792.js diff --git a/ecmascript/codegen/tests/references/a11e875c4dd100af.js b/ecmascript/codegen/tests/test262/a11e875c4dd100af.js similarity index 100% rename from ecmascript/codegen/tests/references/a11e875c4dd100af.js rename to ecmascript/codegen/tests/test262/a11e875c4dd100af.js diff --git a/ecmascript/codegen/tests/references/a150e917230aa57d.js b/ecmascript/codegen/tests/test262/a150e917230aa57d.js similarity index 100% rename from ecmascript/codegen/tests/references/a150e917230aa57d.js rename to ecmascript/codegen/tests/test262/a150e917230aa57d.js diff --git a/ecmascript/codegen/tests/references/a157424306915066.js b/ecmascript/codegen/tests/test262/a157424306915066.js similarity index 100% rename from ecmascript/codegen/tests/references/a157424306915066.js rename to ecmascript/codegen/tests/test262/a157424306915066.js diff --git a/ecmascript/codegen/tests/references/a1594a4d0c0ee99a.js b/ecmascript/codegen/tests/test262/a1594a4d0c0ee99a.js similarity index 100% rename from ecmascript/codegen/tests/references/a1594a4d0c0ee99a.js rename to ecmascript/codegen/tests/test262/a1594a4d0c0ee99a.js diff --git a/ecmascript/codegen/tests/references/a15c90cc56980c41.js b/ecmascript/codegen/tests/test262/a15c90cc56980c41.js similarity index 100% rename from ecmascript/codegen/tests/references/a15c90cc56980c41.js rename to ecmascript/codegen/tests/test262/a15c90cc56980c41.js diff --git a/ecmascript/codegen/tests/references/a18a8865e65d4bdd.js b/ecmascript/codegen/tests/test262/a18a8865e65d4bdd.js similarity index 100% rename from ecmascript/codegen/tests/references/a18a8865e65d4bdd.js rename to ecmascript/codegen/tests/test262/a18a8865e65d4bdd.js diff --git a/ecmascript/codegen/tests/references/a194909bf50b1467.js b/ecmascript/codegen/tests/test262/a194909bf50b1467.js similarity index 100% rename from ecmascript/codegen/tests/references/a194909bf50b1467.js rename to ecmascript/codegen/tests/test262/a194909bf50b1467.js diff --git a/ecmascript/codegen/tests/references/a1ab463999957845.js b/ecmascript/codegen/tests/test262/a1ab463999957845.js similarity index 100% rename from ecmascript/codegen/tests/references/a1ab463999957845.js rename to ecmascript/codegen/tests/test262/a1ab463999957845.js diff --git a/ecmascript/codegen/tests/references/a1cd0d76806cef90.js b/ecmascript/codegen/tests/test262/a1cd0d76806cef90.js similarity index 100% rename from ecmascript/codegen/tests/references/a1cd0d76806cef90.js rename to ecmascript/codegen/tests/test262/a1cd0d76806cef90.js diff --git a/ecmascript/codegen/tests/references/a1dde88d8a87b573.module.js b/ecmascript/codegen/tests/test262/a1dde88d8a87b573.module.js similarity index 100% rename from ecmascript/codegen/tests/references/a1dde88d8a87b573.module.js rename to ecmascript/codegen/tests/test262/a1dde88d8a87b573.module.js diff --git a/ecmascript/codegen/tests/references/a2042d86c592dd55.js b/ecmascript/codegen/tests/test262/a2042d86c592dd55.js similarity index 100% rename from ecmascript/codegen/tests/references/a2042d86c592dd55.js rename to ecmascript/codegen/tests/test262/a2042d86c592dd55.js diff --git a/ecmascript/codegen/tests/references/a248ef84a404262c.js b/ecmascript/codegen/tests/test262/a248ef84a404262c.js similarity index 100% rename from ecmascript/codegen/tests/references/a248ef84a404262c.js rename to ecmascript/codegen/tests/test262/a248ef84a404262c.js diff --git a/ecmascript/codegen/tests/references/a2781f8227f7f1e6.js b/ecmascript/codegen/tests/test262/a2781f8227f7f1e6.js similarity index 100% rename from ecmascript/codegen/tests/references/a2781f8227f7f1e6.js rename to ecmascript/codegen/tests/test262/a2781f8227f7f1e6.js diff --git a/ecmascript/codegen/tests/references/a2798917405b080b.js b/ecmascript/codegen/tests/test262/a2798917405b080b.js similarity index 100% rename from ecmascript/codegen/tests/references/a2798917405b080b.js rename to ecmascript/codegen/tests/test262/a2798917405b080b.js diff --git a/ecmascript/codegen/tests/references/a29b007e8fb9d020.js b/ecmascript/codegen/tests/test262/a29b007e8fb9d020.js similarity index 100% rename from ecmascript/codegen/tests/references/a29b007e8fb9d020.js rename to ecmascript/codegen/tests/test262/a29b007e8fb9d020.js diff --git a/ecmascript/codegen/tests/references/a2c2339691fc48fb.js b/ecmascript/codegen/tests/test262/a2c2339691fc48fb.js similarity index 100% rename from ecmascript/codegen/tests/references/a2c2339691fc48fb.js rename to ecmascript/codegen/tests/test262/a2c2339691fc48fb.js diff --git a/ecmascript/codegen/tests/references/a2cb5a14559c6a50.js b/ecmascript/codegen/tests/test262/a2cb5a14559c6a50.js similarity index 100% rename from ecmascript/codegen/tests/references/a2cb5a14559c6a50.js rename to ecmascript/codegen/tests/test262/a2cb5a14559c6a50.js diff --git a/ecmascript/codegen/tests/references/a2f26b79b01628f9.js b/ecmascript/codegen/tests/test262/a2f26b79b01628f9.js similarity index 100% rename from ecmascript/codegen/tests/references/a2f26b79b01628f9.js rename to ecmascript/codegen/tests/test262/a2f26b79b01628f9.js diff --git a/ecmascript/codegen/tests/references/a33250f92a2f000e.js b/ecmascript/codegen/tests/test262/a33250f92a2f000e.js similarity index 100% rename from ecmascript/codegen/tests/references/a33250f92a2f000e.js rename to ecmascript/codegen/tests/test262/a33250f92a2f000e.js diff --git a/ecmascript/codegen/tests/references/a353c62d8ed56d6f.js b/ecmascript/codegen/tests/test262/a353c62d8ed56d6f.js similarity index 100% rename from ecmascript/codegen/tests/references/a353c62d8ed56d6f.js rename to ecmascript/codegen/tests/test262/a353c62d8ed56d6f.js diff --git a/ecmascript/codegen/tests/references/a378fc25898cf05b.js b/ecmascript/codegen/tests/test262/a378fc25898cf05b.js similarity index 100% rename from ecmascript/codegen/tests/references/a378fc25898cf05b.js rename to ecmascript/codegen/tests/test262/a378fc25898cf05b.js diff --git a/ecmascript/codegen/tests/references/a3b497c58f78b243.js b/ecmascript/codegen/tests/test262/a3b497c58f78b243.js similarity index 100% rename from ecmascript/codegen/tests/references/a3b497c58f78b243.js rename to ecmascript/codegen/tests/test262/a3b497c58f78b243.js diff --git a/ecmascript/codegen/tests/references/a41e5072dd6dda98.js b/ecmascript/codegen/tests/test262/a41e5072dd6dda98.js similarity index 100% rename from ecmascript/codegen/tests/references/a41e5072dd6dda98.js rename to ecmascript/codegen/tests/test262/a41e5072dd6dda98.js diff --git a/ecmascript/codegen/tests/references/a42a93f3af33bbc5.js b/ecmascript/codegen/tests/test262/a42a93f3af33bbc5.js similarity index 100% rename from ecmascript/codegen/tests/references/a42a93f3af33bbc5.js rename to ecmascript/codegen/tests/test262/a42a93f3af33bbc5.js diff --git a/ecmascript/codegen/tests/references/a43df1aea659fab8.js b/ecmascript/codegen/tests/test262/a43df1aea659fab8.js similarity index 100% rename from ecmascript/codegen/tests/references/a43df1aea659fab8.js rename to ecmascript/codegen/tests/test262/a43df1aea659fab8.js diff --git a/ecmascript/codegen/tests/references/a445a478b4ce0c58.js b/ecmascript/codegen/tests/test262/a445a478b4ce0c58.js similarity index 100% rename from ecmascript/codegen/tests/references/a445a478b4ce0c58.js rename to ecmascript/codegen/tests/test262/a445a478b4ce0c58.js diff --git a/ecmascript/codegen/tests/references/a454d2e2ab3484e6.js b/ecmascript/codegen/tests/test262/a454d2e2ab3484e6.js similarity index 100% rename from ecmascript/codegen/tests/references/a454d2e2ab3484e6.js rename to ecmascript/codegen/tests/test262/a454d2e2ab3484e6.js diff --git a/ecmascript/codegen/tests/references/a487d6498ec0efbf.module.js b/ecmascript/codegen/tests/test262/a487d6498ec0efbf.module.js similarity index 100% rename from ecmascript/codegen/tests/references/a487d6498ec0efbf.module.js rename to ecmascript/codegen/tests/test262/a487d6498ec0efbf.module.js diff --git a/ecmascript/codegen/tests/references/a4931f8127e03c4e.js b/ecmascript/codegen/tests/test262/a4931f8127e03c4e.js similarity index 100% rename from ecmascript/codegen/tests/references/a4931f8127e03c4e.js rename to ecmascript/codegen/tests/test262/a4931f8127e03c4e.js diff --git a/ecmascript/codegen/tests/references/a4b3402765acaa0e.js b/ecmascript/codegen/tests/test262/a4b3402765acaa0e.js similarity index 100% rename from ecmascript/codegen/tests/references/a4b3402765acaa0e.js rename to ecmascript/codegen/tests/test262/a4b3402765acaa0e.js diff --git a/ecmascript/codegen/tests/references/a4d62a651f69d815.js b/ecmascript/codegen/tests/test262/a4d62a651f69d815.js similarity index 100% rename from ecmascript/codegen/tests/references/a4d62a651f69d815.js rename to ecmascript/codegen/tests/test262/a4d62a651f69d815.js diff --git a/ecmascript/codegen/tests/references/a515d7aaea7b816f.js b/ecmascript/codegen/tests/test262/a515d7aaea7b816f.js similarity index 100% rename from ecmascript/codegen/tests/references/a515d7aaea7b816f.js rename to ecmascript/codegen/tests/test262/a515d7aaea7b816f.js diff --git a/ecmascript/codegen/tests/references/a54cca69085ad35a.js b/ecmascript/codegen/tests/test262/a54cca69085ad35a.js similarity index 100% rename from ecmascript/codegen/tests/references/a54cca69085ad35a.js rename to ecmascript/codegen/tests/test262/a54cca69085ad35a.js diff --git a/ecmascript/codegen/tests/references/a54ce6036e646e24.js b/ecmascript/codegen/tests/test262/a54ce6036e646e24.js similarity index 100% rename from ecmascript/codegen/tests/references/a54ce6036e646e24.js rename to ecmascript/codegen/tests/test262/a54ce6036e646e24.js diff --git a/ecmascript/codegen/tests/references/a59e0d0b4d3e1b7d.js b/ecmascript/codegen/tests/test262/a59e0d0b4d3e1b7d.js similarity index 100% rename from ecmascript/codegen/tests/references/a59e0d0b4d3e1b7d.js rename to ecmascript/codegen/tests/test262/a59e0d0b4d3e1b7d.js diff --git a/ecmascript/codegen/tests/references/a5a01023fef4d506.js b/ecmascript/codegen/tests/test262/a5a01023fef4d506.js similarity index 100% rename from ecmascript/codegen/tests/references/a5a01023fef4d506.js rename to ecmascript/codegen/tests/test262/a5a01023fef4d506.js diff --git a/ecmascript/codegen/tests/references/a5a7eb83bf27418b.js b/ecmascript/codegen/tests/test262/a5a7eb83bf27418b.js similarity index 100% rename from ecmascript/codegen/tests/references/a5a7eb83bf27418b.js rename to ecmascript/codegen/tests/test262/a5a7eb83bf27418b.js diff --git a/ecmascript/codegen/tests/references/a5aaa3992025795a.js b/ecmascript/codegen/tests/test262/a5aaa3992025795a.js similarity index 100% rename from ecmascript/codegen/tests/references/a5aaa3992025795a.js rename to ecmascript/codegen/tests/test262/a5aaa3992025795a.js diff --git a/ecmascript/codegen/tests/references/a5b30a03e9c774af.js b/ecmascript/codegen/tests/test262/a5b30a03e9c774af.js similarity index 100% rename from ecmascript/codegen/tests/references/a5b30a03e9c774af.js rename to ecmascript/codegen/tests/test262/a5b30a03e9c774af.js diff --git a/ecmascript/codegen/tests/references/a62c6323a3696fa8.js b/ecmascript/codegen/tests/test262/a62c6323a3696fa8.js similarity index 100% rename from ecmascript/codegen/tests/references/a62c6323a3696fa8.js rename to ecmascript/codegen/tests/test262/a62c6323a3696fa8.js diff --git a/ecmascript/codegen/tests/references/a6806d6fedbf6759.js b/ecmascript/codegen/tests/test262/a6806d6fedbf6759.js similarity index 100% rename from ecmascript/codegen/tests/references/a6806d6fedbf6759.js rename to ecmascript/codegen/tests/test262/a6806d6fedbf6759.js diff --git a/ecmascript/codegen/tests/references/a68bf27df978135d.module.js b/ecmascript/codegen/tests/test262/a68bf27df978135d.module.js similarity index 100% rename from ecmascript/codegen/tests/references/a68bf27df978135d.module.js rename to ecmascript/codegen/tests/test262/a68bf27df978135d.module.js diff --git a/ecmascript/codegen/tests/references/a6b7dab7088e5269.js b/ecmascript/codegen/tests/test262/a6b7dab7088e5269.js similarity index 100% rename from ecmascript/codegen/tests/references/a6b7dab7088e5269.js rename to ecmascript/codegen/tests/test262/a6b7dab7088e5269.js diff --git a/ecmascript/codegen/tests/references/a6cb605b66ef0eb5.js b/ecmascript/codegen/tests/test262/a6cb605b66ef0eb5.js similarity index 100% rename from ecmascript/codegen/tests/references/a6cb605b66ef0eb5.js rename to ecmascript/codegen/tests/test262/a6cb605b66ef0eb5.js diff --git a/ecmascript/codegen/tests/references/a7964b1dcfd2dc21.js b/ecmascript/codegen/tests/test262/a7964b1dcfd2dc21.js similarity index 100% rename from ecmascript/codegen/tests/references/a7964b1dcfd2dc21.js rename to ecmascript/codegen/tests/test262/a7964b1dcfd2dc21.js diff --git a/ecmascript/codegen/tests/references/a7b8ce1d4c0f0bc2.js b/ecmascript/codegen/tests/test262/a7b8ce1d4c0f0bc2.js similarity index 100% rename from ecmascript/codegen/tests/references/a7b8ce1d4c0f0bc2.js rename to ecmascript/codegen/tests/test262/a7b8ce1d4c0f0bc2.js diff --git a/ecmascript/codegen/tests/references/a7c8ad2a73ed00d0.js b/ecmascript/codegen/tests/test262/a7c8ad2a73ed00d0.js similarity index 100% rename from ecmascript/codegen/tests/references/a7c8ad2a73ed00d0.js rename to ecmascript/codegen/tests/test262/a7c8ad2a73ed00d0.js diff --git a/ecmascript/codegen/tests/references/a830df7cf2e74c9f.js b/ecmascript/codegen/tests/test262/a830df7cf2e74c9f.js similarity index 100% rename from ecmascript/codegen/tests/references/a830df7cf2e74c9f.js rename to ecmascript/codegen/tests/test262/a830df7cf2e74c9f.js diff --git a/ecmascript/codegen/tests/references/a8535eac4c7c9c3a.js b/ecmascript/codegen/tests/test262/a8535eac4c7c9c3a.js similarity index 100% rename from ecmascript/codegen/tests/references/a8535eac4c7c9c3a.js rename to ecmascript/codegen/tests/test262/a8535eac4c7c9c3a.js diff --git a/ecmascript/codegen/tests/references/a86a29773d1168d3.js b/ecmascript/codegen/tests/test262/a86a29773d1168d3.js similarity index 100% rename from ecmascript/codegen/tests/references/a86a29773d1168d3.js rename to ecmascript/codegen/tests/test262/a86a29773d1168d3.js diff --git a/ecmascript/codegen/tests/references/a871e54c3956acd9.js b/ecmascript/codegen/tests/test262/a871e54c3956acd9.js similarity index 100% rename from ecmascript/codegen/tests/references/a871e54c3956acd9.js rename to ecmascript/codegen/tests/test262/a871e54c3956acd9.js diff --git a/ecmascript/codegen/tests/references/a885d88fb046dea5.js b/ecmascript/codegen/tests/test262/a885d88fb046dea5.js similarity index 100% rename from ecmascript/codegen/tests/references/a885d88fb046dea5.js rename to ecmascript/codegen/tests/test262/a885d88fb046dea5.js diff --git a/ecmascript/codegen/tests/references/a8a03a88237c4e8f.js b/ecmascript/codegen/tests/test262/a8a03a88237c4e8f.js similarity index 100% rename from ecmascript/codegen/tests/references/a8a03a88237c4e8f.js rename to ecmascript/codegen/tests/test262/a8a03a88237c4e8f.js diff --git a/ecmascript/codegen/tests/references/a8b6c3139974f6e1.js b/ecmascript/codegen/tests/test262/a8b6c3139974f6e1.js similarity index 100% rename from ecmascript/codegen/tests/references/a8b6c3139974f6e1.js rename to ecmascript/codegen/tests/test262/a8b6c3139974f6e1.js diff --git a/ecmascript/codegen/tests/references/a8b832d61af9cdc4.js b/ecmascript/codegen/tests/test262/a8b832d61af9cdc4.js similarity index 100% rename from ecmascript/codegen/tests/references/a8b832d61af9cdc4.js rename to ecmascript/codegen/tests/test262/a8b832d61af9cdc4.js diff --git a/ecmascript/codegen/tests/references/a8fea31fe6aa588e.js b/ecmascript/codegen/tests/test262/a8fea31fe6aa588e.js similarity index 100% rename from ecmascript/codegen/tests/references/a8fea31fe6aa588e.js rename to ecmascript/codegen/tests/test262/a8fea31fe6aa588e.js diff --git a/ecmascript/codegen/tests/references/a91ad31c88855e59.js b/ecmascript/codegen/tests/test262/a91ad31c88855e59.js similarity index 100% rename from ecmascript/codegen/tests/references/a91ad31c88855e59.js rename to ecmascript/codegen/tests/test262/a91ad31c88855e59.js diff --git a/ecmascript/codegen/tests/references/a93f6b22796d4868.js b/ecmascript/codegen/tests/test262/a93f6b22796d4868.js similarity index 100% rename from ecmascript/codegen/tests/references/a93f6b22796d4868.js rename to ecmascript/codegen/tests/test262/a93f6b22796d4868.js diff --git a/ecmascript/codegen/tests/references/a953f09a1b6b6725.js b/ecmascript/codegen/tests/test262/a953f09a1b6b6725.js similarity index 100% rename from ecmascript/codegen/tests/references/a953f09a1b6b6725.js rename to ecmascript/codegen/tests/test262/a953f09a1b6b6725.js diff --git a/ecmascript/codegen/tests/references/a955c7a892679016.js b/ecmascript/codegen/tests/test262/a955c7a892679016.js similarity index 100% rename from ecmascript/codegen/tests/references/a955c7a892679016.js rename to ecmascript/codegen/tests/test262/a955c7a892679016.js diff --git a/ecmascript/codegen/tests/references/a9b0aedbd9f25ec9.js b/ecmascript/codegen/tests/test262/a9b0aedbd9f25ec9.js similarity index 100% rename from ecmascript/codegen/tests/references/a9b0aedbd9f25ec9.js rename to ecmascript/codegen/tests/test262/a9b0aedbd9f25ec9.js diff --git a/ecmascript/codegen/tests/references/a9e054dbd43d4b86.js b/ecmascript/codegen/tests/test262/a9e054dbd43d4b86.js similarity index 100% rename from ecmascript/codegen/tests/references/a9e054dbd43d4b86.js rename to ecmascript/codegen/tests/test262/a9e054dbd43d4b86.js diff --git a/ecmascript/codegen/tests/references/a9e4ff39f145a1fd.js b/ecmascript/codegen/tests/test262/a9e4ff39f145a1fd.js similarity index 100% rename from ecmascript/codegen/tests/references/a9e4ff39f145a1fd.js rename to ecmascript/codegen/tests/test262/a9e4ff39f145a1fd.js diff --git a/ecmascript/codegen/tests/references/a9f99e657441a735.js b/ecmascript/codegen/tests/test262/a9f99e657441a735.js similarity index 100% rename from ecmascript/codegen/tests/references/a9f99e657441a735.js rename to ecmascript/codegen/tests/test262/a9f99e657441a735.js diff --git a/ecmascript/codegen/tests/references/aa06ccdc7ff9e10d.js b/ecmascript/codegen/tests/test262/aa06ccdc7ff9e10d.js similarity index 100% rename from ecmascript/codegen/tests/references/aa06ccdc7ff9e10d.js rename to ecmascript/codegen/tests/test262/aa06ccdc7ff9e10d.js diff --git a/ecmascript/codegen/tests/references/aa3b466be5c7f7e3.js b/ecmascript/codegen/tests/test262/aa3b466be5c7f7e3.js similarity index 100% rename from ecmascript/codegen/tests/references/aa3b466be5c7f7e3.js rename to ecmascript/codegen/tests/test262/aa3b466be5c7f7e3.js diff --git a/ecmascript/codegen/tests/references/aa3d1fa7a22e6460.js b/ecmascript/codegen/tests/test262/aa3d1fa7a22e6460.js similarity index 100% rename from ecmascript/codegen/tests/references/aa3d1fa7a22e6460.js rename to ecmascript/codegen/tests/test262/aa3d1fa7a22e6460.js diff --git a/ecmascript/codegen/tests/references/aa7e721756949024.js b/ecmascript/codegen/tests/test262/aa7e721756949024.js similarity index 100% rename from ecmascript/codegen/tests/references/aa7e721756949024.js rename to ecmascript/codegen/tests/test262/aa7e721756949024.js diff --git a/ecmascript/codegen/tests/references/aaa0bc7fa72df5e4.js b/ecmascript/codegen/tests/test262/aaa0bc7fa72df5e4.js similarity index 100% rename from ecmascript/codegen/tests/references/aaa0bc7fa72df5e4.js rename to ecmascript/codegen/tests/test262/aaa0bc7fa72df5e4.js diff --git a/ecmascript/codegen/tests/references/aab08ba9fd01cbb8.js b/ecmascript/codegen/tests/test262/aab08ba9fd01cbb8.js similarity index 100% rename from ecmascript/codegen/tests/references/aab08ba9fd01cbb8.js rename to ecmascript/codegen/tests/test262/aab08ba9fd01cbb8.js diff --git a/ecmascript/codegen/tests/references/aab51bc524d9c623.js b/ecmascript/codegen/tests/test262/aab51bc524d9c623.js similarity index 100% rename from ecmascript/codegen/tests/references/aab51bc524d9c623.js rename to ecmascript/codegen/tests/test262/aab51bc524d9c623.js diff --git a/ecmascript/codegen/tests/references/aac70baa56299267.js b/ecmascript/codegen/tests/test262/aac70baa56299267.js similarity index 100% rename from ecmascript/codegen/tests/references/aac70baa56299267.js rename to ecmascript/codegen/tests/test262/aac70baa56299267.js diff --git a/ecmascript/codegen/tests/references/aaf1be6cd60a9ac9.js b/ecmascript/codegen/tests/test262/aaf1be6cd60a9ac9.js similarity index 100% rename from ecmascript/codegen/tests/references/aaf1be6cd60a9ac9.js rename to ecmascript/codegen/tests/test262/aaf1be6cd60a9ac9.js diff --git a/ecmascript/codegen/tests/references/ab23ca0a6e356883.js b/ecmascript/codegen/tests/test262/ab23ca0a6e356883.js similarity index 100% rename from ecmascript/codegen/tests/references/ab23ca0a6e356883.js rename to ecmascript/codegen/tests/test262/ab23ca0a6e356883.js diff --git a/ecmascript/codegen/tests/references/ab452fc45813857a.js b/ecmascript/codegen/tests/test262/ab452fc45813857a.js similarity index 100% rename from ecmascript/codegen/tests/references/ab452fc45813857a.js rename to ecmascript/codegen/tests/test262/ab452fc45813857a.js diff --git a/ecmascript/codegen/tests/references/ab4734949243c00a.js b/ecmascript/codegen/tests/test262/ab4734949243c00a.js similarity index 100% rename from ecmascript/codegen/tests/references/ab4734949243c00a.js rename to ecmascript/codegen/tests/test262/ab4734949243c00a.js diff --git a/ecmascript/codegen/tests/references/ab7ea8d738da7043.js b/ecmascript/codegen/tests/test262/ab7ea8d738da7043.js similarity index 100% rename from ecmascript/codegen/tests/references/ab7ea8d738da7043.js rename to ecmascript/codegen/tests/test262/ab7ea8d738da7043.js diff --git a/ecmascript/codegen/tests/references/abcfae2381708c43.module.js b/ecmascript/codegen/tests/test262/abcfae2381708c43.module.js similarity index 100% rename from ecmascript/codegen/tests/references/abcfae2381708c43.module.js rename to ecmascript/codegen/tests/test262/abcfae2381708c43.module.js diff --git a/ecmascript/codegen/tests/references/abd5e4aa1a9f99ba.js b/ecmascript/codegen/tests/test262/abd5e4aa1a9f99ba.js similarity index 100% rename from ecmascript/codegen/tests/references/abd5e4aa1a9f99ba.js rename to ecmascript/codegen/tests/test262/abd5e4aa1a9f99ba.js diff --git a/ecmascript/codegen/tests/references/ac09566949f0db57.js b/ecmascript/codegen/tests/test262/ac09566949f0db57.js similarity index 100% rename from ecmascript/codegen/tests/references/ac09566949f0db57.js rename to ecmascript/codegen/tests/test262/ac09566949f0db57.js diff --git a/ecmascript/codegen/tests/references/ac112e0c69fe603e.js b/ecmascript/codegen/tests/test262/ac112e0c69fe603e.js similarity index 100% rename from ecmascript/codegen/tests/references/ac112e0c69fe603e.js rename to ecmascript/codegen/tests/test262/ac112e0c69fe603e.js diff --git a/ecmascript/codegen/tests/references/ac1bc6b81949c063.module.js b/ecmascript/codegen/tests/test262/ac1bc6b81949c063.module.js similarity index 100% rename from ecmascript/codegen/tests/references/ac1bc6b81949c063.module.js rename to ecmascript/codegen/tests/test262/ac1bc6b81949c063.module.js diff --git a/ecmascript/codegen/tests/references/ac6bbe8465f70ebd.module.js b/ecmascript/codegen/tests/test262/ac6bbe8465f70ebd.module.js similarity index 100% rename from ecmascript/codegen/tests/references/ac6bbe8465f70ebd.module.js rename to ecmascript/codegen/tests/test262/ac6bbe8465f70ebd.module.js diff --git a/ecmascript/codegen/tests/references/ac73bc36bbc48890.js b/ecmascript/codegen/tests/test262/ac73bc36bbc48890.js similarity index 100% rename from ecmascript/codegen/tests/references/ac73bc36bbc48890.js rename to ecmascript/codegen/tests/test262/ac73bc36bbc48890.js diff --git a/ecmascript/codegen/tests/references/ad06370e34811a6a.js b/ecmascript/codegen/tests/test262/ad06370e34811a6a.js similarity index 100% rename from ecmascript/codegen/tests/references/ad06370e34811a6a.js rename to ecmascript/codegen/tests/test262/ad06370e34811a6a.js diff --git a/ecmascript/codegen/tests/references/ad0fd65944942eee.js b/ecmascript/codegen/tests/test262/ad0fd65944942eee.js similarity index 100% rename from ecmascript/codegen/tests/references/ad0fd65944942eee.js rename to ecmascript/codegen/tests/test262/ad0fd65944942eee.js diff --git a/ecmascript/codegen/tests/references/ad410fec8c09f67b.js b/ecmascript/codegen/tests/test262/ad410fec8c09f67b.js similarity index 100% rename from ecmascript/codegen/tests/references/ad410fec8c09f67b.js rename to ecmascript/codegen/tests/test262/ad410fec8c09f67b.js diff --git a/ecmascript/codegen/tests/references/ad4414fcaaa6abb7.js b/ecmascript/codegen/tests/test262/ad4414fcaaa6abb7.js similarity index 100% rename from ecmascript/codegen/tests/references/ad4414fcaaa6abb7.js rename to ecmascript/codegen/tests/test262/ad4414fcaaa6abb7.js diff --git a/ecmascript/codegen/tests/references/ad6bf12aa7eda975.js b/ecmascript/codegen/tests/test262/ad6bf12aa7eda975.js similarity index 100% rename from ecmascript/codegen/tests/references/ad6bf12aa7eda975.js rename to ecmascript/codegen/tests/test262/ad6bf12aa7eda975.js diff --git a/ecmascript/codegen/tests/references/ad6bfcbfca5afde1.js b/ecmascript/codegen/tests/test262/ad6bfcbfca5afde1.js similarity index 100% rename from ecmascript/codegen/tests/references/ad6bfcbfca5afde1.js rename to ecmascript/codegen/tests/test262/ad6bfcbfca5afde1.js diff --git a/ecmascript/codegen/tests/references/ad7d61a732903cd8.js b/ecmascript/codegen/tests/test262/ad7d61a732903cd8.js similarity index 100% rename from ecmascript/codegen/tests/references/ad7d61a732903cd8.js rename to ecmascript/codegen/tests/test262/ad7d61a732903cd8.js diff --git a/ecmascript/codegen/tests/references/adad54e09949b0e9.js b/ecmascript/codegen/tests/test262/adad54e09949b0e9.js similarity index 100% rename from ecmascript/codegen/tests/references/adad54e09949b0e9.js rename to ecmascript/codegen/tests/test262/adad54e09949b0e9.js diff --git a/ecmascript/codegen/tests/references/ade301f0d871c610.js b/ecmascript/codegen/tests/test262/ade301f0d871c610.js similarity index 100% rename from ecmascript/codegen/tests/references/ade301f0d871c610.js rename to ecmascript/codegen/tests/test262/ade301f0d871c610.js diff --git a/ecmascript/codegen/tests/references/ae204e41bacd8237.js b/ecmascript/codegen/tests/test262/ae204e41bacd8237.js similarity index 100% rename from ecmascript/codegen/tests/references/ae204e41bacd8237.js rename to ecmascript/codegen/tests/test262/ae204e41bacd8237.js diff --git a/ecmascript/codegen/tests/references/ae4bbee73a0f80a5.js b/ecmascript/codegen/tests/test262/ae4bbee73a0f80a5.js similarity index 100% rename from ecmascript/codegen/tests/references/ae4bbee73a0f80a5.js rename to ecmascript/codegen/tests/test262/ae4bbee73a0f80a5.js diff --git a/ecmascript/codegen/tests/references/ae700e3f8ff82c6c.js b/ecmascript/codegen/tests/test262/ae700e3f8ff82c6c.js similarity index 100% rename from ecmascript/codegen/tests/references/ae700e3f8ff82c6c.js rename to ecmascript/codegen/tests/test262/ae700e3f8ff82c6c.js diff --git a/ecmascript/codegen/tests/references/ae89d08bdd65b56b.js b/ecmascript/codegen/tests/test262/ae89d08bdd65b56b.js similarity index 100% rename from ecmascript/codegen/tests/references/ae89d08bdd65b56b.js rename to ecmascript/codegen/tests/test262/ae89d08bdd65b56b.js diff --git a/ecmascript/codegen/tests/references/ae9667ad0d837abc.js b/ecmascript/codegen/tests/test262/ae9667ad0d837abc.js similarity index 100% rename from ecmascript/codegen/tests/references/ae9667ad0d837abc.js rename to ecmascript/codegen/tests/test262/ae9667ad0d837abc.js diff --git a/ecmascript/codegen/tests/references/ae97d36bd01b43b2.js b/ecmascript/codegen/tests/test262/ae97d36bd01b43b2.js similarity index 100% rename from ecmascript/codegen/tests/references/ae97d36bd01b43b2.js rename to ecmascript/codegen/tests/test262/ae97d36bd01b43b2.js diff --git a/ecmascript/codegen/tests/references/ae9a8ca09473df05.js b/ecmascript/codegen/tests/test262/ae9a8ca09473df05.js similarity index 100% rename from ecmascript/codegen/tests/references/ae9a8ca09473df05.js rename to ecmascript/codegen/tests/test262/ae9a8ca09473df05.js diff --git a/ecmascript/codegen/tests/references/aec65a9745669870.js b/ecmascript/codegen/tests/test262/aec65a9745669870.js similarity index 100% rename from ecmascript/codegen/tests/references/aec65a9745669870.js rename to ecmascript/codegen/tests/test262/aec65a9745669870.js diff --git a/ecmascript/codegen/tests/references/aeca992c7be882ba.js b/ecmascript/codegen/tests/test262/aeca992c7be882ba.js similarity index 100% rename from ecmascript/codegen/tests/references/aeca992c7be882ba.js rename to ecmascript/codegen/tests/test262/aeca992c7be882ba.js diff --git a/ecmascript/codegen/tests/references/af17707f71e402a7.module.js b/ecmascript/codegen/tests/test262/af17707f71e402a7.module.js similarity index 100% rename from ecmascript/codegen/tests/references/af17707f71e402a7.module.js rename to ecmascript/codegen/tests/test262/af17707f71e402a7.module.js diff --git a/ecmascript/codegen/tests/references/af1d905ed056724f.js b/ecmascript/codegen/tests/test262/af1d905ed056724f.js similarity index 100% rename from ecmascript/codegen/tests/references/af1d905ed056724f.js rename to ecmascript/codegen/tests/test262/af1d905ed056724f.js diff --git a/ecmascript/codegen/tests/references/af4bbcea9802b120.js b/ecmascript/codegen/tests/test262/af4bbcea9802b120.js similarity index 100% rename from ecmascript/codegen/tests/references/af4bbcea9802b120.js rename to ecmascript/codegen/tests/test262/af4bbcea9802b120.js diff --git a/ecmascript/codegen/tests/references/af5766d06630bbc5.js b/ecmascript/codegen/tests/test262/af5766d06630bbc5.js similarity index 100% rename from ecmascript/codegen/tests/references/af5766d06630bbc5.js rename to ecmascript/codegen/tests/test262/af5766d06630bbc5.js diff --git a/ecmascript/codegen/tests/references/af97a3752e579223.js b/ecmascript/codegen/tests/test262/af97a3752e579223.js similarity index 100% rename from ecmascript/codegen/tests/references/af97a3752e579223.js rename to ecmascript/codegen/tests/test262/af97a3752e579223.js diff --git a/ecmascript/codegen/tests/references/afa63b136c835723.js b/ecmascript/codegen/tests/test262/afa63b136c835723.js similarity index 100% rename from ecmascript/codegen/tests/references/afa63b136c835723.js rename to ecmascript/codegen/tests/test262/afa63b136c835723.js diff --git a/ecmascript/codegen/tests/references/afcf8bace3839da2.js b/ecmascript/codegen/tests/test262/afcf8bace3839da2.js similarity index 100% rename from ecmascript/codegen/tests/references/afcf8bace3839da2.js rename to ecmascript/codegen/tests/test262/afcf8bace3839da2.js diff --git a/ecmascript/codegen/tests/references/affd557fd820e1f2.js b/ecmascript/codegen/tests/test262/affd557fd820e1f2.js similarity index 100% rename from ecmascript/codegen/tests/references/affd557fd820e1f2.js rename to ecmascript/codegen/tests/test262/affd557fd820e1f2.js diff --git a/ecmascript/codegen/tests/references/afffb6d317e53b92.js b/ecmascript/codegen/tests/test262/afffb6d317e53b92.js similarity index 100% rename from ecmascript/codegen/tests/references/afffb6d317e53b92.js rename to ecmascript/codegen/tests/test262/afffb6d317e53b92.js diff --git a/ecmascript/codegen/tests/references/b030378ad6e36751.js b/ecmascript/codegen/tests/test262/b030378ad6e36751.js similarity index 100% rename from ecmascript/codegen/tests/references/b030378ad6e36751.js rename to ecmascript/codegen/tests/test262/b030378ad6e36751.js diff --git a/ecmascript/codegen/tests/references/b0423be1317c7b69.js b/ecmascript/codegen/tests/test262/b0423be1317c7b69.js similarity index 100% rename from ecmascript/codegen/tests/references/b0423be1317c7b69.js rename to ecmascript/codegen/tests/test262/b0423be1317c7b69.js diff --git a/ecmascript/codegen/tests/references/b05d4355cc5e2802.js b/ecmascript/codegen/tests/test262/b05d4355cc5e2802.js similarity index 100% rename from ecmascript/codegen/tests/references/b05d4355cc5e2802.js rename to ecmascript/codegen/tests/test262/b05d4355cc5e2802.js diff --git a/ecmascript/codegen/tests/references/b0659cf9cb6793a2.js b/ecmascript/codegen/tests/test262/b0659cf9cb6793a2.js similarity index 100% rename from ecmascript/codegen/tests/references/b0659cf9cb6793a2.js rename to ecmascript/codegen/tests/test262/b0659cf9cb6793a2.js diff --git a/ecmascript/codegen/tests/references/b06e2c3814e46579.js b/ecmascript/codegen/tests/test262/b06e2c3814e46579.js similarity index 100% rename from ecmascript/codegen/tests/references/b06e2c3814e46579.js rename to ecmascript/codegen/tests/test262/b06e2c3814e46579.js diff --git a/ecmascript/codegen/tests/references/b07c5fdc1003316b.js b/ecmascript/codegen/tests/test262/b07c5fdc1003316b.js similarity index 100% rename from ecmascript/codegen/tests/references/b07c5fdc1003316b.js rename to ecmascript/codegen/tests/test262/b07c5fdc1003316b.js diff --git a/ecmascript/codegen/tests/references/b0a834e1180ccd73.js b/ecmascript/codegen/tests/test262/b0a834e1180ccd73.js similarity index 100% rename from ecmascript/codegen/tests/references/b0a834e1180ccd73.js rename to ecmascript/codegen/tests/test262/b0a834e1180ccd73.js diff --git a/ecmascript/codegen/tests/references/b0c6752e1db068ed.js b/ecmascript/codegen/tests/test262/b0c6752e1db068ed.js similarity index 100% rename from ecmascript/codegen/tests/references/b0c6752e1db068ed.js rename to ecmascript/codegen/tests/test262/b0c6752e1db068ed.js diff --git a/ecmascript/codegen/tests/test262/b0d44fd20353fd82.js b/ecmascript/codegen/tests/test262/b0d44fd20353fd82.js new file mode 100644 index 00000000000..9f3f17af156 --- /dev/null +++ b/ecmascript/codegen/tests/test262/b0d44fd20353fd82.js @@ -0,0 +1 @@ +for(let yield in 1); diff --git a/ecmascript/codegen/tests/references/b0fdc038ee292aba.js b/ecmascript/codegen/tests/test262/b0fdc038ee292aba.js similarity index 100% rename from ecmascript/codegen/tests/references/b0fdc038ee292aba.js rename to ecmascript/codegen/tests/test262/b0fdc038ee292aba.js diff --git a/ecmascript/codegen/tests/references/b1072e92becf06a9.js b/ecmascript/codegen/tests/test262/b1072e92becf06a9.js similarity index 100% rename from ecmascript/codegen/tests/references/b1072e92becf06a9.js rename to ecmascript/codegen/tests/test262/b1072e92becf06a9.js diff --git a/ecmascript/codegen/tests/references/b13e700d2613a5a7.js b/ecmascript/codegen/tests/test262/b13e700d2613a5a7.js similarity index 100% rename from ecmascript/codegen/tests/references/b13e700d2613a5a7.js rename to ecmascript/codegen/tests/test262/b13e700d2613a5a7.js diff --git a/ecmascript/codegen/tests/references/b15ab152f8531a9f.js b/ecmascript/codegen/tests/test262/b15ab152f8531a9f.js similarity index 100% rename from ecmascript/codegen/tests/references/b15ab152f8531a9f.js rename to ecmascript/codegen/tests/test262/b15ab152f8531a9f.js diff --git a/ecmascript/codegen/tests/references/b175bdef718c4012.js b/ecmascript/codegen/tests/test262/b175bdef718c4012.js similarity index 100% rename from ecmascript/codegen/tests/references/b175bdef718c4012.js rename to ecmascript/codegen/tests/test262/b175bdef718c4012.js diff --git a/ecmascript/codegen/tests/references/b195e06e2ba5e787.js b/ecmascript/codegen/tests/test262/b195e06e2ba5e787.js similarity index 100% rename from ecmascript/codegen/tests/references/b195e06e2ba5e787.js rename to ecmascript/codegen/tests/test262/b195e06e2ba5e787.js diff --git a/ecmascript/codegen/tests/references/b1b969fae2973dae.js b/ecmascript/codegen/tests/test262/b1b969fae2973dae.js similarity index 100% rename from ecmascript/codegen/tests/references/b1b969fae2973dae.js rename to ecmascript/codegen/tests/test262/b1b969fae2973dae.js diff --git a/ecmascript/codegen/tests/references/b1c37dedeec0b867.js b/ecmascript/codegen/tests/test262/b1c37dedeec0b867.js similarity index 100% rename from ecmascript/codegen/tests/references/b1c37dedeec0b867.js rename to ecmascript/codegen/tests/test262/b1c37dedeec0b867.js diff --git a/ecmascript/codegen/tests/references/b2048a6a14348122.js b/ecmascript/codegen/tests/test262/b2048a6a14348122.js similarity index 100% rename from ecmascript/codegen/tests/references/b2048a6a14348122.js rename to ecmascript/codegen/tests/test262/b2048a6a14348122.js diff --git a/ecmascript/codegen/tests/references/b205355de22689d1.js b/ecmascript/codegen/tests/test262/b205355de22689d1.js similarity index 100% rename from ecmascript/codegen/tests/references/b205355de22689d1.js rename to ecmascript/codegen/tests/test262/b205355de22689d1.js diff --git a/ecmascript/codegen/tests/references/b2495b0864c7835a.js b/ecmascript/codegen/tests/test262/b2495b0864c7835a.js similarity index 100% rename from ecmascript/codegen/tests/references/b2495b0864c7835a.js rename to ecmascript/codegen/tests/test262/b2495b0864c7835a.js diff --git a/ecmascript/codegen/tests/references/b24fa2a1936d38d9.js b/ecmascript/codegen/tests/test262/b24fa2a1936d38d9.js similarity index 100% rename from ecmascript/codegen/tests/references/b24fa2a1936d38d9.js rename to ecmascript/codegen/tests/test262/b24fa2a1936d38d9.js diff --git a/ecmascript/codegen/tests/references/b25057b11104844d.js b/ecmascript/codegen/tests/test262/b25057b11104844d.js similarity index 100% rename from ecmascript/codegen/tests/references/b25057b11104844d.js rename to ecmascript/codegen/tests/test262/b25057b11104844d.js diff --git a/ecmascript/codegen/tests/references/b29070859dbeaf08.js b/ecmascript/codegen/tests/test262/b29070859dbeaf08.js similarity index 100% rename from ecmascript/codegen/tests/references/b29070859dbeaf08.js rename to ecmascript/codegen/tests/test262/b29070859dbeaf08.js diff --git a/ecmascript/codegen/tests/test262/b2a13c2c2c795427.js b/ecmascript/codegen/tests/test262/b2a13c2c2c795427.js new file mode 100644 index 00000000000..4ab96f09617 --- /dev/null +++ b/ecmascript/codegen/tests/test262/b2a13c2c2c795427.js @@ -0,0 +1 @@ +for(;;); diff --git a/ecmascript/codegen/tests/references/b2a567473d09b770.js b/ecmascript/codegen/tests/test262/b2a567473d09b770.js similarity index 100% rename from ecmascript/codegen/tests/references/b2a567473d09b770.js rename to ecmascript/codegen/tests/test262/b2a567473d09b770.js diff --git a/ecmascript/codegen/tests/references/b2e6c124e2822117.js b/ecmascript/codegen/tests/test262/b2e6c124e2822117.js similarity index 100% rename from ecmascript/codegen/tests/references/b2e6c124e2822117.js rename to ecmascript/codegen/tests/test262/b2e6c124e2822117.js diff --git a/ecmascript/codegen/tests/references/b3093945d65d33d5.js b/ecmascript/codegen/tests/test262/b3093945d65d33d5.js similarity index 100% rename from ecmascript/codegen/tests/references/b3093945d65d33d5.js rename to ecmascript/codegen/tests/test262/b3093945d65d33d5.js diff --git a/ecmascript/codegen/tests/references/b32aa0e4195927c1.js b/ecmascript/codegen/tests/test262/b32aa0e4195927c1.js similarity index 100% rename from ecmascript/codegen/tests/references/b32aa0e4195927c1.js rename to ecmascript/codegen/tests/test262/b32aa0e4195927c1.js diff --git a/ecmascript/codegen/tests/references/b363a70923be42c8.js b/ecmascript/codegen/tests/test262/b363a70923be42c8.js similarity index 100% rename from ecmascript/codegen/tests/references/b363a70923be42c8.js rename to ecmascript/codegen/tests/test262/b363a70923be42c8.js diff --git a/ecmascript/codegen/tests/references/b3717dd9314332d2.js b/ecmascript/codegen/tests/test262/b3717dd9314332d2.js similarity index 100% rename from ecmascript/codegen/tests/references/b3717dd9314332d2.js rename to ecmascript/codegen/tests/test262/b3717dd9314332d2.js diff --git a/ecmascript/codegen/tests/references/b376d3924d77aa8a.js b/ecmascript/codegen/tests/test262/b376d3924d77aa8a.js similarity index 100% rename from ecmascript/codegen/tests/references/b376d3924d77aa8a.js rename to ecmascript/codegen/tests/test262/b376d3924d77aa8a.js diff --git a/ecmascript/codegen/tests/references/b3e783194b210cc3.js b/ecmascript/codegen/tests/test262/b3e783194b210cc3.js similarity index 100% rename from ecmascript/codegen/tests/references/b3e783194b210cc3.js rename to ecmascript/codegen/tests/test262/b3e783194b210cc3.js diff --git a/ecmascript/codegen/tests/test262/b41dad3363eaab20.js b/ecmascript/codegen/tests/test262/b41dad3363eaab20.js new file mode 100644 index 00000000000..912e49de650 --- /dev/null +++ b/ecmascript/codegen/tests/test262/b41dad3363eaab20.js @@ -0,0 +1 @@ +while(1); diff --git a/ecmascript/codegen/tests/references/b42377ca7015e7d4.js b/ecmascript/codegen/tests/test262/b42377ca7015e7d4.js similarity index 100% rename from ecmascript/codegen/tests/references/b42377ca7015e7d4.js rename to ecmascript/codegen/tests/test262/b42377ca7015e7d4.js diff --git a/ecmascript/codegen/tests/references/b433b0cfef2a3cd1.js b/ecmascript/codegen/tests/test262/b433b0cfef2a3cd1.js similarity index 100% rename from ecmascript/codegen/tests/references/b433b0cfef2a3cd1.js rename to ecmascript/codegen/tests/test262/b433b0cfef2a3cd1.js diff --git a/ecmascript/codegen/tests/references/b43b759f208e1afb.js b/ecmascript/codegen/tests/test262/b43b759f208e1afb.js similarity index 100% rename from ecmascript/codegen/tests/references/b43b759f208e1afb.js rename to ecmascript/codegen/tests/test262/b43b759f208e1afb.js diff --git a/ecmascript/codegen/tests/references/b4546b664cc70c58.js b/ecmascript/codegen/tests/test262/b4546b664cc70c58.js similarity index 100% rename from ecmascript/codegen/tests/references/b4546b664cc70c58.js rename to ecmascript/codegen/tests/test262/b4546b664cc70c58.js diff --git a/ecmascript/codegen/tests/references/b45d869ab09c7b00.js b/ecmascript/codegen/tests/test262/b45d869ab09c7b00.js similarity index 100% rename from ecmascript/codegen/tests/references/b45d869ab09c7b00.js rename to ecmascript/codegen/tests/test262/b45d869ab09c7b00.js diff --git a/ecmascript/codegen/tests/references/b46a2c1b5d9a97cd.js b/ecmascript/codegen/tests/test262/b46a2c1b5d9a97cd.js similarity index 100% rename from ecmascript/codegen/tests/references/b46a2c1b5d9a97cd.js rename to ecmascript/codegen/tests/test262/b46a2c1b5d9a97cd.js diff --git a/ecmascript/codegen/tests/references/b471292fedf2f813.js b/ecmascript/codegen/tests/test262/b471292fedf2f813.js similarity index 100% rename from ecmascript/codegen/tests/references/b471292fedf2f813.js rename to ecmascript/codegen/tests/test262/b471292fedf2f813.js diff --git a/ecmascript/codegen/tests/references/b49ca42695798691.js b/ecmascript/codegen/tests/test262/b49ca42695798691.js similarity index 100% rename from ecmascript/codegen/tests/references/b49ca42695798691.js rename to ecmascript/codegen/tests/test262/b49ca42695798691.js diff --git a/ecmascript/codegen/tests/references/b4a54642589bc396.js b/ecmascript/codegen/tests/test262/b4a54642589bc396.js similarity index 100% rename from ecmascript/codegen/tests/references/b4a54642589bc396.js rename to ecmascript/codegen/tests/test262/b4a54642589bc396.js diff --git a/ecmascript/codegen/tests/references/b4bc5f201c297bca.module.js b/ecmascript/codegen/tests/test262/b4bc5f201c297bca.module.js similarity index 100% rename from ecmascript/codegen/tests/references/b4bc5f201c297bca.module.js rename to ecmascript/codegen/tests/test262/b4bc5f201c297bca.module.js diff --git a/ecmascript/codegen/tests/references/b506e9cc13c4ad2e.js b/ecmascript/codegen/tests/test262/b506e9cc13c4ad2e.js similarity index 100% rename from ecmascript/codegen/tests/references/b506e9cc13c4ad2e.js rename to ecmascript/codegen/tests/test262/b506e9cc13c4ad2e.js diff --git a/ecmascript/codegen/tests/references/b549d045fc8e93bf.js b/ecmascript/codegen/tests/test262/b549d045fc8e93bf.js similarity index 100% rename from ecmascript/codegen/tests/references/b549d045fc8e93bf.js rename to ecmascript/codegen/tests/test262/b549d045fc8e93bf.js diff --git a/ecmascript/codegen/tests/references/b563460c1031daf2.js b/ecmascript/codegen/tests/test262/b563460c1031daf2.js similarity index 100% rename from ecmascript/codegen/tests/references/b563460c1031daf2.js rename to ecmascript/codegen/tests/test262/b563460c1031daf2.js diff --git a/ecmascript/codegen/tests/references/b5755ec32b9418af.js b/ecmascript/codegen/tests/test262/b5755ec32b9418af.js similarity index 100% rename from ecmascript/codegen/tests/references/b5755ec32b9418af.js rename to ecmascript/codegen/tests/test262/b5755ec32b9418af.js diff --git a/ecmascript/codegen/tests/references/b5a1e1a3679f81ba.js b/ecmascript/codegen/tests/test262/b5a1e1a3679f81ba.js similarity index 100% rename from ecmascript/codegen/tests/references/b5a1e1a3679f81ba.js rename to ecmascript/codegen/tests/test262/b5a1e1a3679f81ba.js diff --git a/ecmascript/codegen/tests/references/b5bc1ffd90912fb1.js b/ecmascript/codegen/tests/test262/b5bc1ffd90912fb1.js similarity index 100% rename from ecmascript/codegen/tests/references/b5bc1ffd90912fb1.js rename to ecmascript/codegen/tests/test262/b5bc1ffd90912fb1.js diff --git a/ecmascript/codegen/tests/references/b5cf21a87ec272d1.js b/ecmascript/codegen/tests/test262/b5cf21a87ec272d1.js similarity index 100% rename from ecmascript/codegen/tests/references/b5cf21a87ec272d1.js rename to ecmascript/codegen/tests/test262/b5cf21a87ec272d1.js diff --git a/ecmascript/codegen/tests/references/b5d302467c6f2f16.js b/ecmascript/codegen/tests/test262/b5d302467c6f2f16.js similarity index 100% rename from ecmascript/codegen/tests/references/b5d302467c6f2f16.js rename to ecmascript/codegen/tests/test262/b5d302467c6f2f16.js diff --git a/ecmascript/codegen/tests/references/b6145fa4a8cb8c35.js b/ecmascript/codegen/tests/test262/b6145fa4a8cb8c35.js similarity index 100% rename from ecmascript/codegen/tests/references/b6145fa4a8cb8c35.js rename to ecmascript/codegen/tests/test262/b6145fa4a8cb8c35.js diff --git a/ecmascript/codegen/tests/references/b62c6dd890bef675.js b/ecmascript/codegen/tests/test262/b62c6dd890bef675.js similarity index 100% rename from ecmascript/codegen/tests/references/b62c6dd890bef675.js rename to ecmascript/codegen/tests/test262/b62c6dd890bef675.js diff --git a/ecmascript/codegen/tests/references/b644c9f68254c85d.js b/ecmascript/codegen/tests/test262/b644c9f68254c85d.js similarity index 100% rename from ecmascript/codegen/tests/references/b644c9f68254c85d.js rename to ecmascript/codegen/tests/test262/b644c9f68254c85d.js diff --git a/ecmascript/codegen/tests/references/b6b5e49c97cedebb.js b/ecmascript/codegen/tests/test262/b6b5e49c97cedebb.js similarity index 100% rename from ecmascript/codegen/tests/references/b6b5e49c97cedebb.js rename to ecmascript/codegen/tests/test262/b6b5e49c97cedebb.js diff --git a/ecmascript/codegen/tests/references/b6e396c8cdf28f95.js b/ecmascript/codegen/tests/test262/b6e396c8cdf28f95.js similarity index 100% rename from ecmascript/codegen/tests/references/b6e396c8cdf28f95.js rename to ecmascript/codegen/tests/test262/b6e396c8cdf28f95.js diff --git a/ecmascript/codegen/tests/references/b6efc88be898bda8.js b/ecmascript/codegen/tests/test262/b6efc88be898bda8.js similarity index 100% rename from ecmascript/codegen/tests/references/b6efc88be898bda8.js rename to ecmascript/codegen/tests/test262/b6efc88be898bda8.js diff --git a/ecmascript/codegen/tests/references/b756b64f0eef72db.js b/ecmascript/codegen/tests/test262/b756b64f0eef72db.js similarity index 100% rename from ecmascript/codegen/tests/references/b756b64f0eef72db.js rename to ecmascript/codegen/tests/test262/b756b64f0eef72db.js diff --git a/ecmascript/codegen/tests/references/b75a0b610a41c000.js b/ecmascript/codegen/tests/test262/b75a0b610a41c000.js similarity index 100% rename from ecmascript/codegen/tests/references/b75a0b610a41c000.js rename to ecmascript/codegen/tests/test262/b75a0b610a41c000.js diff --git a/ecmascript/codegen/tests/references/b77549e54bfef0f9.js b/ecmascript/codegen/tests/test262/b77549e54bfef0f9.js similarity index 100% rename from ecmascript/codegen/tests/references/b77549e54bfef0f9.js rename to ecmascript/codegen/tests/test262/b77549e54bfef0f9.js diff --git a/ecmascript/codegen/tests/references/b79d2c4df1141981.js b/ecmascript/codegen/tests/test262/b79d2c4df1141981.js similarity index 100% rename from ecmascript/codegen/tests/references/b79d2c4df1141981.js rename to ecmascript/codegen/tests/test262/b79d2c4df1141981.js diff --git a/ecmascript/codegen/tests/references/b7a5cd294201221b.js b/ecmascript/codegen/tests/test262/b7a5cd294201221b.js similarity index 100% rename from ecmascript/codegen/tests/references/b7a5cd294201221b.js rename to ecmascript/codegen/tests/test262/b7a5cd294201221b.js diff --git a/ecmascript/codegen/tests/references/b7a6a807ae6db312.js b/ecmascript/codegen/tests/test262/b7a6a807ae6db312.js similarity index 100% rename from ecmascript/codegen/tests/references/b7a6a807ae6db312.js rename to ecmascript/codegen/tests/test262/b7a6a807ae6db312.js diff --git a/ecmascript/codegen/tests/test262/b7c2a3690011dd5e.js b/ecmascript/codegen/tests/test262/b7c2a3690011dd5e.js new file mode 100644 index 00000000000..d9ff628990b --- /dev/null +++ b/ecmascript/codegen/tests/test262/b7c2a3690011dd5e.js @@ -0,0 +1 @@ +for(var a in b); diff --git a/ecmascript/codegen/tests/references/b7cd8df8dc875529.js b/ecmascript/codegen/tests/test262/b7cd8df8dc875529.js similarity index 100% rename from ecmascript/codegen/tests/references/b7cd8df8dc875529.js rename to ecmascript/codegen/tests/test262/b7cd8df8dc875529.js diff --git a/ecmascript/codegen/tests/references/b7d99c0034be0ce1.js b/ecmascript/codegen/tests/test262/b7d99c0034be0ce1.js similarity index 100% rename from ecmascript/codegen/tests/references/b7d99c0034be0ce1.js rename to ecmascript/codegen/tests/test262/b7d99c0034be0ce1.js diff --git a/ecmascript/codegen/tests/references/b8403938b1ddd626.js b/ecmascript/codegen/tests/test262/b8403938b1ddd626.js similarity index 100% rename from ecmascript/codegen/tests/references/b8403938b1ddd626.js rename to ecmascript/codegen/tests/test262/b8403938b1ddd626.js diff --git a/ecmascript/codegen/tests/references/b86b0122e80c330e.js b/ecmascript/codegen/tests/test262/b86b0122e80c330e.js similarity index 100% rename from ecmascript/codegen/tests/references/b86b0122e80c330e.js rename to ecmascript/codegen/tests/test262/b86b0122e80c330e.js diff --git a/ecmascript/codegen/tests/references/b8705496c9c1ff60.js b/ecmascript/codegen/tests/test262/b8705496c9c1ff60.js similarity index 100% rename from ecmascript/codegen/tests/references/b8705496c9c1ff60.js rename to ecmascript/codegen/tests/test262/b8705496c9c1ff60.js diff --git a/ecmascript/codegen/tests/references/b885e6a35c04d915.js b/ecmascript/codegen/tests/test262/b885e6a35c04d915.js similarity index 100% rename from ecmascript/codegen/tests/references/b885e6a35c04d915.js rename to ecmascript/codegen/tests/test262/b885e6a35c04d915.js diff --git a/ecmascript/codegen/tests/references/b88624492a2c81d3.js b/ecmascript/codegen/tests/test262/b88624492a2c81d3.js similarity index 100% rename from ecmascript/codegen/tests/references/b88624492a2c81d3.js rename to ecmascript/codegen/tests/test262/b88624492a2c81d3.js diff --git a/ecmascript/codegen/tests/references/b89aef8a4690aa20.js b/ecmascript/codegen/tests/test262/b89aef8a4690aa20.js similarity index 100% rename from ecmascript/codegen/tests/references/b89aef8a4690aa20.js rename to ecmascript/codegen/tests/test262/b89aef8a4690aa20.js diff --git a/ecmascript/codegen/tests/references/b8ad1bd2ff50021f.js b/ecmascript/codegen/tests/test262/b8ad1bd2ff50021f.js similarity index 100% rename from ecmascript/codegen/tests/references/b8ad1bd2ff50021f.js rename to ecmascript/codegen/tests/test262/b8ad1bd2ff50021f.js diff --git a/ecmascript/codegen/tests/references/b8bf39a3e60568ab.js b/ecmascript/codegen/tests/test262/b8bf39a3e60568ab.js similarity index 100% rename from ecmascript/codegen/tests/references/b8bf39a3e60568ab.js rename to ecmascript/codegen/tests/test262/b8bf39a3e60568ab.js diff --git a/ecmascript/codegen/tests/references/b8c98b5cd38f2bd9.js b/ecmascript/codegen/tests/test262/b8c98b5cd38f2bd9.js similarity index 100% rename from ecmascript/codegen/tests/references/b8c98b5cd38f2bd9.js rename to ecmascript/codegen/tests/test262/b8c98b5cd38f2bd9.js diff --git a/ecmascript/codegen/tests/references/b8f8dfc41df97add.js b/ecmascript/codegen/tests/test262/b8f8dfc41df97add.js similarity index 100% rename from ecmascript/codegen/tests/references/b8f8dfc41df97add.js rename to ecmascript/codegen/tests/test262/b8f8dfc41df97add.js diff --git a/ecmascript/codegen/tests/references/b926f0fefd69158a.js b/ecmascript/codegen/tests/test262/b926f0fefd69158a.js similarity index 100% rename from ecmascript/codegen/tests/references/b926f0fefd69158a.js rename to ecmascript/codegen/tests/test262/b926f0fefd69158a.js diff --git a/ecmascript/codegen/tests/references/b92bdcf6c2591e5c.js b/ecmascript/codegen/tests/test262/b92bdcf6c2591e5c.js similarity index 100% rename from ecmascript/codegen/tests/references/b92bdcf6c2591e5c.js rename to ecmascript/codegen/tests/test262/b92bdcf6c2591e5c.js diff --git a/ecmascript/codegen/tests/references/b92dd0bc25eaebe3.js b/ecmascript/codegen/tests/test262/b92dd0bc25eaebe3.js similarity index 100% rename from ecmascript/codegen/tests/references/b92dd0bc25eaebe3.js rename to ecmascript/codegen/tests/test262/b92dd0bc25eaebe3.js diff --git a/ecmascript/codegen/tests/references/b93d116fd0409637.js b/ecmascript/codegen/tests/test262/b93d116fd0409637.js similarity index 100% rename from ecmascript/codegen/tests/references/b93d116fd0409637.js rename to ecmascript/codegen/tests/test262/b93d116fd0409637.js diff --git a/ecmascript/codegen/tests/references/b96ba7cdf0b42ca9.js b/ecmascript/codegen/tests/test262/b96ba7cdf0b42ca9.js similarity index 100% rename from ecmascript/codegen/tests/references/b96ba7cdf0b42ca9.js rename to ecmascript/codegen/tests/test262/b96ba7cdf0b42ca9.js diff --git a/ecmascript/codegen/tests/references/b9a0cb6df76a73d2.js b/ecmascript/codegen/tests/test262/b9a0cb6df76a73d2.js similarity index 100% rename from ecmascript/codegen/tests/references/b9a0cb6df76a73d2.js rename to ecmascript/codegen/tests/test262/b9a0cb6df76a73d2.js diff --git a/ecmascript/codegen/tests/references/b9a4f9232146d4d9.js b/ecmascript/codegen/tests/test262/b9a4f9232146d4d9.js similarity index 100% rename from ecmascript/codegen/tests/references/b9a4f9232146d4d9.js rename to ecmascript/codegen/tests/test262/b9a4f9232146d4d9.js diff --git a/ecmascript/codegen/tests/references/b9a5f5c8c12525c7.js b/ecmascript/codegen/tests/test262/b9a5f5c8c12525c7.js similarity index 100% rename from ecmascript/codegen/tests/references/b9a5f5c8c12525c7.js rename to ecmascript/codegen/tests/test262/b9a5f5c8c12525c7.js diff --git a/ecmascript/codegen/tests/references/b9b8fb218e1990af.js b/ecmascript/codegen/tests/test262/b9b8fb218e1990af.js similarity index 100% rename from ecmascript/codegen/tests/references/b9b8fb218e1990af.js rename to ecmascript/codegen/tests/test262/b9b8fb218e1990af.js diff --git a/ecmascript/codegen/tests/references/b9e1124424a35ad1.js b/ecmascript/codegen/tests/test262/b9e1124424a35ad1.js similarity index 100% rename from ecmascript/codegen/tests/references/b9e1124424a35ad1.js rename to ecmascript/codegen/tests/test262/b9e1124424a35ad1.js diff --git a/ecmascript/codegen/tests/references/ba00173ff473e7da.js b/ecmascript/codegen/tests/test262/ba00173ff473e7da.js similarity index 100% rename from ecmascript/codegen/tests/references/ba00173ff473e7da.js rename to ecmascript/codegen/tests/test262/ba00173ff473e7da.js diff --git a/ecmascript/codegen/tests/references/ba21e63736d8fd46.js b/ecmascript/codegen/tests/test262/ba21e63736d8fd46.js similarity index 100% rename from ecmascript/codegen/tests/references/ba21e63736d8fd46.js rename to ecmascript/codegen/tests/test262/ba21e63736d8fd46.js diff --git a/ecmascript/codegen/tests/references/ba4cc699857f41f2.js b/ecmascript/codegen/tests/test262/ba4cc699857f41f2.js similarity index 100% rename from ecmascript/codegen/tests/references/ba4cc699857f41f2.js rename to ecmascript/codegen/tests/test262/ba4cc699857f41f2.js diff --git a/ecmascript/codegen/tests/references/ba620e120a809888.js b/ecmascript/codegen/tests/test262/ba620e120a809888.js similarity index 100% rename from ecmascript/codegen/tests/references/ba620e120a809888.js rename to ecmascript/codegen/tests/test262/ba620e120a809888.js diff --git a/ecmascript/codegen/tests/references/ba6624f5f448dfe4.js b/ecmascript/codegen/tests/test262/ba6624f5f448dfe4.js similarity index 100% rename from ecmascript/codegen/tests/references/ba6624f5f448dfe4.js rename to ecmascript/codegen/tests/test262/ba6624f5f448dfe4.js diff --git a/ecmascript/codegen/tests/references/ba6dd18da17dbc10.js b/ecmascript/codegen/tests/test262/ba6dd18da17dbc10.js similarity index 100% rename from ecmascript/codegen/tests/references/ba6dd18da17dbc10.js rename to ecmascript/codegen/tests/test262/ba6dd18da17dbc10.js diff --git a/ecmascript/codegen/tests/references/ba9a047839eb4682.js b/ecmascript/codegen/tests/test262/ba9a047839eb4682.js similarity index 100% rename from ecmascript/codegen/tests/references/ba9a047839eb4682.js rename to ecmascript/codegen/tests/test262/ba9a047839eb4682.js diff --git a/ecmascript/codegen/tests/references/bad55fbc19618df8.js b/ecmascript/codegen/tests/test262/bad55fbc19618df8.js similarity index 100% rename from ecmascript/codegen/tests/references/bad55fbc19618df8.js rename to ecmascript/codegen/tests/test262/bad55fbc19618df8.js diff --git a/ecmascript/codegen/tests/references/bb402b98f5398890.js b/ecmascript/codegen/tests/test262/bb402b98f5398890.js similarity index 100% rename from ecmascript/codegen/tests/references/bb402b98f5398890.js rename to ecmascript/codegen/tests/test262/bb402b98f5398890.js diff --git a/ecmascript/codegen/tests/references/bb41f0778f00f131.js b/ecmascript/codegen/tests/test262/bb41f0778f00f131.js similarity index 100% rename from ecmascript/codegen/tests/references/bb41f0778f00f131.js rename to ecmascript/codegen/tests/test262/bb41f0778f00f131.js diff --git a/ecmascript/codegen/tests/references/bb447d4ed988a1cb.js b/ecmascript/codegen/tests/test262/bb447d4ed988a1cb.js similarity index 100% rename from ecmascript/codegen/tests/references/bb447d4ed988a1cb.js rename to ecmascript/codegen/tests/test262/bb447d4ed988a1cb.js diff --git a/ecmascript/codegen/tests/references/bb7db120ad2fe995.js b/ecmascript/codegen/tests/test262/bb7db120ad2fe995.js similarity index 100% rename from ecmascript/codegen/tests/references/bb7db120ad2fe995.js rename to ecmascript/codegen/tests/test262/bb7db120ad2fe995.js diff --git a/ecmascript/codegen/tests/references/bb87b410a1170cf0.js b/ecmascript/codegen/tests/test262/bb87b410a1170cf0.js similarity index 100% rename from ecmascript/codegen/tests/references/bb87b410a1170cf0.js rename to ecmascript/codegen/tests/test262/bb87b410a1170cf0.js diff --git a/ecmascript/codegen/tests/references/bb8b546cf9db5996.js b/ecmascript/codegen/tests/test262/bb8b546cf9db5996.js similarity index 100% rename from ecmascript/codegen/tests/references/bb8b546cf9db5996.js rename to ecmascript/codegen/tests/test262/bb8b546cf9db5996.js diff --git a/ecmascript/codegen/tests/references/bbff5671643cc2ea.js b/ecmascript/codegen/tests/test262/bbff5671643cc2ea.js similarity index 100% rename from ecmascript/codegen/tests/references/bbff5671643cc2ea.js rename to ecmascript/codegen/tests/test262/bbff5671643cc2ea.js diff --git a/ecmascript/codegen/tests/references/bbffb851469a3f0e.js b/ecmascript/codegen/tests/test262/bbffb851469a3f0e.js similarity index 100% rename from ecmascript/codegen/tests/references/bbffb851469a3f0e.js rename to ecmascript/codegen/tests/test262/bbffb851469a3f0e.js diff --git a/ecmascript/codegen/tests/references/bc10e230c13b6c02.js b/ecmascript/codegen/tests/test262/bc10e230c13b6c02.js similarity index 100% rename from ecmascript/codegen/tests/references/bc10e230c13b6c02.js rename to ecmascript/codegen/tests/test262/bc10e230c13b6c02.js diff --git a/ecmascript/codegen/tests/references/bc302492d441d561.js b/ecmascript/codegen/tests/test262/bc302492d441d561.js similarity index 100% rename from ecmascript/codegen/tests/references/bc302492d441d561.js rename to ecmascript/codegen/tests/test262/bc302492d441d561.js diff --git a/ecmascript/codegen/tests/references/bc89b2b2f1e19f9e.js b/ecmascript/codegen/tests/test262/bc89b2b2f1e19f9e.js similarity index 100% rename from ecmascript/codegen/tests/references/bc89b2b2f1e19f9e.js rename to ecmascript/codegen/tests/test262/bc89b2b2f1e19f9e.js diff --git a/ecmascript/codegen/tests/references/bcd690cfb709ffe8.js b/ecmascript/codegen/tests/test262/bcd690cfb709ffe8.js similarity index 100% rename from ecmascript/codegen/tests/references/bcd690cfb709ffe8.js rename to ecmascript/codegen/tests/test262/bcd690cfb709ffe8.js diff --git a/ecmascript/codegen/tests/references/bce83ece0ba80598.js b/ecmascript/codegen/tests/test262/bce83ece0ba80598.js similarity index 100% rename from ecmascript/codegen/tests/references/bce83ece0ba80598.js rename to ecmascript/codegen/tests/test262/bce83ece0ba80598.js diff --git a/ecmascript/codegen/tests/references/bd160eed5626ae7d.js b/ecmascript/codegen/tests/test262/bd160eed5626ae7d.js similarity index 100% rename from ecmascript/codegen/tests/references/bd160eed5626ae7d.js rename to ecmascript/codegen/tests/test262/bd160eed5626ae7d.js diff --git a/ecmascript/codegen/tests/references/bd28a7d19ac0d50b.js b/ecmascript/codegen/tests/test262/bd28a7d19ac0d50b.js similarity index 100% rename from ecmascript/codegen/tests/references/bd28a7d19ac0d50b.js rename to ecmascript/codegen/tests/test262/bd28a7d19ac0d50b.js diff --git a/ecmascript/codegen/tests/references/bd697f0fda948394.js b/ecmascript/codegen/tests/test262/bd697f0fda948394.js similarity index 100% rename from ecmascript/codegen/tests/references/bd697f0fda948394.js rename to ecmascript/codegen/tests/test262/bd697f0fda948394.js diff --git a/ecmascript/codegen/tests/references/bd7b54d5e0ce444b.js b/ecmascript/codegen/tests/test262/bd7b54d5e0ce444b.js similarity index 100% rename from ecmascript/codegen/tests/references/bd7b54d5e0ce444b.js rename to ecmascript/codegen/tests/test262/bd7b54d5e0ce444b.js diff --git a/ecmascript/codegen/tests/references/bd883e5fd1f09b69.js b/ecmascript/codegen/tests/test262/bd883e5fd1f09b69.js similarity index 100% rename from ecmascript/codegen/tests/references/bd883e5fd1f09b69.js rename to ecmascript/codegen/tests/test262/bd883e5fd1f09b69.js diff --git a/ecmascript/codegen/tests/references/bd9b563f02b80dae.js b/ecmascript/codegen/tests/test262/bd9b563f02b80dae.js similarity index 100% rename from ecmascript/codegen/tests/references/bd9b563f02b80dae.js rename to ecmascript/codegen/tests/test262/bd9b563f02b80dae.js diff --git a/ecmascript/codegen/tests/references/bdc4accd07049034.js b/ecmascript/codegen/tests/test262/bdc4accd07049034.js similarity index 100% rename from ecmascript/codegen/tests/references/bdc4accd07049034.js rename to ecmascript/codegen/tests/test262/bdc4accd07049034.js diff --git a/ecmascript/codegen/tests/references/bde1a5ea9aebf9d2.js b/ecmascript/codegen/tests/test262/bde1a5ea9aebf9d2.js similarity index 100% rename from ecmascript/codegen/tests/references/bde1a5ea9aebf9d2.js rename to ecmascript/codegen/tests/test262/bde1a5ea9aebf9d2.js diff --git a/ecmascript/codegen/tests/references/bdfc6c05edd19925.js b/ecmascript/codegen/tests/test262/bdfc6c05edd19925.js similarity index 100% rename from ecmascript/codegen/tests/references/bdfc6c05edd19925.js rename to ecmascript/codegen/tests/test262/bdfc6c05edd19925.js diff --git a/ecmascript/codegen/tests/references/be2c3fff6426873e.js b/ecmascript/codegen/tests/test262/be2c3fff6426873e.js similarity index 100% rename from ecmascript/codegen/tests/references/be2c3fff6426873e.js rename to ecmascript/codegen/tests/test262/be2c3fff6426873e.js diff --git a/ecmascript/codegen/tests/references/be2fd5888f434cbd.js b/ecmascript/codegen/tests/test262/be2fd5888f434cbd.js similarity index 100% rename from ecmascript/codegen/tests/references/be2fd5888f434cbd.js rename to ecmascript/codegen/tests/test262/be2fd5888f434cbd.js diff --git a/ecmascript/codegen/tests/references/be6eb70d9330c165.js b/ecmascript/codegen/tests/test262/be6eb70d9330c165.js similarity index 100% rename from ecmascript/codegen/tests/references/be6eb70d9330c165.js rename to ecmascript/codegen/tests/test262/be6eb70d9330c165.js diff --git a/ecmascript/codegen/tests/references/be879445c87d7e72.js b/ecmascript/codegen/tests/test262/be879445c87d7e72.js similarity index 100% rename from ecmascript/codegen/tests/references/be879445c87d7e72.js rename to ecmascript/codegen/tests/test262/be879445c87d7e72.js diff --git a/ecmascript/codegen/tests/references/be9d538d5041fd5f.js b/ecmascript/codegen/tests/test262/be9d538d5041fd5f.js similarity index 100% rename from ecmascript/codegen/tests/references/be9d538d5041fd5f.js rename to ecmascript/codegen/tests/test262/be9d538d5041fd5f.js diff --git a/ecmascript/codegen/tests/references/beb4cc5812ec1eed.js b/ecmascript/codegen/tests/test262/beb4cc5812ec1eed.js similarity index 100% rename from ecmascript/codegen/tests/references/beb4cc5812ec1eed.js rename to ecmascript/codegen/tests/test262/beb4cc5812ec1eed.js diff --git a/ecmascript/codegen/tests/references/beb5335e463d92c1.js b/ecmascript/codegen/tests/test262/beb5335e463d92c1.js similarity index 100% rename from ecmascript/codegen/tests/references/beb5335e463d92c1.js rename to ecmascript/codegen/tests/test262/beb5335e463d92c1.js diff --git a/ecmascript/codegen/tests/references/bedf5be599c82fe8.js b/ecmascript/codegen/tests/test262/bedf5be599c82fe8.js similarity index 100% rename from ecmascript/codegen/tests/references/bedf5be599c82fe8.js rename to ecmascript/codegen/tests/test262/bedf5be599c82fe8.js diff --git a/ecmascript/codegen/tests/references/bf1db420b006027f.js b/ecmascript/codegen/tests/test262/bf1db420b006027f.js similarity index 100% rename from ecmascript/codegen/tests/references/bf1db420b006027f.js rename to ecmascript/codegen/tests/test262/bf1db420b006027f.js diff --git a/ecmascript/codegen/tests/references/bf210a4f0cf9e352.js b/ecmascript/codegen/tests/test262/bf210a4f0cf9e352.js similarity index 100% rename from ecmascript/codegen/tests/references/bf210a4f0cf9e352.js rename to ecmascript/codegen/tests/test262/bf210a4f0cf9e352.js diff --git a/ecmascript/codegen/tests/references/bf49ec8d96884562.js b/ecmascript/codegen/tests/test262/bf49ec8d96884562.js similarity index 100% rename from ecmascript/codegen/tests/references/bf49ec8d96884562.js rename to ecmascript/codegen/tests/test262/bf49ec8d96884562.js diff --git a/ecmascript/codegen/tests/references/bf65e886047db371.js b/ecmascript/codegen/tests/test262/bf65e886047db371.js similarity index 100% rename from ecmascript/codegen/tests/references/bf65e886047db371.js rename to ecmascript/codegen/tests/test262/bf65e886047db371.js diff --git a/ecmascript/codegen/tests/references/bf6aaaab7c143ca1.js b/ecmascript/codegen/tests/test262/bf6aaaab7c143ca1.js similarity index 100% rename from ecmascript/codegen/tests/references/bf6aaaab7c143ca1.js rename to ecmascript/codegen/tests/test262/bf6aaaab7c143ca1.js diff --git a/ecmascript/codegen/tests/references/bf8ffad512a5f568.js b/ecmascript/codegen/tests/test262/bf8ffad512a5f568.js similarity index 100% rename from ecmascript/codegen/tests/references/bf8ffad512a5f568.js rename to ecmascript/codegen/tests/test262/bf8ffad512a5f568.js diff --git a/ecmascript/codegen/tests/references/bf9c4d8ecd728018.js b/ecmascript/codegen/tests/test262/bf9c4d8ecd728018.js similarity index 100% rename from ecmascript/codegen/tests/references/bf9c4d8ecd728018.js rename to ecmascript/codegen/tests/test262/bf9c4d8ecd728018.js diff --git a/ecmascript/codegen/tests/references/bf9e8bd90d8537c3.js b/ecmascript/codegen/tests/test262/bf9e8bd90d8537c3.js similarity index 100% rename from ecmascript/codegen/tests/references/bf9e8bd90d8537c3.js rename to ecmascript/codegen/tests/test262/bf9e8bd90d8537c3.js diff --git a/ecmascript/codegen/tests/references/bfb61863d3b10adf.js b/ecmascript/codegen/tests/test262/bfb61863d3b10adf.js similarity index 100% rename from ecmascript/codegen/tests/references/bfb61863d3b10adf.js rename to ecmascript/codegen/tests/test262/bfb61863d3b10adf.js diff --git a/ecmascript/codegen/tests/references/c06df922631aeabc.js b/ecmascript/codegen/tests/test262/c06df922631aeabc.js similarity index 100% rename from ecmascript/codegen/tests/references/c06df922631aeabc.js rename to ecmascript/codegen/tests/test262/c06df922631aeabc.js diff --git a/ecmascript/codegen/tests/references/c0740dd25c9de39b.js b/ecmascript/codegen/tests/test262/c0740dd25c9de39b.js similarity index 100% rename from ecmascript/codegen/tests/references/c0740dd25c9de39b.js rename to ecmascript/codegen/tests/test262/c0740dd25c9de39b.js diff --git a/ecmascript/codegen/tests/references/c086a8a5c8ef2bb9.js b/ecmascript/codegen/tests/test262/c086a8a5c8ef2bb9.js similarity index 100% rename from ecmascript/codegen/tests/references/c086a8a5c8ef2bb9.js rename to ecmascript/codegen/tests/test262/c086a8a5c8ef2bb9.js diff --git a/ecmascript/codegen/tests/references/c0f5f3f7db69c5a0.js b/ecmascript/codegen/tests/test262/c0f5f3f7db69c5a0.js similarity index 100% rename from ecmascript/codegen/tests/references/c0f5f3f7db69c5a0.js rename to ecmascript/codegen/tests/test262/c0f5f3f7db69c5a0.js diff --git a/ecmascript/codegen/tests/references/c1319833fc139cf8.js b/ecmascript/codegen/tests/test262/c1319833fc139cf8.js similarity index 100% rename from ecmascript/codegen/tests/references/c1319833fc139cf8.js rename to ecmascript/codegen/tests/test262/c1319833fc139cf8.js diff --git a/ecmascript/codegen/tests/references/c162248ee699b68f.js b/ecmascript/codegen/tests/test262/c162248ee699b68f.js similarity index 100% rename from ecmascript/codegen/tests/references/c162248ee699b68f.js rename to ecmascript/codegen/tests/test262/c162248ee699b68f.js diff --git a/ecmascript/codegen/tests/references/c16d7f2993152b6b.module.js b/ecmascript/codegen/tests/test262/c16d7f2993152b6b.module.js similarity index 100% rename from ecmascript/codegen/tests/references/c16d7f2993152b6b.module.js rename to ecmascript/codegen/tests/test262/c16d7f2993152b6b.module.js diff --git a/ecmascript/codegen/tests/references/c17fd07fc9b5bf7e.js b/ecmascript/codegen/tests/test262/c17fd07fc9b5bf7e.js similarity index 100% rename from ecmascript/codegen/tests/references/c17fd07fc9b5bf7e.js rename to ecmascript/codegen/tests/test262/c17fd07fc9b5bf7e.js diff --git a/ecmascript/codegen/tests/references/c18d547cafb43e30.js b/ecmascript/codegen/tests/test262/c18d547cafb43e30.js similarity index 100% rename from ecmascript/codegen/tests/references/c18d547cafb43e30.js rename to ecmascript/codegen/tests/test262/c18d547cafb43e30.js diff --git a/ecmascript/codegen/tests/references/c1914072e996ddbe.js b/ecmascript/codegen/tests/test262/c1914072e996ddbe.js similarity index 100% rename from ecmascript/codegen/tests/references/c1914072e996ddbe.js rename to ecmascript/codegen/tests/test262/c1914072e996ddbe.js diff --git a/ecmascript/codegen/tests/references/c1967c44c4179fb4.js b/ecmascript/codegen/tests/test262/c1967c44c4179fb4.js similarity index 100% rename from ecmascript/codegen/tests/references/c1967c44c4179fb4.js rename to ecmascript/codegen/tests/test262/c1967c44c4179fb4.js diff --git a/ecmascript/codegen/tests/references/c1c5c5d42a32aac1.js b/ecmascript/codegen/tests/test262/c1c5c5d42a32aac1.js similarity index 100% rename from ecmascript/codegen/tests/references/c1c5c5d42a32aac1.js rename to ecmascript/codegen/tests/test262/c1c5c5d42a32aac1.js diff --git a/ecmascript/codegen/tests/references/c1c8f5c6abfc1d72.js b/ecmascript/codegen/tests/test262/c1c8f5c6abfc1d72.js similarity index 100% rename from ecmascript/codegen/tests/references/c1c8f5c6abfc1d72.js rename to ecmascript/codegen/tests/test262/c1c8f5c6abfc1d72.js diff --git a/ecmascript/codegen/tests/references/c1dd2285cd8a959d.js b/ecmascript/codegen/tests/test262/c1dd2285cd8a959d.js similarity index 100% rename from ecmascript/codegen/tests/references/c1dd2285cd8a959d.js rename to ecmascript/codegen/tests/test262/c1dd2285cd8a959d.js diff --git a/ecmascript/codegen/tests/references/c1e396cb7871b175.js b/ecmascript/codegen/tests/test262/c1e396cb7871b175.js similarity index 100% rename from ecmascript/codegen/tests/references/c1e396cb7871b175.js rename to ecmascript/codegen/tests/test262/c1e396cb7871b175.js diff --git a/ecmascript/codegen/tests/references/c2116aecaac68db9.js b/ecmascript/codegen/tests/test262/c2116aecaac68db9.js similarity index 100% rename from ecmascript/codegen/tests/references/c2116aecaac68db9.js rename to ecmascript/codegen/tests/test262/c2116aecaac68db9.js diff --git a/ecmascript/codegen/tests/references/c2203cb9e7bfe40f.js b/ecmascript/codegen/tests/test262/c2203cb9e7bfe40f.js similarity index 100% rename from ecmascript/codegen/tests/references/c2203cb9e7bfe40f.js rename to ecmascript/codegen/tests/test262/c2203cb9e7bfe40f.js diff --git a/ecmascript/codegen/tests/references/c247dcc00119f19c.js b/ecmascript/codegen/tests/test262/c247dcc00119f19c.js similarity index 100% rename from ecmascript/codegen/tests/references/c247dcc00119f19c.js rename to ecmascript/codegen/tests/test262/c247dcc00119f19c.js diff --git a/ecmascript/codegen/tests/references/c24da2ce6761a80a.js b/ecmascript/codegen/tests/test262/c24da2ce6761a80a.js similarity index 100% rename from ecmascript/codegen/tests/references/c24da2ce6761a80a.js rename to ecmascript/codegen/tests/test262/c24da2ce6761a80a.js diff --git a/ecmascript/codegen/tests/references/c2558dc20a45b0a8.js b/ecmascript/codegen/tests/test262/c2558dc20a45b0a8.js similarity index 100% rename from ecmascript/codegen/tests/references/c2558dc20a45b0a8.js rename to ecmascript/codegen/tests/test262/c2558dc20a45b0a8.js diff --git a/ecmascript/codegen/tests/references/c25bf945aaff8fe1.js b/ecmascript/codegen/tests/test262/c25bf945aaff8fe1.js similarity index 100% rename from ecmascript/codegen/tests/references/c25bf945aaff8fe1.js rename to ecmascript/codegen/tests/test262/c25bf945aaff8fe1.js diff --git a/ecmascript/codegen/tests/references/c269a2a601c495f1.js b/ecmascript/codegen/tests/test262/c269a2a601c495f1.js similarity index 100% rename from ecmascript/codegen/tests/references/c269a2a601c495f1.js rename to ecmascript/codegen/tests/test262/c269a2a601c495f1.js diff --git a/ecmascript/codegen/tests/references/c274891790345c56.js b/ecmascript/codegen/tests/test262/c274891790345c56.js similarity index 100% rename from ecmascript/codegen/tests/references/c274891790345c56.js rename to ecmascript/codegen/tests/test262/c274891790345c56.js diff --git a/ecmascript/codegen/tests/references/c27ded6ec20ea305.js b/ecmascript/codegen/tests/test262/c27ded6ec20ea305.js similarity index 100% rename from ecmascript/codegen/tests/references/c27ded6ec20ea305.js rename to ecmascript/codegen/tests/test262/c27ded6ec20ea305.js diff --git a/ecmascript/codegen/tests/references/c2d90d623b0f4c2e.js b/ecmascript/codegen/tests/test262/c2d90d623b0f4c2e.js similarity index 100% rename from ecmascript/codegen/tests/references/c2d90d623b0f4c2e.js rename to ecmascript/codegen/tests/test262/c2d90d623b0f4c2e.js diff --git a/ecmascript/codegen/tests/references/c2f12d66ce17d5ab.js b/ecmascript/codegen/tests/test262/c2f12d66ce17d5ab.js similarity index 100% rename from ecmascript/codegen/tests/references/c2f12d66ce17d5ab.js rename to ecmascript/codegen/tests/test262/c2f12d66ce17d5ab.js diff --git a/ecmascript/codegen/tests/test262/c2fe8f120b796831.js b/ecmascript/codegen/tests/test262/c2fe8f120b796831.js new file mode 100644 index 00000000000..7c9107512fa --- /dev/null +++ b/ecmascript/codegen/tests/test262/c2fe8f120b796831.js @@ -0,0 +1 @@ +for(a in b); diff --git a/ecmascript/codegen/tests/references/c30eafd82f40470b.js b/ecmascript/codegen/tests/test262/c30eafd82f40470b.js similarity index 100% rename from ecmascript/codegen/tests/references/c30eafd82f40470b.js rename to ecmascript/codegen/tests/test262/c30eafd82f40470b.js diff --git a/ecmascript/codegen/tests/references/c3172ad30aed99c8.js b/ecmascript/codegen/tests/test262/c3172ad30aed99c8.js similarity index 100% rename from ecmascript/codegen/tests/references/c3172ad30aed99c8.js rename to ecmascript/codegen/tests/test262/c3172ad30aed99c8.js diff --git a/ecmascript/codegen/tests/references/c35304fa99a2c331.js b/ecmascript/codegen/tests/test262/c35304fa99a2c331.js similarity index 100% rename from ecmascript/codegen/tests/references/c35304fa99a2c331.js rename to ecmascript/codegen/tests/test262/c35304fa99a2c331.js diff --git a/ecmascript/codegen/tests/references/c35dcf99291ec6be.js b/ecmascript/codegen/tests/test262/c35dcf99291ec6be.js similarity index 100% rename from ecmascript/codegen/tests/references/c35dcf99291ec6be.js rename to ecmascript/codegen/tests/test262/c35dcf99291ec6be.js diff --git a/ecmascript/codegen/tests/references/c3699b982b33926b.js b/ecmascript/codegen/tests/test262/c3699b982b33926b.js similarity index 100% rename from ecmascript/codegen/tests/references/c3699b982b33926b.js rename to ecmascript/codegen/tests/test262/c3699b982b33926b.js diff --git a/ecmascript/codegen/tests/references/c3799cf68cbac258.js b/ecmascript/codegen/tests/test262/c3799cf68cbac258.js similarity index 100% rename from ecmascript/codegen/tests/references/c3799cf68cbac258.js rename to ecmascript/codegen/tests/test262/c3799cf68cbac258.js diff --git a/ecmascript/codegen/tests/references/c38644033565f7b9.js b/ecmascript/codegen/tests/test262/c38644033565f7b9.js similarity index 100% rename from ecmascript/codegen/tests/references/c38644033565f7b9.js rename to ecmascript/codegen/tests/test262/c38644033565f7b9.js diff --git a/ecmascript/codegen/tests/references/c3ce623096553057.js b/ecmascript/codegen/tests/test262/c3ce623096553057.js similarity index 100% rename from ecmascript/codegen/tests/references/c3ce623096553057.js rename to ecmascript/codegen/tests/test262/c3ce623096553057.js diff --git a/ecmascript/codegen/tests/references/c3dc60d438666700.js b/ecmascript/codegen/tests/test262/c3dc60d438666700.js similarity index 100% rename from ecmascript/codegen/tests/references/c3dc60d438666700.js rename to ecmascript/codegen/tests/test262/c3dc60d438666700.js diff --git a/ecmascript/codegen/tests/references/c3fc8ace42f3fb44.js b/ecmascript/codegen/tests/test262/c3fc8ace42f3fb44.js similarity index 100% rename from ecmascript/codegen/tests/references/c3fc8ace42f3fb44.js rename to ecmascript/codegen/tests/test262/c3fc8ace42f3fb44.js diff --git a/ecmascript/codegen/tests/references/c412905e229d6f2b.js b/ecmascript/codegen/tests/test262/c412905e229d6f2b.js similarity index 100% rename from ecmascript/codegen/tests/references/c412905e229d6f2b.js rename to ecmascript/codegen/tests/test262/c412905e229d6f2b.js diff --git a/ecmascript/codegen/tests/references/c4336e0b6801c42c.js b/ecmascript/codegen/tests/test262/c4336e0b6801c42c.js similarity index 100% rename from ecmascript/codegen/tests/references/c4336e0b6801c42c.js rename to ecmascript/codegen/tests/test262/c4336e0b6801c42c.js diff --git a/ecmascript/codegen/tests/test262/c442dc81201e2b55.js b/ecmascript/codegen/tests/test262/c442dc81201e2b55.js new file mode 100644 index 00000000000..9330022f1f8 --- /dev/null +++ b/ecmascript/codegen/tests/test262/c442dc81201e2b55.js @@ -0,0 +1 @@ +for(let;;); diff --git a/ecmascript/codegen/tests/references/c4627eaa56f73949.js b/ecmascript/codegen/tests/test262/c4627eaa56f73949.js similarity index 100% rename from ecmascript/codegen/tests/references/c4627eaa56f73949.js rename to ecmascript/codegen/tests/test262/c4627eaa56f73949.js diff --git a/ecmascript/codegen/tests/references/c4a57a72e25e042c.js b/ecmascript/codegen/tests/test262/c4a57a72e25e042c.js similarity index 100% rename from ecmascript/codegen/tests/references/c4a57a72e25e042c.js rename to ecmascript/codegen/tests/test262/c4a57a72e25e042c.js diff --git a/ecmascript/codegen/tests/references/c4c51e5c6d4012ef.js b/ecmascript/codegen/tests/test262/c4c51e5c6d4012ef.js similarity index 100% rename from ecmascript/codegen/tests/references/c4c51e5c6d4012ef.js rename to ecmascript/codegen/tests/test262/c4c51e5c6d4012ef.js diff --git a/ecmascript/codegen/tests/references/c4f2243c81525bbd.js b/ecmascript/codegen/tests/test262/c4f2243c81525bbd.js similarity index 100% rename from ecmascript/codegen/tests/references/c4f2243c81525bbd.js rename to ecmascript/codegen/tests/test262/c4f2243c81525bbd.js diff --git a/ecmascript/codegen/tests/references/c52db35cba7fdbc0.js b/ecmascript/codegen/tests/test262/c52db35cba7fdbc0.js similarity index 100% rename from ecmascript/codegen/tests/references/c52db35cba7fdbc0.js rename to ecmascript/codegen/tests/test262/c52db35cba7fdbc0.js diff --git a/ecmascript/codegen/tests/references/c5328483d3ccadd0.js b/ecmascript/codegen/tests/test262/c5328483d3ccadd0.js similarity index 100% rename from ecmascript/codegen/tests/references/c5328483d3ccadd0.js rename to ecmascript/codegen/tests/test262/c5328483d3ccadd0.js diff --git a/ecmascript/codegen/tests/references/c532e126a986c1d4.js b/ecmascript/codegen/tests/test262/c532e126a986c1d4.js similarity index 100% rename from ecmascript/codegen/tests/references/c532e126a986c1d4.js rename to ecmascript/codegen/tests/test262/c532e126a986c1d4.js diff --git a/ecmascript/codegen/tests/references/c546a199e87abaad.js b/ecmascript/codegen/tests/test262/c546a199e87abaad.js similarity index 100% rename from ecmascript/codegen/tests/references/c546a199e87abaad.js rename to ecmascript/codegen/tests/test262/c546a199e87abaad.js diff --git a/ecmascript/codegen/tests/references/c5823f1dccaf9787.js b/ecmascript/codegen/tests/test262/c5823f1dccaf9787.js similarity index 100% rename from ecmascript/codegen/tests/references/c5823f1dccaf9787.js rename to ecmascript/codegen/tests/test262/c5823f1dccaf9787.js diff --git a/ecmascript/codegen/tests/references/c58e9029f1fd3d1b.js b/ecmascript/codegen/tests/test262/c58e9029f1fd3d1b.js similarity index 100% rename from ecmascript/codegen/tests/references/c58e9029f1fd3d1b.js rename to ecmascript/codegen/tests/test262/c58e9029f1fd3d1b.js diff --git a/ecmascript/codegen/tests/references/c5957fd3a6d258df.js b/ecmascript/codegen/tests/test262/c5957fd3a6d258df.js similarity index 100% rename from ecmascript/codegen/tests/references/c5957fd3a6d258df.js rename to ecmascript/codegen/tests/test262/c5957fd3a6d258df.js diff --git a/ecmascript/codegen/tests/references/c5b2ea7da55d24c1.js b/ecmascript/codegen/tests/test262/c5b2ea7da55d24c1.js similarity index 100% rename from ecmascript/codegen/tests/references/c5b2ea7da55d24c1.js rename to ecmascript/codegen/tests/test262/c5b2ea7da55d24c1.js diff --git a/ecmascript/codegen/tests/references/c5bd72f618d7cade.js b/ecmascript/codegen/tests/test262/c5bd72f618d7cade.js similarity index 100% rename from ecmascript/codegen/tests/references/c5bd72f618d7cade.js rename to ecmascript/codegen/tests/test262/c5bd72f618d7cade.js diff --git a/ecmascript/codegen/tests/references/c6827eb9dd7b3dc6.js b/ecmascript/codegen/tests/test262/c6827eb9dd7b3dc6.js similarity index 100% rename from ecmascript/codegen/tests/references/c6827eb9dd7b3dc6.js rename to ecmascript/codegen/tests/test262/c6827eb9dd7b3dc6.js diff --git a/ecmascript/codegen/tests/references/c6ea3404ea5c6c91.js b/ecmascript/codegen/tests/test262/c6ea3404ea5c6c91.js similarity index 100% rename from ecmascript/codegen/tests/references/c6ea3404ea5c6c91.js rename to ecmascript/codegen/tests/test262/c6ea3404ea5c6c91.js diff --git a/ecmascript/codegen/tests/references/c6ff61d189c5cbee.js b/ecmascript/codegen/tests/test262/c6ff61d189c5cbee.js similarity index 100% rename from ecmascript/codegen/tests/references/c6ff61d189c5cbee.js rename to ecmascript/codegen/tests/test262/c6ff61d189c5cbee.js diff --git a/ecmascript/codegen/tests/references/c756f39dca1f7423.js b/ecmascript/codegen/tests/test262/c756f39dca1f7423.js similarity index 100% rename from ecmascript/codegen/tests/references/c756f39dca1f7423.js rename to ecmascript/codegen/tests/test262/c756f39dca1f7423.js diff --git a/ecmascript/codegen/tests/references/c767fa4d683aa3ce.js b/ecmascript/codegen/tests/test262/c767fa4d683aa3ce.js similarity index 100% rename from ecmascript/codegen/tests/references/c767fa4d683aa3ce.js rename to ecmascript/codegen/tests/test262/c767fa4d683aa3ce.js diff --git a/ecmascript/codegen/tests/references/c771490bbb3dd6e9.js b/ecmascript/codegen/tests/test262/c771490bbb3dd6e9.js similarity index 100% rename from ecmascript/codegen/tests/references/c771490bbb3dd6e9.js rename to ecmascript/codegen/tests/test262/c771490bbb3dd6e9.js diff --git a/ecmascript/codegen/tests/references/c78c8fbfbd3e779e.js b/ecmascript/codegen/tests/test262/c78c8fbfbd3e779e.js similarity index 100% rename from ecmascript/codegen/tests/references/c78c8fbfbd3e779e.js rename to ecmascript/codegen/tests/test262/c78c8fbfbd3e779e.js diff --git a/ecmascript/codegen/tests/references/c7dd4bc60ffb40e9.js b/ecmascript/codegen/tests/test262/c7dd4bc60ffb40e9.js similarity index 100% rename from ecmascript/codegen/tests/references/c7dd4bc60ffb40e9.js rename to ecmascript/codegen/tests/test262/c7dd4bc60ffb40e9.js diff --git a/ecmascript/codegen/tests/references/c7e5fba8bf3854cd.js b/ecmascript/codegen/tests/test262/c7e5fba8bf3854cd.js similarity index 100% rename from ecmascript/codegen/tests/references/c7e5fba8bf3854cd.js rename to ecmascript/codegen/tests/test262/c7e5fba8bf3854cd.js diff --git a/ecmascript/codegen/tests/references/c80d9415dde647cd.js b/ecmascript/codegen/tests/test262/c80d9415dde647cd.js similarity index 100% rename from ecmascript/codegen/tests/references/c80d9415dde647cd.js rename to ecmascript/codegen/tests/test262/c80d9415dde647cd.js diff --git a/ecmascript/codegen/tests/references/c83a2dcf75fa419a.js b/ecmascript/codegen/tests/test262/c83a2dcf75fa419a.js similarity index 100% rename from ecmascript/codegen/tests/references/c83a2dcf75fa419a.js rename to ecmascript/codegen/tests/test262/c83a2dcf75fa419a.js diff --git a/ecmascript/codegen/tests/references/c844c5ec9f6dbf86.js b/ecmascript/codegen/tests/test262/c844c5ec9f6dbf86.js similarity index 100% rename from ecmascript/codegen/tests/references/c844c5ec9f6dbf86.js rename to ecmascript/codegen/tests/test262/c844c5ec9f6dbf86.js diff --git a/ecmascript/codegen/tests/references/c8513472857eae9c.js b/ecmascript/codegen/tests/test262/c8513472857eae9c.js similarity index 100% rename from ecmascript/codegen/tests/references/c8513472857eae9c.js rename to ecmascript/codegen/tests/test262/c8513472857eae9c.js diff --git a/ecmascript/codegen/tests/references/c8565124aee75c69.js b/ecmascript/codegen/tests/test262/c8565124aee75c69.js similarity index 100% rename from ecmascript/codegen/tests/references/c8565124aee75c69.js rename to ecmascript/codegen/tests/test262/c8565124aee75c69.js diff --git a/ecmascript/codegen/tests/references/c85bc4de504befc7.js b/ecmascript/codegen/tests/test262/c85bc4de504befc7.js similarity index 100% rename from ecmascript/codegen/tests/references/c85bc4de504befc7.js rename to ecmascript/codegen/tests/test262/c85bc4de504befc7.js diff --git a/ecmascript/codegen/tests/references/c85fbdb8c97e0534.js b/ecmascript/codegen/tests/test262/c85fbdb8c97e0534.js similarity index 100% rename from ecmascript/codegen/tests/references/c85fbdb8c97e0534.js rename to ecmascript/codegen/tests/test262/c85fbdb8c97e0534.js diff --git a/ecmascript/codegen/tests/references/c8689b6da6fd227a.js b/ecmascript/codegen/tests/test262/c8689b6da6fd227a.js similarity index 100% rename from ecmascript/codegen/tests/references/c8689b6da6fd227a.js rename to ecmascript/codegen/tests/test262/c8689b6da6fd227a.js diff --git a/ecmascript/codegen/tests/references/c87859666bd18c8c.js b/ecmascript/codegen/tests/test262/c87859666bd18c8c.js similarity index 100% rename from ecmascript/codegen/tests/references/c87859666bd18c8c.js rename to ecmascript/codegen/tests/test262/c87859666bd18c8c.js diff --git a/ecmascript/codegen/tests/references/c88c5d1e7e9574b6.js b/ecmascript/codegen/tests/test262/c88c5d1e7e9574b6.js similarity index 100% rename from ecmascript/codegen/tests/references/c88c5d1e7e9574b6.js rename to ecmascript/codegen/tests/test262/c88c5d1e7e9574b6.js diff --git a/ecmascript/codegen/tests/references/c8b9a4d186ec2eb8.js b/ecmascript/codegen/tests/test262/c8b9a4d186ec2eb8.js similarity index 100% rename from ecmascript/codegen/tests/references/c8b9a4d186ec2eb8.js rename to ecmascript/codegen/tests/test262/c8b9a4d186ec2eb8.js diff --git a/ecmascript/codegen/tests/references/c8dbdecbde2c1869.js b/ecmascript/codegen/tests/test262/c8dbdecbde2c1869.js similarity index 100% rename from ecmascript/codegen/tests/references/c8dbdecbde2c1869.js rename to ecmascript/codegen/tests/test262/c8dbdecbde2c1869.js diff --git a/ecmascript/codegen/tests/references/c92dc954a0ce196d.module.js b/ecmascript/codegen/tests/test262/c92dc954a0ce196d.module.js similarity index 100% rename from ecmascript/codegen/tests/references/c92dc954a0ce196d.module.js rename to ecmascript/codegen/tests/test262/c92dc954a0ce196d.module.js diff --git a/ecmascript/codegen/tests/references/c963ac653b30699b.js b/ecmascript/codegen/tests/test262/c963ac653b30699b.js similarity index 100% rename from ecmascript/codegen/tests/references/c963ac653b30699b.js rename to ecmascript/codegen/tests/test262/c963ac653b30699b.js diff --git a/ecmascript/codegen/tests/references/c964ed7bc2373c54.js b/ecmascript/codegen/tests/test262/c964ed7bc2373c54.js similarity index 100% rename from ecmascript/codegen/tests/references/c964ed7bc2373c54.js rename to ecmascript/codegen/tests/test262/c964ed7bc2373c54.js diff --git a/ecmascript/codegen/tests/references/c98889d7d94a0a63.js b/ecmascript/codegen/tests/test262/c98889d7d94a0a63.js similarity index 100% rename from ecmascript/codegen/tests/references/c98889d7d94a0a63.js rename to ecmascript/codegen/tests/test262/c98889d7d94a0a63.js diff --git a/ecmascript/codegen/tests/references/c98eba310f5568b1.js b/ecmascript/codegen/tests/test262/c98eba310f5568b1.js similarity index 100% rename from ecmascript/codegen/tests/references/c98eba310f5568b1.js rename to ecmascript/codegen/tests/test262/c98eba310f5568b1.js diff --git a/ecmascript/codegen/tests/references/c9b780fb91a9db4e.js b/ecmascript/codegen/tests/test262/c9b780fb91a9db4e.js similarity index 100% rename from ecmascript/codegen/tests/references/c9b780fb91a9db4e.js rename to ecmascript/codegen/tests/test262/c9b780fb91a9db4e.js diff --git a/ecmascript/codegen/tests/references/c9d32e4fc1687f5d.js b/ecmascript/codegen/tests/test262/c9d32e4fc1687f5d.js similarity index 100% rename from ecmascript/codegen/tests/references/c9d32e4fc1687f5d.js rename to ecmascript/codegen/tests/test262/c9d32e4fc1687f5d.js diff --git a/ecmascript/codegen/tests/references/ca20c15b39c87033.js b/ecmascript/codegen/tests/test262/ca20c15b39c87033.js similarity index 100% rename from ecmascript/codegen/tests/references/ca20c15b39c87033.js rename to ecmascript/codegen/tests/test262/ca20c15b39c87033.js diff --git a/ecmascript/codegen/tests/references/ca34a796e624adaf.js b/ecmascript/codegen/tests/test262/ca34a796e624adaf.js similarity index 100% rename from ecmascript/codegen/tests/references/ca34a796e624adaf.js rename to ecmascript/codegen/tests/test262/ca34a796e624adaf.js diff --git a/ecmascript/codegen/tests/references/ca39d991b4f07bf1.js b/ecmascript/codegen/tests/test262/ca39d991b4f07bf1.js similarity index 100% rename from ecmascript/codegen/tests/references/ca39d991b4f07bf1.js rename to ecmascript/codegen/tests/test262/ca39d991b4f07bf1.js diff --git a/ecmascript/codegen/tests/references/ca450ebe11a7e7c9.module.js b/ecmascript/codegen/tests/test262/ca450ebe11a7e7c9.module.js similarity index 100% rename from ecmascript/codegen/tests/references/ca450ebe11a7e7c9.module.js rename to ecmascript/codegen/tests/test262/ca450ebe11a7e7c9.module.js diff --git a/ecmascript/codegen/tests/references/ca452a778322112a.js b/ecmascript/codegen/tests/test262/ca452a778322112a.js similarity index 100% rename from ecmascript/codegen/tests/references/ca452a778322112a.js rename to ecmascript/codegen/tests/test262/ca452a778322112a.js diff --git a/ecmascript/codegen/tests/references/ca4f13a64e35195f.js b/ecmascript/codegen/tests/test262/ca4f13a64e35195f.js similarity index 100% rename from ecmascript/codegen/tests/references/ca4f13a64e35195f.js rename to ecmascript/codegen/tests/test262/ca4f13a64e35195f.js diff --git a/ecmascript/codegen/tests/references/ca7a0ca0d22f30f8.js b/ecmascript/codegen/tests/test262/ca7a0ca0d22f30f8.js similarity index 100% rename from ecmascript/codegen/tests/references/ca7a0ca0d22f30f8.js rename to ecmascript/codegen/tests/test262/ca7a0ca0d22f30f8.js diff --git a/ecmascript/codegen/tests/references/ca978112ca1bbdca.js b/ecmascript/codegen/tests/test262/ca978112ca1bbdca.js similarity index 100% rename from ecmascript/codegen/tests/references/ca978112ca1bbdca.js rename to ecmascript/codegen/tests/test262/ca978112ca1bbdca.js diff --git a/ecmascript/codegen/tests/references/caa0719b52a1409d.js b/ecmascript/codegen/tests/test262/caa0719b52a1409d.js similarity index 100% rename from ecmascript/codegen/tests/references/caa0719b52a1409d.js rename to ecmascript/codegen/tests/test262/caa0719b52a1409d.js diff --git a/ecmascript/codegen/tests/references/caaa9f06dd52e5a5.module.js b/ecmascript/codegen/tests/test262/caaa9f06dd52e5a5.module.js similarity index 100% rename from ecmascript/codegen/tests/references/caaa9f06dd52e5a5.module.js rename to ecmascript/codegen/tests/test262/caaa9f06dd52e5a5.module.js diff --git a/ecmascript/codegen/tests/references/caf6539007d41b5e.js b/ecmascript/codegen/tests/test262/caf6539007d41b5e.js similarity index 100% rename from ecmascript/codegen/tests/references/caf6539007d41b5e.js rename to ecmascript/codegen/tests/test262/caf6539007d41b5e.js diff --git a/ecmascript/codegen/tests/references/cb05f3c30f5f88c0.js b/ecmascript/codegen/tests/test262/cb05f3c30f5f88c0.js similarity index 100% rename from ecmascript/codegen/tests/references/cb05f3c30f5f88c0.js rename to ecmascript/codegen/tests/test262/cb05f3c30f5f88c0.js diff --git a/ecmascript/codegen/tests/references/cb095c303f88cd0b.js b/ecmascript/codegen/tests/test262/cb095c303f88cd0b.js similarity index 100% rename from ecmascript/codegen/tests/references/cb095c303f88cd0b.js rename to ecmascript/codegen/tests/test262/cb095c303f88cd0b.js diff --git a/ecmascript/codegen/tests/references/cb211fadccb029c7.js b/ecmascript/codegen/tests/test262/cb211fadccb029c7.js similarity index 100% rename from ecmascript/codegen/tests/references/cb211fadccb029c7.js rename to ecmascript/codegen/tests/test262/cb211fadccb029c7.js diff --git a/ecmascript/codegen/tests/references/cb23f6635a581786.js b/ecmascript/codegen/tests/test262/cb23f6635a581786.js similarity index 100% rename from ecmascript/codegen/tests/references/cb23f6635a581786.js rename to ecmascript/codegen/tests/test262/cb23f6635a581786.js diff --git a/ecmascript/codegen/tests/references/cb2d573836b1e204.js b/ecmascript/codegen/tests/test262/cb2d573836b1e204.js similarity index 100% rename from ecmascript/codegen/tests/references/cb2d573836b1e204.js rename to ecmascript/codegen/tests/test262/cb2d573836b1e204.js diff --git a/ecmascript/codegen/tests/references/cb3316f2b008bec3.js b/ecmascript/codegen/tests/test262/cb3316f2b008bec3.js similarity index 100% rename from ecmascript/codegen/tests/references/cb3316f2b008bec3.js rename to ecmascript/codegen/tests/test262/cb3316f2b008bec3.js diff --git a/ecmascript/codegen/tests/references/cb4b35cf4cd815d8.js b/ecmascript/codegen/tests/test262/cb4b35cf4cd815d8.js similarity index 100% rename from ecmascript/codegen/tests/references/cb4b35cf4cd815d8.js rename to ecmascript/codegen/tests/test262/cb4b35cf4cd815d8.js diff --git a/ecmascript/codegen/tests/references/cb625ce2970fe52a.js b/ecmascript/codegen/tests/test262/cb625ce2970fe52a.js similarity index 100% rename from ecmascript/codegen/tests/references/cb625ce2970fe52a.js rename to ecmascript/codegen/tests/test262/cb625ce2970fe52a.js diff --git a/ecmascript/codegen/tests/references/cb898749d76e51fd.js b/ecmascript/codegen/tests/test262/cb898749d76e51fd.js similarity index 100% rename from ecmascript/codegen/tests/references/cb898749d76e51fd.js rename to ecmascript/codegen/tests/test262/cb898749d76e51fd.js diff --git a/ecmascript/codegen/tests/references/cbc644a20893a549.js b/ecmascript/codegen/tests/test262/cbc644a20893a549.js similarity index 100% rename from ecmascript/codegen/tests/references/cbc644a20893a549.js rename to ecmascript/codegen/tests/test262/cbc644a20893a549.js diff --git a/ecmascript/codegen/tests/references/cbc7fdab53161051.js b/ecmascript/codegen/tests/test262/cbc7fdab53161051.js similarity index 100% rename from ecmascript/codegen/tests/references/cbc7fdab53161051.js rename to ecmascript/codegen/tests/test262/cbc7fdab53161051.js diff --git a/ecmascript/codegen/tests/references/cbccdb75b22a522c.js b/ecmascript/codegen/tests/test262/cbccdb75b22a522c.js similarity index 100% rename from ecmascript/codegen/tests/references/cbccdb75b22a522c.js rename to ecmascript/codegen/tests/test262/cbccdb75b22a522c.js diff --git a/ecmascript/codegen/tests/references/cbf9e832efe61a2e.js b/ecmascript/codegen/tests/test262/cbf9e832efe61a2e.js similarity index 100% rename from ecmascript/codegen/tests/references/cbf9e832efe61a2e.js rename to ecmascript/codegen/tests/test262/cbf9e832efe61a2e.js diff --git a/ecmascript/codegen/tests/references/cc561e319220c789.js b/ecmascript/codegen/tests/test262/cc561e319220c789.js similarity index 100% rename from ecmascript/codegen/tests/references/cc561e319220c789.js rename to ecmascript/codegen/tests/test262/cc561e319220c789.js diff --git a/ecmascript/codegen/tests/references/cc6ea8664124953a.js b/ecmascript/codegen/tests/test262/cc6ea8664124953a.js similarity index 100% rename from ecmascript/codegen/tests/references/cc6ea8664124953a.js rename to ecmascript/codegen/tests/test262/cc6ea8664124953a.js diff --git a/ecmascript/codegen/tests/references/cc793d44a11617e7.js b/ecmascript/codegen/tests/test262/cc793d44a11617e7.js similarity index 100% rename from ecmascript/codegen/tests/references/cc793d44a11617e7.js rename to ecmascript/codegen/tests/test262/cc793d44a11617e7.js diff --git a/ecmascript/codegen/tests/references/cc7b1f054147aa5c.js b/ecmascript/codegen/tests/test262/cc7b1f054147aa5c.js similarity index 100% rename from ecmascript/codegen/tests/references/cc7b1f054147aa5c.js rename to ecmascript/codegen/tests/test262/cc7b1f054147aa5c.js diff --git a/ecmascript/codegen/tests/references/ccd1f89a0344e04e.js b/ecmascript/codegen/tests/test262/ccd1f89a0344e04e.js similarity index 100% rename from ecmascript/codegen/tests/references/ccd1f89a0344e04e.js rename to ecmascript/codegen/tests/test262/ccd1f89a0344e04e.js diff --git a/ecmascript/codegen/tests/references/cd136009983641b5.js b/ecmascript/codegen/tests/test262/cd136009983641b5.js similarity index 100% rename from ecmascript/codegen/tests/references/cd136009983641b5.js rename to ecmascript/codegen/tests/test262/cd136009983641b5.js diff --git a/ecmascript/codegen/tests/references/cd2f5476a739c80a.js b/ecmascript/codegen/tests/test262/cd2f5476a739c80a.js similarity index 100% rename from ecmascript/codegen/tests/references/cd2f5476a739c80a.js rename to ecmascript/codegen/tests/test262/cd2f5476a739c80a.js diff --git a/ecmascript/codegen/tests/references/cda499c521ff60c7.js b/ecmascript/codegen/tests/test262/cda499c521ff60c7.js similarity index 100% rename from ecmascript/codegen/tests/references/cda499c521ff60c7.js rename to ecmascript/codegen/tests/test262/cda499c521ff60c7.js diff --git a/ecmascript/codegen/tests/references/cdb9bd6096e2732c.js b/ecmascript/codegen/tests/test262/cdb9bd6096e2732c.js similarity index 100% rename from ecmascript/codegen/tests/references/cdb9bd6096e2732c.js rename to ecmascript/codegen/tests/test262/cdb9bd6096e2732c.js diff --git a/ecmascript/codegen/tests/references/cdbd7fe30e1c7321.js b/ecmascript/codegen/tests/test262/cdbd7fe30e1c7321.js similarity index 100% rename from ecmascript/codegen/tests/references/cdbd7fe30e1c7321.js rename to ecmascript/codegen/tests/test262/cdbd7fe30e1c7321.js diff --git a/ecmascript/codegen/tests/references/cdca52810bbe4532.js b/ecmascript/codegen/tests/test262/cdca52810bbe4532.js similarity index 100% rename from ecmascript/codegen/tests/references/cdca52810bbe4532.js rename to ecmascript/codegen/tests/test262/cdca52810bbe4532.js diff --git a/ecmascript/codegen/tests/references/cdee1bf4a6391af8.js b/ecmascript/codegen/tests/test262/cdee1bf4a6391af8.js similarity index 100% rename from ecmascript/codegen/tests/references/cdee1bf4a6391af8.js rename to ecmascript/codegen/tests/test262/cdee1bf4a6391af8.js diff --git a/ecmascript/codegen/tests/references/cdf411040ab4b29b.js b/ecmascript/codegen/tests/test262/cdf411040ab4b29b.js similarity index 100% rename from ecmascript/codegen/tests/references/cdf411040ab4b29b.js rename to ecmascript/codegen/tests/test262/cdf411040ab4b29b.js diff --git a/ecmascript/codegen/tests/references/cdf43a987840ece8.js b/ecmascript/codegen/tests/test262/cdf43a987840ece8.js similarity index 100% rename from ecmascript/codegen/tests/references/cdf43a987840ece8.js rename to ecmascript/codegen/tests/test262/cdf43a987840ece8.js diff --git a/ecmascript/codegen/tests/references/ce0aaec02d5d4465.js b/ecmascript/codegen/tests/test262/ce0aaec02d5d4465.js similarity index 100% rename from ecmascript/codegen/tests/references/ce0aaec02d5d4465.js rename to ecmascript/codegen/tests/test262/ce0aaec02d5d4465.js diff --git a/ecmascript/codegen/tests/references/ce349e20cf388e87.js b/ecmascript/codegen/tests/test262/ce349e20cf388e87.js similarity index 100% rename from ecmascript/codegen/tests/references/ce349e20cf388e87.js rename to ecmascript/codegen/tests/test262/ce349e20cf388e87.js diff --git a/ecmascript/codegen/tests/references/ce3d1f8d346bb92d.js b/ecmascript/codegen/tests/test262/ce3d1f8d346bb92d.js similarity index 100% rename from ecmascript/codegen/tests/references/ce3d1f8d346bb92d.js rename to ecmascript/codegen/tests/test262/ce3d1f8d346bb92d.js diff --git a/ecmascript/codegen/tests/references/ce52f1c3d90b194a.js b/ecmascript/codegen/tests/test262/ce52f1c3d90b194a.js similarity index 100% rename from ecmascript/codegen/tests/references/ce52f1c3d90b194a.js rename to ecmascript/codegen/tests/test262/ce52f1c3d90b194a.js diff --git a/ecmascript/codegen/tests/references/ce569e89a005c02a.js b/ecmascript/codegen/tests/test262/ce569e89a005c02a.js similarity index 100% rename from ecmascript/codegen/tests/references/ce569e89a005c02a.js rename to ecmascript/codegen/tests/test262/ce569e89a005c02a.js diff --git a/ecmascript/codegen/tests/references/ce5f3bc27d5ccaac.js b/ecmascript/codegen/tests/test262/ce5f3bc27d5ccaac.js similarity index 100% rename from ecmascript/codegen/tests/references/ce5f3bc27d5ccaac.js rename to ecmascript/codegen/tests/test262/ce5f3bc27d5ccaac.js diff --git a/ecmascript/codegen/tests/references/ce6a4854c1f79924.js b/ecmascript/codegen/tests/test262/ce6a4854c1f79924.js similarity index 100% rename from ecmascript/codegen/tests/references/ce6a4854c1f79924.js rename to ecmascript/codegen/tests/test262/ce6a4854c1f79924.js diff --git a/ecmascript/codegen/tests/references/ce8c443eb361e1a2.js b/ecmascript/codegen/tests/test262/ce8c443eb361e1a2.js similarity index 100% rename from ecmascript/codegen/tests/references/ce8c443eb361e1a2.js rename to ecmascript/codegen/tests/test262/ce8c443eb361e1a2.js diff --git a/ecmascript/codegen/tests/references/ce968fcdf3a1987c.js b/ecmascript/codegen/tests/test262/ce968fcdf3a1987c.js similarity index 100% rename from ecmascript/codegen/tests/references/ce968fcdf3a1987c.js rename to ecmascript/codegen/tests/test262/ce968fcdf3a1987c.js diff --git a/ecmascript/codegen/tests/references/cea8816bffe4238c.js b/ecmascript/codegen/tests/test262/cea8816bffe4238c.js similarity index 100% rename from ecmascript/codegen/tests/references/cea8816bffe4238c.js rename to ecmascript/codegen/tests/test262/cea8816bffe4238c.js diff --git a/ecmascript/codegen/tests/references/cec2d94dc09a6a71.js b/ecmascript/codegen/tests/test262/cec2d94dc09a6a71.js similarity index 100% rename from ecmascript/codegen/tests/references/cec2d94dc09a6a71.js rename to ecmascript/codegen/tests/test262/cec2d94dc09a6a71.js diff --git a/ecmascript/codegen/tests/references/cefd0dd07bfa670f.js b/ecmascript/codegen/tests/test262/cefd0dd07bfa670f.js similarity index 100% rename from ecmascript/codegen/tests/references/cefd0dd07bfa670f.js rename to ecmascript/codegen/tests/test262/cefd0dd07bfa670f.js diff --git a/ecmascript/codegen/tests/references/cf0eb6e6c4317c33.js b/ecmascript/codegen/tests/test262/cf0eb6e6c4317c33.js similarity index 100% rename from ecmascript/codegen/tests/references/cf0eb6e6c4317c33.js rename to ecmascript/codegen/tests/test262/cf0eb6e6c4317c33.js diff --git a/ecmascript/codegen/tests/references/cf0fb26afd0eaaf1.js b/ecmascript/codegen/tests/test262/cf0fb26afd0eaaf1.js similarity index 100% rename from ecmascript/codegen/tests/references/cf0fb26afd0eaaf1.js rename to ecmascript/codegen/tests/test262/cf0fb26afd0eaaf1.js diff --git a/ecmascript/codegen/tests/references/cf939dae739eacf6.js b/ecmascript/codegen/tests/test262/cf939dae739eacf6.js similarity index 100% rename from ecmascript/codegen/tests/references/cf939dae739eacf6.js rename to ecmascript/codegen/tests/test262/cf939dae739eacf6.js diff --git a/ecmascript/codegen/tests/references/cfca620b63dd98b8.js b/ecmascript/codegen/tests/test262/cfca620b63dd98b8.js similarity index 100% rename from ecmascript/codegen/tests/references/cfca620b63dd98b8.js rename to ecmascript/codegen/tests/test262/cfca620b63dd98b8.js diff --git a/ecmascript/codegen/tests/references/cfebdd6b58e65e90.js b/ecmascript/codegen/tests/test262/cfebdd6b58e65e90.js similarity index 100% rename from ecmascript/codegen/tests/references/cfebdd6b58e65e90.js rename to ecmascript/codegen/tests/test262/cfebdd6b58e65e90.js diff --git a/ecmascript/codegen/tests/references/d010d377bcfd5565.js b/ecmascript/codegen/tests/test262/d010d377bcfd5565.js similarity index 100% rename from ecmascript/codegen/tests/references/d010d377bcfd5565.js rename to ecmascript/codegen/tests/test262/d010d377bcfd5565.js diff --git a/ecmascript/codegen/tests/references/d038789ad15922ff.js b/ecmascript/codegen/tests/test262/d038789ad15922ff.js similarity index 100% rename from ecmascript/codegen/tests/references/d038789ad15922ff.js rename to ecmascript/codegen/tests/test262/d038789ad15922ff.js diff --git a/ecmascript/codegen/tests/references/d043d114b966415b.js b/ecmascript/codegen/tests/test262/d043d114b966415b.js similarity index 100% rename from ecmascript/codegen/tests/references/d043d114b966415b.js rename to ecmascript/codegen/tests/test262/d043d114b966415b.js diff --git a/ecmascript/codegen/tests/references/d0724a029fb7e4b1.js b/ecmascript/codegen/tests/test262/d0724a029fb7e4b1.js similarity index 100% rename from ecmascript/codegen/tests/references/d0724a029fb7e4b1.js rename to ecmascript/codegen/tests/test262/d0724a029fb7e4b1.js diff --git a/ecmascript/codegen/tests/references/d082f8d1c2eec454.js b/ecmascript/codegen/tests/test262/d082f8d1c2eec454.js similarity index 100% rename from ecmascript/codegen/tests/references/d082f8d1c2eec454.js rename to ecmascript/codegen/tests/test262/d082f8d1c2eec454.js diff --git a/ecmascript/codegen/tests/references/d09117cbf60bd18f.js b/ecmascript/codegen/tests/test262/d09117cbf60bd18f.js similarity index 100% rename from ecmascript/codegen/tests/references/d09117cbf60bd18f.js rename to ecmascript/codegen/tests/test262/d09117cbf60bd18f.js diff --git a/ecmascript/codegen/tests/references/d09dbe1357abd967.js b/ecmascript/codegen/tests/test262/d09dbe1357abd967.js similarity index 100% rename from ecmascript/codegen/tests/references/d09dbe1357abd967.js rename to ecmascript/codegen/tests/test262/d09dbe1357abd967.js diff --git a/ecmascript/codegen/tests/references/d0dba4e03608ad64.js b/ecmascript/codegen/tests/test262/d0dba4e03608ad64.js similarity index 100% rename from ecmascript/codegen/tests/references/d0dba4e03608ad64.js rename to ecmascript/codegen/tests/test262/d0dba4e03608ad64.js diff --git a/ecmascript/codegen/tests/references/d126aa10835287e6.js b/ecmascript/codegen/tests/test262/d126aa10835287e6.js similarity index 100% rename from ecmascript/codegen/tests/references/d126aa10835287e6.js rename to ecmascript/codegen/tests/test262/d126aa10835287e6.js diff --git a/ecmascript/codegen/tests/references/d198e0d3a33b7b61.js b/ecmascript/codegen/tests/test262/d198e0d3a33b7b61.js similarity index 100% rename from ecmascript/codegen/tests/references/d198e0d3a33b7b61.js rename to ecmascript/codegen/tests/test262/d198e0d3a33b7b61.js diff --git a/ecmascript/codegen/tests/references/d1eafbc6bda219a7.js b/ecmascript/codegen/tests/test262/d1eafbc6bda219a7.js similarity index 100% rename from ecmascript/codegen/tests/references/d1eafbc6bda219a7.js rename to ecmascript/codegen/tests/test262/d1eafbc6bda219a7.js diff --git a/ecmascript/codegen/tests/references/d1fea0e461717b09.js b/ecmascript/codegen/tests/test262/d1fea0e461717b09.js similarity index 100% rename from ecmascript/codegen/tests/references/d1fea0e461717b09.js rename to ecmascript/codegen/tests/test262/d1fea0e461717b09.js diff --git a/ecmascript/codegen/tests/references/d22f8660531e1c1a.js b/ecmascript/codegen/tests/test262/d22f8660531e1c1a.js similarity index 100% rename from ecmascript/codegen/tests/references/d22f8660531e1c1a.js rename to ecmascript/codegen/tests/test262/d22f8660531e1c1a.js diff --git a/ecmascript/codegen/tests/references/d2332f9187c6a20a.module.js b/ecmascript/codegen/tests/test262/d2332f9187c6a20a.module.js similarity index 100% rename from ecmascript/codegen/tests/references/d2332f9187c6a20a.module.js rename to ecmascript/codegen/tests/test262/d2332f9187c6a20a.module.js diff --git a/ecmascript/codegen/tests/references/d24d5f53dc15bcc7.module.js b/ecmascript/codegen/tests/test262/d24d5f53dc15bcc7.module.js similarity index 100% rename from ecmascript/codegen/tests/references/d24d5f53dc15bcc7.module.js rename to ecmascript/codegen/tests/test262/d24d5f53dc15bcc7.module.js diff --git a/ecmascript/codegen/tests/references/d2ae1c7b6e55143f.js b/ecmascript/codegen/tests/test262/d2ae1c7b6e55143f.js similarity index 100% rename from ecmascript/codegen/tests/references/d2ae1c7b6e55143f.js rename to ecmascript/codegen/tests/test262/d2ae1c7b6e55143f.js diff --git a/ecmascript/codegen/tests/references/d2af344779cc1f26.js b/ecmascript/codegen/tests/test262/d2af344779cc1f26.js similarity index 100% rename from ecmascript/codegen/tests/references/d2af344779cc1f26.js rename to ecmascript/codegen/tests/test262/d2af344779cc1f26.js diff --git a/ecmascript/codegen/tests/references/d2c9ab6dc14dc774.js b/ecmascript/codegen/tests/test262/d2c9ab6dc14dc774.js similarity index 100% rename from ecmascript/codegen/tests/references/d2c9ab6dc14dc774.js rename to ecmascript/codegen/tests/test262/d2c9ab6dc14dc774.js diff --git a/ecmascript/codegen/tests/references/d2d8885e0c00ad51.js b/ecmascript/codegen/tests/test262/d2d8885e0c00ad51.js similarity index 100% rename from ecmascript/codegen/tests/references/d2d8885e0c00ad51.js rename to ecmascript/codegen/tests/test262/d2d8885e0c00ad51.js diff --git a/ecmascript/codegen/tests/references/d2fe67b1990df65c.js b/ecmascript/codegen/tests/test262/d2fe67b1990df65c.js similarity index 100% rename from ecmascript/codegen/tests/references/d2fe67b1990df65c.js rename to ecmascript/codegen/tests/test262/d2fe67b1990df65c.js diff --git a/ecmascript/codegen/tests/references/d33efc20e46c3961.js b/ecmascript/codegen/tests/test262/d33efc20e46c3961.js similarity index 100% rename from ecmascript/codegen/tests/references/d33efc20e46c3961.js rename to ecmascript/codegen/tests/test262/d33efc20e46c3961.js diff --git a/ecmascript/codegen/tests/references/d368a7bc70ca3120.js b/ecmascript/codegen/tests/test262/d368a7bc70ca3120.js similarity index 100% rename from ecmascript/codegen/tests/references/d368a7bc70ca3120.js rename to ecmascript/codegen/tests/test262/d368a7bc70ca3120.js diff --git a/ecmascript/codegen/tests/references/d3762fcf2ad7d285.js b/ecmascript/codegen/tests/test262/d3762fcf2ad7d285.js similarity index 100% rename from ecmascript/codegen/tests/references/d3762fcf2ad7d285.js rename to ecmascript/codegen/tests/test262/d3762fcf2ad7d285.js diff --git a/ecmascript/codegen/tests/references/d37653c5aedf3d46.js b/ecmascript/codegen/tests/test262/d37653c5aedf3d46.js similarity index 100% rename from ecmascript/codegen/tests/references/d37653c5aedf3d46.js rename to ecmascript/codegen/tests/test262/d37653c5aedf3d46.js diff --git a/ecmascript/codegen/tests/references/d38771967621cb8e.js b/ecmascript/codegen/tests/test262/d38771967621cb8e.js similarity index 100% rename from ecmascript/codegen/tests/references/d38771967621cb8e.js rename to ecmascript/codegen/tests/test262/d38771967621cb8e.js diff --git a/ecmascript/codegen/tests/references/d3ac25ddc7ba9779.js b/ecmascript/codegen/tests/test262/d3ac25ddc7ba9779.js similarity index 100% rename from ecmascript/codegen/tests/references/d3ac25ddc7ba9779.js rename to ecmascript/codegen/tests/test262/d3ac25ddc7ba9779.js diff --git a/ecmascript/codegen/tests/references/d3bc8cc2c239b25f.js b/ecmascript/codegen/tests/test262/d3bc8cc2c239b25f.js similarity index 100% rename from ecmascript/codegen/tests/references/d3bc8cc2c239b25f.js rename to ecmascript/codegen/tests/test262/d3bc8cc2c239b25f.js diff --git a/ecmascript/codegen/tests/references/d3c1ea553fea8944.js b/ecmascript/codegen/tests/test262/d3c1ea553fea8944.js similarity index 100% rename from ecmascript/codegen/tests/references/d3c1ea553fea8944.js rename to ecmascript/codegen/tests/test262/d3c1ea553fea8944.js diff --git a/ecmascript/codegen/tests/references/d3d6ca7932414eed.js b/ecmascript/codegen/tests/test262/d3d6ca7932414eed.js similarity index 100% rename from ecmascript/codegen/tests/references/d3d6ca7932414eed.js rename to ecmascript/codegen/tests/test262/d3d6ca7932414eed.js diff --git a/ecmascript/codegen/tests/references/d3f70f4410bb8346.js b/ecmascript/codegen/tests/test262/d3f70f4410bb8346.js similarity index 100% rename from ecmascript/codegen/tests/references/d3f70f4410bb8346.js rename to ecmascript/codegen/tests/test262/d3f70f4410bb8346.js diff --git a/ecmascript/codegen/tests/references/d4104d0ed6a07c28.js b/ecmascript/codegen/tests/test262/d4104d0ed6a07c28.js similarity index 100% rename from ecmascript/codegen/tests/references/d4104d0ed6a07c28.js rename to ecmascript/codegen/tests/test262/d4104d0ed6a07c28.js diff --git a/ecmascript/codegen/tests/references/d42cf386ef394628.js b/ecmascript/codegen/tests/test262/d42cf386ef394628.js similarity index 100% rename from ecmascript/codegen/tests/references/d42cf386ef394628.js rename to ecmascript/codegen/tests/test262/d42cf386ef394628.js diff --git a/ecmascript/codegen/tests/references/d45f1126ef89120b.js b/ecmascript/codegen/tests/test262/d45f1126ef89120b.js similarity index 100% rename from ecmascript/codegen/tests/references/d45f1126ef89120b.js rename to ecmascript/codegen/tests/test262/d45f1126ef89120b.js diff --git a/ecmascript/codegen/tests/references/d45fa56c26ed4a4e.js b/ecmascript/codegen/tests/test262/d45fa56c26ed4a4e.js similarity index 100% rename from ecmascript/codegen/tests/references/d45fa56c26ed4a4e.js rename to ecmascript/codegen/tests/test262/d45fa56c26ed4a4e.js diff --git a/ecmascript/codegen/tests/references/d483926898410cae.js b/ecmascript/codegen/tests/test262/d483926898410cae.js similarity index 100% rename from ecmascript/codegen/tests/references/d483926898410cae.js rename to ecmascript/codegen/tests/test262/d483926898410cae.js diff --git a/ecmascript/codegen/tests/references/d487300b8deff2ff.module.js b/ecmascript/codegen/tests/test262/d487300b8deff2ff.module.js similarity index 100% rename from ecmascript/codegen/tests/references/d487300b8deff2ff.module.js rename to ecmascript/codegen/tests/test262/d487300b8deff2ff.module.js diff --git a/ecmascript/codegen/tests/references/d4b898b45172a637.js b/ecmascript/codegen/tests/test262/d4b898b45172a637.js similarity index 100% rename from ecmascript/codegen/tests/references/d4b898b45172a637.js rename to ecmascript/codegen/tests/test262/d4b898b45172a637.js diff --git a/ecmascript/codegen/tests/references/d4c979f1a92a8cac.js b/ecmascript/codegen/tests/test262/d4c979f1a92a8cac.js similarity index 100% rename from ecmascript/codegen/tests/references/d4c979f1a92a8cac.js rename to ecmascript/codegen/tests/test262/d4c979f1a92a8cac.js diff --git a/ecmascript/codegen/tests/references/d4e81043d808dc31.js b/ecmascript/codegen/tests/test262/d4e81043d808dc31.js similarity index 100% rename from ecmascript/codegen/tests/references/d4e81043d808dc31.js rename to ecmascript/codegen/tests/test262/d4e81043d808dc31.js diff --git a/ecmascript/codegen/tests/references/d515f6ce0c47a609.js b/ecmascript/codegen/tests/test262/d515f6ce0c47a609.js similarity index 100% rename from ecmascript/codegen/tests/references/d515f6ce0c47a609.js rename to ecmascript/codegen/tests/test262/d515f6ce0c47a609.js diff --git a/ecmascript/codegen/tests/references/d51711f888aeeac9.js b/ecmascript/codegen/tests/test262/d51711f888aeeac9.js similarity index 100% rename from ecmascript/codegen/tests/references/d51711f888aeeac9.js rename to ecmascript/codegen/tests/test262/d51711f888aeeac9.js diff --git a/ecmascript/codegen/tests/references/d53aef16fe683218.js b/ecmascript/codegen/tests/test262/d53aef16fe683218.js similarity index 100% rename from ecmascript/codegen/tests/references/d53aef16fe683218.js rename to ecmascript/codegen/tests/test262/d53aef16fe683218.js diff --git a/ecmascript/codegen/tests/references/d54bfed43597e9ac.js b/ecmascript/codegen/tests/test262/d54bfed43597e9ac.js similarity index 100% rename from ecmascript/codegen/tests/references/d54bfed43597e9ac.js rename to ecmascript/codegen/tests/test262/d54bfed43597e9ac.js diff --git a/ecmascript/codegen/tests/references/d55a93310a309c43.js b/ecmascript/codegen/tests/test262/d55a93310a309c43.js similarity index 100% rename from ecmascript/codegen/tests/references/d55a93310a309c43.js rename to ecmascript/codegen/tests/test262/d55a93310a309c43.js diff --git a/ecmascript/codegen/tests/references/d57a361bc638f38c.js b/ecmascript/codegen/tests/test262/d57a361bc638f38c.js similarity index 100% rename from ecmascript/codegen/tests/references/d57a361bc638f38c.js rename to ecmascript/codegen/tests/test262/d57a361bc638f38c.js diff --git a/ecmascript/codegen/tests/references/d57d9e2865e43807.js b/ecmascript/codegen/tests/test262/d57d9e2865e43807.js similarity index 100% rename from ecmascript/codegen/tests/references/d57d9e2865e43807.js rename to ecmascript/codegen/tests/test262/d57d9e2865e43807.js diff --git a/ecmascript/codegen/tests/references/d58831cddf9cbd99.js b/ecmascript/codegen/tests/test262/d58831cddf9cbd99.js similarity index 100% rename from ecmascript/codegen/tests/references/d58831cddf9cbd99.js rename to ecmascript/codegen/tests/test262/d58831cddf9cbd99.js diff --git a/ecmascript/codegen/tests/references/d59a168fe5b7c787.js b/ecmascript/codegen/tests/test262/d59a168fe5b7c787.js similarity index 100% rename from ecmascript/codegen/tests/references/d59a168fe5b7c787.js rename to ecmascript/codegen/tests/test262/d59a168fe5b7c787.js diff --git a/ecmascript/codegen/tests/references/d59a6667e160c0b3.js b/ecmascript/codegen/tests/test262/d59a6667e160c0b3.js similarity index 100% rename from ecmascript/codegen/tests/references/d59a6667e160c0b3.js rename to ecmascript/codegen/tests/test262/d59a6667e160c0b3.js diff --git a/ecmascript/codegen/tests/references/d60426fd0160fb91.js b/ecmascript/codegen/tests/test262/d60426fd0160fb91.js similarity index 100% rename from ecmascript/codegen/tests/references/d60426fd0160fb91.js rename to ecmascript/codegen/tests/test262/d60426fd0160fb91.js diff --git a/ecmascript/codegen/tests/references/d61d161a9c36fa45.js b/ecmascript/codegen/tests/test262/d61d161a9c36fa45.js similarity index 100% rename from ecmascript/codegen/tests/references/d61d161a9c36fa45.js rename to ecmascript/codegen/tests/test262/d61d161a9c36fa45.js diff --git a/ecmascript/codegen/tests/references/d6aed84ca98bee95.js b/ecmascript/codegen/tests/test262/d6aed84ca98bee95.js similarity index 100% rename from ecmascript/codegen/tests/references/d6aed84ca98bee95.js rename to ecmascript/codegen/tests/test262/d6aed84ca98bee95.js diff --git a/ecmascript/codegen/tests/references/d6b2fd3884a06d56.js b/ecmascript/codegen/tests/test262/d6b2fd3884a06d56.js similarity index 100% rename from ecmascript/codegen/tests/references/d6b2fd3884a06d56.js rename to ecmascript/codegen/tests/test262/d6b2fd3884a06d56.js diff --git a/ecmascript/codegen/tests/references/d6bb7d557971a15f.js b/ecmascript/codegen/tests/test262/d6bb7d557971a15f.js similarity index 100% rename from ecmascript/codegen/tests/references/d6bb7d557971a15f.js rename to ecmascript/codegen/tests/test262/d6bb7d557971a15f.js diff --git a/ecmascript/codegen/tests/references/d7076912d1c9786c.module.js b/ecmascript/codegen/tests/test262/d7076912d1c9786c.module.js similarity index 100% rename from ecmascript/codegen/tests/references/d7076912d1c9786c.module.js rename to ecmascript/codegen/tests/test262/d7076912d1c9786c.module.js diff --git a/ecmascript/codegen/tests/references/d7284aa68a87bb97.js b/ecmascript/codegen/tests/test262/d7284aa68a87bb97.js similarity index 100% rename from ecmascript/codegen/tests/references/d7284aa68a87bb97.js rename to ecmascript/codegen/tests/test262/d7284aa68a87bb97.js diff --git a/ecmascript/codegen/tests/references/d759838042f0bf78.js b/ecmascript/codegen/tests/test262/d759838042f0bf78.js similarity index 100% rename from ecmascript/codegen/tests/references/d759838042f0bf78.js rename to ecmascript/codegen/tests/test262/d759838042f0bf78.js diff --git a/ecmascript/codegen/tests/references/d767138e133ad239.js b/ecmascript/codegen/tests/test262/d767138e133ad239.js similarity index 100% rename from ecmascript/codegen/tests/references/d767138e133ad239.js rename to ecmascript/codegen/tests/test262/d767138e133ad239.js diff --git a/ecmascript/codegen/tests/references/d79a08ea5cc1e2f6.js b/ecmascript/codegen/tests/test262/d79a08ea5cc1e2f6.js similarity index 100% rename from ecmascript/codegen/tests/references/d79a08ea5cc1e2f6.js rename to ecmascript/codegen/tests/test262/d79a08ea5cc1e2f6.js diff --git a/ecmascript/codegen/tests/references/d7c7ff252e84e81d.js b/ecmascript/codegen/tests/test262/d7c7ff252e84e81d.js similarity index 100% rename from ecmascript/codegen/tests/references/d7c7ff252e84e81d.js rename to ecmascript/codegen/tests/test262/d7c7ff252e84e81d.js diff --git a/ecmascript/codegen/tests/references/d7da7ccd42af2c4b.js b/ecmascript/codegen/tests/test262/d7da7ccd42af2c4b.js similarity index 100% rename from ecmascript/codegen/tests/references/d7da7ccd42af2c4b.js rename to ecmascript/codegen/tests/test262/d7da7ccd42af2c4b.js diff --git a/ecmascript/codegen/tests/references/d7e461a3aa2cd9bc.module.js b/ecmascript/codegen/tests/test262/d7e461a3aa2cd9bc.module.js similarity index 100% rename from ecmascript/codegen/tests/references/d7e461a3aa2cd9bc.module.js rename to ecmascript/codegen/tests/test262/d7e461a3aa2cd9bc.module.js diff --git a/ecmascript/codegen/tests/references/d80edd7fb074b51d.js b/ecmascript/codegen/tests/test262/d80edd7fb074b51d.js similarity index 100% rename from ecmascript/codegen/tests/references/d80edd7fb074b51d.js rename to ecmascript/codegen/tests/test262/d80edd7fb074b51d.js diff --git a/ecmascript/codegen/tests/references/d818deffd07a5c3a.js b/ecmascript/codegen/tests/test262/d818deffd07a5c3a.js similarity index 100% rename from ecmascript/codegen/tests/references/d818deffd07a5c3a.js rename to ecmascript/codegen/tests/test262/d818deffd07a5c3a.js diff --git a/ecmascript/codegen/tests/references/d81d71f4121e3193.js b/ecmascript/codegen/tests/test262/d81d71f4121e3193.js similarity index 100% rename from ecmascript/codegen/tests/references/d81d71f4121e3193.js rename to ecmascript/codegen/tests/test262/d81d71f4121e3193.js diff --git a/ecmascript/codegen/tests/references/d82ae3dbc61808f8.js b/ecmascript/codegen/tests/test262/d82ae3dbc61808f8.js similarity index 100% rename from ecmascript/codegen/tests/references/d82ae3dbc61808f8.js rename to ecmascript/codegen/tests/test262/d82ae3dbc61808f8.js diff --git a/ecmascript/codegen/tests/references/d843ddb6cde8c408.js b/ecmascript/codegen/tests/test262/d843ddb6cde8c408.js similarity index 100% rename from ecmascript/codegen/tests/references/d843ddb6cde8c408.js rename to ecmascript/codegen/tests/test262/d843ddb6cde8c408.js diff --git a/ecmascript/codegen/tests/references/d8882ceedce6eae0.js b/ecmascript/codegen/tests/test262/d8882ceedce6eae0.js similarity index 100% rename from ecmascript/codegen/tests/references/d8882ceedce6eae0.js rename to ecmascript/codegen/tests/test262/d8882ceedce6eae0.js diff --git a/ecmascript/codegen/tests/references/d88992e07614f506.js b/ecmascript/codegen/tests/test262/d88992e07614f506.js similarity index 100% rename from ecmascript/codegen/tests/references/d88992e07614f506.js rename to ecmascript/codegen/tests/test262/d88992e07614f506.js diff --git a/ecmascript/codegen/tests/references/d8aff43ba7b44ef3.js b/ecmascript/codegen/tests/test262/d8aff43ba7b44ef3.js similarity index 100% rename from ecmascript/codegen/tests/references/d8aff43ba7b44ef3.js rename to ecmascript/codegen/tests/test262/d8aff43ba7b44ef3.js diff --git a/ecmascript/codegen/tests/references/d8b6a56583bdefab.js b/ecmascript/codegen/tests/test262/d8b6a56583bdefab.js similarity index 100% rename from ecmascript/codegen/tests/references/d8b6a56583bdefab.js rename to ecmascript/codegen/tests/test262/d8b6a56583bdefab.js diff --git a/ecmascript/codegen/tests/references/d8db2079f10d30ff.js b/ecmascript/codegen/tests/test262/d8db2079f10d30ff.js similarity index 100% rename from ecmascript/codegen/tests/references/d8db2079f10d30ff.js rename to ecmascript/codegen/tests/test262/d8db2079f10d30ff.js diff --git a/ecmascript/codegen/tests/references/d917a549d3f308d8.js b/ecmascript/codegen/tests/test262/d917a549d3f308d8.js similarity index 100% rename from ecmascript/codegen/tests/references/d917a549d3f308d8.js rename to ecmascript/codegen/tests/test262/d917a549d3f308d8.js diff --git a/ecmascript/codegen/tests/references/d93ec22aea12336a.js b/ecmascript/codegen/tests/test262/d93ec22aea12336a.js similarity index 100% rename from ecmascript/codegen/tests/references/d93ec22aea12336a.js rename to ecmascript/codegen/tests/test262/d93ec22aea12336a.js diff --git a/ecmascript/codegen/tests/references/d94d38d65e8b715f.js b/ecmascript/codegen/tests/test262/d94d38d65e8b715f.js similarity index 100% rename from ecmascript/codegen/tests/references/d94d38d65e8b715f.js rename to ecmascript/codegen/tests/test262/d94d38d65e8b715f.js diff --git a/ecmascript/codegen/tests/references/d95b0608f939e81a.js b/ecmascript/codegen/tests/test262/d95b0608f939e81a.js similarity index 100% rename from ecmascript/codegen/tests/references/d95b0608f939e81a.js rename to ecmascript/codegen/tests/test262/d95b0608f939e81a.js diff --git a/ecmascript/codegen/tests/references/d95e9ad32d562722.js b/ecmascript/codegen/tests/test262/d95e9ad32d562722.js similarity index 100% rename from ecmascript/codegen/tests/references/d95e9ad32d562722.js rename to ecmascript/codegen/tests/test262/d95e9ad32d562722.js diff --git a/ecmascript/codegen/tests/references/d96153b59454dddd.js b/ecmascript/codegen/tests/test262/d96153b59454dddd.js similarity index 100% rename from ecmascript/codegen/tests/references/d96153b59454dddd.js rename to ecmascript/codegen/tests/test262/d96153b59454dddd.js diff --git a/ecmascript/codegen/tests/references/d97144839fbdca91.js b/ecmascript/codegen/tests/test262/d97144839fbdca91.js similarity index 100% rename from ecmascript/codegen/tests/references/d97144839fbdca91.js rename to ecmascript/codegen/tests/test262/d97144839fbdca91.js diff --git a/ecmascript/codegen/tests/references/d99414900a405295.js b/ecmascript/codegen/tests/test262/d99414900a405295.js similarity index 100% rename from ecmascript/codegen/tests/references/d99414900a405295.js rename to ecmascript/codegen/tests/test262/d99414900a405295.js diff --git a/ecmascript/codegen/tests/references/d99714b3c4e81b56.js b/ecmascript/codegen/tests/test262/d99714b3c4e81b56.js similarity index 100% rename from ecmascript/codegen/tests/references/d99714b3c4e81b56.js rename to ecmascript/codegen/tests/test262/d99714b3c4e81b56.js diff --git a/ecmascript/codegen/tests/references/d9a0d4f0a35dc04e.js b/ecmascript/codegen/tests/test262/d9a0d4f0a35dc04e.js similarity index 100% rename from ecmascript/codegen/tests/references/d9a0d4f0a35dc04e.js rename to ecmascript/codegen/tests/test262/d9a0d4f0a35dc04e.js diff --git a/ecmascript/codegen/tests/references/d9d0b115106f376c.js b/ecmascript/codegen/tests/test262/d9d0b115106f376c.js similarity index 100% rename from ecmascript/codegen/tests/references/d9d0b115106f376c.js rename to ecmascript/codegen/tests/test262/d9d0b115106f376c.js diff --git a/ecmascript/codegen/tests/references/d9eb39b11bc766f4.js b/ecmascript/codegen/tests/test262/d9eb39b11bc766f4.js similarity index 100% rename from ecmascript/codegen/tests/references/d9eb39b11bc766f4.js rename to ecmascript/codegen/tests/test262/d9eb39b11bc766f4.js diff --git a/ecmascript/codegen/tests/references/da3756d1f8acb3c5.js b/ecmascript/codegen/tests/test262/da3756d1f8acb3c5.js similarity index 100% rename from ecmascript/codegen/tests/references/da3756d1f8acb3c5.js rename to ecmascript/codegen/tests/test262/da3756d1f8acb3c5.js diff --git a/ecmascript/codegen/tests/references/da4c5dd50fbdda83.js b/ecmascript/codegen/tests/test262/da4c5dd50fbdda83.js similarity index 100% rename from ecmascript/codegen/tests/references/da4c5dd50fbdda83.js rename to ecmascript/codegen/tests/test262/da4c5dd50fbdda83.js diff --git a/ecmascript/codegen/tests/references/da671a25e498bcac.module.js b/ecmascript/codegen/tests/test262/da671a25e498bcac.module.js similarity index 100% rename from ecmascript/codegen/tests/references/da671a25e498bcac.module.js rename to ecmascript/codegen/tests/test262/da671a25e498bcac.module.js diff --git a/ecmascript/codegen/tests/references/da96599b89265d75.js b/ecmascript/codegen/tests/test262/da96599b89265d75.js similarity index 100% rename from ecmascript/codegen/tests/references/da96599b89265d75.js rename to ecmascript/codegen/tests/test262/da96599b89265d75.js diff --git a/ecmascript/codegen/tests/references/da9e16ac9fd5b61d.js b/ecmascript/codegen/tests/test262/da9e16ac9fd5b61d.js similarity index 100% rename from ecmascript/codegen/tests/references/da9e16ac9fd5b61d.js rename to ecmascript/codegen/tests/test262/da9e16ac9fd5b61d.js diff --git a/ecmascript/codegen/tests/references/da9fdc3a2d7f9452.js b/ecmascript/codegen/tests/test262/da9fdc3a2d7f9452.js similarity index 100% rename from ecmascript/codegen/tests/references/da9fdc3a2d7f9452.js rename to ecmascript/codegen/tests/test262/da9fdc3a2d7f9452.js diff --git a/ecmascript/codegen/tests/references/dad51383642e0d27.js b/ecmascript/codegen/tests/test262/dad51383642e0d27.js similarity index 100% rename from ecmascript/codegen/tests/references/dad51383642e0d27.js rename to ecmascript/codegen/tests/test262/dad51383642e0d27.js diff --git a/ecmascript/codegen/tests/references/dadae97bf343020d.js b/ecmascript/codegen/tests/test262/dadae97bf343020d.js similarity index 100% rename from ecmascript/codegen/tests/references/dadae97bf343020d.js rename to ecmascript/codegen/tests/test262/dadae97bf343020d.js diff --git a/ecmascript/codegen/tests/references/dadccefeaae19dbf.js b/ecmascript/codegen/tests/test262/dadccefeaae19dbf.js similarity index 100% rename from ecmascript/codegen/tests/references/dadccefeaae19dbf.js rename to ecmascript/codegen/tests/test262/dadccefeaae19dbf.js diff --git a/ecmascript/codegen/tests/references/dafb7abe5b9b44f5.js b/ecmascript/codegen/tests/test262/dafb7abe5b9b44f5.js similarity index 100% rename from ecmascript/codegen/tests/references/dafb7abe5b9b44f5.js rename to ecmascript/codegen/tests/test262/dafb7abe5b9b44f5.js diff --git a/ecmascript/codegen/tests/references/db1fd3f76ebc6554.js b/ecmascript/codegen/tests/test262/db1fd3f76ebc6554.js similarity index 100% rename from ecmascript/codegen/tests/references/db1fd3f76ebc6554.js rename to ecmascript/codegen/tests/test262/db1fd3f76ebc6554.js diff --git a/ecmascript/codegen/tests/references/db3c01738aaf0b92.js b/ecmascript/codegen/tests/test262/db3c01738aaf0b92.js similarity index 100% rename from ecmascript/codegen/tests/references/db3c01738aaf0b92.js rename to ecmascript/codegen/tests/test262/db3c01738aaf0b92.js diff --git a/ecmascript/codegen/tests/references/db456532eea62941.js b/ecmascript/codegen/tests/test262/db456532eea62941.js similarity index 100% rename from ecmascript/codegen/tests/references/db456532eea62941.js rename to ecmascript/codegen/tests/test262/db456532eea62941.js diff --git a/ecmascript/codegen/tests/references/db66e1e8f3f1faef.js b/ecmascript/codegen/tests/test262/db66e1e8f3f1faef.js similarity index 100% rename from ecmascript/codegen/tests/references/db66e1e8f3f1faef.js rename to ecmascript/codegen/tests/test262/db66e1e8f3f1faef.js diff --git a/ecmascript/codegen/tests/references/db8fe6c7579e6ead.js b/ecmascript/codegen/tests/test262/db8fe6c7579e6ead.js similarity index 100% rename from ecmascript/codegen/tests/references/db8fe6c7579e6ead.js rename to ecmascript/codegen/tests/test262/db8fe6c7579e6ead.js diff --git a/ecmascript/codegen/tests/references/dbbf129d7ae91ac3.js b/ecmascript/codegen/tests/test262/dbbf129d7ae91ac3.js similarity index 100% rename from ecmascript/codegen/tests/references/dbbf129d7ae91ac3.js rename to ecmascript/codegen/tests/test262/dbbf129d7ae91ac3.js diff --git a/ecmascript/codegen/tests/references/dc1acc240053a397.js b/ecmascript/codegen/tests/test262/dc1acc240053a397.js similarity index 100% rename from ecmascript/codegen/tests/references/dc1acc240053a397.js rename to ecmascript/codegen/tests/test262/dc1acc240053a397.js diff --git a/ecmascript/codegen/tests/references/dc2b756c7828d827.module.js b/ecmascript/codegen/tests/test262/dc2b756c7828d827.module.js similarity index 100% rename from ecmascript/codegen/tests/references/dc2b756c7828d827.module.js rename to ecmascript/codegen/tests/test262/dc2b756c7828d827.module.js diff --git a/ecmascript/codegen/tests/references/dc3afa2f13259ae0.js b/ecmascript/codegen/tests/test262/dc3afa2f13259ae0.js similarity index 100% rename from ecmascript/codegen/tests/references/dc3afa2f13259ae0.js rename to ecmascript/codegen/tests/test262/dc3afa2f13259ae0.js diff --git a/ecmascript/codegen/tests/references/dc3e1097a489e009.js b/ecmascript/codegen/tests/test262/dc3e1097a489e009.js similarity index 100% rename from ecmascript/codegen/tests/references/dc3e1097a489e009.js rename to ecmascript/codegen/tests/test262/dc3e1097a489e009.js diff --git a/ecmascript/codegen/tests/references/dc43022b3729abd1.js b/ecmascript/codegen/tests/test262/dc43022b3729abd1.js similarity index 100% rename from ecmascript/codegen/tests/references/dc43022b3729abd1.js rename to ecmascript/codegen/tests/test262/dc43022b3729abd1.js diff --git a/ecmascript/codegen/tests/references/dc6037a43bed9588.js b/ecmascript/codegen/tests/test262/dc6037a43bed9588.js similarity index 100% rename from ecmascript/codegen/tests/references/dc6037a43bed9588.js rename to ecmascript/codegen/tests/test262/dc6037a43bed9588.js diff --git a/ecmascript/codegen/tests/references/dc9d42142b4ada05.js b/ecmascript/codegen/tests/test262/dc9d42142b4ada05.js similarity index 100% rename from ecmascript/codegen/tests/references/dc9d42142b4ada05.js rename to ecmascript/codegen/tests/test262/dc9d42142b4ada05.js diff --git a/ecmascript/codegen/tests/references/dcc5609dcc043200.js b/ecmascript/codegen/tests/test262/dcc5609dcc043200.js similarity index 100% rename from ecmascript/codegen/tests/references/dcc5609dcc043200.js rename to ecmascript/codegen/tests/test262/dcc5609dcc043200.js diff --git a/ecmascript/codegen/tests/references/dcc634c173bc704f.js b/ecmascript/codegen/tests/test262/dcc634c173bc704f.js similarity index 100% rename from ecmascript/codegen/tests/references/dcc634c173bc704f.js rename to ecmascript/codegen/tests/test262/dcc634c173bc704f.js diff --git a/ecmascript/codegen/tests/references/dcc9c2ff46392f30.js b/ecmascript/codegen/tests/test262/dcc9c2ff46392f30.js similarity index 100% rename from ecmascript/codegen/tests/references/dcc9c2ff46392f30.js rename to ecmascript/codegen/tests/test262/dcc9c2ff46392f30.js diff --git a/ecmascript/codegen/tests/references/dcdf666e16667f4c.js b/ecmascript/codegen/tests/test262/dcdf666e16667f4c.js similarity index 100% rename from ecmascript/codegen/tests/references/dcdf666e16667f4c.js rename to ecmascript/codegen/tests/test262/dcdf666e16667f4c.js diff --git a/ecmascript/codegen/tests/references/dcfaa5f359400cf2.js b/ecmascript/codegen/tests/test262/dcfaa5f359400cf2.js similarity index 100% rename from ecmascript/codegen/tests/references/dcfaa5f359400cf2.js rename to ecmascript/codegen/tests/test262/dcfaa5f359400cf2.js diff --git a/ecmascript/codegen/tests/references/dcfb11abc780d6d9.js b/ecmascript/codegen/tests/test262/dcfb11abc780d6d9.js similarity index 100% rename from ecmascript/codegen/tests/references/dcfb11abc780d6d9.js rename to ecmascript/codegen/tests/test262/dcfb11abc780d6d9.js diff --git a/ecmascript/codegen/tests/references/dd0e8f971ab4d6ab.js b/ecmascript/codegen/tests/test262/dd0e8f971ab4d6ab.js similarity index 100% rename from ecmascript/codegen/tests/references/dd0e8f971ab4d6ab.js rename to ecmascript/codegen/tests/test262/dd0e8f971ab4d6ab.js diff --git a/ecmascript/codegen/tests/references/dd500055335127b3.js b/ecmascript/codegen/tests/test262/dd500055335127b3.js similarity index 100% rename from ecmascript/codegen/tests/references/dd500055335127b3.js rename to ecmascript/codegen/tests/test262/dd500055335127b3.js diff --git a/ecmascript/codegen/tests/references/dd67e8365153c4fb.js b/ecmascript/codegen/tests/test262/dd67e8365153c4fb.js similarity index 100% rename from ecmascript/codegen/tests/references/dd67e8365153c4fb.js rename to ecmascript/codegen/tests/test262/dd67e8365153c4fb.js diff --git a/ecmascript/codegen/tests/references/dd80c278722f97e9.js b/ecmascript/codegen/tests/test262/dd80c278722f97e9.js similarity index 100% rename from ecmascript/codegen/tests/references/dd80c278722f97e9.js rename to ecmascript/codegen/tests/test262/dd80c278722f97e9.js diff --git a/ecmascript/codegen/tests/references/ddcd0bf839779a45.js b/ecmascript/codegen/tests/test262/ddcd0bf839779a45.js similarity index 100% rename from ecmascript/codegen/tests/references/ddcd0bf839779a45.js rename to ecmascript/codegen/tests/test262/ddcd0bf839779a45.js diff --git a/ecmascript/codegen/tests/references/ddd3c540fa087867.js b/ecmascript/codegen/tests/test262/ddd3c540fa087867.js similarity index 100% rename from ecmascript/codegen/tests/references/ddd3c540fa087867.js rename to ecmascript/codegen/tests/test262/ddd3c540fa087867.js diff --git a/ecmascript/codegen/tests/references/ddef0827f7a75499.js b/ecmascript/codegen/tests/test262/ddef0827f7a75499.js similarity index 100% rename from ecmascript/codegen/tests/references/ddef0827f7a75499.js rename to ecmascript/codegen/tests/test262/ddef0827f7a75499.js diff --git a/ecmascript/codegen/tests/references/de24062f6e293cf0.js b/ecmascript/codegen/tests/test262/de24062f6e293cf0.js similarity index 100% rename from ecmascript/codegen/tests/references/de24062f6e293cf0.js rename to ecmascript/codegen/tests/test262/de24062f6e293cf0.js diff --git a/ecmascript/codegen/tests/references/de25059a9dd7b618.js b/ecmascript/codegen/tests/test262/de25059a9dd7b618.js similarity index 100% rename from ecmascript/codegen/tests/references/de25059a9dd7b618.js rename to ecmascript/codegen/tests/test262/de25059a9dd7b618.js diff --git a/ecmascript/codegen/tests/references/de6b6c9002d2d43e.js b/ecmascript/codegen/tests/test262/de6b6c9002d2d43e.js similarity index 100% rename from ecmascript/codegen/tests/references/de6b6c9002d2d43e.js rename to ecmascript/codegen/tests/test262/de6b6c9002d2d43e.js diff --git a/ecmascript/codegen/tests/references/de6dd6b2ec971861.js b/ecmascript/codegen/tests/test262/de6dd6b2ec971861.js similarity index 100% rename from ecmascript/codegen/tests/references/de6dd6b2ec971861.js rename to ecmascript/codegen/tests/test262/de6dd6b2ec971861.js diff --git a/ecmascript/codegen/tests/references/dec1ae80150e1664.js b/ecmascript/codegen/tests/test262/dec1ae80150e1664.js similarity index 100% rename from ecmascript/codegen/tests/references/dec1ae80150e1664.js rename to ecmascript/codegen/tests/test262/dec1ae80150e1664.js diff --git a/ecmascript/codegen/tests/references/dec6aac10ea17f7f.js b/ecmascript/codegen/tests/test262/dec6aac10ea17f7f.js similarity index 100% rename from ecmascript/codegen/tests/references/dec6aac10ea17f7f.js rename to ecmascript/codegen/tests/test262/dec6aac10ea17f7f.js diff --git a/ecmascript/codegen/tests/references/decdfa7f961d283c.js b/ecmascript/codegen/tests/test262/decdfa7f961d283c.js similarity index 100% rename from ecmascript/codegen/tests/references/decdfa7f961d283c.js rename to ecmascript/codegen/tests/test262/decdfa7f961d283c.js diff --git a/ecmascript/codegen/tests/references/df20c9b7a7d534cb.js b/ecmascript/codegen/tests/test262/df20c9b7a7d534cb.js similarity index 100% rename from ecmascript/codegen/tests/references/df20c9b7a7d534cb.js rename to ecmascript/codegen/tests/test262/df20c9b7a7d534cb.js diff --git a/ecmascript/codegen/tests/references/df4eb225b4ba9ae2.js b/ecmascript/codegen/tests/test262/df4eb225b4ba9ae2.js similarity index 100% rename from ecmascript/codegen/tests/references/df4eb225b4ba9ae2.js rename to ecmascript/codegen/tests/test262/df4eb225b4ba9ae2.js diff --git a/ecmascript/codegen/tests/references/df5fee9e52377ab9.module.js b/ecmascript/codegen/tests/test262/df5fee9e52377ab9.module.js similarity index 100% rename from ecmascript/codegen/tests/references/df5fee9e52377ab9.module.js rename to ecmascript/codegen/tests/test262/df5fee9e52377ab9.module.js diff --git a/ecmascript/codegen/tests/test262/df696c501125c86f.js b/ecmascript/codegen/tests/test262/df696c501125c86f.js new file mode 100644 index 00000000000..dd1086f1bfb --- /dev/null +++ b/ecmascript/codegen/tests/test262/df696c501125c86f.js @@ -0,0 +1 @@ +for(let.let in 1); diff --git a/ecmascript/codegen/tests/references/df7e8c48ed8d9e6f.js b/ecmascript/codegen/tests/test262/df7e8c48ed8d9e6f.js similarity index 100% rename from ecmascript/codegen/tests/references/df7e8c48ed8d9e6f.js rename to ecmascript/codegen/tests/test262/df7e8c48ed8d9e6f.js diff --git a/ecmascript/codegen/tests/references/df9c60e4ff82b9d9.js b/ecmascript/codegen/tests/test262/df9c60e4ff82b9d9.js similarity index 100% rename from ecmascript/codegen/tests/references/df9c60e4ff82b9d9.js rename to ecmascript/codegen/tests/test262/df9c60e4ff82b9d9.js diff --git a/ecmascript/codegen/tests/references/dfa22e3eac3cd26e.js b/ecmascript/codegen/tests/test262/dfa22e3eac3cd26e.js similarity index 100% rename from ecmascript/codegen/tests/references/dfa22e3eac3cd26e.js rename to ecmascript/codegen/tests/test262/dfa22e3eac3cd26e.js diff --git a/ecmascript/codegen/tests/references/dfbd1b07bd57a08d.js b/ecmascript/codegen/tests/test262/dfbd1b07bd57a08d.js similarity index 100% rename from ecmascript/codegen/tests/references/dfbd1b07bd57a08d.js rename to ecmascript/codegen/tests/test262/dfbd1b07bd57a08d.js diff --git a/ecmascript/codegen/tests/references/e01c7172cf204b92.js b/ecmascript/codegen/tests/test262/e01c7172cf204b92.js similarity index 100% rename from ecmascript/codegen/tests/references/e01c7172cf204b92.js rename to ecmascript/codegen/tests/test262/e01c7172cf204b92.js diff --git a/ecmascript/codegen/tests/references/e0204155218e1d42.js b/ecmascript/codegen/tests/test262/e0204155218e1d42.js similarity index 100% rename from ecmascript/codegen/tests/references/e0204155218e1d42.js rename to ecmascript/codegen/tests/test262/e0204155218e1d42.js diff --git a/ecmascript/codegen/tests/references/e03ae54743348d7d.js b/ecmascript/codegen/tests/test262/e03ae54743348d7d.js similarity index 100% rename from ecmascript/codegen/tests/references/e03ae54743348d7d.js rename to ecmascript/codegen/tests/test262/e03ae54743348d7d.js diff --git a/ecmascript/codegen/tests/references/e05209211a87a606.js b/ecmascript/codegen/tests/test262/e05209211a87a606.js similarity index 100% rename from ecmascript/codegen/tests/references/e05209211a87a606.js rename to ecmascript/codegen/tests/test262/e05209211a87a606.js diff --git a/ecmascript/codegen/tests/references/e08112a34cfea369.js b/ecmascript/codegen/tests/test262/e08112a34cfea369.js similarity index 100% rename from ecmascript/codegen/tests/references/e08112a34cfea369.js rename to ecmascript/codegen/tests/test262/e08112a34cfea369.js diff --git a/ecmascript/codegen/tests/references/e08e181172bad2b1.js b/ecmascript/codegen/tests/test262/e08e181172bad2b1.js similarity index 100% rename from ecmascript/codegen/tests/references/e08e181172bad2b1.js rename to ecmascript/codegen/tests/test262/e08e181172bad2b1.js diff --git a/ecmascript/codegen/tests/references/e0b98eaceaaeaf9b.js b/ecmascript/codegen/tests/test262/e0b98eaceaaeaf9b.js similarity index 100% rename from ecmascript/codegen/tests/references/e0b98eaceaaeaf9b.js rename to ecmascript/codegen/tests/test262/e0b98eaceaaeaf9b.js diff --git a/ecmascript/codegen/tests/references/e0c3d30b6fe96812.js b/ecmascript/codegen/tests/test262/e0c3d30b6fe96812.js similarity index 100% rename from ecmascript/codegen/tests/references/e0c3d30b6fe96812.js rename to ecmascript/codegen/tests/test262/e0c3d30b6fe96812.js diff --git a/ecmascript/codegen/tests/references/e0c3f07a142a589d.js b/ecmascript/codegen/tests/test262/e0c3f07a142a589d.js similarity index 100% rename from ecmascript/codegen/tests/references/e0c3f07a142a589d.js rename to ecmascript/codegen/tests/test262/e0c3f07a142a589d.js diff --git a/ecmascript/codegen/tests/references/e0f831f2b08fd35c.js b/ecmascript/codegen/tests/test262/e0f831f2b08fd35c.js similarity index 100% rename from ecmascript/codegen/tests/references/e0f831f2b08fd35c.js rename to ecmascript/codegen/tests/test262/e0f831f2b08fd35c.js diff --git a/ecmascript/codegen/tests/references/e0fc2148b455a6be.js b/ecmascript/codegen/tests/test262/e0fc2148b455a6be.js similarity index 100% rename from ecmascript/codegen/tests/references/e0fc2148b455a6be.js rename to ecmascript/codegen/tests/test262/e0fc2148b455a6be.js diff --git a/ecmascript/codegen/tests/references/e1237566c1f89d8e.js b/ecmascript/codegen/tests/test262/e1237566c1f89d8e.js similarity index 100% rename from ecmascript/codegen/tests/references/e1237566c1f89d8e.js rename to ecmascript/codegen/tests/test262/e1237566c1f89d8e.js diff --git a/ecmascript/codegen/tests/references/e12aa6994333466f.js b/ecmascript/codegen/tests/test262/e12aa6994333466f.js similarity index 100% rename from ecmascript/codegen/tests/references/e12aa6994333466f.js rename to ecmascript/codegen/tests/test262/e12aa6994333466f.js diff --git a/ecmascript/codegen/tests/references/e1387fe892984e2b.js b/ecmascript/codegen/tests/test262/e1387fe892984e2b.js similarity index 100% rename from ecmascript/codegen/tests/references/e1387fe892984e2b.js rename to ecmascript/codegen/tests/test262/e1387fe892984e2b.js diff --git a/ecmascript/codegen/tests/references/e1820bdb79ebe44b.js b/ecmascript/codegen/tests/test262/e1820bdb79ebe44b.js similarity index 100% rename from ecmascript/codegen/tests/references/e1820bdb79ebe44b.js rename to ecmascript/codegen/tests/test262/e1820bdb79ebe44b.js diff --git a/ecmascript/codegen/tests/references/e18c297bf29c4b6b.js b/ecmascript/codegen/tests/test262/e18c297bf29c4b6b.js similarity index 100% rename from ecmascript/codegen/tests/references/e18c297bf29c4b6b.js rename to ecmascript/codegen/tests/test262/e18c297bf29c4b6b.js diff --git a/ecmascript/codegen/tests/references/e18f80fa1699a0fd.js b/ecmascript/codegen/tests/test262/e18f80fa1699a0fd.js similarity index 100% rename from ecmascript/codegen/tests/references/e18f80fa1699a0fd.js rename to ecmascript/codegen/tests/test262/e18f80fa1699a0fd.js diff --git a/ecmascript/codegen/tests/references/e1939e7cb50f65b4.js b/ecmascript/codegen/tests/test262/e1939e7cb50f65b4.js similarity index 100% rename from ecmascript/codegen/tests/references/e1939e7cb50f65b4.js rename to ecmascript/codegen/tests/test262/e1939e7cb50f65b4.js diff --git a/ecmascript/codegen/tests/references/e1d373aa5d926fde.module.js b/ecmascript/codegen/tests/test262/e1d373aa5d926fde.module.js similarity index 100% rename from ecmascript/codegen/tests/references/e1d373aa5d926fde.module.js rename to ecmascript/codegen/tests/test262/e1d373aa5d926fde.module.js diff --git a/ecmascript/codegen/tests/references/e1dd1979a86a5f1d.js b/ecmascript/codegen/tests/test262/e1dd1979a86a5f1d.js similarity index 100% rename from ecmascript/codegen/tests/references/e1dd1979a86a5f1d.js rename to ecmascript/codegen/tests/test262/e1dd1979a86a5f1d.js diff --git a/ecmascript/codegen/tests/references/e23748bdbb0713dc.js b/ecmascript/codegen/tests/test262/e23748bdbb0713dc.js similarity index 100% rename from ecmascript/codegen/tests/references/e23748bdbb0713dc.js rename to ecmascript/codegen/tests/test262/e23748bdbb0713dc.js diff --git a/ecmascript/codegen/tests/references/e23f481ffc072aee.js b/ecmascript/codegen/tests/test262/e23f481ffc072aee.js similarity index 100% rename from ecmascript/codegen/tests/references/e23f481ffc072aee.js rename to ecmascript/codegen/tests/test262/e23f481ffc072aee.js diff --git a/ecmascript/codegen/tests/references/e2470430b235b9bb.module.js b/ecmascript/codegen/tests/test262/e2470430b235b9bb.module.js similarity index 100% rename from ecmascript/codegen/tests/references/e2470430b235b9bb.module.js rename to ecmascript/codegen/tests/test262/e2470430b235b9bb.module.js diff --git a/ecmascript/codegen/tests/references/e290a32637ffdcb7.js b/ecmascript/codegen/tests/test262/e290a32637ffdcb7.js similarity index 100% rename from ecmascript/codegen/tests/references/e290a32637ffdcb7.js rename to ecmascript/codegen/tests/test262/e290a32637ffdcb7.js diff --git a/ecmascript/codegen/tests/references/e2ac0bea41202dc9.js b/ecmascript/codegen/tests/test262/e2ac0bea41202dc9.js similarity index 100% rename from ecmascript/codegen/tests/references/e2ac0bea41202dc9.js rename to ecmascript/codegen/tests/test262/e2ac0bea41202dc9.js diff --git a/ecmascript/codegen/tests/references/e2c7f7c0da23bc45.js b/ecmascript/codegen/tests/test262/e2c7f7c0da23bc45.js similarity index 100% rename from ecmascript/codegen/tests/references/e2c7f7c0da23bc45.js rename to ecmascript/codegen/tests/test262/e2c7f7c0da23bc45.js diff --git a/ecmascript/codegen/tests/references/e2c80df1960433a3.js b/ecmascript/codegen/tests/test262/e2c80df1960433a3.js similarity index 100% rename from ecmascript/codegen/tests/references/e2c80df1960433a3.js rename to ecmascript/codegen/tests/test262/e2c80df1960433a3.js diff --git a/ecmascript/codegen/tests/references/e349023df8e12f2d.js b/ecmascript/codegen/tests/test262/e349023df8e12f2d.js similarity index 100% rename from ecmascript/codegen/tests/references/e349023df8e12f2d.js rename to ecmascript/codegen/tests/test262/e349023df8e12f2d.js diff --git a/ecmascript/codegen/tests/references/e374d329af31c20a.js b/ecmascript/codegen/tests/test262/e374d329af31c20a.js similarity index 100% rename from ecmascript/codegen/tests/references/e374d329af31c20a.js rename to ecmascript/codegen/tests/test262/e374d329af31c20a.js diff --git a/ecmascript/codegen/tests/references/e3b0c44298fc1c14.js b/ecmascript/codegen/tests/test262/e3b0c44298fc1c14.js similarity index 100% rename from ecmascript/codegen/tests/references/e3b0c44298fc1c14.js rename to ecmascript/codegen/tests/test262/e3b0c44298fc1c14.js diff --git a/ecmascript/codegen/tests/references/e42f306327c0f578.js b/ecmascript/codegen/tests/test262/e42f306327c0f578.js similarity index 100% rename from ecmascript/codegen/tests/references/e42f306327c0f578.js rename to ecmascript/codegen/tests/test262/e42f306327c0f578.js diff --git a/ecmascript/codegen/tests/references/e463265266cee73e.js b/ecmascript/codegen/tests/test262/e463265266cee73e.js similarity index 100% rename from ecmascript/codegen/tests/references/e463265266cee73e.js rename to ecmascript/codegen/tests/test262/e463265266cee73e.js diff --git a/ecmascript/codegen/tests/references/e46381af137ed2e2.js b/ecmascript/codegen/tests/test262/e46381af137ed2e2.js similarity index 100% rename from ecmascript/codegen/tests/references/e46381af137ed2e2.js rename to ecmascript/codegen/tests/test262/e46381af137ed2e2.js diff --git a/ecmascript/codegen/tests/references/e46f7944dd0d4eb4.js b/ecmascript/codegen/tests/test262/e46f7944dd0d4eb4.js similarity index 100% rename from ecmascript/codegen/tests/references/e46f7944dd0d4eb4.js rename to ecmascript/codegen/tests/test262/e46f7944dd0d4eb4.js diff --git a/ecmascript/codegen/tests/references/e4a43066905a597b.js b/ecmascript/codegen/tests/test262/e4a43066905a597b.js similarity index 100% rename from ecmascript/codegen/tests/references/e4a43066905a597b.js rename to ecmascript/codegen/tests/test262/e4a43066905a597b.js diff --git a/ecmascript/codegen/tests/references/e4bd395227b4ee8e.js b/ecmascript/codegen/tests/test262/e4bd395227b4ee8e.js similarity index 100% rename from ecmascript/codegen/tests/references/e4bd395227b4ee8e.js rename to ecmascript/codegen/tests/test262/e4bd395227b4ee8e.js diff --git a/ecmascript/codegen/tests/references/e4c6c19e4b214180.js b/ecmascript/codegen/tests/test262/e4c6c19e4b214180.js similarity index 100% rename from ecmascript/codegen/tests/references/e4c6c19e4b214180.js rename to ecmascript/codegen/tests/test262/e4c6c19e4b214180.js diff --git a/ecmascript/codegen/tests/references/e4cef19dab44335a.js b/ecmascript/codegen/tests/test262/e4cef19dab44335a.js similarity index 100% rename from ecmascript/codegen/tests/references/e4cef19dab44335a.js rename to ecmascript/codegen/tests/test262/e4cef19dab44335a.js diff --git a/ecmascript/codegen/tests/references/e512276dcfe241c1.js b/ecmascript/codegen/tests/test262/e512276dcfe241c1.js similarity index 100% rename from ecmascript/codegen/tests/references/e512276dcfe241c1.js rename to ecmascript/codegen/tests/test262/e512276dcfe241c1.js diff --git a/ecmascript/codegen/tests/references/e5204d6e30f296a8.js b/ecmascript/codegen/tests/test262/e5204d6e30f296a8.js similarity index 100% rename from ecmascript/codegen/tests/references/e5204d6e30f296a8.js rename to ecmascript/codegen/tests/test262/e5204d6e30f296a8.js diff --git a/ecmascript/codegen/tests/references/e5393f15b0e8585d.js b/ecmascript/codegen/tests/test262/e5393f15b0e8585d.js similarity index 100% rename from ecmascript/codegen/tests/references/e5393f15b0e8585d.js rename to ecmascript/codegen/tests/test262/e5393f15b0e8585d.js diff --git a/ecmascript/codegen/tests/references/e54c1a2fc15cd4b8.js b/ecmascript/codegen/tests/test262/e54c1a2fc15cd4b8.js similarity index 100% rename from ecmascript/codegen/tests/references/e54c1a2fc15cd4b8.js rename to ecmascript/codegen/tests/test262/e54c1a2fc15cd4b8.js diff --git a/ecmascript/codegen/tests/references/e5570b178254bfb9.js b/ecmascript/codegen/tests/test262/e5570b178254bfb9.js similarity index 100% rename from ecmascript/codegen/tests/references/e5570b178254bfb9.js rename to ecmascript/codegen/tests/test262/e5570b178254bfb9.js diff --git a/ecmascript/codegen/tests/references/e577d5b725159d71.js b/ecmascript/codegen/tests/test262/e577d5b725159d71.js similarity index 100% rename from ecmascript/codegen/tests/references/e577d5b725159d71.js rename to ecmascript/codegen/tests/test262/e577d5b725159d71.js diff --git a/ecmascript/codegen/tests/references/e5951efaf0b0c5b3.js b/ecmascript/codegen/tests/test262/e5951efaf0b0c5b3.js similarity index 100% rename from ecmascript/codegen/tests/references/e5951efaf0b0c5b3.js rename to ecmascript/codegen/tests/test262/e5951efaf0b0c5b3.js diff --git a/ecmascript/codegen/tests/references/e5a7d56b798ec7e6.js b/ecmascript/codegen/tests/test262/e5a7d56b798ec7e6.js similarity index 100% rename from ecmascript/codegen/tests/references/e5a7d56b798ec7e6.js rename to ecmascript/codegen/tests/test262/e5a7d56b798ec7e6.js diff --git a/ecmascript/codegen/tests/references/e5fbf9e911ec36cd.js b/ecmascript/codegen/tests/test262/e5fbf9e911ec36cd.js similarity index 100% rename from ecmascript/codegen/tests/references/e5fbf9e911ec36cd.js rename to ecmascript/codegen/tests/test262/e5fbf9e911ec36cd.js diff --git a/ecmascript/codegen/tests/references/e65f3cca9a4637c3.js b/ecmascript/codegen/tests/test262/e65f3cca9a4637c3.js similarity index 100% rename from ecmascript/codegen/tests/references/e65f3cca9a4637c3.js rename to ecmascript/codegen/tests/test262/e65f3cca9a4637c3.js diff --git a/ecmascript/codegen/tests/references/e6643a557fe93de0.js b/ecmascript/codegen/tests/test262/e6643a557fe93de0.js similarity index 100% rename from ecmascript/codegen/tests/references/e6643a557fe93de0.js rename to ecmascript/codegen/tests/test262/e6643a557fe93de0.js diff --git a/ecmascript/codegen/tests/references/e6714aac10964792.js b/ecmascript/codegen/tests/test262/e6714aac10964792.js similarity index 100% rename from ecmascript/codegen/tests/references/e6714aac10964792.js rename to ecmascript/codegen/tests/test262/e6714aac10964792.js diff --git a/ecmascript/codegen/tests/references/e686d016100a7a08.js b/ecmascript/codegen/tests/test262/e686d016100a7a08.js similarity index 100% rename from ecmascript/codegen/tests/references/e686d016100a7a08.js rename to ecmascript/codegen/tests/test262/e686d016100a7a08.js diff --git a/ecmascript/codegen/tests/references/e6ac25f6aa73a2be.js b/ecmascript/codegen/tests/test262/e6ac25f6aa73a2be.js similarity index 100% rename from ecmascript/codegen/tests/references/e6ac25f6aa73a2be.js rename to ecmascript/codegen/tests/test262/e6ac25f6aa73a2be.js diff --git a/ecmascript/codegen/tests/references/e6b424d430520bf2.js b/ecmascript/codegen/tests/test262/e6b424d430520bf2.js similarity index 100% rename from ecmascript/codegen/tests/references/e6b424d430520bf2.js rename to ecmascript/codegen/tests/test262/e6b424d430520bf2.js diff --git a/ecmascript/codegen/tests/references/e6e24cfdc6d308a2.js b/ecmascript/codegen/tests/test262/e6e24cfdc6d308a2.js similarity index 100% rename from ecmascript/codegen/tests/references/e6e24cfdc6d308a2.js rename to ecmascript/codegen/tests/test262/e6e24cfdc6d308a2.js diff --git a/ecmascript/codegen/tests/references/e71a91c61343cdb1.js b/ecmascript/codegen/tests/test262/e71a91c61343cdb1.js similarity index 100% rename from ecmascript/codegen/tests/references/e71a91c61343cdb1.js rename to ecmascript/codegen/tests/test262/e71a91c61343cdb1.js diff --git a/ecmascript/codegen/tests/references/e71c1d5f0b6b833c.js b/ecmascript/codegen/tests/test262/e71c1d5f0b6b833c.js similarity index 100% rename from ecmascript/codegen/tests/references/e71c1d5f0b6b833c.js rename to ecmascript/codegen/tests/test262/e71c1d5f0b6b833c.js diff --git a/ecmascript/codegen/tests/references/e720d4faf2b41f42.js b/ecmascript/codegen/tests/test262/e720d4faf2b41f42.js similarity index 100% rename from ecmascript/codegen/tests/references/e720d4faf2b41f42.js rename to ecmascript/codegen/tests/test262/e720d4faf2b41f42.js diff --git a/ecmascript/codegen/tests/references/e748a1e428ccdf69.js b/ecmascript/codegen/tests/test262/e748a1e428ccdf69.js similarity index 100% rename from ecmascript/codegen/tests/references/e748a1e428ccdf69.js rename to ecmascript/codegen/tests/test262/e748a1e428ccdf69.js diff --git a/ecmascript/codegen/tests/references/e74a8d269a6abdb7.js b/ecmascript/codegen/tests/test262/e74a8d269a6abdb7.js similarity index 100% rename from ecmascript/codegen/tests/references/e74a8d269a6abdb7.js rename to ecmascript/codegen/tests/test262/e74a8d269a6abdb7.js diff --git a/ecmascript/codegen/tests/references/e75df8aea1749780.js b/ecmascript/codegen/tests/test262/e75df8aea1749780.js similarity index 100% rename from ecmascript/codegen/tests/references/e75df8aea1749780.js rename to ecmascript/codegen/tests/test262/e75df8aea1749780.js diff --git a/ecmascript/codegen/tests/references/e78c7b54fc87d08c.js b/ecmascript/codegen/tests/test262/e78c7b54fc87d08c.js similarity index 100% rename from ecmascript/codegen/tests/references/e78c7b54fc87d08c.js rename to ecmascript/codegen/tests/test262/e78c7b54fc87d08c.js diff --git a/ecmascript/codegen/tests/references/e7c1f6f0913c4a95.js b/ecmascript/codegen/tests/test262/e7c1f6f0913c4a95.js similarity index 100% rename from ecmascript/codegen/tests/references/e7c1f6f0913c4a95.js rename to ecmascript/codegen/tests/test262/e7c1f6f0913c4a95.js diff --git a/ecmascript/codegen/tests/test262/e7c444fc9aed1257.js b/ecmascript/codegen/tests/test262/e7c444fc9aed1257.js new file mode 100644 index 00000000000..75e7544a599 --- /dev/null +++ b/ecmascript/codegen/tests/test262/e7c444fc9aed1257.js @@ -0,0 +1 @@ +for(const a in b); diff --git a/ecmascript/codegen/tests/references/e7fa87b10d5136a0.js b/ecmascript/codegen/tests/test262/e7fa87b10d5136a0.js similarity index 100% rename from ecmascript/codegen/tests/references/e7fa87b10d5136a0.js rename to ecmascript/codegen/tests/test262/e7fa87b10d5136a0.js diff --git a/ecmascript/codegen/tests/references/e815494eb50fa42f.js b/ecmascript/codegen/tests/test262/e815494eb50fa42f.js similarity index 100% rename from ecmascript/codegen/tests/references/e815494eb50fa42f.js rename to ecmascript/codegen/tests/test262/e815494eb50fa42f.js diff --git a/ecmascript/codegen/tests/references/e84ef669246313d2.js b/ecmascript/codegen/tests/test262/e84ef669246313d2.js similarity index 100% rename from ecmascript/codegen/tests/references/e84ef669246313d2.js rename to ecmascript/codegen/tests/test262/e84ef669246313d2.js diff --git a/ecmascript/codegen/tests/references/e877f5e6753dc7e4.js b/ecmascript/codegen/tests/test262/e877f5e6753dc7e4.js similarity index 100% rename from ecmascript/codegen/tests/references/e877f5e6753dc7e4.js rename to ecmascript/codegen/tests/test262/e877f5e6753dc7e4.js diff --git a/ecmascript/codegen/tests/references/e899a2594bd5311c.js b/ecmascript/codegen/tests/test262/e899a2594bd5311c.js similarity index 100% rename from ecmascript/codegen/tests/references/e899a2594bd5311c.js rename to ecmascript/codegen/tests/test262/e899a2594bd5311c.js diff --git a/ecmascript/codegen/tests/references/e8de5af87dc0004c.js b/ecmascript/codegen/tests/test262/e8de5af87dc0004c.js similarity index 100% rename from ecmascript/codegen/tests/references/e8de5af87dc0004c.js rename to ecmascript/codegen/tests/test262/e8de5af87dc0004c.js diff --git a/ecmascript/codegen/tests/references/e8ea384458526db0.js b/ecmascript/codegen/tests/test262/e8ea384458526db0.js similarity index 100% rename from ecmascript/codegen/tests/references/e8ea384458526db0.js rename to ecmascript/codegen/tests/test262/e8ea384458526db0.js diff --git a/ecmascript/codegen/tests/references/e8ef6188865f9def.js b/ecmascript/codegen/tests/test262/e8ef6188865f9def.js similarity index 100% rename from ecmascript/codegen/tests/references/e8ef6188865f9def.js rename to ecmascript/codegen/tests/test262/e8ef6188865f9def.js diff --git a/ecmascript/codegen/tests/references/e8ef944fd2c2e7fa.js b/ecmascript/codegen/tests/test262/e8ef944fd2c2e7fa.js similarity index 100% rename from ecmascript/codegen/tests/references/e8ef944fd2c2e7fa.js rename to ecmascript/codegen/tests/test262/e8ef944fd2c2e7fa.js diff --git a/ecmascript/codegen/tests/references/e95b9364e90a4b5c.js b/ecmascript/codegen/tests/test262/e95b9364e90a4b5c.js similarity index 100% rename from ecmascript/codegen/tests/references/e95b9364e90a4b5c.js rename to ecmascript/codegen/tests/test262/e95b9364e90a4b5c.js diff --git a/ecmascript/codegen/tests/references/e9682c37a1a959e1.js b/ecmascript/codegen/tests/test262/e9682c37a1a959e1.js similarity index 100% rename from ecmascript/codegen/tests/references/e9682c37a1a959e1.js rename to ecmascript/codegen/tests/test262/e9682c37a1a959e1.js diff --git a/ecmascript/codegen/tests/references/e99d260ec2ea47be.js b/ecmascript/codegen/tests/test262/e99d260ec2ea47be.js similarity index 100% rename from ecmascript/codegen/tests/references/e99d260ec2ea47be.js rename to ecmascript/codegen/tests/test262/e99d260ec2ea47be.js diff --git a/ecmascript/codegen/tests/references/e9a24a964ace5330.js b/ecmascript/codegen/tests/test262/e9a24a964ace5330.js similarity index 100% rename from ecmascript/codegen/tests/references/e9a24a964ace5330.js rename to ecmascript/codegen/tests/test262/e9a24a964ace5330.js diff --git a/ecmascript/codegen/tests/references/e9a74729daea9b84.js b/ecmascript/codegen/tests/test262/e9a74729daea9b84.js similarity index 100% rename from ecmascript/codegen/tests/references/e9a74729daea9b84.js rename to ecmascript/codegen/tests/test262/e9a74729daea9b84.js diff --git a/ecmascript/codegen/tests/references/e9d44e4cbaf92011.js b/ecmascript/codegen/tests/test262/e9d44e4cbaf92011.js similarity index 100% rename from ecmascript/codegen/tests/references/e9d44e4cbaf92011.js rename to ecmascript/codegen/tests/test262/e9d44e4cbaf92011.js diff --git a/ecmascript/codegen/tests/references/ea2e883b50b24651.js b/ecmascript/codegen/tests/test262/ea2e883b50b24651.js similarity index 100% rename from ecmascript/codegen/tests/references/ea2e883b50b24651.js rename to ecmascript/codegen/tests/test262/ea2e883b50b24651.js diff --git a/ecmascript/codegen/tests/references/ea3fcad439ac905f.js b/ecmascript/codegen/tests/test262/ea3fcad439ac905f.js similarity index 100% rename from ecmascript/codegen/tests/references/ea3fcad439ac905f.js rename to ecmascript/codegen/tests/test262/ea3fcad439ac905f.js diff --git a/ecmascript/codegen/tests/references/ea54fe11ef8702f7.js b/ecmascript/codegen/tests/test262/ea54fe11ef8702f7.js similarity index 100% rename from ecmascript/codegen/tests/references/ea54fe11ef8702f7.js rename to ecmascript/codegen/tests/test262/ea54fe11ef8702f7.js diff --git a/ecmascript/codegen/tests/references/eabc983d82222f2a.js b/ecmascript/codegen/tests/test262/eabc983d82222f2a.js similarity index 100% rename from ecmascript/codegen/tests/references/eabc983d82222f2a.js rename to ecmascript/codegen/tests/test262/eabc983d82222f2a.js diff --git a/ecmascript/codegen/tests/references/eaee2c64dfc46b6a.js b/ecmascript/codegen/tests/test262/eaee2c64dfc46b6a.js similarity index 100% rename from ecmascript/codegen/tests/references/eaee2c64dfc46b6a.js rename to ecmascript/codegen/tests/test262/eaee2c64dfc46b6a.js diff --git a/ecmascript/codegen/tests/references/eb4b9e8905923468.js b/ecmascript/codegen/tests/test262/eb4b9e8905923468.js similarity index 100% rename from ecmascript/codegen/tests/references/eb4b9e8905923468.js rename to ecmascript/codegen/tests/test262/eb4b9e8905923468.js diff --git a/ecmascript/codegen/tests/references/eb7bb0c4a0ced2a8.js b/ecmascript/codegen/tests/test262/eb7bb0c4a0ced2a8.js similarity index 100% rename from ecmascript/codegen/tests/references/eb7bb0c4a0ced2a8.js rename to ecmascript/codegen/tests/test262/eb7bb0c4a0ced2a8.js diff --git a/ecmascript/codegen/tests/references/ebbc09d90157cb5b.js b/ecmascript/codegen/tests/test262/ebbc09d90157cb5b.js similarity index 100% rename from ecmascript/codegen/tests/references/ebbc09d90157cb5b.js rename to ecmascript/codegen/tests/test262/ebbc09d90157cb5b.js diff --git a/ecmascript/codegen/tests/references/ebd6534f7bb01a7a.js b/ecmascript/codegen/tests/test262/ebd6534f7bb01a7a.js similarity index 100% rename from ecmascript/codegen/tests/references/ebd6534f7bb01a7a.js rename to ecmascript/codegen/tests/test262/ebd6534f7bb01a7a.js diff --git a/ecmascript/codegen/tests/references/ec05d8a5722be86c.js b/ecmascript/codegen/tests/test262/ec05d8a5722be86c.js similarity index 100% rename from ecmascript/codegen/tests/references/ec05d8a5722be86c.js rename to ecmascript/codegen/tests/test262/ec05d8a5722be86c.js diff --git a/ecmascript/codegen/tests/references/ec782937135d4f32.js b/ecmascript/codegen/tests/test262/ec782937135d4f32.js similarity index 100% rename from ecmascript/codegen/tests/references/ec782937135d4f32.js rename to ecmascript/codegen/tests/test262/ec782937135d4f32.js diff --git a/ecmascript/codegen/tests/references/ec79f9c27c045b00.js b/ecmascript/codegen/tests/test262/ec79f9c27c045b00.js similarity index 100% rename from ecmascript/codegen/tests/references/ec79f9c27c045b00.js rename to ecmascript/codegen/tests/test262/ec79f9c27c045b00.js diff --git a/ecmascript/codegen/tests/references/ec97990c2cc5e0e8.js b/ecmascript/codegen/tests/test262/ec97990c2cc5e0e8.js similarity index 100% rename from ecmascript/codegen/tests/references/ec97990c2cc5e0e8.js rename to ecmascript/codegen/tests/test262/ec97990c2cc5e0e8.js diff --git a/ecmascript/codegen/tests/references/ec99a663d6f3983d.js b/ecmascript/codegen/tests/test262/ec99a663d6f3983d.js similarity index 100% rename from ecmascript/codegen/tests/references/ec99a663d6f3983d.js rename to ecmascript/codegen/tests/test262/ec99a663d6f3983d.js diff --git a/ecmascript/codegen/tests/references/ecba8fb326c2c985.js b/ecmascript/codegen/tests/test262/ecba8fb326c2c985.js similarity index 100% rename from ecmascript/codegen/tests/references/ecba8fb326c2c985.js rename to ecmascript/codegen/tests/test262/ecba8fb326c2c985.js diff --git a/ecmascript/codegen/tests/references/ed0783c35e43032b.js b/ecmascript/codegen/tests/test262/ed0783c35e43032b.js similarity index 100% rename from ecmascript/codegen/tests/references/ed0783c35e43032b.js rename to ecmascript/codegen/tests/test262/ed0783c35e43032b.js diff --git a/ecmascript/codegen/tests/references/ed085cb2fd0dc355.js b/ecmascript/codegen/tests/test262/ed085cb2fd0dc355.js similarity index 100% rename from ecmascript/codegen/tests/references/ed085cb2fd0dc355.js rename to ecmascript/codegen/tests/test262/ed085cb2fd0dc355.js diff --git a/ecmascript/codegen/tests/references/ed32642380a6e603.js b/ecmascript/codegen/tests/test262/ed32642380a6e603.js similarity index 100% rename from ecmascript/codegen/tests/references/ed32642380a6e603.js rename to ecmascript/codegen/tests/test262/ed32642380a6e603.js diff --git a/ecmascript/codegen/tests/references/ed49ee70d6eabf4a.js b/ecmascript/codegen/tests/test262/ed49ee70d6eabf4a.js similarity index 100% rename from ecmascript/codegen/tests/references/ed49ee70d6eabf4a.js rename to ecmascript/codegen/tests/test262/ed49ee70d6eabf4a.js diff --git a/ecmascript/codegen/tests/references/ed65dd575be2b4ab.js b/ecmascript/codegen/tests/test262/ed65dd575be2b4ab.js similarity index 100% rename from ecmascript/codegen/tests/references/ed65dd575be2b4ab.js rename to ecmascript/codegen/tests/test262/ed65dd575be2b4ab.js diff --git a/ecmascript/codegen/tests/references/ed6981438ac1918b.js b/ecmascript/codegen/tests/test262/ed6981438ac1918b.js similarity index 100% rename from ecmascript/codegen/tests/references/ed6981438ac1918b.js rename to ecmascript/codegen/tests/test262/ed6981438ac1918b.js diff --git a/ecmascript/codegen/tests/references/ed894bd570d47113.js b/ecmascript/codegen/tests/test262/ed894bd570d47113.js similarity index 100% rename from ecmascript/codegen/tests/references/ed894bd570d47113.js rename to ecmascript/codegen/tests/test262/ed894bd570d47113.js diff --git a/ecmascript/codegen/tests/references/eda5026c194f7279.js b/ecmascript/codegen/tests/test262/eda5026c194f7279.js similarity index 100% rename from ecmascript/codegen/tests/references/eda5026c194f7279.js rename to ecmascript/codegen/tests/test262/eda5026c194f7279.js diff --git a/ecmascript/codegen/tests/references/edbdeeb1761675a7.js b/ecmascript/codegen/tests/test262/edbdeeb1761675a7.js similarity index 100% rename from ecmascript/codegen/tests/references/edbdeeb1761675a7.js rename to ecmascript/codegen/tests/test262/edbdeeb1761675a7.js diff --git a/ecmascript/codegen/tests/references/edd1f39f90576180.js b/ecmascript/codegen/tests/test262/edd1f39f90576180.js similarity index 100% rename from ecmascript/codegen/tests/references/edd1f39f90576180.js rename to ecmascript/codegen/tests/test262/edd1f39f90576180.js diff --git a/ecmascript/codegen/tests/references/edfe04e832b81a82.js b/ecmascript/codegen/tests/test262/edfe04e832b81a82.js similarity index 100% rename from ecmascript/codegen/tests/references/edfe04e832b81a82.js rename to ecmascript/codegen/tests/test262/edfe04e832b81a82.js diff --git a/ecmascript/codegen/tests/references/ee2342b2715c3bf0.js b/ecmascript/codegen/tests/test262/ee2342b2715c3bf0.js similarity index 100% rename from ecmascript/codegen/tests/references/ee2342b2715c3bf0.js rename to ecmascript/codegen/tests/test262/ee2342b2715c3bf0.js diff --git a/ecmascript/codegen/tests/references/ee4e8fa6257d810a.js b/ecmascript/codegen/tests/test262/ee4e8fa6257d810a.js similarity index 100% rename from ecmascript/codegen/tests/references/ee4e8fa6257d810a.js rename to ecmascript/codegen/tests/test262/ee4e8fa6257d810a.js diff --git a/ecmascript/codegen/tests/references/eea2875eacf36279.js b/ecmascript/codegen/tests/test262/eea2875eacf36279.js similarity index 100% rename from ecmascript/codegen/tests/references/eea2875eacf36279.js rename to ecmascript/codegen/tests/test262/eea2875eacf36279.js diff --git a/ecmascript/codegen/tests/references/eebefa78eec0af44.js b/ecmascript/codegen/tests/test262/eebefa78eec0af44.js similarity index 100% rename from ecmascript/codegen/tests/references/eebefa78eec0af44.js rename to ecmascript/codegen/tests/test262/eebefa78eec0af44.js diff --git a/ecmascript/codegen/tests/references/eed97872dd924560.js b/ecmascript/codegen/tests/test262/eed97872dd924560.js similarity index 100% rename from ecmascript/codegen/tests/references/eed97872dd924560.js rename to ecmascript/codegen/tests/test262/eed97872dd924560.js diff --git a/ecmascript/codegen/tests/references/eef60d36274e4ed8.js b/ecmascript/codegen/tests/test262/eef60d36274e4ed8.js similarity index 100% rename from ecmascript/codegen/tests/references/eef60d36274e4ed8.js rename to ecmascript/codegen/tests/test262/eef60d36274e4ed8.js diff --git a/ecmascript/codegen/tests/references/ef086346e9707e91.js b/ecmascript/codegen/tests/test262/ef086346e9707e91.js similarity index 100% rename from ecmascript/codegen/tests/references/ef086346e9707e91.js rename to ecmascript/codegen/tests/test262/ef086346e9707e91.js diff --git a/ecmascript/codegen/tests/references/ef15294c7bc4675e.js b/ecmascript/codegen/tests/test262/ef15294c7bc4675e.js similarity index 100% rename from ecmascript/codegen/tests/references/ef15294c7bc4675e.js rename to ecmascript/codegen/tests/test262/ef15294c7bc4675e.js diff --git a/ecmascript/codegen/tests/references/ef61944dbb440b60.js b/ecmascript/codegen/tests/test262/ef61944dbb440b60.js similarity index 100% rename from ecmascript/codegen/tests/references/ef61944dbb440b60.js rename to ecmascript/codegen/tests/test262/ef61944dbb440b60.js diff --git a/ecmascript/codegen/tests/references/ef7843986fabc25d.module.js b/ecmascript/codegen/tests/test262/ef7843986fabc25d.module.js similarity index 100% rename from ecmascript/codegen/tests/references/ef7843986fabc25d.module.js rename to ecmascript/codegen/tests/test262/ef7843986fabc25d.module.js diff --git a/ecmascript/codegen/tests/references/ef812b85ce5fbc44.js b/ecmascript/codegen/tests/test262/ef812b85ce5fbc44.js similarity index 100% rename from ecmascript/codegen/tests/references/ef812b85ce5fbc44.js rename to ecmascript/codegen/tests/test262/ef812b85ce5fbc44.js diff --git a/ecmascript/codegen/tests/references/efb88a0b6e2e170e.js b/ecmascript/codegen/tests/test262/efb88a0b6e2e170e.js similarity index 100% rename from ecmascript/codegen/tests/references/efb88a0b6e2e170e.js rename to ecmascript/codegen/tests/test262/efb88a0b6e2e170e.js diff --git a/ecmascript/codegen/tests/references/efe1e5c7656bf0ba.js b/ecmascript/codegen/tests/test262/efe1e5c7656bf0ba.js similarity index 100% rename from ecmascript/codegen/tests/references/efe1e5c7656bf0ba.js rename to ecmascript/codegen/tests/test262/efe1e5c7656bf0ba.js diff --git a/ecmascript/codegen/tests/references/efef19e06f58fdd9.js b/ecmascript/codegen/tests/test262/efef19e06f58fdd9.js similarity index 100% rename from ecmascript/codegen/tests/references/efef19e06f58fdd9.js rename to ecmascript/codegen/tests/test262/efef19e06f58fdd9.js diff --git a/ecmascript/codegen/tests/references/f01d9f3c7b2b2717.js b/ecmascript/codegen/tests/test262/f01d9f3c7b2b2717.js similarity index 100% rename from ecmascript/codegen/tests/references/f01d9f3c7b2b2717.js rename to ecmascript/codegen/tests/test262/f01d9f3c7b2b2717.js diff --git a/ecmascript/codegen/tests/references/f062a3f543a622f8.module.js b/ecmascript/codegen/tests/test262/f062a3f543a622f8.module.js similarity index 100% rename from ecmascript/codegen/tests/references/f062a3f543a622f8.module.js rename to ecmascript/codegen/tests/test262/f062a3f543a622f8.module.js diff --git a/ecmascript/codegen/tests/references/f0a5cf41bdef6532.js b/ecmascript/codegen/tests/test262/f0a5cf41bdef6532.js similarity index 100% rename from ecmascript/codegen/tests/references/f0a5cf41bdef6532.js rename to ecmascript/codegen/tests/test262/f0a5cf41bdef6532.js diff --git a/ecmascript/codegen/tests/references/f0bf9ec665d85fa1.js b/ecmascript/codegen/tests/test262/f0bf9ec665d85fa1.js similarity index 100% rename from ecmascript/codegen/tests/references/f0bf9ec665d85fa1.js rename to ecmascript/codegen/tests/test262/f0bf9ec665d85fa1.js diff --git a/ecmascript/codegen/tests/references/f0d9a7a2f5d42210.js b/ecmascript/codegen/tests/test262/f0d9a7a2f5d42210.js similarity index 100% rename from ecmascript/codegen/tests/references/f0d9a7a2f5d42210.js rename to ecmascript/codegen/tests/test262/f0d9a7a2f5d42210.js diff --git a/ecmascript/codegen/tests/references/f0f2ab32e7f42314.js b/ecmascript/codegen/tests/test262/f0f2ab32e7f42314.js similarity index 100% rename from ecmascript/codegen/tests/references/f0f2ab32e7f42314.js rename to ecmascript/codegen/tests/test262/f0f2ab32e7f42314.js diff --git a/ecmascript/codegen/tests/references/f0f9e218a70eba5c.js b/ecmascript/codegen/tests/test262/f0f9e218a70eba5c.js similarity index 100% rename from ecmascript/codegen/tests/references/f0f9e218a70eba5c.js rename to ecmascript/codegen/tests/test262/f0f9e218a70eba5c.js diff --git a/ecmascript/codegen/tests/references/f0fbbdabdaca2146.js b/ecmascript/codegen/tests/test262/f0fbbdabdaca2146.js similarity index 100% rename from ecmascript/codegen/tests/references/f0fbbdabdaca2146.js rename to ecmascript/codegen/tests/test262/f0fbbdabdaca2146.js diff --git a/ecmascript/codegen/tests/references/f108a85d36ec9afc.js b/ecmascript/codegen/tests/test262/f108a85d36ec9afc.js similarity index 100% rename from ecmascript/codegen/tests/references/f108a85d36ec9afc.js rename to ecmascript/codegen/tests/test262/f108a85d36ec9afc.js diff --git a/ecmascript/codegen/tests/references/f1218947a6a17e65.js b/ecmascript/codegen/tests/test262/f1218947a6a17e65.js similarity index 100% rename from ecmascript/codegen/tests/references/f1218947a6a17e65.js rename to ecmascript/codegen/tests/test262/f1218947a6a17e65.js diff --git a/ecmascript/codegen/tests/references/f139fd88bd0ad9d0.js b/ecmascript/codegen/tests/test262/f139fd88bd0ad9d0.js similarity index 100% rename from ecmascript/codegen/tests/references/f139fd88bd0ad9d0.js rename to ecmascript/codegen/tests/test262/f139fd88bd0ad9d0.js diff --git a/ecmascript/codegen/tests/references/f13a130829aa77c5.js b/ecmascript/codegen/tests/test262/f13a130829aa77c5.js similarity index 100% rename from ecmascript/codegen/tests/references/f13a130829aa77c5.js rename to ecmascript/codegen/tests/test262/f13a130829aa77c5.js diff --git a/ecmascript/codegen/tests/references/f1534392279bddbf.js b/ecmascript/codegen/tests/test262/f1534392279bddbf.js similarity index 100% rename from ecmascript/codegen/tests/references/f1534392279bddbf.js rename to ecmascript/codegen/tests/test262/f1534392279bddbf.js diff --git a/ecmascript/codegen/tests/references/f15772354efa5ecf.js b/ecmascript/codegen/tests/test262/f15772354efa5ecf.js similarity index 100% rename from ecmascript/codegen/tests/references/f15772354efa5ecf.js rename to ecmascript/codegen/tests/test262/f15772354efa5ecf.js diff --git a/ecmascript/codegen/tests/references/f1643d0e6c7fde9a.js b/ecmascript/codegen/tests/test262/f1643d0e6c7fde9a.js similarity index 100% rename from ecmascript/codegen/tests/references/f1643d0e6c7fde9a.js rename to ecmascript/codegen/tests/test262/f1643d0e6c7fde9a.js diff --git a/ecmascript/codegen/tests/references/f17ec9517a3339d9.js b/ecmascript/codegen/tests/test262/f17ec9517a3339d9.js similarity index 100% rename from ecmascript/codegen/tests/references/f17ec9517a3339d9.js rename to ecmascript/codegen/tests/test262/f17ec9517a3339d9.js diff --git a/ecmascript/codegen/tests/references/f1bf02f18fa71ba7.js b/ecmascript/codegen/tests/test262/f1bf02f18fa71ba7.js similarity index 100% rename from ecmascript/codegen/tests/references/f1bf02f18fa71ba7.js rename to ecmascript/codegen/tests/test262/f1bf02f18fa71ba7.js diff --git a/ecmascript/codegen/tests/references/f1d7e3cc86ffc02b.js b/ecmascript/codegen/tests/test262/f1d7e3cc86ffc02b.js similarity index 100% rename from ecmascript/codegen/tests/references/f1d7e3cc86ffc02b.js rename to ecmascript/codegen/tests/test262/f1d7e3cc86ffc02b.js diff --git a/ecmascript/codegen/tests/references/f2113065d9111e6d.js b/ecmascript/codegen/tests/test262/f2113065d9111e6d.js similarity index 100% rename from ecmascript/codegen/tests/references/f2113065d9111e6d.js rename to ecmascript/codegen/tests/test262/f2113065d9111e6d.js diff --git a/ecmascript/codegen/tests/references/f2142c1dabd961c1.js b/ecmascript/codegen/tests/test262/f2142c1dabd961c1.js similarity index 100% rename from ecmascript/codegen/tests/references/f2142c1dabd961c1.js rename to ecmascript/codegen/tests/test262/f2142c1dabd961c1.js diff --git a/ecmascript/codegen/tests/references/f2aa3da994da03a7.js b/ecmascript/codegen/tests/test262/f2aa3da994da03a7.js similarity index 100% rename from ecmascript/codegen/tests/references/f2aa3da994da03a7.js rename to ecmascript/codegen/tests/test262/f2aa3da994da03a7.js diff --git a/ecmascript/codegen/tests/references/f2d394b74219a023.js b/ecmascript/codegen/tests/test262/f2d394b74219a023.js similarity index 100% rename from ecmascript/codegen/tests/references/f2d394b74219a023.js rename to ecmascript/codegen/tests/test262/f2d394b74219a023.js diff --git a/ecmascript/codegen/tests/references/f2e0a415d88b3451.js b/ecmascript/codegen/tests/test262/f2e0a415d88b3451.js similarity index 100% rename from ecmascript/codegen/tests/references/f2e0a415d88b3451.js rename to ecmascript/codegen/tests/test262/f2e0a415d88b3451.js diff --git a/ecmascript/codegen/tests/references/f2e41488e95243a8.js b/ecmascript/codegen/tests/test262/f2e41488e95243a8.js similarity index 100% rename from ecmascript/codegen/tests/references/f2e41488e95243a8.js rename to ecmascript/codegen/tests/test262/f2e41488e95243a8.js diff --git a/ecmascript/codegen/tests/references/f2ed650f15f224fa.module.js b/ecmascript/codegen/tests/test262/f2ed650f15f224fa.module.js similarity index 100% rename from ecmascript/codegen/tests/references/f2ed650f15f224fa.module.js rename to ecmascript/codegen/tests/test262/f2ed650f15f224fa.module.js diff --git a/ecmascript/codegen/tests/references/f30d88a123e11b55.js b/ecmascript/codegen/tests/test262/f30d88a123e11b55.js similarity index 100% rename from ecmascript/codegen/tests/references/f30d88a123e11b55.js rename to ecmascript/codegen/tests/test262/f30d88a123e11b55.js diff --git a/ecmascript/codegen/tests/references/f3219596b50bb381.js b/ecmascript/codegen/tests/test262/f3219596b50bb381.js similarity index 100% rename from ecmascript/codegen/tests/references/f3219596b50bb381.js rename to ecmascript/codegen/tests/test262/f3219596b50bb381.js diff --git a/ecmascript/codegen/tests/references/f3260491590325af.js b/ecmascript/codegen/tests/test262/f3260491590325af.js similarity index 100% rename from ecmascript/codegen/tests/references/f3260491590325af.js rename to ecmascript/codegen/tests/test262/f3260491590325af.js diff --git a/ecmascript/codegen/tests/references/f355802cb6d444e1.js b/ecmascript/codegen/tests/test262/f355802cb6d444e1.js similarity index 100% rename from ecmascript/codegen/tests/references/f355802cb6d444e1.js rename to ecmascript/codegen/tests/test262/f355802cb6d444e1.js diff --git a/ecmascript/codegen/tests/references/f3d3a0f30115de54.js b/ecmascript/codegen/tests/test262/f3d3a0f30115de54.js similarity index 100% rename from ecmascript/codegen/tests/references/f3d3a0f30115de54.js rename to ecmascript/codegen/tests/test262/f3d3a0f30115de54.js diff --git a/ecmascript/codegen/tests/references/f404f7ff29ba5d1a.module.js b/ecmascript/codegen/tests/test262/f404f7ff29ba5d1a.module.js similarity index 100% rename from ecmascript/codegen/tests/references/f404f7ff29ba5d1a.module.js rename to ecmascript/codegen/tests/test262/f404f7ff29ba5d1a.module.js diff --git a/ecmascript/codegen/tests/references/f407a3693faf595b.js b/ecmascript/codegen/tests/test262/f407a3693faf595b.js similarity index 100% rename from ecmascript/codegen/tests/references/f407a3693faf595b.js rename to ecmascript/codegen/tests/test262/f407a3693faf595b.js diff --git a/ecmascript/codegen/tests/references/f43f922cccf5b9af.js b/ecmascript/codegen/tests/test262/f43f922cccf5b9af.js similarity index 100% rename from ecmascript/codegen/tests/references/f43f922cccf5b9af.js rename to ecmascript/codegen/tests/test262/f43f922cccf5b9af.js diff --git a/ecmascript/codegen/tests/references/f471327b3e9b8933.js b/ecmascript/codegen/tests/test262/f471327b3e9b8933.js similarity index 100% rename from ecmascript/codegen/tests/references/f471327b3e9b8933.js rename to ecmascript/codegen/tests/test262/f471327b3e9b8933.js diff --git a/ecmascript/codegen/tests/references/f4864ec70dd99c21.js b/ecmascript/codegen/tests/test262/f4864ec70dd99c21.js similarity index 100% rename from ecmascript/codegen/tests/references/f4864ec70dd99c21.js rename to ecmascript/codegen/tests/test262/f4864ec70dd99c21.js diff --git a/ecmascript/codegen/tests/references/f4a61fcdefebb9d4.js b/ecmascript/codegen/tests/test262/f4a61fcdefebb9d4.js similarity index 100% rename from ecmascript/codegen/tests/references/f4a61fcdefebb9d4.js rename to ecmascript/codegen/tests/test262/f4a61fcdefebb9d4.js diff --git a/ecmascript/codegen/tests/references/f4b2d8937ec13ab0.js b/ecmascript/codegen/tests/test262/f4b2d8937ec13ab0.js similarity index 100% rename from ecmascript/codegen/tests/references/f4b2d8937ec13ab0.js rename to ecmascript/codegen/tests/test262/f4b2d8937ec13ab0.js diff --git a/ecmascript/codegen/tests/references/f50f858c3ef003f4.js b/ecmascript/codegen/tests/test262/f50f858c3ef003f4.js similarity index 100% rename from ecmascript/codegen/tests/references/f50f858c3ef003f4.js rename to ecmascript/codegen/tests/test262/f50f858c3ef003f4.js diff --git a/ecmascript/codegen/tests/references/f552daf299e1c6e5.js b/ecmascript/codegen/tests/test262/f552daf299e1c6e5.js similarity index 100% rename from ecmascript/codegen/tests/references/f552daf299e1c6e5.js rename to ecmascript/codegen/tests/test262/f552daf299e1c6e5.js diff --git a/ecmascript/codegen/tests/references/f597b0312e2b678c.js b/ecmascript/codegen/tests/test262/f597b0312e2b678c.js similarity index 100% rename from ecmascript/codegen/tests/references/f597b0312e2b678c.js rename to ecmascript/codegen/tests/test262/f597b0312e2b678c.js diff --git a/ecmascript/codegen/tests/references/f5b89028dfa29f27.js b/ecmascript/codegen/tests/test262/f5b89028dfa29f27.js similarity index 100% rename from ecmascript/codegen/tests/references/f5b89028dfa29f27.js rename to ecmascript/codegen/tests/test262/f5b89028dfa29f27.js diff --git a/ecmascript/codegen/tests/references/f5ba9f1b21487d3b.js b/ecmascript/codegen/tests/test262/f5ba9f1b21487d3b.js similarity index 100% rename from ecmascript/codegen/tests/references/f5ba9f1b21487d3b.js rename to ecmascript/codegen/tests/test262/f5ba9f1b21487d3b.js diff --git a/ecmascript/codegen/tests/references/f601e7dd0235d423.js b/ecmascript/codegen/tests/test262/f601e7dd0235d423.js similarity index 100% rename from ecmascript/codegen/tests/references/f601e7dd0235d423.js rename to ecmascript/codegen/tests/test262/f601e7dd0235d423.js diff --git a/ecmascript/codegen/tests/references/f658dbaa20c36388.js b/ecmascript/codegen/tests/test262/f658dbaa20c36388.js similarity index 100% rename from ecmascript/codegen/tests/references/f658dbaa20c36388.js rename to ecmascript/codegen/tests/test262/f658dbaa20c36388.js diff --git a/ecmascript/codegen/tests/references/f69b27444afab042.js b/ecmascript/codegen/tests/test262/f69b27444afab042.js similarity index 100% rename from ecmascript/codegen/tests/references/f69b27444afab042.js rename to ecmascript/codegen/tests/test262/f69b27444afab042.js diff --git a/ecmascript/codegen/tests/references/f6d11d1e4dcb1ded.js b/ecmascript/codegen/tests/test262/f6d11d1e4dcb1ded.js similarity index 100% rename from ecmascript/codegen/tests/references/f6d11d1e4dcb1ded.js rename to ecmascript/codegen/tests/test262/f6d11d1e4dcb1ded.js diff --git a/ecmascript/codegen/tests/references/f6d42525cd87339b.js b/ecmascript/codegen/tests/test262/f6d42525cd87339b.js similarity index 100% rename from ecmascript/codegen/tests/references/f6d42525cd87339b.js rename to ecmascript/codegen/tests/test262/f6d42525cd87339b.js diff --git a/ecmascript/codegen/tests/references/f7291c5ec70a4152.js b/ecmascript/codegen/tests/test262/f7291c5ec70a4152.js similarity index 100% rename from ecmascript/codegen/tests/references/f7291c5ec70a4152.js rename to ecmascript/codegen/tests/test262/f7291c5ec70a4152.js diff --git a/ecmascript/codegen/tests/references/f78abc3cba581cdd.js b/ecmascript/codegen/tests/test262/f78abc3cba581cdd.js similarity index 100% rename from ecmascript/codegen/tests/references/f78abc3cba581cdd.js rename to ecmascript/codegen/tests/test262/f78abc3cba581cdd.js diff --git a/ecmascript/codegen/tests/references/f7af1a6b02dbd440.js b/ecmascript/codegen/tests/test262/f7af1a6b02dbd440.js similarity index 100% rename from ecmascript/codegen/tests/references/f7af1a6b02dbd440.js rename to ecmascript/codegen/tests/test262/f7af1a6b02dbd440.js diff --git a/ecmascript/codegen/tests/references/f7e2edf1ccb61303.js b/ecmascript/codegen/tests/test262/f7e2edf1ccb61303.js similarity index 100% rename from ecmascript/codegen/tests/references/f7e2edf1ccb61303.js rename to ecmascript/codegen/tests/test262/f7e2edf1ccb61303.js diff --git a/ecmascript/codegen/tests/references/f7f611e6fdb5b9fc.js b/ecmascript/codegen/tests/test262/f7f611e6fdb5b9fc.js similarity index 100% rename from ecmascript/codegen/tests/references/f7f611e6fdb5b9fc.js rename to ecmascript/codegen/tests/test262/f7f611e6fdb5b9fc.js diff --git a/ecmascript/codegen/tests/references/f80f30fbdd7e7b19.js b/ecmascript/codegen/tests/test262/f80f30fbdd7e7b19.js similarity index 100% rename from ecmascript/codegen/tests/references/f80f30fbdd7e7b19.js rename to ecmascript/codegen/tests/test262/f80f30fbdd7e7b19.js diff --git a/ecmascript/codegen/tests/references/f8323b3c45bd107a.js b/ecmascript/codegen/tests/test262/f8323b3c45bd107a.js similarity index 100% rename from ecmascript/codegen/tests/references/f8323b3c45bd107a.js rename to ecmascript/codegen/tests/test262/f8323b3c45bd107a.js diff --git a/ecmascript/codegen/tests/references/f89bf797c3b1dda4.js b/ecmascript/codegen/tests/test262/f89bf797c3b1dda4.js similarity index 100% rename from ecmascript/codegen/tests/references/f89bf797c3b1dda4.js rename to ecmascript/codegen/tests/test262/f89bf797c3b1dda4.js diff --git a/ecmascript/codegen/tests/references/f8a07bd5ab703d4b.js b/ecmascript/codegen/tests/test262/f8a07bd5ab703d4b.js similarity index 100% rename from ecmascript/codegen/tests/references/f8a07bd5ab703d4b.js rename to ecmascript/codegen/tests/test262/f8a07bd5ab703d4b.js diff --git a/ecmascript/codegen/tests/references/f8cf06a0d5699319.js b/ecmascript/codegen/tests/test262/f8cf06a0d5699319.js similarity index 100% rename from ecmascript/codegen/tests/references/f8cf06a0d5699319.js rename to ecmascript/codegen/tests/test262/f8cf06a0d5699319.js diff --git a/ecmascript/codegen/tests/references/f8d843a30c73377a.js b/ecmascript/codegen/tests/test262/f8d843a30c73377a.js similarity index 100% rename from ecmascript/codegen/tests/references/f8d843a30c73377a.js rename to ecmascript/codegen/tests/test262/f8d843a30c73377a.js diff --git a/ecmascript/codegen/tests/references/f8dc2e8bbddcdfbe.js b/ecmascript/codegen/tests/test262/f8dc2e8bbddcdfbe.js similarity index 100% rename from ecmascript/codegen/tests/references/f8dc2e8bbddcdfbe.js rename to ecmascript/codegen/tests/test262/f8dc2e8bbddcdfbe.js diff --git a/ecmascript/codegen/tests/references/f94e47b7b5cfda74.js b/ecmascript/codegen/tests/test262/f94e47b7b5cfda74.js similarity index 100% rename from ecmascript/codegen/tests/references/f94e47b7b5cfda74.js rename to ecmascript/codegen/tests/test262/f94e47b7b5cfda74.js diff --git a/ecmascript/codegen/tests/references/f96c694c5a2f2be9.js b/ecmascript/codegen/tests/test262/f96c694c5a2f2be9.js similarity index 100% rename from ecmascript/codegen/tests/references/f96c694c5a2f2be9.js rename to ecmascript/codegen/tests/test262/f96c694c5a2f2be9.js diff --git a/ecmascript/codegen/tests/references/f974f2619b25b027.js b/ecmascript/codegen/tests/test262/f974f2619b25b027.js similarity index 100% rename from ecmascript/codegen/tests/references/f974f2619b25b027.js rename to ecmascript/codegen/tests/test262/f974f2619b25b027.js diff --git a/ecmascript/codegen/tests/references/f9888fa1a1e366e7.js b/ecmascript/codegen/tests/test262/f9888fa1a1e366e7.js similarity index 100% rename from ecmascript/codegen/tests/references/f9888fa1a1e366e7.js rename to ecmascript/codegen/tests/test262/f9888fa1a1e366e7.js diff --git a/ecmascript/codegen/tests/references/f990e76e7fcb0dd9.js b/ecmascript/codegen/tests/test262/f990e76e7fcb0dd9.js similarity index 100% rename from ecmascript/codegen/tests/references/f990e76e7fcb0dd9.js rename to ecmascript/codegen/tests/test262/f990e76e7fcb0dd9.js diff --git a/ecmascript/codegen/tests/references/f9b92700d0e68f49.js b/ecmascript/codegen/tests/test262/f9b92700d0e68f49.js similarity index 100% rename from ecmascript/codegen/tests/references/f9b92700d0e68f49.js rename to ecmascript/codegen/tests/test262/f9b92700d0e68f49.js diff --git a/ecmascript/codegen/tests/references/f9c201250f225ab9.js b/ecmascript/codegen/tests/test262/f9c201250f225ab9.js similarity index 100% rename from ecmascript/codegen/tests/references/f9c201250f225ab9.js rename to ecmascript/codegen/tests/test262/f9c201250f225ab9.js diff --git a/ecmascript/codegen/tests/references/f9d67ab9db16c4d5.js b/ecmascript/codegen/tests/test262/f9d67ab9db16c4d5.js similarity index 100% rename from ecmascript/codegen/tests/references/f9d67ab9db16c4d5.js rename to ecmascript/codegen/tests/test262/f9d67ab9db16c4d5.js diff --git a/ecmascript/codegen/tests/references/fa58aa963031f8df.js b/ecmascript/codegen/tests/test262/fa58aa963031f8df.js similarity index 100% rename from ecmascript/codegen/tests/references/fa58aa963031f8df.js rename to ecmascript/codegen/tests/test262/fa58aa963031f8df.js diff --git a/ecmascript/codegen/tests/references/fa59ac4c41d26c14.js b/ecmascript/codegen/tests/test262/fa59ac4c41d26c14.js similarity index 100% rename from ecmascript/codegen/tests/references/fa59ac4c41d26c14.js rename to ecmascript/codegen/tests/test262/fa59ac4c41d26c14.js diff --git a/ecmascript/codegen/tests/references/fa5b398eeef697a6.js b/ecmascript/codegen/tests/test262/fa5b398eeef697a6.js similarity index 100% rename from ecmascript/codegen/tests/references/fa5b398eeef697a6.js rename to ecmascript/codegen/tests/test262/fa5b398eeef697a6.js diff --git a/ecmascript/codegen/tests/references/fa6c17d9a188d0bb.js b/ecmascript/codegen/tests/test262/fa6c17d9a188d0bb.js similarity index 100% rename from ecmascript/codegen/tests/references/fa6c17d9a188d0bb.js rename to ecmascript/codegen/tests/test262/fa6c17d9a188d0bb.js diff --git a/ecmascript/codegen/tests/references/fa736f4b0cf19c0c.js b/ecmascript/codegen/tests/test262/fa736f4b0cf19c0c.js similarity index 100% rename from ecmascript/codegen/tests/references/fa736f4b0cf19c0c.js rename to ecmascript/codegen/tests/test262/fa736f4b0cf19c0c.js diff --git a/ecmascript/codegen/tests/references/fa9eaf58f51d6926.js b/ecmascript/codegen/tests/test262/fa9eaf58f51d6926.js similarity index 100% rename from ecmascript/codegen/tests/references/fa9eaf58f51d6926.js rename to ecmascript/codegen/tests/test262/fa9eaf58f51d6926.js diff --git a/ecmascript/codegen/tests/references/faa4a026e1e86145.js b/ecmascript/codegen/tests/test262/faa4a026e1e86145.js similarity index 100% rename from ecmascript/codegen/tests/references/faa4a026e1e86145.js rename to ecmascript/codegen/tests/test262/faa4a026e1e86145.js diff --git a/ecmascript/codegen/tests/references/fada2c7bbfabe14a.js b/ecmascript/codegen/tests/test262/fada2c7bbfabe14a.js similarity index 100% rename from ecmascript/codegen/tests/references/fada2c7bbfabe14a.js rename to ecmascript/codegen/tests/test262/fada2c7bbfabe14a.js diff --git a/ecmascript/codegen/tests/references/fae42f5a2ab85c1d.js b/ecmascript/codegen/tests/test262/fae42f5a2ab85c1d.js similarity index 100% rename from ecmascript/codegen/tests/references/fae42f5a2ab85c1d.js rename to ecmascript/codegen/tests/test262/fae42f5a2ab85c1d.js diff --git a/ecmascript/codegen/tests/references/fb50400b4c9cf740.js b/ecmascript/codegen/tests/test262/fb50400b4c9cf740.js similarity index 100% rename from ecmascript/codegen/tests/references/fb50400b4c9cf740.js rename to ecmascript/codegen/tests/test262/fb50400b4c9cf740.js diff --git a/ecmascript/codegen/tests/references/fb69459d7628ace1.js b/ecmascript/codegen/tests/test262/fb69459d7628ace1.js similarity index 100% rename from ecmascript/codegen/tests/references/fb69459d7628ace1.js rename to ecmascript/codegen/tests/test262/fb69459d7628ace1.js diff --git a/ecmascript/codegen/tests/references/fb7c5656640f6ec7.js b/ecmascript/codegen/tests/test262/fb7c5656640f6ec7.js similarity index 100% rename from ecmascript/codegen/tests/references/fb7c5656640f6ec7.js rename to ecmascript/codegen/tests/test262/fb7c5656640f6ec7.js diff --git a/ecmascript/codegen/tests/references/fb8d437ce90b1178.js b/ecmascript/codegen/tests/test262/fb8d437ce90b1178.js similarity index 100% rename from ecmascript/codegen/tests/references/fb8d437ce90b1178.js rename to ecmascript/codegen/tests/test262/fb8d437ce90b1178.js diff --git a/ecmascript/codegen/tests/references/fb8db7a71f3755fc.js b/ecmascript/codegen/tests/test262/fb8db7a71f3755fc.js similarity index 100% rename from ecmascript/codegen/tests/references/fb8db7a71f3755fc.js rename to ecmascript/codegen/tests/test262/fb8db7a71f3755fc.js diff --git a/ecmascript/codegen/tests/references/fba24e17d16fd0c4.js b/ecmascript/codegen/tests/test262/fba24e17d16fd0c4.js similarity index 100% rename from ecmascript/codegen/tests/references/fba24e17d16fd0c4.js rename to ecmascript/codegen/tests/test262/fba24e17d16fd0c4.js diff --git a/ecmascript/codegen/tests/references/fbacebe72fb15fed.module.js b/ecmascript/codegen/tests/test262/fbacebe72fb15fed.module.js similarity index 100% rename from ecmascript/codegen/tests/references/fbacebe72fb15fed.module.js rename to ecmascript/codegen/tests/test262/fbacebe72fb15fed.module.js diff --git a/ecmascript/codegen/tests/references/fbb6b30b41732026.js b/ecmascript/codegen/tests/test262/fbb6b30b41732026.js similarity index 100% rename from ecmascript/codegen/tests/references/fbb6b30b41732026.js rename to ecmascript/codegen/tests/test262/fbb6b30b41732026.js diff --git a/ecmascript/codegen/tests/references/fbcd793ec7c82779.js b/ecmascript/codegen/tests/test262/fbcd793ec7c82779.js similarity index 100% rename from ecmascript/codegen/tests/references/fbcd793ec7c82779.js rename to ecmascript/codegen/tests/test262/fbcd793ec7c82779.js diff --git a/ecmascript/codegen/tests/references/fbde237f11796df9.js b/ecmascript/codegen/tests/test262/fbde237f11796df9.js similarity index 100% rename from ecmascript/codegen/tests/references/fbde237f11796df9.js rename to ecmascript/codegen/tests/test262/fbde237f11796df9.js diff --git a/ecmascript/codegen/tests/references/fc020c065098cbd5.js b/ecmascript/codegen/tests/test262/fc020c065098cbd5.js similarity index 100% rename from ecmascript/codegen/tests/references/fc020c065098cbd5.js rename to ecmascript/codegen/tests/test262/fc020c065098cbd5.js diff --git a/ecmascript/codegen/tests/references/fc035551a2a4c15c.js b/ecmascript/codegen/tests/test262/fc035551a2a4c15c.js similarity index 100% rename from ecmascript/codegen/tests/references/fc035551a2a4c15c.js rename to ecmascript/codegen/tests/test262/fc035551a2a4c15c.js diff --git a/ecmascript/codegen/tests/references/fc063bfba795ad91.js b/ecmascript/codegen/tests/test262/fc063bfba795ad91.js similarity index 100% rename from ecmascript/codegen/tests/references/fc063bfba795ad91.js rename to ecmascript/codegen/tests/test262/fc063bfba795ad91.js diff --git a/ecmascript/codegen/tests/references/fc1ba7d289fb1af1.js b/ecmascript/codegen/tests/test262/fc1ba7d289fb1af1.js similarity index 100% rename from ecmascript/codegen/tests/references/fc1ba7d289fb1af1.js rename to ecmascript/codegen/tests/test262/fc1ba7d289fb1af1.js diff --git a/ecmascript/codegen/tests/references/fc286bf26373db8d.js b/ecmascript/codegen/tests/test262/fc286bf26373db8d.js similarity index 100% rename from ecmascript/codegen/tests/references/fc286bf26373db8d.js rename to ecmascript/codegen/tests/test262/fc286bf26373db8d.js diff --git a/ecmascript/codegen/tests/references/fc5c8d6f6bf16121.js b/ecmascript/codegen/tests/test262/fc5c8d6f6bf16121.js similarity index 100% rename from ecmascript/codegen/tests/references/fc5c8d6f6bf16121.js rename to ecmascript/codegen/tests/test262/fc5c8d6f6bf16121.js diff --git a/ecmascript/codegen/tests/test262/fc9f000aa3e4bd79.js b/ecmascript/codegen/tests/test262/fc9f000aa3e4bd79.js new file mode 100644 index 00000000000..6b5f18517ad --- /dev/null +++ b/ecmascript/codegen/tests/test262/fc9f000aa3e4bd79.js @@ -0,0 +1 @@ +for(let a;;); diff --git a/ecmascript/codegen/tests/references/fcb318e400b44257.js b/ecmascript/codegen/tests/test262/fcb318e400b44257.js similarity index 100% rename from ecmascript/codegen/tests/references/fcb318e400b44257.js rename to ecmascript/codegen/tests/test262/fcb318e400b44257.js diff --git a/ecmascript/codegen/tests/references/fcd33c00916dd6ad.js b/ecmascript/codegen/tests/test262/fcd33c00916dd6ad.js similarity index 100% rename from ecmascript/codegen/tests/references/fcd33c00916dd6ad.js rename to ecmascript/codegen/tests/test262/fcd33c00916dd6ad.js diff --git a/ecmascript/codegen/tests/references/fcf3738a49a5f358.js b/ecmascript/codegen/tests/test262/fcf3738a49a5f358.js similarity index 100% rename from ecmascript/codegen/tests/references/fcf3738a49a5f358.js rename to ecmascript/codegen/tests/test262/fcf3738a49a5f358.js diff --git a/ecmascript/codegen/tests/references/fd0ad9026eee596b.js b/ecmascript/codegen/tests/test262/fd0ad9026eee596b.js similarity index 100% rename from ecmascript/codegen/tests/references/fd0ad9026eee596b.js rename to ecmascript/codegen/tests/test262/fd0ad9026eee596b.js diff --git a/ecmascript/codegen/tests/references/fd0e7b0f778f8a3b.js b/ecmascript/codegen/tests/test262/fd0e7b0f778f8a3b.js similarity index 100% rename from ecmascript/codegen/tests/references/fd0e7b0f778f8a3b.js rename to ecmascript/codegen/tests/test262/fd0e7b0f778f8a3b.js diff --git a/ecmascript/codegen/tests/references/fd167642d02f2c66.js b/ecmascript/codegen/tests/test262/fd167642d02f2c66.js similarity index 100% rename from ecmascript/codegen/tests/references/fd167642d02f2c66.js rename to ecmascript/codegen/tests/test262/fd167642d02f2c66.js diff --git a/ecmascript/codegen/tests/references/fd29828f68a7634e.js b/ecmascript/codegen/tests/test262/fd29828f68a7634e.js similarity index 100% rename from ecmascript/codegen/tests/references/fd29828f68a7634e.js rename to ecmascript/codegen/tests/test262/fd29828f68a7634e.js diff --git a/ecmascript/codegen/tests/references/fd34477284c96cbf.js b/ecmascript/codegen/tests/test262/fd34477284c96cbf.js similarity index 100% rename from ecmascript/codegen/tests/references/fd34477284c96cbf.js rename to ecmascript/codegen/tests/test262/fd34477284c96cbf.js diff --git a/ecmascript/codegen/tests/references/fd5ea844fcc07d3d.js b/ecmascript/codegen/tests/test262/fd5ea844fcc07d3d.js similarity index 100% rename from ecmascript/codegen/tests/references/fd5ea844fcc07d3d.js rename to ecmascript/codegen/tests/test262/fd5ea844fcc07d3d.js diff --git a/ecmascript/codegen/tests/references/fd889a4ef6e361f1.js b/ecmascript/codegen/tests/test262/fd889a4ef6e361f1.js similarity index 100% rename from ecmascript/codegen/tests/references/fd889a4ef6e361f1.js rename to ecmascript/codegen/tests/test262/fd889a4ef6e361f1.js diff --git a/ecmascript/codegen/tests/references/fdb05dfd469c46c4.js b/ecmascript/codegen/tests/test262/fdb05dfd469c46c4.js similarity index 100% rename from ecmascript/codegen/tests/references/fdb05dfd469c46c4.js rename to ecmascript/codegen/tests/test262/fdb05dfd469c46c4.js diff --git a/ecmascript/codegen/tests/references/fdb684acf63f6274.js b/ecmascript/codegen/tests/test262/fdb684acf63f6274.js similarity index 100% rename from ecmascript/codegen/tests/references/fdb684acf63f6274.js rename to ecmascript/codegen/tests/test262/fdb684acf63f6274.js diff --git a/ecmascript/codegen/tests/references/fe03ba1b818c762e.js b/ecmascript/codegen/tests/test262/fe03ba1b818c762e.js similarity index 100% rename from ecmascript/codegen/tests/references/fe03ba1b818c762e.js rename to ecmascript/codegen/tests/test262/fe03ba1b818c762e.js diff --git a/ecmascript/codegen/tests/references/fe24fc72de1ef7cc.js b/ecmascript/codegen/tests/test262/fe24fc72de1ef7cc.js similarity index 100% rename from ecmascript/codegen/tests/references/fe24fc72de1ef7cc.js rename to ecmascript/codegen/tests/test262/fe24fc72de1ef7cc.js diff --git a/ecmascript/codegen/tests/references/fe2d3b945530c806.js b/ecmascript/codegen/tests/test262/fe2d3b945530c806.js similarity index 100% rename from ecmascript/codegen/tests/references/fe2d3b945530c806.js rename to ecmascript/codegen/tests/test262/fe2d3b945530c806.js diff --git a/ecmascript/codegen/tests/references/fe5ae04c8d239b26.js b/ecmascript/codegen/tests/test262/fe5ae04c8d239b26.js similarity index 100% rename from ecmascript/codegen/tests/references/fe5ae04c8d239b26.js rename to ecmascript/codegen/tests/test262/fe5ae04c8d239b26.js diff --git a/ecmascript/codegen/tests/references/fe5f0dcb8e902857.js b/ecmascript/codegen/tests/test262/fe5f0dcb8e902857.js similarity index 100% rename from ecmascript/codegen/tests/references/fe5f0dcb8e902857.js rename to ecmascript/codegen/tests/test262/fe5f0dcb8e902857.js diff --git a/ecmascript/codegen/tests/references/fe7c2a6e1efe2cf4.js b/ecmascript/codegen/tests/test262/fe7c2a6e1efe2cf4.js similarity index 100% rename from ecmascript/codegen/tests/references/fe7c2a6e1efe2cf4.js rename to ecmascript/codegen/tests/test262/fe7c2a6e1efe2cf4.js diff --git a/ecmascript/codegen/tests/references/fec4c4ff229d3fc2.js b/ecmascript/codegen/tests/test262/fec4c4ff229d3fc2.js similarity index 100% rename from ecmascript/codegen/tests/references/fec4c4ff229d3fc2.js rename to ecmascript/codegen/tests/test262/fec4c4ff229d3fc2.js diff --git a/ecmascript/codegen/tests/references/fee1cb654a489f02.js b/ecmascript/codegen/tests/test262/fee1cb654a489f02.js similarity index 100% rename from ecmascript/codegen/tests/references/fee1cb654a489f02.js rename to ecmascript/codegen/tests/test262/fee1cb654a489f02.js diff --git a/ecmascript/codegen/tests/references/fee3f54aa720263f.js b/ecmascript/codegen/tests/test262/fee3f54aa720263f.js similarity index 100% rename from ecmascript/codegen/tests/references/fee3f54aa720263f.js rename to ecmascript/codegen/tests/test262/fee3f54aa720263f.js diff --git a/ecmascript/codegen/tests/references/fef4facb0b8479bf.js b/ecmascript/codegen/tests/test262/fef4facb0b8479bf.js similarity index 100% rename from ecmascript/codegen/tests/references/fef4facb0b8479bf.js rename to ecmascript/codegen/tests/test262/fef4facb0b8479bf.js diff --git a/ecmascript/codegen/tests/references/ff03d6d14c3f4007.js b/ecmascript/codegen/tests/test262/ff03d6d14c3f4007.js similarity index 100% rename from ecmascript/codegen/tests/references/ff03d6d14c3f4007.js rename to ecmascript/codegen/tests/test262/ff03d6d14c3f4007.js diff --git a/ecmascript/codegen/tests/references/ff215f966bed2b85.js b/ecmascript/codegen/tests/test262/ff215f966bed2b85.js similarity index 100% rename from ecmascript/codegen/tests/references/ff215f966bed2b85.js rename to ecmascript/codegen/tests/test262/ff215f966bed2b85.js diff --git a/ecmascript/codegen/tests/references/ff488aae349cc02d.js b/ecmascript/codegen/tests/test262/ff488aae349cc02d.js similarity index 100% rename from ecmascript/codegen/tests/references/ff488aae349cc02d.js rename to ecmascript/codegen/tests/test262/ff488aae349cc02d.js diff --git a/ecmascript/codegen/tests/references/ff4b8762733080cb.js b/ecmascript/codegen/tests/test262/ff4b8762733080cb.js similarity index 100% rename from ecmascript/codegen/tests/references/ff4b8762733080cb.js rename to ecmascript/codegen/tests/test262/ff4b8762733080cb.js diff --git a/ecmascript/codegen/tests/references/ff902593b25092d1.js b/ecmascript/codegen/tests/test262/ff902593b25092d1.js similarity index 100% rename from ecmascript/codegen/tests/references/ff902593b25092d1.js rename to ecmascript/codegen/tests/test262/ff902593b25092d1.js diff --git a/ecmascript/codegen/tests/references/ffaf5b9d3140465b.js b/ecmascript/codegen/tests/test262/ffaf5b9d3140465b.js similarity index 100% rename from ecmascript/codegen/tests/references/ffaf5b9d3140465b.js rename to ecmascript/codegen/tests/test262/ffaf5b9d3140465b.js diff --git a/ecmascript/codegen/tests/references/ffbba9592c03baa6.js b/ecmascript/codegen/tests/test262/ffbba9592c03baa6.js similarity index 100% rename from ecmascript/codegen/tests/references/ffbba9592c03baa6.js rename to ecmascript/codegen/tests/test262/ffbba9592c03baa6.js diff --git a/ecmascript/codegen/tests/references/ffc32056a146cc9b.js b/ecmascript/codegen/tests/test262/ffc32056a146cc9b.js similarity index 100% rename from ecmascript/codegen/tests/references/ffc32056a146cc9b.js rename to ecmascript/codegen/tests/test262/ffc32056a146cc9b.js diff --git a/ecmascript/codegen/tests/references/ffcf0064736d41e7.js b/ecmascript/codegen/tests/test262/ffcf0064736d41e7.js similarity index 100% rename from ecmascript/codegen/tests/references/ffcf0064736d41e7.js rename to ecmascript/codegen/tests/test262/ffcf0064736d41e7.js diff --git a/ecmascript/codegen/tests/references/fffe7e78a7ce9f9a.js b/ecmascript/codegen/tests/test262/fffe7e78a7ce9f9a.js similarity index 100% rename from ecmascript/codegen/tests/references/fffe7e78a7ce9f9a.js rename to ecmascript/codegen/tests/test262/fffe7e78a7ce9f9a.js diff --git a/ecmascript/minifier/Cargo.toml b/ecmascript/minifier/Cargo.toml index 7305c3a3ee0..9182d190123 100644 --- a/ecmascript/minifier/Cargo.toml +++ b/ecmascript/minifier/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "src/lists/*.json"] license = "Apache-2.0/MIT" name = "swc_ecma_minifier" repository = "https://github.com/swc-project/swc.git" -version = "0.16.1" +version = "0.17.0" [features] debug = [] @@ -24,12 +24,12 @@ serde = {version = "1.0.118", features = ["derive"]} serde_json = "1.0.61" serde_regex = "1.1.0" swc_atoms = {version = "0.2", path = "../../atoms"} -swc_common = {version = "0.11.0", path = "../../common"} +swc_common = {version = "0.11.2", path = "../../common"} swc_ecma_ast = {version = "0.49.0", path = "../ast"} -swc_ecma_codegen = {version = "0.64.0", path = "../codegen"} +swc_ecma_codegen = {version = "0.65.0", path = "../codegen"} swc_ecma_parser = {version = "0.65.0", path = "../parser"} -swc_ecma_transforms = {version = "0.61.0", path = "../transforms/", features = ["optimization"]} -swc_ecma_transforms_base = {version = "0.24.0", path = "../transforms/base"} +swc_ecma_transforms = {version = "0.62.0", path = "../transforms/", features = ["optimization"]} +swc_ecma_transforms_base = {version = "0.25.0", path = "../transforms/base"} swc_ecma_utils = {version = "0.41.0", path = "../utils"} swc_ecma_visit = {version = "0.35.0", path = "../visit"} unicode-xid = "0.2.2" diff --git a/ecmascript/minifier/scripts/format.sh b/ecmascript/minifier/scripts/format.sh new file mode 100755 index 00000000000..b51c21d9233 --- /dev/null +++ b/ecmascript/minifier/scripts/format.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -eux + +# Make it easier to compare +prettier --write $1 +yarn run eslint --fix $1 \ No newline at end of file diff --git a/ecmascript/minifier/scripts/run.sh b/ecmascript/minifier/scripts/run.sh index 980a3b2b5d5..cf3cf93a13b 100755 --- a/ecmascript/minifier/scripts/run.sh +++ b/ecmascript/minifier/scripts/run.sh @@ -16,15 +16,16 @@ export RUST_LOG=swc_ecma_minifier=trace # Run unit tests. cargo test --all-features --lib -# To prevent regression, we run base test before real tests. -touch tests/compress.rs -UPDATE=1 ./scripts/base.sh base_fixture -./scripts/base.sh base_exec - +# Run golden tests to prevent regression. if [ -z "$@" ]; then ./scripts/sort.sh SWC_RUN=0 GOLDEN_ONLY=1 cargo test -q --test compress --all-features fixture_tests__terser__compress__ fi +# To prevent regression, we run base test before real tests. +touch tests/compress.rs +UPDATE=1 ./scripts/base.sh base_fixture +./scripts/base.sh base_exec + SKIP_GOLDEN=1 cargo test --test compress --all-features $@ diff --git a/ecmascript/minifier/scripts/terser/reference.sh b/ecmascript/minifier/scripts/terser/reference.sh new file mode 100755 index 00000000000..8c802cfb34a --- /dev/null +++ b/ecmascript/minifier/scripts/terser/reference.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash +set -eux + +##### ##### ##### ##### ##### +# Usage: ./scripts/terser/reference.sh path/to/directory +# +# Used to generate expected output using terser. +##### ##### ##### ##### ##### + +find $1 -name input.js \ + | xargs -L 1 -I {} terser --compress --output {}.output.js -- {} + +find . -name 'input.js.output.js' -print0 | xargs -0 -n1 bash -c 'mv "$0" "${0/input.js.output.js/output.js}"' + +# Make it easier to compare +prettier --write $1 +yarn run eslint --fix $1 \ No newline at end of file diff --git a/ecmascript/minifier/src/analyzer/mod.rs b/ecmascript/minifier/src/analyzer/mod.rs index a5357ca616a..212498f2e68 100644 --- a/ecmascript/minifier/src/analyzer/mod.rs +++ b/ecmascript/minifier/src/analyzer/mod.rs @@ -1,4 +1,5 @@ use self::ctx::Ctx; +use crate::marks::Marks; use crate::util::can_end_conditionally; use crate::util::idents_used_by; use crate::util::now; @@ -22,7 +23,7 @@ mod ctx; /// TODO: Track assignments to variables via `arguments`. /// TODO: Scope-local. (Including block) -pub(crate) fn analyze(n: &N) -> ProgramData +pub(crate) fn analyze(n: &N, marks: Marks) -> ProgramData where N: VisitWith, { @@ -30,6 +31,7 @@ where let mut v = UsageAnalyzer { data: Default::default(), + marks, scope: Default::default(), ctx: Default::default(), }; @@ -235,6 +237,7 @@ impl ProgramData { #[derive(Debug)] pub(crate) struct UsageAnalyzer { data: ProgramData, + marks: Marks, scope: ScopeData, ctx: Ctx, } @@ -246,6 +249,7 @@ impl UsageAnalyzer { { let mut child = UsageAnalyzer { data: Default::default(), + marks: self.marks, ctx: self.ctx, scope: Default::default(), }; @@ -275,6 +279,7 @@ impl UsageAnalyzer { // log::trace!("insert({}{:?})", i.0, i.1); VarUsageInfo { + is_fn_local: true, used_above_decl: true, ..Default::default() } @@ -323,11 +328,15 @@ impl UsageAnalyzer { .vars .entry(i.to_id()) .and_modify(|v| { - if has_init { + if has_init && v.declared { v.mutated = true; v.reassigned = true; v.assign_count += 1; } + + if v.used_by_nested_fn { + v.is_fn_local = false; + } }) .or_insert_with(|| VarUsageInfo { is_fn_local: true, @@ -391,7 +400,12 @@ impl Visit for UsageAnalyzer { }; n.left.visit_with(n, &mut *self.with_ctx(ctx)); - n.right.visit_with(n, self); + let ctx = Ctx { + in_assign_lhs: false, + is_exact_reassignment: false, + ..self.ctx + }; + n.right.visit_with(n, &mut *self.with_ctx(ctx)); } fn visit_block_stmt(&mut self, n: &BlockStmt, _: &dyn Node) { @@ -401,11 +415,22 @@ impl Visit for UsageAnalyzer { } fn visit_call_expr(&mut self, n: &CallExpr, _: &dyn Node) { + let inline_prevented = self.ctx.inline_prevented || n.span.has_mark(self.marks.noinline); + { - n.callee.visit_with(n, self); let ctx = Ctx { + inline_prevented, + ..self.ctx + }; + n.callee.visit_with(n, &mut *self.with_ctx(ctx)); + } + + { + let ctx = Ctx { + inline_prevented, in_call_arg: true, is_exact_arg: true, + is_exact_reassignment: false, ..self.ctx }; n.args.visit_with(n, &mut *self.with_ctx(ctx)); @@ -753,15 +778,15 @@ impl Visit for UsageAnalyzer { fn visit_stmts(&mut self, stmts: &[Stmt], _: &dyn Node) { let mut had_cond = false; - for n in stmts { + for stmt in stmts { let ctx = Ctx { in_cond: self.ctx.in_cond || had_cond, ..self.ctx }; - n.visit_with(&Invalid { span: DUMMY_SP }, &mut *self.with_ctx(ctx)); + stmt.visit_with(&Invalid { span: DUMMY_SP }, &mut *self.with_ctx(ctx)); - had_cond |= can_end_conditionally(n); + had_cond |= can_end_conditionally(stmt); } } diff --git a/ecmascript/minifier/src/compress/mod.rs b/ecmascript/minifier/src/compress/mod.rs index ad072d34404..e1b4d2cfa86 100644 --- a/ecmascript/minifier/src/compress/mod.rs +++ b/ecmascript/minifier/src/compress/mod.rs @@ -1,6 +1,7 @@ use self::drop_console::drop_console; use self::hoist_decls::DeclHoisterConfig; use self::optimize::optimizer; +use self::optimize::OptimizerState; use crate::analyzer::analyze; use crate::analyzer::ProgramData; use crate::compress::hoist_decls::decl_hoister; @@ -18,7 +19,6 @@ use std::fmt::Debug; use std::fmt::Display; use std::fmt::Formatter; use std::time::Instant; -use swc_common::comments::Comments; use swc_common::pass::CompilerPass; use swc_common::pass::Repeat; use swc_common::pass::Repeated; @@ -45,7 +45,6 @@ pub(crate) fn compressor<'a>( cm: Lrc, marks: Marks, options: &'a CompressOptions, - comments: Option<&'a dyn Comments>, ) -> impl 'a + JsPass { let console_remover = Optional { enabled: options.drop_console, @@ -55,10 +54,10 @@ pub(crate) fn compressor<'a>( cm, marks, options, - comments, changed: false, pass: 0, data: None, + optimizer_state: Default::default(), }; chain!( @@ -72,10 +71,10 @@ struct Compressor<'a> { cm: Lrc, marks: Marks, options: &'a CompressOptions, - comments: Option<&'a dyn Comments>, changed: bool, pass: usize, data: Option, + optimizer_state: OptimizerState, } impl CompilerPass for Compressor<'_> { @@ -131,7 +130,7 @@ impl VisitMut for Compressor<'_> { fn visit_mut_module(&mut self, n: &mut Module) { debug_assert!(self.data.is_none()); - self.data = Some(analyze(&*n)); + self.data = Some(analyze(&*n, self.marks)); if self.options.passes != 0 && self.options.passes + 1 <= self.pass { let done = dump(&*n); @@ -200,12 +199,15 @@ impl VisitMut for Compressor<'_> { // TODO: reset_opt_flags // // This is swc version of `node.optimize(this);`. + + self.optimizer_state = Default::default(); + let mut visitor = optimizer( self.cm.clone(), self.marks, self.options, - self.comments, self.data.as_ref().unwrap(), + &mut self.optimizer_state, ); n.visit_mut_with(&mut visitor); self.changed |= visitor.changed(); @@ -298,7 +300,7 @@ impl VisitMut for Compressor<'_> { fn visit_mut_script(&mut self, n: &mut Script) { debug_assert!(self.data.is_none()); - self.data = Some(analyze(&*n)); + self.data = Some(analyze(&*n, self.marks)); { let mut v = decl_hoister( diff --git a/ecmascript/minifier/src/compress/optimize/fns.rs b/ecmascript/minifier/src/compress/optimize/fns.rs index 0350fcd69f1..bb91e169e62 100644 --- a/ecmascript/minifier/src/compress/optimize/fns.rs +++ b/ecmascript/minifier/src/compress/optimize/fns.rs @@ -1,5 +1,8 @@ use super::Optimizer; -use crate::util::{sort::is_sorted_by, MoudleItemExt}; +use crate::{ + compress::optimize::util::is_directive, + util::{sort::is_sorted_by, MoudleItemExt}, +}; use std::cmp::Ordering; use swc_ecma_ast::*; use swc_ecma_transforms_base::ext::MapWithMut; @@ -32,6 +35,8 @@ impl Optimizer<'_> { // Check for function declarations. match (a.as_module_decl(), b.as_module_decl()) { + (Err(stmt), _) if is_directive(&stmt) => return Some(Ordering::Equal), + ( Err(Stmt::Decl( Decl::Fn(..) @@ -63,6 +68,14 @@ impl Optimizer<'_> { for stmt in stmts.take() { let stmt = stmt.into_module_item(); + match stmt { + ModuleItem::Stmt(stmt) if is_directive(&stmt) => { + fns.push(T::from_stmt(stmt)); + continue; + } + _ => {} + } + match stmt { ModuleItem::Stmt(Stmt::Decl(Decl::Fn(..))) | ModuleItem::ModuleDecl(ModuleDecl::ExportDecl(ExportDecl { diff --git a/ecmascript/minifier/src/compress/optimize/iife.rs b/ecmascript/minifier/src/compress/optimize/iife.rs index 12ef72a61ec..4a1137d20e8 100644 --- a/ecmascript/minifier/src/compress/optimize/iife.rs +++ b/ecmascript/minifier/src/compress/optimize/iife.rs @@ -257,9 +257,9 @@ impl Optimizer<'_> { inline_prevented: false, ..self.ctx }; - let orig_vars = replace(&mut self.vars_for_inlining, vars); + let orig_vars = replace(&mut self.state.vars_for_inlining, vars); n.visit_mut_with(&mut *self.with_ctx(ctx)); - self.vars_for_inlining = orig_vars; + self.state.vars_for_inlining = orig_vars; } /// Fully inlines iife. diff --git a/ecmascript/minifier/src/compress/optimize/inline.rs b/ecmascript/minifier/src/compress/optimize/inline.rs index f7c662eb676..1c6a1ba1e97 100644 --- a/ecmascript/minifier/src/compress/optimize/inline.rs +++ b/ecmascript/minifier/src/compress/optimize/inline.rs @@ -1,10 +1,8 @@ +use super::Optimizer; use crate::compress::optimize::util::class_has_side_effect; use crate::compress::optimize::util::is_valid_for_lhs; use crate::debug::dump; -use crate::util::has_mark; use crate::util::idents_used_by; - -use super::Optimizer; use swc_atoms::js_word; use swc_common::Spanned; use swc_common::DUMMY_SP; @@ -12,6 +10,7 @@ use swc_ecma_ast::*; use swc_ecma_transforms_base::ext::MapWithMut; use swc_ecma_utils::ident::IdentLike; use swc_ecma_utils::ExprExt; +use swc_ecma_utils::UsageFinder; /// Methods related to option `inline`. impl Optimizer<'_> { @@ -25,7 +24,7 @@ impl Optimizer<'_> { None => return, }; - let should_preserve = !has_mark(var.span, self.marks.non_top_level) + let should_preserve = !var.span.has_mark(self.marks.non_top_level) && (!self.options.top_level() && self.options.top_retain.is_empty()) && self.ctx.in_top_level(); @@ -89,6 +88,26 @@ impl Optimizer<'_> { if !usage.is_fn_local { match &**init { Expr::Lit(..) => {} + Expr::Fn(FnExpr { + function: + Function { + body: Some(body), .. + }, + .. + }) => { + if body.stmts.len() == 1 + && match &body.stmts[0] { + Stmt::Return(..) => true, + _ => false, + } + { + } else { + if cfg!(feature = "debug") { + log::trace!("inline: [x] It's not fn-local"); + } + return; + } + } _ => { if cfg!(feature = "debug") { log::trace!("inline: [x] It's not fn-local"); @@ -232,7 +251,7 @@ impl Optimizer<'_> { i.id.span.ctxt ); self.changed = true; - self.vars_for_inlining.insert(i.to_id(), init.take()); + self.state.vars_for_inlining.insert(i.to_id(), init.take()); return; } } @@ -301,20 +320,6 @@ impl Optimizer<'_> { /// This method handles only [ClassDecl] and [FnDecl]. [VarDecl] should be /// handled specially. pub(super) fn store_decl_for_inlining(&mut self, decl: &mut Decl) { - if self.options.inline == 0 && !self.options.reduce_vars { - return; - } - - if (!self.options.top_level() && self.options.top_retain.is_empty()) - && self.ctx.in_top_level() - { - return; - } - - if self.has_noinline(decl.span()) { - return; - } - let i = match &*decl { Decl::Class(v) => v.ident.clone(), Decl::Fn(f) => { @@ -327,16 +332,61 @@ impl Optimizer<'_> { _ => return, }; + if cfg!(feature = "debug") { + log::trace!("inline: Trying to inline decl ({}{:?})", i.sym, i.span.ctxt); + } + + if self.options.inline == 0 && !self.options.reduce_vars { + if cfg!(feature = "debug") { + log::trace!("inline: [x] Inline disabled"); + } + return; + } + + if (!self.options.top_level() && self.options.top_retain.is_empty()) + && self.ctx.in_top_level() + { + if cfg!(feature = "debug") { + log::trace!("inline: [x] Top level"); + } + return; + } + + if self.has_noinline(decl.span()) { + if cfg!(feature = "debug") { + log::trace!("inline: [x] Has noinline"); + } + return; + } + // Respect `top_retain` if self.ctx.in_top_level() && self.options.top_retain.contains(&i.sym) { + if cfg!(feature = "debug") { + log::trace!("inline: [x] top_retain"); + } return; } if self.ctx.is_exported { + if cfg!(feature = "debug") { + log::trace!("inline: [x] exported"); + } return; } if self.ctx.inline_as_assignment { + if cfg!(feature = "debug") { + log::trace!("inline: [x] inline_as_assignment=true"); + } + return; + } + + if self + .data + .as_ref() + .map(|data| data.top.has_eval_call || data.top.has_with_stmt) + .unwrap_or_default() + { return; } @@ -346,10 +396,20 @@ impl Optimizer<'_> { .and_then(|data| data.vars.get(&i.to_id())) { if usage.declared_as_catch_param { + if cfg!(feature = "debug") { + log::trace!("inline: [x] Declared as a catch paramter"); + } return; } if usage.reassigned || usage.inline_prevented { + if cfg!(feature = "debug") { + log::trace!( + "inline: [x] reassigned = {}, inline_prevented = {}", + usage.reassigned, + usage.inline_prevented + ); + } return; } @@ -358,7 +418,9 @@ impl Optimizer<'_> { Decl::Fn(f) if self.options.inline >= 2 && f.ident.sym != *"arguments" => { match &f.function.body { Some(body) => { - if self.is_fn_body_simple_enough_to_inline(body) { + if !UsageFinder::find(&i, body) + && self.is_fn_body_simple_enough_to_inline(body) + { log::debug!( "inline: Decided to inline function '{}{:?}' as it's very \ simple", @@ -366,7 +428,7 @@ impl Optimizer<'_> { f.ident.span.ctxt ); - self.vars_for_inlining.insert( + self.state.vars_for_inlining.insert( i.to_id(), match decl { Decl::Fn(f) => Box::new(Expr::Fn(FnExpr { @@ -388,10 +450,23 @@ impl Optimizer<'_> { } // Single use => inlined + + // TODO(kdy1): + // + // (usage.is_fn_local || self.options.inline == 3) + // + // seems like a correct check, but it's way to aggressive. + // It does not break the code, but everything like _asyncToGenerator is inlined. + // if (self.options.reduce_vars || self.options.collapse_vars || self.options.inline != 0) && usage.ref_count == 1 && usage.is_fn_local && !usage.used_in_loop + && (match decl { + Decl::Class(..) => !usage.used_above_decl, + Decl::Fn(..) => true, + _ => false, + }) { match decl { Decl::Class(ClassDecl { class, .. }) => { @@ -421,23 +496,30 @@ impl Optimizer<'_> { _ => {} } - self.vars_for_inlining.insert( - i.to_id(), - match decl.take() { - Decl::Class(c) => Box::new(Expr::Class(ClassExpr { - ident: Some(c.ident), - class: c.class, - })), - Decl::Fn(f) => Box::new(Expr::Fn(FnExpr { - ident: Some(f.ident), - function: f.function, - })), - _ => { - unreachable!() - } - }, - ); + let e = match decl.take() { + Decl::Class(c) => Box::new(Expr::Class(ClassExpr { + ident: Some(c.ident), + class: c.class, + })), + Decl::Fn(f) => Box::new(Expr::Fn(FnExpr { + ident: Some(f.ident), + function: f.function, + })), + _ => { + unreachable!() + } + }; + if usage.used_above_decl { + self.state.inlined_vars.insert(i.to_id(), e); + } else { + self.state.vars_for_inlining.insert(i.to_id(), e); + } + return; + } else { + if cfg!(feature = "debug") { + log::trace!("inline: [x] Usage: {:?}", usage); + } } } } @@ -450,9 +532,6 @@ impl Optimizer<'_> { match e { Expr::Ident(i) => { - if self.has_noinline(i.span) { - return; - } // if let Some(value) = self .lits @@ -489,7 +568,7 @@ impl Optimizer<'_> { return; } - if let Some(value) = self.vars_for_inlining.get(&i.to_id()) { + if let Some(value) = self.state.vars_for_inlining.get(&i.to_id()) { if self.ctx.is_exact_lhs_of_assign && !is_valid_for_lhs(&value) { return; } @@ -505,7 +584,7 @@ impl Optimizer<'_> { } if self.ctx.inline_as_assignment { - if let Some(value) = self.vars_for_inlining.remove(&i.to_id()) { + if let Some(value) = self.state.vars_for_inlining.remove(&i.to_id()) { self.changed = true; log::debug!( "inline: Inlining '{}{:?}' using assignment", @@ -527,7 +606,7 @@ impl Optimizer<'_> { } } - if let Some(value) = self.vars_for_inlining.get(&i.to_id()) { + if let Some(value) = self.state.vars_for_inlining.get(&i.to_id()) { self.changed = true; log::debug!( "inline: Replacing '{}{:?}' with an expression", diff --git a/ecmascript/minifier/src/compress/optimize/join_vars.rs b/ecmascript/minifier/src/compress/optimize/join_vars.rs index 509f9102d54..49cad308be4 100644 --- a/ecmascript/minifier/src/compress/optimize/join_vars.rs +++ b/ecmascript/minifier/src/compress/optimize/join_vars.rs @@ -1,3 +1,5 @@ +use crate::compress::optimize::util::is_directive; + use super::Optimizer; use swc_ecma_ast::*; use swc_ecma_transforms_base::ext::MapWithMut; @@ -54,23 +56,44 @@ impl Optimizer<'_> { for stmt in stmts.take() { match stmt.try_into_stmt() { - Ok(stmt) => match stmt { - Stmt::Decl(Decl::Var(var)) => match &mut cur { - Some(v) if var.kind == v.kind => { - v.decls.extend(var.decls); - } - _ => { - new.extend(cur.take().map(Decl::Var).map(Stmt::Decl).map(T::from_stmt)); + Ok(stmt) => { + if is_directive(&stmt) { + new.push(T::from_stmt(stmt)); + continue; + } - cur = Some(var) - } - }, - Stmt::For(mut stmt) => match &mut stmt.init { - Some(VarDeclOrExpr::VarDecl(var)) => match &mut cur { - Some(cur) if cur.kind == var.kind => { - // Merge - cur.decls.append(&mut var.decls); - var.decls = cur.decls.take(); + match stmt { + Stmt::Decl(Decl::Var(var)) => match &mut cur { + Some(v) if var.kind == v.kind => { + v.decls.extend(var.decls); + } + _ => { + new.extend( + cur.take().map(Decl::Var).map(Stmt::Decl).map(T::from_stmt), + ); + + cur = Some(var) + } + }, + Stmt::For(mut stmt) => match &mut stmt.init { + Some(VarDeclOrExpr::VarDecl(var)) => match &mut cur { + Some(cur) if cur.kind == var.kind => { + // Merge + cur.decls.append(&mut var.decls); + var.decls = cur.decls.take(); + + new.push(T::from_stmt(Stmt::For(stmt))) + } + _ => { + new.extend( + cur.take().map(Decl::Var).map(Stmt::Decl).map(T::from_stmt), + ); + + new.push(T::from_stmt(Stmt::For(stmt))) + } + }, + None => { + stmt.init = cur.take().map(VarDeclOrExpr::VarDecl); new.push(T::from_stmt(Stmt::For(stmt))) } @@ -82,23 +105,13 @@ impl Optimizer<'_> { new.push(T::from_stmt(Stmt::For(stmt))) } }, - None => { - stmt.init = cur.take().map(VarDeclOrExpr::VarDecl); - - new.push(T::from_stmt(Stmt::For(stmt))) - } _ => { new.extend(cur.take().map(Decl::Var).map(Stmt::Decl).map(T::from_stmt)); - new.push(T::from_stmt(Stmt::For(stmt))) + new.push(T::from_stmt(stmt)) } - }, - _ => { - new.extend(cur.take().map(Decl::Var).map(Stmt::Decl).map(T::from_stmt)); - - new.push(T::from_stmt(stmt)) } - }, + } Err(item) => { new.extend(cur.take().map(Decl::Var).map(Stmt::Decl).map(T::from_stmt)); diff --git a/ecmascript/minifier/src/compress/optimize/misc.rs b/ecmascript/minifier/src/compress/optimize/misc.rs index acccb942673..626cc40cb8e 100644 --- a/ecmascript/minifier/src/compress/optimize/misc.rs +++ b/ecmascript/minifier/src/compress/optimize/misc.rs @@ -1,6 +1,5 @@ -use super::Optimizer; +use super::{util::is_valid_identifier, Optimizer}; use swc_ecma_ast::*; -use unicode_xid::UnicodeXID; impl Optimizer<'_> { pub(super) fn optimize_prop_name(&mut self, name: &mut PropName) { @@ -10,10 +9,7 @@ impl Optimizer<'_> { return; } - if s.value.starts_with(|c: char| c.is_xid_start()) - && s.value.chars().all(|c: char| c.is_xid_continue()) - && !s.value.contains("𝒶") - { + if is_valid_identifier(&s.value, false) { self.changed = true; log::debug!("misc: Optimizing string property name"); *name = PropName::Ident(Ident { diff --git a/ecmascript/minifier/src/compress/optimize/mod.rs b/ecmascript/minifier/src/compress/optimize/mod.rs index 5245b152004..ad1d88a1ef2 100644 --- a/ecmascript/minifier/src/compress/optimize/mod.rs +++ b/ecmascript/minifier/src/compress/optimize/mod.rs @@ -10,7 +10,6 @@ use std::fmt::Write; use std::mem::take; use swc_atoms::js_word; use swc_atoms::JsWord; -use swc_common::comments::Comments; use swc_common::iter::IdentifyLast; use swc_common::pass::Repeated; use swc_common::sync::Lrc; @@ -37,6 +36,8 @@ use swc_ecma_visit::VisitMutWith; use swc_ecma_visit::VisitWith; use Value::Known; +use self::util::replace_id_with_expr; + mod arguments; mod arrows; mod bools; @@ -65,13 +66,19 @@ mod util; const DISABLE_BUGGY_PASSES: bool = true; +#[derive(Debug, Default)] +pub(super) struct OptimizerState { + vars_for_inlining: FxHashMap>, + inlined_vars: FxHashMap>, +} + /// This pass is simillar to `node.optimize` of terser. pub(super) fn optimizer<'a>( cm: Lrc, marks: Marks, options: &'a CompressOptions, - comments: Option<&'a dyn Comments>, data: &'a ProgramData, + state: &'a mut OptimizerState, ) -> impl 'a + VisitMut + Repeated { assert!( options.top_retain.iter().all(|s| s.trim() != ""), @@ -83,13 +90,12 @@ pub(super) fn optimizer<'a>( Optimizer { cm, marks, - comments, changed: false, options, prepend_stmts: Default::default(), append_stmts: Default::default(), lits: Default::default(), - vars_for_inlining: Default::default(), + state, vars_for_prop_hoisting: Default::default(), simple_props: Default::default(), _simple_array_values: Default::default(), @@ -198,8 +204,6 @@ struct Optimizer<'a> { marks: Marks, - comments: Option<&'a dyn Comments>, - changed: bool, options: &'a CompressOptions, @@ -212,7 +216,9 @@ struct Optimizer<'a> { /// /// Used for inlining. lits: FxHashMap>, - vars_for_inlining: FxHashMap>, + + state: &'a mut OptimizerState, + vars_for_prop_hoisting: FxHashMap>, /// Used for `hoist_props`. simple_props: FxHashMap<(Id, JsWord), Box>, @@ -1031,6 +1037,8 @@ impl Optimizer<'_> { } Expr::Cond(cond) => { + log::debug!("ignore_return_value: Cond expr"); + self.restore_negated_iife(cond); let ctx = Ctx { @@ -1549,6 +1557,8 @@ impl VisitMut for Optimizer<'_> { } fn visit_mut_call_expr(&mut self, e: &mut CallExpr) { + let inline_prevented = self.ctx.inline_prevented || self.has_noinline(e.span); + let is_this_undefined = match &e.callee { ExprOrSuper::Super(_) => false, ExprOrSuper::Expr(e) => e.is_ident(), @@ -1556,6 +1566,7 @@ impl VisitMut for Optimizer<'_> { { let ctx = Ctx { is_callee: true, + inline_prevented, is_this_aware_callee: is_this_undefined || match &e.callee { ExprOrSuper::Super(_) => false, @@ -1589,8 +1600,9 @@ impl VisitMut for Optimizer<'_> { { let ctx = Ctx { - is_this_aware_callee: false, in_call_arg: true, + inline_prevented, + is_this_aware_callee: false, ..self.ctx }; // TODO: Prevent inline if callee is unknown. @@ -2036,6 +2048,8 @@ impl VisitMut for Optimizer<'_> { n.prop.visit_mut_with(&mut *self.with_ctx(ctx)); } + self.optimize_property_of_member_expr(n); + self.handle_known_computed_member_expr(n); } @@ -2046,6 +2060,11 @@ impl VisitMut for Optimizer<'_> { }; self.with_ctx(ctx).handle_stmt_likes(stmts); + for (from, to) in self.state.inlined_vars.drain() { + log::debug!("inline: Inlining `{}{:?}`", from.0, from.1); + replace_id_with_expr(stmts, from, to); + } + stmts.retain(|s| match s { ModuleItem::Stmt(Stmt::Empty(..)) => false, _ => true, @@ -2153,6 +2172,8 @@ impl VisitMut for Optimizer<'_> { self.shift_assignment(n); + self.merge_seq_call(n); + { let exprs = n .exprs diff --git a/ecmascript/minifier/src/compress/optimize/properties.rs b/ecmascript/minifier/src/compress/optimize/properties.rs index ff84fafb4a7..23657e58890 100644 --- a/ecmascript/minifier/src/compress/optimize/properties.rs +++ b/ecmascript/minifier/src/compress/optimize/properties.rs @@ -1,3 +1,4 @@ +use super::util::is_valid_identifier; use crate::compress::optimize::Optimizer; use crate::util::deeply_contains_this_expr; use swc_atoms::js_word; @@ -7,6 +8,45 @@ use swc_ecma_utils::prop_name_eq; use swc_ecma_utils::ExprExt; impl Optimizer<'_> { + pub(super) fn optimize_property_of_member_expr(&mut self, e: &mut MemberExpr) { + if !e.computed { + return; + } + if !self.options.props { + return; + } + + match &e.obj { + ExprOrSuper::Expr(obj) => match &**obj { + Expr::Array(..) | Expr::Await(..) | Expr::Yield(..) | Expr::Lit(..) => return, + _ => {} + }, + _ => {} + } + + match &*e.prop { + Expr::Lit(Lit::Str(s)) => { + if is_valid_identifier(&s.value, true) { + self.changed = true; + log::debug!( + "properties: Computed member => member expr with identifier as a prop" + ); + + e.computed = false; + e.prop = Box::new(Expr::Ident(Ident { + span: s.span.with_ctxt(SyntaxContext::empty()), + sym: s.value.clone(), + optional: false, + })); + + return; + } + } + + _ => {} + } + } + /// Converts `{ a: 1 }.a` into `1`. pub(super) fn handle_property_access(&mut self, e: &mut Expr) { if !self.options.props { diff --git a/ecmascript/minifier/src/compress/optimize/sequences.rs b/ecmascript/minifier/src/compress/optimize/sequences.rs index b1698333a50..67c2c8ffb6a 100644 --- a/ecmascript/minifier/src/compress/optimize/sequences.rs +++ b/ecmascript/minifier/src/compress/optimize/sequences.rs @@ -1,18 +1,18 @@ use super::{is_pure_undefined, Optimizer}; -use crate::compress::optimize::util::{get_lhs_ident, get_lhs_ident_mut}; -use crate::compress::optimize::Ctx; +use crate::compress::optimize::util::{ + get_lhs_ident, get_lhs_ident_mut, is_directive, replace_id_with_expr, +}; use crate::debug::dump; use crate::util::{idents_used_by, idents_used_by_ignoring_nested, ExprOptExt}; use retain_mut::RetainMut; -use std::collections::HashMap; use std::mem::take; use swc_atoms::js_word; -use swc_common::Spanned; use swc_common::DUMMY_SP; +use swc_common::{Spanned, SyntaxContext}; use swc_ecma_ast::*; use swc_ecma_transforms_base::ext::MapWithMut; use swc_ecma_utils::ident::IdentLike; -use swc_ecma_utils::{contains_this_expr, undefined, ExprExt, Id, StmtLike}; +use swc_ecma_utils::{contains_this_expr, undefined, ExprExt, ExprFactory, Id, StmtLike}; use swc_ecma_visit::noop_visit_type; use swc_ecma_visit::Node; use swc_ecma_visit::Visit; @@ -64,7 +64,11 @@ impl Optimizer<'_> { stmts .windows(2) .any(|stmts| match (stmts[0].as_stmt(), stmts[1].as_stmt()) { - (Some(Stmt::Expr(..)), Some(r)) => { + (Some(l @ Stmt::Expr(..)), Some(r)) => { + if is_directive(&l) || is_directive(&r) { + return false; + } + // If an expression contains `in` and following statement is for loop, // we should not merge it. @@ -75,7 +79,7 @@ impl Optimizer<'_> { | Stmt::If(..) | Stmt::Switch(..) | Stmt::With(..) - | Stmt::Return(ReturnStmt { arg: Some(..), .. }) + | Stmt::Return(ReturnStmt { .. }) | Stmt::Throw(ThrowStmt { .. }) | Stmt::For(ForStmt { init: None, .. }) | Stmt::For(ForStmt { @@ -138,6 +142,10 @@ impl Optimizer<'_> { for stmt in stmts.take() { match stmt.try_into_stmt() { Ok(stmt) => { + if is_directive(&stmt) { + new_stmts.push(T::from_stmt(stmt)); + continue; + } // If match stmt { Stmt::Expr(stmt) => { @@ -325,6 +333,95 @@ impl Optimizer<'_> { *stmts = new_stmts; } + /// `(a = foo, a.apply())` => `(a = foo).apply()` + /// + /// This is useful for outputs of swc/babel + pub(super) fn merge_seq_call(&mut self, e: &mut SeqExpr) { + if !self.options.sequences() { + return; + } + + for idx in 0..e.exprs.len() { + let (e1, e2) = e.exprs.split_at_mut(idx); + + let a = match e1.last_mut() { + Some(v) => &mut **v, + None => continue, + }; + + let b = match e2.first_mut() { + Some(v) => &mut **v, + None => continue, + }; + + match (&mut *a, &mut *b) { + ( + Expr::Assign(a_assign), + Expr::Call(CallExpr { + callee: ExprOrSuper::Expr(b_callee), + args, + .. + }), + ) => { + let var_name = get_lhs_ident(&a_assign.left); + let var_name = match var_name { + Some(v) => v, + None => continue, + }; + + match &mut **b_callee { + Expr::Member(MemberExpr { + obj: ExprOrSuper::Expr(b_callee_obj), + computed: false, + prop, + .. + }) => { + // + if !b_callee_obj.is_ident_ref_to(var_name.sym.clone()) { + continue; + } + + match &**prop { + Expr::Ident(Ident { sym, .. }) => match &**sym { + "apply" | "call" => {} + _ => continue, + }, + _ => {} + } + + let span = a_assign.span.with_ctxt(SyntaxContext::empty()); + + let obj = a.take(); + + let new = Expr::Call(CallExpr { + span, + callee: MemberExpr { + span: DUMMY_SP, + obj: obj.as_obj(), + prop: prop.take(), + computed: false, + } + .as_callee(), + args: args.take(), + type_args: Default::default(), + }); + b.take(); + self.changed = true; + log::debug!( + "sequences: Reducing `(a = foo, a.call())` to `((a = foo).call())`" + ); + + *a = new; + } + _ => {} + }; + } + + _ => {} + } + } + } + /// /// - `(a, b, c) && d` => `a, b, c && d` pub(super) fn lift_seqs_of_bin(&mut self, e: &mut Expr) { @@ -715,6 +812,9 @@ impl Optimizer<'_> { Stmt::Return(ReturnStmt { arg: Some(arg), .. }) => { vec![Mergable::Expr(&mut **arg)] } + Stmt::If(s) => { + vec![Mergable::Expr(&mut *s.test)] + } _ => return None, }) @@ -728,11 +828,20 @@ impl Optimizer<'_> { let mut buf = vec![]; for stmt in stmts.iter_mut() { + let is_end = match stmt { + Stmt::If(..) => true, + _ => false, + }; + let items = exprs_of(stmt); if let Some(items) = items { buf.extend(items) } else { exprs.push(take(&mut buf)); + continue; + } + if is_end { + exprs.push(take(&mut buf)); } } @@ -1344,20 +1453,12 @@ impl Optimizer<'_> { left_id.span.ctxt ); - let ctx = Ctx { - inline_as_assignment: false, - ..self.ctx + let to = match a { + Mergable::Var(a) => a.init.take().unwrap_or_else(|| undefined(DUMMY_SP)), + Mergable::Expr(a) => Box::new(a.take()), }; - let mut vars = HashMap::default(); - vars.insert( - left_id.to_id(), - match a { - Mergable::Var(a) => a.init.take().unwrap_or_else(|| undefined(DUMMY_SP)), - Mergable::Expr(a) => Box::new(a.take()), - }, - ); - self.with_ctx(ctx).inline_vars_in_node(b, vars); + replace_id_with_expr(b, left_id.to_id(), to); true } diff --git a/ecmascript/minifier/src/compress/optimize/unused.rs b/ecmascript/minifier/src/compress/optimize/unused.rs index 8938ba702af..8193b6e0c93 100644 --- a/ecmascript/minifier/src/compress/optimize/unused.rs +++ b/ecmascript/minifier/src/compress/optimize/unused.rs @@ -2,7 +2,6 @@ use super::Optimizer; use crate::compress::optimize::util::class_has_side_effect; use crate::debug::dump; use crate::option::PureGetterOption; -use crate::util::has_mark; use swc_atoms::js_word; use swc_common::Span; use swc_common::DUMMY_SP; @@ -154,7 +153,7 @@ impl Optimizer<'_> { name: &mut Pat, init: Option<&mut Expr>, ) { - let has_mark = has_mark(var_declarator_span, self.marks.non_top_level); + let has_mark = var_declarator_span.has_mark(self.marks.non_top_level); if !has_mark { if !self.options.unused @@ -240,7 +239,7 @@ impl Optimizer<'_> { match name { Pat::Ident(i) => { - if !has_mark(parent_span, self.marks.non_top_level) + if !parent_span.has_mark(self.marks.non_top_level) && self.options.top_retain.contains(&i.id.sym) { return; @@ -425,7 +424,7 @@ impl Optimizer<'_> { _ => return, }; - let has_mark = has_mark(assign.span, self.marks.non_top_level); + let has_mark = assign.span.has_mark(self.marks.non_top_level); if !has_mark && !self.options.unused { return; @@ -485,7 +484,7 @@ impl Optimizer<'_> { .as_ref() .and_then(|data| data.vars.get(&i.to_id())) { - if var.is_fn_local && var.usage_count == 0 { + if var.is_fn_local && var.usage_count == 0 && var.declared { log::debug!( "unused: Dropping assignment to var '{}{:?}', which is never used", i.id.sym, diff --git a/ecmascript/minifier/src/compress/optimize/util.rs b/ecmascript/minifier/src/compress/optimize/util.rs index 83c53c6c582..6052dfb2989 100644 --- a/ecmascript/minifier/src/compress/optimize/util.rs +++ b/ecmascript/minifier/src/compress/optimize/util.rs @@ -3,13 +3,15 @@ use super::Optimizer; use std::ops::Deref; use std::ops::DerefMut; use swc_atoms::JsWord; -use swc_common::comments::Comment; -use swc_common::comments::CommentKind; -use swc_common::Mark; use swc_common::Span; use swc_ecma_ast::*; use swc_ecma_utils::prop_name_eq; use swc_ecma_utils::ExprExt; +use swc_ecma_utils::Id; +use swc_ecma_visit::noop_visit_mut_type; +use swc_ecma_visit::VisitMut; +use swc_ecma_visit::VisitMutWith; +use unicode_xid::UnicodeXID; impl<'b> Optimizer<'b> { pub(super) fn line_col(&self, span: Span) -> String { @@ -73,79 +75,17 @@ impl<'b> Optimizer<'b> { /// Check for `/** @const */`. pub(super) fn has_const_ann(&self, span: Span) -> bool { - self.find_comment(span, |c| { - if c.kind == CommentKind::Block { - if !c.text.starts_with('*') { - return false; - } - let t = c.text[1..].trim(); - // - if t.starts_with("@const") { - return true; - } - } - - false - }) + span.has_mark(self.marks.const_ann) } /// Check for `/*#__NOINLINE__*/` pub(super) fn has_noinline(&self, span: Span) -> bool { - self.has_flag(span, "NOINLINE") - } - - fn find_comment(&self, span: Span, mut op: F) -> bool - where - F: FnMut(&Comment) -> bool, - { - let mut found = false; - if let Some(comments) = self.comments { - let cs = comments.get_leading(span.lo); - if let Some(cs) = cs { - for c in &cs { - found |= op(&c); - if found { - break; - } - } - } - } - - found - } - - fn has_flag(&self, span: Span, text: &'static str) -> bool { - self.find_comment(span, |c| { - if c.kind == CommentKind::Block { - // - if c.text.len() == (text.len() + 5) - && c.text.starts_with("#__") - && c.text.ends_with("__") - && text == &c.text[3..c.text.len() - 2] - { - return true; - } - } - - false - }) + span.has_mark(self.marks.noinline) } #[allow(unused)] pub(super) fn is_done(&mut self, span: Span) -> bool { - let mut ctxt = span.ctxt; - if ctxt == self.done_ctxt { - return true; - } - loop { - let mark = ctxt.remove_mark(); - if mark == Mark::root() { - return false; - } - if mark == self.done { - return true; - } - } + span.has_mark(self.done) } /// RAII guard to change context temporarically @@ -271,3 +211,57 @@ pub(crate) fn is_valid_for_lhs(e: &Expr) -> bool { _ => true, } } + +pub(crate) fn is_directive(e: &Stmt) -> bool { + match e { + Stmt::Expr(s) => match &*s.expr { + Expr::Lit(Lit::Str(Str { value, .. })) => value.starts_with("use "), + _ => false, + }, + _ => false, + } +} + +pub(crate) fn is_valid_identifier(s: &str, ascii_only: bool) -> bool { + if ascii_only { + if s.chars().any(|c| !c.is_ascii()) { + return false; + } + } + + s.starts_with(|c: char| c.is_xid_start()) + && s.chars().all(|c: char| c.is_xid_continue()) + && !s.contains("𝒶") + && !s.is_reserved() +} + +pub(crate) fn replace_id_with_expr(node: &mut N, from: Id, to: Box) +where + N: VisitMutWith, +{ + node.visit_mut_with(&mut ExprReplacer { from, to: Some(to) }) +} + +pub(crate) struct ExprReplacer { + from: Id, + to: Option>, +} + +impl VisitMut for ExprReplacer { + noop_visit_mut_type!(); + + fn visit_mut_expr(&mut self, e: &mut Expr) { + e.visit_mut_children_with(self); + + match e { + Expr::Ident(i) => { + if self.from.0 == i.sym && self.from.1 == i.span.ctxt { + if let Some(new) = self.to.take() { + *e = *new; + } + } + } + _ => {} + } + } +} diff --git a/ecmascript/minifier/src/hygiene.rs b/ecmascript/minifier/src/hygiene.rs index c2f6091be82..9e75eeff93b 100644 --- a/ecmascript/minifier/src/hygiene.rs +++ b/ecmascript/minifier/src/hygiene.rs @@ -1,29 +1,135 @@ +use crate::marks::Marks; +use swc_common::comments::Comment; +use swc_common::comments::CommentKind; +use swc_common::comments::Comments; use swc_common::Mark; use swc_common::Span; use swc_common::SyntaxContext; use swc_ecma_ast::*; use swc_ecma_visit::noop_visit_mut_type; use swc_ecma_visit::VisitMut; +use swc_ecma_visit::VisitMutWith; -/// Makes all nodes except identifiers unique in aspect of span hygiene. -pub(crate) fn unique_marker() -> impl VisitMut { - UniqueMarker +/// This pass analyzes the comment +/// +/// - Makes all nodes except identifiers unique in aspect of span hygiene. +/// - Convert annottatinos into [Mark]. +pub(crate) fn info_marker<'a>( + comments: Option<&'a dyn Comments>, + marks: Marks, +) -> impl 'a + VisitMut { + InfoMarker { comments, marks } } -struct UniqueMarker; +struct InfoMarker<'a> { + comments: Option<&'a dyn Comments>, + marks: Marks, +} -impl VisitMut for UniqueMarker { - noop_visit_mut_type!(); - - fn visit_mut_ident(&mut self, _: &mut Ident) {} - - fn visit_mut_span(&mut self, span: &mut Span) { +impl InfoMarker<'_> { + fn make_unique(&self, span: &mut Span) { debug_assert_eq!( span.ctxt, SyntaxContext::empty(), - "unique_marker: Expected empty syntax context" + "Expected empty syntax context" ); span.ctxt = span.ctxt.apply_mark(Mark::fresh(Mark::root())); } + + /// Check for `/** @const */`. + pub(super) fn has_const_ann(&self, span: Span) -> bool { + self.find_comment(span, |c| { + if c.kind == CommentKind::Block { + if !c.text.starts_with('*') { + return false; + } + let t = c.text[1..].trim(); + // + if t.starts_with("@const") { + return true; + } + } + + false + }) + } + + /// Check for `/*#__NOINLINE__*/` + pub(super) fn has_noinline(&self, span: Span) -> bool { + self.has_flag(span, "NOINLINE") + } + + fn find_comment(&self, span: Span, mut op: F) -> bool + where + F: FnMut(&Comment) -> bool, + { + let mut found = false; + if let Some(comments) = self.comments { + let cs = comments.get_leading(span.lo); + if let Some(cs) = cs { + for c in &cs { + found |= op(&c); + if found { + break; + } + } + } + } + + found + } + + fn has_flag(&self, span: Span, text: &'static str) -> bool { + self.find_comment(span, |c| { + if c.kind == CommentKind::Block { + // + if c.text.len() == (text.len() + 5) + && c.text.starts_with("#__") + && c.text.ends_with("__") + && text == &c.text[3..c.text.len() - 2] + { + return true; + } + } + + false + }) + } +} + +impl VisitMut for InfoMarker<'_> { + noop_visit_mut_type!(); + + fn visit_mut_block_stmt(&mut self, n: &mut BlockStmt) { + n.visit_mut_children_with(self); + + self.make_unique(&mut n.span); + } + + fn visit_mut_call_expr(&mut self, n: &mut CallExpr) { + n.visit_mut_children_with(self); + + if self.has_noinline(n.span) { + n.span = n.span.apply_mark(self.marks.noinline); + } + } + + fn visit_mut_function(&mut self, n: &mut Function) { + n.visit_mut_children_with(self); + + self.make_unique(&mut n.span); + } + + fn visit_mut_ident(&mut self, _: &mut Ident) {} + + fn visit_mut_lit(&mut self, _: &mut Lit) {} + + fn visit_mut_var_decl(&mut self, n: &mut VarDecl) { + n.visit_mut_children_with(self); + + if self.has_const_ann(n.span) { + n.span = n.span.apply_mark(self.marks.const_ann); + } + } } diff --git a/ecmascript/minifier/src/lib.rs b/ecmascript/minifier/src/lib.rs index 8a53a5b72e0..6464f729ad9 100644 --- a/ecmascript/minifier/src/lib.rs +++ b/ecmascript/minifier/src/lib.rs @@ -13,7 +13,7 @@ //! `visit_mut_module_items`. use crate::compress::compressor; -use crate::hygiene::unique_marker; +use crate::hygiene::info_marker; use crate::marks::Marks; use crate::option::ExtraOptions; use crate::option::MinifyOptions; @@ -77,13 +77,13 @@ pub fn optimize( if let Some(options) = &options.compress { let start = now(); - m.visit_mut_with(&mut precompress_optimizer(options.clone())); + m.visit_mut_with(&mut precompress_optimizer(options, marks)); if let Some(start) = start { log::info!("precompress took {:?}", Instant::now() - start); } } - m.visit_mut_with(&mut unique_marker()); + m.visit_mut_with(&mut info_marker(comments, marks)); if options.wrap { // TODO: wrap_common_js @@ -114,7 +114,7 @@ pub fn optimize( } if let Some(options) = &options.compress { let start = now(); - m = m.fold_with(&mut compressor(cm.clone(), marks, &options, comments)); + m = m.fold_with(&mut compressor(cm.clone(), marks, &options)); if let Some(start) = start { log::info!("compressor took {:?}", Instant::now() - start); } @@ -142,11 +142,11 @@ pub fn optimize( // TODO: base54.reset(); let char_freq_info = compute_char_freq(&m); - m.visit_mut_with(&mut name_mangler(mangle.clone(), char_freq_info)); + m.visit_mut_with(&mut name_mangler(mangle.clone(), char_freq_info, marks)); } if let Some(property_mangle_options) = options.mangle.as_ref().and_then(|o| o.props.as_ref()) { - mangle_properties(&mut m, property_mangle_options.clone()); + mangle_properties(&mut m, property_mangle_options.clone(), marks); } if let Some(ref mut t) = timings { @@ -154,7 +154,7 @@ pub fn optimize( } { - let data = analyze(&m); + let data = analyze(&m, marks); m.visit_mut_with(&mut hygiene_optimizer(data, extra.top_level_mark)); } diff --git a/ecmascript/minifier/src/marks.rs b/ecmascript/minifier/src/marks.rs index 84d9cd6e92c..5fa01230163 100644 --- a/ecmascript/minifier/src/marks.rs +++ b/ecmascript/minifier/src/marks.rs @@ -5,6 +5,26 @@ pub(crate) struct Marks { /// [Mark] applied to non-top level varaibles which is injected while /// inlining. pub(crate) non_top_level: Mark, + + /// Optimization is finished. This mark is only applied if both of the + /// stateful optimizer and the pure optimizer cannot optimize anymore. + pub(crate) done: Mark, + + /// Temporary mark, used to mark nodes which cannot be optimized by the pure + /// optimizer. + /// + /// The stateful optimizer removes this mark if it modified the node, so + /// that the pure optimizer can try again to optimize the node. + pub(crate) pure_done: Mark, + + /// `/** @const */`. + pub(crate) const_ann: Mark, + + /// Check for `/*#__NOINLINE__*/` + pub(crate) noinline: Mark, + + /// Check for `/*#__PURE__*/` + pub(crate) pure: Mark, } impl Marks { @@ -13,6 +33,13 @@ impl Marks { Mark::fresh(Mark::root()) } - Marks { non_top_level: m() } + Marks { + non_top_level: m(), + done: m(), + pure_done: m(), + const_ann: m(), + noinline: m(), + pure: m(), + } } } diff --git a/ecmascript/minifier/src/pass/hygiene/analyzer.rs b/ecmascript/minifier/src/pass/hygiene/analyzer.rs index 45d5457f23d..42d5cc94cc5 100644 --- a/ecmascript/minifier/src/pass/hygiene/analyzer.rs +++ b/ecmascript/minifier/src/pass/hygiene/analyzer.rs @@ -1,7 +1,4 @@ -use crate::{ - analyzer::{ProgramData, ScopeData}, - util::has_mark, -}; +use crate::analyzer::{ProgramData, ScopeData}; use fxhash::FxHashSet; use swc_common::{Mark, SyntaxContext}; use swc_ecma_ast::*; @@ -83,7 +80,7 @@ impl Visit for HygieneAnalyzer<'_> { return; } - if has_mark(i.span, self.top_level_mark) { + if i.span.has_mark(self.top_level_mark) { return; } diff --git a/ecmascript/minifier/src/pass/hygiene/mod.rs b/ecmascript/minifier/src/pass/hygiene/mod.rs index eb689088300..a96a12983ab 100644 --- a/ecmascript/minifier/src/pass/hygiene/mod.rs +++ b/ecmascript/minifier/src/pass/hygiene/mod.rs @@ -1,10 +1,10 @@ -use std::time::Instant; - use crate::analyzer::analyze; use crate::analyzer::ProgramData; +use crate::marks::Marks; use crate::pass::hygiene::analyzer::HygieneAnalyzer; use crate::pass::hygiene::analyzer::HygieneData; use crate::util::now; +use std::time::Instant; use swc_common::Mark; use swc_common::SyntaxContext; use swc_common::DUMMY_SP; @@ -17,8 +17,11 @@ use swc_ecma_visit::VisitWith; mod analyzer; +/// Optimize hygiene info to get minified output. +/// +/// Requires [swc_common::GLOBALS]. pub fn optimize_hygiene(m: &mut Module, top_level_mark: Mark) { - let data = analyze(&*m); + let data = analyze(&*m, Marks::new()); m.visit_mut_with(&mut hygiene_optimizer(data, top_level_mark)) } diff --git a/ecmascript/minifier/src/pass/mangle_names/mod.rs b/ecmascript/minifier/src/pass/mangle_names/mod.rs index 72f97716027..3fcdafe3c4d 100644 --- a/ecmascript/minifier/src/pass/mangle_names/mod.rs +++ b/ecmascript/minifier/src/pass/mangle_names/mod.rs @@ -2,8 +2,9 @@ use self::preserver::idents_to_preserve; use super::compute_char_freq::CharFreqInfo; use crate::analyzer::analyze; use crate::analyzer::ProgramData; +use crate::marks::Marks; use crate::option::MangleOptions; -use crate::util::base54::base54; +use crate::util::base54::incr_base54; use fxhash::FxHashMap; use fxhash::FxHashSet; use swc_atoms::JsWord; @@ -17,14 +18,25 @@ use swc_ecma_visit::VisitMutWith; mod preserver; -pub fn name_mangler(options: MangleOptions, _char_freq_info: CharFreqInfo) -> impl VisitMut { +pub(crate) fn name_mangler( + options: MangleOptions, + _char_freq_info: CharFreqInfo, + marks: Marks, +) -> impl VisitMut { Mangler { options, - ..Default::default() + n: 0, + private_n: 0, + preserved: Default::default(), + preserved_symbols: Default::default(), + renamed: Default::default(), + renamed_private: Default::default(), + data: Default::default(), + marks, } } -#[derive(Debug, Default)] +#[derive(Debug)] struct Mangler { options: MangleOptions, n: usize, @@ -35,6 +47,8 @@ struct Mangler { renamed: FxHashMap, renamed_private: FxHashMap, data: Option, + + marks: Marks, } impl Mangler { @@ -56,16 +70,9 @@ impl Mangler { } loop { - let sym = match base54(self.n) { - Some(v) => v, - None => { - self.n += 1; - continue; - } - }; + let sym = incr_base54(&mut self.n); let sym: JsWord = sym.into(); - self.n += 1; if self.preserved_symbols.contains(&sym) { continue; } @@ -84,16 +91,9 @@ impl Mangler { cached.clone() } else { loop { - let sym = match base54(self.private_n) { - Some(v) => v, - None => { - self.private_n += 1; - continue; - } - }; + let sym = incr_base54(&mut self.private_n); let sym: JsWord = sym.into(); - self.private_n += 1; self.renamed_private.insert(id.clone(), sym.clone()); @@ -167,7 +167,7 @@ impl VisitMut for Mangler { } fn visit_mut_module(&mut self, n: &mut Module) { - let data = analyze(&*n); + let data = analyze(&*n, self.marks); self.data = Some(data); self.preserved = idents_to_preserve(self.options.clone(), n); self.preserved_symbols = self.preserved.iter().map(|v| v.0.clone()).collect(); @@ -200,7 +200,7 @@ impl VisitMut for Mangler { } fn visit_mut_script(&mut self, n: &mut Script) { - let data = analyze(&*n); + let data = analyze(&*n, self.marks); self.data = Some(data); self.preserved = idents_to_preserve(self.options.clone(), n); self.preserved_symbols = self.preserved.iter().map(|v| v.0.clone()).collect(); diff --git a/ecmascript/minifier/src/pass/mangle_props.rs b/ecmascript/minifier/src/pass/mangle_props.rs index e516fb0485f..22b0c08c4ac 100644 --- a/ecmascript/minifier/src/pass/mangle_props.rs +++ b/ecmascript/minifier/src/pass/mangle_props.rs @@ -1,7 +1,8 @@ use crate::analyzer::analyze; use crate::analyzer::ProgramData; +use crate::marks::Marks; use crate::option::ManglePropertiesOptions; -use crate::util::base54::base54; +use crate::util::base54::incr_base54; use once_cell::sync::Lazy; use std::collections::{HashMap, HashSet}; use swc_atoms::JsWord; @@ -92,14 +93,7 @@ impl ManglePropertiesState { Some(cached.clone()) } else { loop { - let n = self.n; - self.n += 1; - let sym = match base54(n) { - Some(v) => v, - None => { - continue; - } - }; + let sym = incr_base54(&mut self.n); let mangled_name: JsWord = sym.into(); self.cache.insert(name.clone(), mangled_name.clone()); @@ -112,13 +106,17 @@ impl ManglePropertiesState { } } -pub fn mangle_properties<'a>(m: &mut Module, options: ManglePropertiesOptions) { +pub(crate) fn mangle_properties<'a>( + m: &mut Module, + options: ManglePropertiesOptions, + marks: Marks, +) { let mut state = ManglePropertiesState { options, ..Default::default() }; - let data = analyze(&*m); + let data = analyze(&*m, marks); m.visit_mut_with(&mut PropertyCollector { state: &mut state, data, diff --git a/ecmascript/minifier/src/pass/precompress.rs b/ecmascript/minifier/src/pass/precompress.rs index aa0512b2f2b..ef0246ce4ec 100644 --- a/ecmascript/minifier/src/pass/precompress.rs +++ b/ecmascript/minifier/src/pass/precompress.rs @@ -1,30 +1,38 @@ use crate::{ - analyzer::{analyze, ProgramData}, + analyzer::{analyze, ProgramData, UsageAnalyzer}, + marks::Marks, option::CompressOptions, + util::MoudleItemExt, }; use fxhash::FxHashMap; use swc_atoms::js_word; use swc_ecma_ast::*; use swc_ecma_transforms_base::ext::MapWithMut; use swc_ecma_utils::{ident::IdentLike, Id}; -use swc_ecma_visit::{noop_visit_mut_type, VisitMut, VisitMutWith}; +use swc_ecma_visit::{noop_visit_mut_type, VisitMut, VisitMutWith, VisitWith}; /// Optimizer invoked before invoking compressor. /// /// - Remove parens. -pub fn precompress_optimizer(options: CompressOptions) -> impl VisitMut { +pub(crate) fn precompress_optimizer<'a>( + options: &'a CompressOptions, + marks: Marks, +) -> impl 'a + VisitMut { PrecompressOptimizer { options, + marks, data: Default::default(), fn_decl_count: Default::default(), ctx: Default::default(), } } -#[derive(Debug, Default)] -struct PrecompressOptimizer { - options: CompressOptions, - data: ProgramData, +#[derive(Debug)] +struct PrecompressOptimizer<'a> { + options: &'a CompressOptions, + marks: Marks, + + data: Option, fn_decl_count: FxHashMap, ctx: Ctx, } @@ -34,7 +42,51 @@ struct Ctx { in_var_pat: bool, } -impl VisitMut for PrecompressOptimizer { +impl PrecompressOptimizer<'_> { + fn handle_stmts(&mut self, stmts: &mut Vec) + where + T: for<'aa> VisitMutWith> + MoudleItemExt, + Vec: for<'aa> VisitMutWith> + VisitWith, + { + if self.data.is_some() { + stmts.visit_mut_children_with(self); + return; + } + + if self.data.is_none() { + let has_decl = stmts.iter().any(|stmt| match stmt.as_module_decl() { + Ok(..) | Err(Stmt::Decl(..)) => true, + _ => false, + }); + + if has_decl { + let data = Some(analyze(&*stmts, self.marks)); + + stmts.visit_mut_children_with(&mut PrecompressOptimizer { + options: self.options, + marks: self.marks, + data, + fn_decl_count: Default::default(), + ctx: self.ctx, + }); + return; + } + + for stmt in stmts { + stmt.visit_mut_with(&mut PrecompressOptimizer { + options: self.options, + marks: self.marks, + data: None, + fn_decl_count: Default::default(), + ctx: self.ctx, + }) + } + return; + } + } +} + +impl VisitMut for PrecompressOptimizer<'_> { noop_visit_mut_type!(); fn visit_mut_decl(&mut self, n: &mut Decl) { @@ -65,7 +117,7 @@ impl VisitMut for PrecompressOptimizer { n.visit_mut_children_with(self); if self.options.dead_code || self.options.unused { - if let Some(usage) = self.data.vars.get(&n.ident.to_id()) { + if let Some(usage) = self.data.as_ref().unwrap().vars.get(&n.ident.to_id()) { // Remove if variable with same name exists. if usage.var_kind.is_some() && usage.var_initialized { n.ident.take(); @@ -84,13 +136,6 @@ impl VisitMut for PrecompressOptimizer { } } - fn visit_mut_module(&mut self, n: &mut Module) { - let data = analyze(&*n); - self.data = data; - - n.visit_mut_children_with(self); - } - fn visit_mut_module_item(&mut self, n: &mut ModuleItem) { n.visit_mut_children_with(self); @@ -106,7 +151,7 @@ impl VisitMut for PrecompressOptimizer { } fn visit_mut_module_items(&mut self, n: &mut Vec) { - n.visit_mut_children_with(self); + self.handle_stmts(n); n.retain(|s| match s { ModuleItem::Stmt(Stmt::Empty(..)) => false, @@ -114,13 +159,6 @@ impl VisitMut for PrecompressOptimizer { }); } - fn visit_mut_script(&mut self, n: &mut Script) { - let data = analyze(&*n); - self.data = data; - - n.visit_mut_children_with(self); - } - fn visit_mut_stmt(&mut self, n: &mut Stmt) { n.visit_mut_children_with(self); @@ -133,7 +171,7 @@ impl VisitMut for PrecompressOptimizer { } fn visit_mut_stmts(&mut self, n: &mut Vec) { - n.visit_mut_children_with(self); + self.handle_stmts(n); n.retain(|s| match s { Stmt::Empty(..) => false, diff --git a/ecmascript/minifier/src/util/base54.rs b/ecmascript/minifier/src/util/base54.rs index 48668323c80..fa6c6a164df 100644 --- a/ecmascript/minifier/src/util/base54.rs +++ b/ecmascript/minifier/src/util/base54.rs @@ -1,10 +1,15 @@ -const CHARS: &[u8] = b"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; +use swc_ecma_ast::IdentExt; + +const CHARS: &[u8] = b"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_0123456789"; /// Note: This returns `a` for 0. /// /// Returns [None] if the value is is not a valid ideitifer. -pub(crate) fn base54(init: usize) -> Option { - let mut n = init; +pub(crate) fn incr_base54(init: &mut usize) -> String { + let mut n = *init; + + *init += 1; + let mut ret = String::new(); let mut base = 54; @@ -16,7 +21,7 @@ pub(crate) fn base54(init: usize) -> Option { let c = CHARS[n % base] as char; if ret.is_empty() && c.is_digit(10) { - return None; + return incr_base54(init); } ret.push(c); @@ -25,9 +30,54 @@ pub(crate) fn base54(init: usize) -> Option { base = 64; } - if ret == "do" { - return None; + if ret.is_reserved() { + return incr_base54(init); } - Some(ret) + ret +} + +#[cfg(test)] +mod tests { + use super::incr_base54; + struct Tester { + n: usize, + } + + impl Tester { + fn incr(&mut self, n: usize) { + self.n += n; + } + + fn gen(&mut self, expected: &str) { + let generated = incr_base54(&mut self.n); + assert_eq!(generated, expected); + } + } + + #[test] + fn simple() { + let mut t = Tester { n: 0 }; + + t.gen("a"); + t.gen("b"); + t.incr(54 - 2); + t.gen("aa"); + } + + #[test] + fn perf_1() { + let mut t = Tester { n: 0 }; + + t.incr(54); + t.gen("aa"); + } + + #[test] + fn perf_2() { + let mut t = Tester { n: 0 }; + + t.incr(54 * 64 * 64 * 64 * 64 * 64 * 64 * 64); + t.gen("a9888888") + } } diff --git a/ecmascript/minifier/src/util/mod.rs b/ecmascript/minifier/src/util/mod.rs index 9aca00f897f..b06acda7545 100644 --- a/ecmascript/minifier/src/util/mod.rs +++ b/ecmascript/minifier/src/util/mod.rs @@ -1,11 +1,9 @@ -use std::time::Instant; - use fxhash::FxHashSet; +use std::time::Instant; use swc_common::pass::CompilerPass; use swc_common::pass::Repeated; use swc_common::Mark; use swc_common::Span; -use swc_common::SyntaxContext; use swc_common::DUMMY_SP; use swc_ecma_ast::*; use swc_ecma_transforms_base::ext::MapWithMut; @@ -419,28 +417,6 @@ where v.ids } -pub(crate) fn ctxt_has_mark(mut ctxt: SyntaxContext, mark: Mark) -> bool { - debug_assert_ne!(mark, Mark::root()); - - loop { - if ctxt == SyntaxContext::empty() { - return false; - } - - let m = ctxt.remove_mark(); - if m == mark { - return true; - } - if m == Mark::root() { - return false; - } - } -} - -pub(crate) fn has_mark(span: Span, mark: Mark) -> bool { - ctxt_has_mark(span.ctxt, mark) -} - pub(crate) fn can_end_conditionally(s: &Stmt) -> bool { /// ///`ignore_always`: If true, [Stmt::Return] will be ignored. diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/12/output.js b/ecmascript/minifier/tests/compress/fixture/ projects/backbone/12/output.js deleted file mode 100644 index 0e7e76e621b..00000000000 --- a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/12/output.js +++ /dev/null @@ -1,2 +0,0 @@ -var names, i, l; -for(i = 0, l = (names = name ? [name] : _.keys(this._events)).length; i < l; i++)name = names[i]; diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/16/output.js b/ecmascript/minifier/tests/compress/fixture/ projects/backbone/16/output.js deleted file mode 100644 index 16cf5c6085f..00000000000 --- a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/16/output.js +++ /dev/null @@ -1,8 +0,0 @@ -export const obj = { - remove: function(models, options) { - var i, l, index, model, singular = !_.isArray(models); - for(options || (options = { - }), i = 0, l = (models = singular ? [models] : _.clone(models)).length; i < l; i++)(model = models[i] = this.get(models[i])) && (delete this._byId[model.id], delete this._byId[model.cid], index = this.indexOf(model), this.models.splice(index, 1), this.length--, options.silent || (options.index = index, model.trigger("remove", model, this, options)), this._removeReference(model)); - return singular ? models[0] : models; - } -}; diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/9/output.js b/ecmascript/minifier/tests/compress/fixture/ projects/jquery/9/output.js deleted file mode 100644 index 5005db21be0..00000000000 --- a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/9/output.js +++ /dev/null @@ -1,5 +0,0 @@ -export const obj = { - fireWith: function(context, args) { - return args = [context, (args = args || []).slice ? args.slice() : args], list && (!fired || stack) && (firing ? stack.push(args) : fire(args)), this; - } -}; diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/angular/1/input.js b/ecmascript/minifier/tests/compress/fixture/projects/angular/1/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/angular/1/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/angular/1/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/angular/1/output.js b/ecmascript/minifier/tests/compress/fixture/projects/angular/1/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/angular/1/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/angular/1/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/angular/2/input.js b/ecmascript/minifier/tests/compress/fixture/projects/angular/2/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/angular/2/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/angular/2/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/angular/2/output.js b/ecmascript/minifier/tests/compress/fixture/projects/angular/2/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/angular/2/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/angular/2/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/angular/3/input.js b/ecmascript/minifier/tests/compress/fixture/projects/angular/3/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/angular/3/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/angular/3/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/angular/3/output.js b/ecmascript/minifier/tests/compress/fixture/projects/angular/3/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/angular/3/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/angular/3/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/angular/4/input.js b/ecmascript/minifier/tests/compress/fixture/projects/angular/4/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/angular/4/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/angular/4/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/angular/4/output.js b/ecmascript/minifier/tests/compress/fixture/projects/angular/4/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/angular/4/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/angular/4/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/angular/5/input.js b/ecmascript/minifier/tests/compress/fixture/projects/angular/5/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/angular/5/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/angular/5/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/angular/5/output.js b/ecmascript/minifier/tests/compress/fixture/projects/angular/5/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/angular/5/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/angular/5/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/1/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/1/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/1/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/1/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/1/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/1/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/1/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/1/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/10/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/10/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/10/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/10/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/10/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/10/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/10/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/10/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/11/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/11/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/11/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/11/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/11/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/11/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/11/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/11/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/12/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/12/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/12/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/12/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/projects/backbone/12/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/12/output.js new file mode 100644 index 00000000000..bf7e3b0e968 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/backbone/12/output.js @@ -0,0 +1,4 @@ +var names, i, l; +for(i = 0, l = (names = name ? [ + name +] : _.keys(this._events)).length; i < l; i++)name = names[i]; diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/13/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/13/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/13/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/13/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/13/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/13/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/13/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/13/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/14/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/14/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/14/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/14/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/14/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/14/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/14/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/14/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/15/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/15/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/15/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/15/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/15/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/15/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/15/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/15/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/16/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/16/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/16/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/16/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/projects/backbone/16/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/16/output.js new file mode 100644 index 00000000000..a0c32526d61 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/backbone/16/output.js @@ -0,0 +1,10 @@ +export const obj = { + remove: function(models, options) { + var i, l, index, model, singular = !_.isArray(models); + for(options || (options = { + }), i = 0, l = (models = singular ? [ + models + ] : _.clone(models)).length; i < l; i++)(model = models[i] = this.get(models[i])) && (delete this._byId[model.id], delete this._byId[model.cid], index = this.indexOf(model), this.models.splice(index, 1), this.length--, options.silent || (options.index = index, model.trigger("remove", model, this, options)), this._removeReference(model)); + return singular ? models[0] : models; + } +}; diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/17/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/17/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/17/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/17/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/17/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/17/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/17/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/17/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/18/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/18/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/18/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/18/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/18/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/18/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/18/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/18/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/19/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/19/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/19/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/19/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/19/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/19/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/19/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/19/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/2/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/2/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/2/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/2/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/2/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/2/output.js similarity index 57% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/2/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/2/output.js index 5568d1dff28..8670ad147ba 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/2/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/backbone/2/output.js @@ -1,6 +1,8 @@ function foo() { - return eventsApi(this, "on", name, [callback, - context]) && callback && (this._events || (this._events = { + return eventsApi(this, "on", name, [ + callback, + context + ]) && callback && (this._events || (this._events = { }), (this._events[name] || (this._events[name] = [])).push({ callback: callback, context: context, diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/20/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/20/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/20/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/20/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/20/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/20/output.js similarity index 96% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/20/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/20/output.js index 91bda2129aa..57dc7cf1757 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/20/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/backbone/20/output.js @@ -3,7 +3,9 @@ export const E = { (options = _.defaults({ }, options, setOptions)).parse && (models = this.parse(models, options)); var singular = !_.isArray(models); - models = singular ? models ? [models] : [] : _.clone(models); + models = singular ? models ? [ + models + ] : [] : _.clone(models); var i, l, id, model, attrs, existing, sort, at = options.at, targetModel = this.model, sortable = this.comparator && null == at && !1 !== options.sort, sortAttr = _.isString(this.comparator) ? this.comparator : null, toAdd = [], toRemove = [], modelMap = { }, add = options.add, merge = options.merge, remove = options.remove, order = !sortable && !!add && !!remove && []; for(i = 0, l = models.length; i < l; i++){ diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/3/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/3/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/3/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/3/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/3/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/3/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/3/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/3/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/4/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/4/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/4/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/4/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/4/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/4/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/4/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/4/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/5/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/5/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/5/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/5/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/5/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/5/output.js similarity index 62% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/5/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/5/output.js index bf3e845d7ab..6063b77605d 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/5/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/backbone/5/output.js @@ -1,7 +1,9 @@ var Events = { on: function(name, callback, context) { - return eventsApi(this, "on", name, [callback, - context]) && callback && (this._events || (this._events = { + return eventsApi(this, "on", name, [ + callback, + context + ]) && callback && (this._events || (this._events = { }), (this._events[name] || (this._events[name] = [])).push({ callback: callback, context: context, diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/6/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/6/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/6/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/6/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/6/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/6/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/6/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/6/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/7/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/7/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/7/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/7/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/7/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/7/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/7/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/7/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/8/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/8/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/8/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/8/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/8/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/8/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/8/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/8/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/9/input.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/9/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/9/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/9/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/backbone/9/output.js b/ecmascript/minifier/tests/compress/fixture/projects/backbone/9/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/backbone/9/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/backbone/9/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/config.json b/ecmascript/minifier/tests/compress/fixture/projects/config.json similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/config.json rename to ecmascript/minifier/tests/compress/fixture/projects/config.json diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/.17/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/.17/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/.17/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/.17/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/.17/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/.17/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/.17/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/.17/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/.19/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/.19/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/.19/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/.19/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/.19/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/.19/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/.19/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/.19/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/1/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/1/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/1/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/1/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/1/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/1/output.js similarity index 87% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/1/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/1/output.js index f8c4a3c3f04..193142da328 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/1/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/jquery/1/output.js @@ -3,7 +3,11 @@ export const obj = { var match, elem; if (!selector) return this; if ("string" == typeof selector) { - if ((match = "<" === selector.charAt(0) && ">" === selector.charAt(selector.length - 1) && selector.length >= 3 ? [null, selector, null] : rquickExpr.exec(selector)) && (match[1] || !context)) { + if ((match = "<" === selector.charAt(0) && ">" === selector.charAt(selector.length - 1) && selector.length >= 3 ? [ + null, + selector, + null + ] : rquickExpr.exec(selector)) && (match[1] || !context)) { if (match[1]) { if (context = context instanceof jQuery ? context[0] : context, jQuery.merge(this, jQuery.parseHTML(match[1], context && context.nodeType ? context.ownerDocument || context : document, !0)), rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) for(match in context)jQuery.isFunction(this[match]) ? this[match](context[match]) : this.attr(match, context[match]); return this; diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/10/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/10/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/10/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/10/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/10/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/10/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/10/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/10/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/11/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/11/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/11/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/11/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/11/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/11/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/11/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/11/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/12/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/12/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/12/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/12/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/12/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/12/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/12/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/12/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/13/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/13/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/13/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/13/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/13/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/13/output.js similarity index 62% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/13/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/13/output.js index 8132885eb09..2e9e7dad380 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/13/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/jquery/13/output.js @@ -3,10 +3,16 @@ function internalRemoveData(elem, name, pvt) { var i, l, thisCache, isNode = elem.nodeType, cache = isNode ? jQuery.cache : elem, id = isNode ? elem[jQuery.expando] : jQuery.expando; if (cache[id]) { if (name && (thisCache = pvt ? cache[id] : cache[id].data)) { - for(i = 0, l = (name = jQuery.isArray(name) ? name.concat(jQuery.map(name, jQuery.camelCase)) : (name in thisCache) ? [name] : ((name = jQuery.camelCase(name)) in thisCache) ? [name] : name.split(" ")).length; i < l; i++)delete thisCache[name[i]]; + for(i = 0, l = (name = jQuery.isArray(name) ? name.concat(jQuery.map(name, jQuery.camelCase)) : (name in thisCache) ? [ + name + ] : ((name = jQuery.camelCase(name)) in thisCache) ? [ + name + ] : name.split(" ")).length; i < l; i++)delete thisCache[name[i]]; if (!(pvt ? isEmptyDataObject : jQuery.isEmptyObject)(thisCache)) return; } - (pvt || (delete cache[id].data, isEmptyDataObject(cache[id]))) && (isNode ? jQuery.cleanData([elem], !0) : jQuery.support.deleteExpando || cache != cache.window ? delete cache[id] : cache[id] = null); + (pvt || (delete cache[id].data, isEmptyDataObject(cache[id]))) && (isNode ? jQuery.cleanData([ + elem + ], !0) : jQuery.support.deleteExpando || cache != cache.window ? delete cache[id] : cache[id] = null); } } } diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/14/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/14/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/14/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/14/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/14/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/14/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/14/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/14/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/15/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/15/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/15/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/15/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/15/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/15/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/15/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/15/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/16/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/16/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/16/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/16/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/16/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/16/output.js similarity index 92% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/16/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/16/output.js index e0301e57e17..08b08590e35 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/16/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/jquery/16/output.js @@ -2,8 +2,10 @@ export const obj = { setOffset: function(elem, options, i) { var position = jQuery.css(elem, "position"); "static" === position && (elem.style.position = "relative"); - var curTop, curLeft, curElem = jQuery(elem), curOffset = curElem.offset(), curCSSTop = jQuery.css(elem, "top"), curCSSLeft = jQuery.css(elem, "left"), calculatePosition = ("absolute" === position || "fixed" === position) && jQuery.inArray("auto", [curCSSTop, - curCSSLeft]) > -1, props = { + var curTop, curLeft, curElem = jQuery(elem), curOffset = curElem.offset(), curCSSTop = jQuery.css(elem, "top"), curCSSLeft = jQuery.css(elem, "left"), calculatePosition = ("absolute" === position || "fixed" === position) && jQuery.inArray("auto", [ + curCSSTop, + curCSSLeft + ]) > -1, props = { }, curPosition = { }; calculatePosition ? (curTop = (curPosition = curElem.position()).top, curLeft = curPosition.left) : (curTop = parseFloat(curCSSTop) || 0, curLeft = parseFloat(curCSSLeft) || 0), jQuery.isFunction(options) && (options = options.call(elem, i, curOffset)), null != options.top && (props.top = options.top - curOffset.top + curTop), null != options.left && (props.left = options.left - curOffset.left + curLeft), "using" in options ? options.using.call(elem, props) : curElem.css(props); diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/18/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/18/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/18/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/18/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/18/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/18/output.js similarity index 66% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/18/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/18/output.js index d3171207aaa..d560d8a2b76 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/18/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/jquery/18/output.js @@ -1,6 +1,8 @@ export const obj = { tweener: function(props, callback) { - jQuery.isFunction(props) ? (callback = props, props = ["*"]) : props = props.split(" "); + jQuery.isFunction(props) ? (callback = props, props = [ + "*" + ]) : props = props.split(" "); for(var prop, index = 0, length = props.length; index < length; index++)tweeners[prop = props[index]] = tweeners[prop] || [], tweeners[prop].unshift(callback); } }; diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/2/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/2/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/2/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/2/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/2/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/2/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/2/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/2/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/20/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/20/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/20/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/20/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/20/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/20/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/20/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/20/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/21/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/21/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/21/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/21/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/21/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/21/output.js similarity index 86% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/21/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/21/output.js index b1a6f7b5ef4..6decb07b166 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/21/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/jquery/21/output.js @@ -9,7 +9,10 @@ jQuery.fn.load = function(url, params, callback) { }).done(function(responseText) { response = arguments, self.html(selector ? jQuery("
").append(jQuery.parseHTML(responseText)).find(selector) : responseText); }).complete(callback && function(jqXHR, status) { - self.each(callback, response || [jqXHR.responseText, status, - jqXHR]); + self.each(callback, response || [ + jqXHR.responseText, + status, + jqXHR + ]); }), this; }; diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/22/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/22/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/22/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/22/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/22/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/22/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/22/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/22/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/23/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/23/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/23/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/23/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/23/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/23/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/23/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/23/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/24/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/24/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/24/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/24/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/24/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/24/output.js similarity index 80% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/24/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/24/output.js index 096eba47373..c8f72eaf911 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/24/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/jquery/24/output.js @@ -1,8 +1,13 @@ export const obj = { buildFragment: function(elems, context, scripts, selection) { - for(var j, elem, contains, tmp, tag, tbody, wrap, l = elems.length, safe = createSafeFragment(context), nodes = [], i = 0; i < l; i++)if ((elem = elems[i]) || 0 === elem) if ("object" === jQuery.type(elem)) jQuery.merge(nodes, elem.nodeType ? [elem] : elem); + for(var j, elem, contains, tmp, tag, tbody, wrap, l = elems.length, safe = createSafeFragment(context), nodes = [], i = 0; i < l; i++)if ((elem = elems[i]) || 0 === elem) if ("object" === jQuery.type(elem)) jQuery.merge(nodes, elem.nodeType ? [ + elem + ] : elem); else if (rhtml.test(elem)) { - for(tmp = tmp || safe.appendChild(context.createElement("div")), wrap = wrapMap[tag = (rtagName.exec(elem) || ["", ""])[1].toLowerCase()] || wrapMap._default, tmp.innerHTML = wrap[1] + elem.replace(rxhtmlTag, "<$1>") + wrap[2], j = wrap[0]; j--;)tmp = tmp.lastChild; + for(tmp = tmp || safe.appendChild(context.createElement("div")), wrap = wrapMap[tag = (rtagName.exec(elem) || [ + "", + "" + ])[1].toLowerCase()] || wrapMap._default, tmp.innerHTML = wrap[1] + elem.replace(rxhtmlTag, "<$1>") + wrap[2], j = wrap[0]; j--;)tmp = tmp.lastChild; if (!jQuery.support.leadingWhitespace && rleadingWhitespace.test(elem) && nodes.push(context.createTextNode(rleadingWhitespace.exec(elem)[0])), !jQuery.support.tbody) for(j = (elem = "table" !== tag || rtbody.test(elem) ? "" !== wrap[1] || rtbody.test(elem) ? 0 : tmp : tmp.firstChild) && elem.childNodes.length; j--;)jQuery.nodeName(tbody = elem.childNodes[j], "tbody") && !tbody.childNodes.length && elem.removeChild(tbody); for(jQuery.merge(nodes, tmp.childNodes), tmp.textContent = ""; tmp.firstChild;)tmp.removeChild(tmp.firstChild); tmp = safe.lastChild; diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/25/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/25/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/25/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/25/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/25/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/25/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/25/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/25/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/26/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/26/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/26/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/26/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/26/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/26/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/26/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/26/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/27/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/27/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/27/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/27/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/27/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/27/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/27/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/27/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/28/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/28/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/28/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/28/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/28/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/28/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/28/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/28/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/3/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/3/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/3/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/3/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/3/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/3/output.js similarity index 63% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/3/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/3/output.js index 7f182eb6ae7..83a15316ba0 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/3/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/jquery/3/output.js @@ -2,7 +2,9 @@ export const obj = { ready: function(wait) { if (!(!0 === wait ? --jQuery.readyWait : jQuery.isReady)) { if (!document.body) return setTimeout(jQuery.ready); - jQuery.isReady = !0, !0 !== wait && --jQuery.readyWait > 0 || (readyList.resolveWith(document, [jQuery]), jQuery.fn.trigger && jQuery(document).trigger("ready").off("ready")); + jQuery.isReady = !0, !0 !== wait && --jQuery.readyWait > 0 || (readyList.resolveWith(document, [ + jQuery + ]), jQuery.fn.trigger && jQuery(document).trigger("ready").off("ready")); } } }; diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/4/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/4/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/4/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/4/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/4/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/4/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/4/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/4/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/5/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/5/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/5/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/5/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/5/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/5/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/5/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/5/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/6/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/6/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/6/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/6/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/6/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/6/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/6/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/6/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/7/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/7/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/7/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/7/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/7/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/7/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/7/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/7/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/8/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/8/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/8/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/8/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/8/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/8/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/8/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/8/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/jquery/9/input.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/9/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/jquery/9/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/jquery/9/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/projects/jquery/9/output.js b/ecmascript/minifier/tests/compress/fixture/projects/jquery/9/output.js new file mode 100644 index 00000000000..bbd23e8f7b7 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/jquery/9/output.js @@ -0,0 +1,8 @@ +export const obj = { + fireWith: function(context, args) { + return args = [ + context, + (args = args || []).slice ? args.slice() : args + ], list && (!fired || stack) && (firing ? stack.push(args) : fire(args)), this; + } +}; diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/.11/input.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/.11/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/.11/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/.11/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/.11/output.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/.11/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/.11/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/.11/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/.5/input.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/.5/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/.5/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/.5/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/.5/output.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/.5/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/.5/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/.5/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/1/input.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/1/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/1/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/1/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/1/output.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/1/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/1/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/1/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/10/input.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/10/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/10/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/10/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/10/output.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/10/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/10/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/10/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/2/input.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/2/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/2/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/2/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/2/output.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/2/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/2/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/2/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/3/input.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/3/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/3/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/3/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/3/output.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/3/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/3/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/3/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/4/input.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/4/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/4/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/4/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/4/output.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/4/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/4/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/4/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/6/input.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/6/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/6/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/6/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/6/output.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/6/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/6/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/6/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/7/input.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/7/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/7/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/7/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/7/output.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/7/output.js similarity index 89% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/7/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/7/output.js index 3e274398a97..5e73e21e55e 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/7/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/mootools/7/output.js @@ -14,7 +14,8 @@ export const exported = { qs[i] = val; }), result = Object.toQueryString(qs, key); break; - default: result = key + "=" + encodeURIComponent(value); + default: + result = key + "=" + encodeURIComponent(value); } null != value && queryString.push(result); }), queryString.join("&"); diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/8/input.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/8/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/8/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/8/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/8/output.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/8/output.js similarity index 87% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/8/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/8/output.js index 3da60027fac..2756f317342 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/8/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/mootools/8/output.js @@ -8,7 +8,8 @@ if (Browser.ie) switch(Browser.Engine.trident = !0, Browser.version){ case 7: setEngine("trident", 5); break; - case 8: setEngine("trident", 6); + case 8: + setEngine("trident", 6); } if (Browser.firefox && (Browser.Engine.gecko = !0, setEngine("gecko", Browser.version >= 3 ? 19 : 18)), Browser.safari || Browser.chrome) switch(Browser.Engine.webkit = !0, Browser.version){ case 2: @@ -17,12 +18,14 @@ if (Browser.firefox && (Browser.Engine.gecko = !0, setEngine("gecko", Browser.ve case 3: setEngine("webkit", 420); break; - case 4: setEngine("webkit", 525); + case 4: + setEngine("webkit", 525); } if (Browser.opera && (Browser.Engine.presto = !0, setEngine("presto", Browser.version >= 9.6 ? 960 : Browser.version >= 9.5 ? 950 : 925)), "unknown" == Browser.name) switch((ua.match(/(?:webkit|khtml|gecko)/) || [])[0]){ case "webkit": case "khtml": Browser.Engine.webkit = !0; break; - case "gecko": Browser.Engine.gecko = !0; + case "gecko": + Browser.Engine.gecko = !0; } diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/9/input.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/9/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/9/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/9/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/mootools/9/output.js b/ecmascript/minifier/tests/compress/fixture/projects/mootools/9/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/mootools/9/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/mootools/9/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/383.5942fafdbede773d29c7/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/383.5942fafdbede773d29c7/input.js new file mode 100644 index 00000000000..07cab979830 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/383.5942fafdbede773d29c7/input.js @@ -0,0 +1,219 @@ +"use strict"; +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [383,], + { + /***/ 6086: /***/ function ( + __unused_webpack___webpack_module__, + __webpack_exports__, + __webpack_require__ + ) { + /* harmony export */ __webpack_require__.d( + __webpack_exports__, + { + /* harmony export */ Z: function ( + ) { + return /* binding */ _asyncToGenerator; + }, + /* harmony export */ + } + ); + function asyncGeneratorStep( + gen, + resolve, + reject, + _next, + _throw, + key, + arg + ) { + try { + var info = gen[key]( + arg + ); + var value = info.value; + } catch (error) { + reject( + error + ); + return; + } + + if (info.done) { + resolve( + value + ); + } else { + Promise.resolve( + value + ).then( + _next, + _throw + ); + } + } + + function _asyncToGenerator( + fn + ) { + return function ( + ) { + var self = this, + args = arguments; + return new Promise( + function ( + resolve, reject + ) { + var gen = fn.apply( + self, + args + ); + + function _next( + value + ) { + asyncGeneratorStep( + gen, + resolve, + reject, + _next, + _throw, + "next", + value + ); + } + + function _throw( + err + ) { + asyncGeneratorStep( + gen, + resolve, + reject, + _next, + _throw, + "throw", + err + ); + } + + _next( + undefined + ); + } + ); + }; + } + + /***/ + }, + + /***/ 1383: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + /* harmony import */ var _Users_timneutkens_projects_next_js_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + 7945 + ); + /* harmony import */ var _Users_timneutkens_projects_next_js_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = + /*#__PURE__*/ __webpack_require__.n( + _Users_timneutkens_projects_next_js_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ + ); + /* harmony import */ var _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ = + __webpack_require__( + 6086 + ); + /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + 4652 + ); + + var BrowserLoaded = (0, + next_dynamic__WEBPACK_IMPORTED_MODULE_2__.default)( + /*#__PURE__*/ (0, + _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ /* .default */.Z)( + /*#__PURE__*/ _Users_timneutkens_projects_next_js_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default( + ).mark( + function _callee( + ) { + return _Users_timneutkens_projects_next_js_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default( + ).wrap( + function _callee$( + _context + ) { + while (1) { + switch ( + (_context.prev = _context.next) + ) { + case 0: + return _context.abrupt( + "return", + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + children: + "Browser hydrated", + } + ); + } + ); + + case 1: + case "end": + return _context.stop( + ); + } + } + }, + _callee + ); + } + ) + ), + { + ssr: false, + } + ); + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)( + "div", + { + children: [ + /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + children: "Nested 2", + } + ), + /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + BrowserLoaded, + { + } + ), + ], + } + ); + }; + + /***/ + }, + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/383.5942fafdbede773d29c7/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/383.5942fafdbede773d29c7/output.js new file mode 100644 index 00000000000..1e99cc7fc06 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/383.5942fafdbede773d29c7/output.js @@ -0,0 +1,69 @@ +"use strict"; +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 383, + ], + { + 6086: function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { + try { + var info = gen[key](arg), value = info.value; + } catch (error) { + return void reject(error); + } + info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw); + } + function _asyncToGenerator(fn) { + return function() { + var self = this, args = arguments; + return new Promise(function(resolve, reject) { + var gen = fn.apply(self, args); + function _next(value) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); + } + function _throw(err) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); + } + _next(void 0); + }); + }; + } + __webpack_require__.d(__webpack_exports__, { + Z: function() { + return _asyncToGenerator; + } + }); + }, + 1383: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7945), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(_Users_timneutkens_projects_next_js_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1__), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6086), BrowserLoaded = (0, __webpack_require__(4652).default)((0, _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__.Z)(_Users_timneutkens_projects_next_js_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().mark(function _callee() { + return _Users_timneutkens_projects_next_js_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default().wrap(function(_context) { + for(;;)switch(_context.prev = _context.next){ + case 0: + return _context.abrupt("return", function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + children: "Browser hydrated" + }); + }); + case 1: + case "end": + return _context.stop(); + } + }, _callee); + })), { + ssr: !1 + }); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", { + children: [ + (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + children: "Nested 2" + }), + (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(BrowserLoaded, { + }), + ] + }); + }; + } + }, +]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/411.0fbee7df8bd8b42967ec/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/411.0fbee7df8bd8b42967ec/input.js new file mode 100644 index 00000000000..4dfdd894e9f --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/411.0fbee7df8bd8b42967ec/input.js @@ -0,0 +1,53 @@ +"use strict"; +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [411,], + { + /***/ 8411: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + /* harmony import */ var styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + 266 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)( + "div", + { + id: "dynamic-component", + className: "jsx-3028949577", + children: [ + "Dynamic Component", + /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__.default, + { + id: "3028949577", + children: [ + "div.jsx-3028949577{font-size:100px;}", + ], + } + ), + ], + } + ); + }; + + /***/ + }, + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/411.0fbee7df8bd8b42967ec/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/411.0fbee7df8bd8b42967ec/output.js new file mode 100644 index 00000000000..b612d6ee20a --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/411.0fbee7df8bd8b42967ec/output.js @@ -0,0 +1,27 @@ +"use strict"; +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 411, + ], + { + 8411: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512), styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(266); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", { + id: "dynamic-component", + className: "jsx-3028949577", + children: [ + "Dynamic Component", + (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__.default, { + id: "3028949577", + children: [ + "div.jsx-3028949577{font-size:100px;}", + ] + }), + ] + }); + }; + } + }, +]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/808.7518829f34ebf3ce0082/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/808.7518829f34ebf3ce0082/input.js new file mode 100644 index 00000000000..6c598ea9af7 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/808.7518829f34ebf3ce0082/input.js @@ -0,0 +1,72 @@ +"use strict"; +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [808,], + { + /***/ 2808: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + /* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + 4652 + ); + + var Nested2 = (0, + next_dynamic__WEBPACK_IMPORTED_MODULE_1__.default)( + function ( + ) { + return __webpack_require__ + .e( + /* import() */ 383 + ) + .then( + __webpack_require__.bind( + __webpack_require__, + 1383 + ) + ); + }, + { + loadableGenerated: { + webpack: function webpack( + ) { + return [/*require.resolve*/ 1383,]; + }, + modules: ["../components/nested1.js -> " + "./nested2",], + }, + } + ); + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)( + "div", + { + children: [ + "Nested 1", + /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + Nested2, + { + } + ), + ], + } + ); + }; + + /***/ + }, + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/808.7518829f34ebf3ce0082/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/808.7518829f34ebf3ce0082/output.js new file mode 100644 index 00000000000..bda4bb2ef37 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/808.7518829f34ebf3ce0082/output.js @@ -0,0 +1,34 @@ +"use strict"; +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 808, + ], + { + 2808: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512), Nested2 = (0, __webpack_require__(4652).default)(function() { + return __webpack_require__.e(383).then(__webpack_require__.bind(__webpack_require__, 1383)); + }, { + loadableGenerated: { + webpack: function() { + return [ + 1383, + ]; + }, + modules: [ + "../components/nested1.js -> ./nested2", + ] + } + }); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", { + children: [ + "Nested 1", + (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Nested2, { + }), + ] + }); + }; + } + }, +]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/916.2317bfea2c41354132bd/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/916.2317bfea2c41354132bd/input.js new file mode 100644 index 00000000000..2980d0124c4 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/916.2317bfea2c41354132bd/input.js @@ -0,0 +1,35 @@ +"use strict"; +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [916, 974,], + { + /***/ 6974: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "p", + { + children: "Hello World 1", + } + ); + }; + + /***/ + }, + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/916.2317bfea2c41354132bd/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/916.2317bfea2c41354132bd/output.js new file mode 100644 index 00000000000..36cb4175de5 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/916.2317bfea2c41354132bd/output.js @@ -0,0 +1,18 @@ +"use strict"; +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 916, + 974, + ], + { + 6974: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "Hello World 1" + }); + }; + } + }, +]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/974.b9fed4786fc6d4a5745d/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/974.b9fed4786fc6d4a5745d/input.js new file mode 100644 index 00000000000..061a4cb84cd --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/974.b9fed4786fc6d4a5745d/input.js @@ -0,0 +1,35 @@ +"use strict"; +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [974, 916,], + { + /***/ 6974: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "p", + { + children: "Hello World 1", + } + ); + }; + + /***/ + }, + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/974.b9fed4786fc6d4a5745d/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/974.b9fed4786fc6d4a5745d/output.js new file mode 100644 index 00000000000..10cf815f974 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/974.b9fed4786fc6d4a5745d/output.js @@ -0,0 +1,18 @@ +"use strict"; +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 974, + 916, + ], + { + 6974: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "Hello World 1" + }); + }; + } + }, +]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello-world.1af1130392dd1b8d7964/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello-world.1af1130392dd1b8d7964/input.js new file mode 100644 index 00000000000..66b7a2e2b2f --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello-world.1af1130392dd1b8d7964/input.js @@ -0,0 +1,35 @@ +"use strict"; +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [689,], + { + /***/ 4090: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + children: "test chunkfilename", + } + ); + }; + + /***/ + }, + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello-world.1af1130392dd1b8d7964/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello-world.1af1130392dd1b8d7964/output.js new file mode 100644 index 00000000000..2682aae89d5 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello-world.1af1130392dd1b8d7964/output.js @@ -0,0 +1,17 @@ +"use strict"; +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 689, + ], + { + 4090: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + children: "test chunkfilename" + }); + }; + } + }, +]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello1.4066327636ea41cc1002/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello1.4066327636ea41cc1002/input.js new file mode 100644 index 00000000000..e21b5eefcd4 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello1.4066327636ea41cc1002/input.js @@ -0,0 +1,35 @@ +"use strict"; +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [358,], + { + /***/ 1901: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "p", + { + children: "Hello World 1", + } + ); + }; + + /***/ + }, + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello1.4066327636ea41cc1002/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello1.4066327636ea41cc1002/output.js new file mode 100644 index 00000000000..4ca3747b3df --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello1.4066327636ea41cc1002/output.js @@ -0,0 +1,17 @@ +"use strict"; +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 358, + ], + { + 1901: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "Hello World 1" + }); + }; + } + }, +]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello2.339fbf9b6616133531f3/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello2.339fbf9b6616133531f3/input.js new file mode 100644 index 00000000000..7c9d0e233fc --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello2.339fbf9b6616133531f3/input.js @@ -0,0 +1,35 @@ +"use strict"; +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [367,], + { + /***/ 4416: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "p", + { + children: "Hello World 2", + } + ); + }; + + /***/ + }, + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello2.339fbf9b6616133531f3/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello2.339fbf9b6616133531f3/output.js new file mode 100644 index 00000000000..aa14fd04567 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/hello2.339fbf9b6616133531f3/output.js @@ -0,0 +1,17 @@ +"use strict"; +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 367, + ], + { + 4416: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "Hello World 2" + }); + }; + } + }, +]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/_error-564eed16c639a9b4892b/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/_error-564eed16c639a9b4892b/input.js new file mode 100644 index 00000000000..6798bfa7131 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/_error-564eed16c639a9b4892b/input.js @@ -0,0 +1,52 @@ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [820,], + { + /***/ 4243: /***/ function ( + __unused_webpack_module, + __unused_webpack_exports, + __webpack_require__ + ) { + (window.__NEXT_P = window.__NEXT_P || []).push( + [ + "/_error", + function ( + ) { + return __webpack_require__( + 4956 + ); + }, + ] + ); + + /***/ + }, + }, + /******/ function ( + __webpack_require__ + ) { + // webpackRuntimeModules + /******/ var __webpack_exec__ = function ( + moduleId + ) { + return __webpack_require__( + (__webpack_require__.s = moduleId) + ); + }; + /******/ __webpack_require__.O( + 0, + [888, 774, 179,], + function ( + ) { + return __webpack_exec__( + 4243 + ); + } + ); + /******/ var __webpack_exports__ = __webpack_require__.O( + ); + /******/ _N_E = __webpack_exports__; + /******/ + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/_error-564eed16c639a9b4892b/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/_error-564eed16c639a9b4892b/output.js new file mode 100644 index 00000000000..17ef5e75bfb --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/_error-564eed16c639a9b4892b/output.js @@ -0,0 +1,20 @@ +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 820, + ], + { + 4243: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + (window.__NEXT_P = window.__NEXT_P || []).push([ + "/_error", function() { + return __webpack_require__(4956); + }, ]); + } + }, function(__webpack_require__) { + __webpack_require__.O(0, [ + 888, + 774, + 179, + ], function() { + return __webpack_require__(__webpack_require__.s = 4243); + }), _N_E = __webpack_require__.O(); + }, ]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/about-9ff906d607f52933d473/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/about-9ff906d607f52933d473/input.js new file mode 100644 index 00000000000..2a42b5327eb --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/about-9ff906d607f52933d473/input.js @@ -0,0 +1,82 @@ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [521,], + { + /***/ 4426: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + className: "about-page", + children: "About Page", + } + ); + }; + + /***/ + }, + + /***/ 8484: /***/ function ( + __unused_webpack_module, + __unused_webpack_exports, + __webpack_require__ + ) { + (window.__NEXT_P = window.__NEXT_P || []).push( + [ + "/about", + function ( + ) { + return __webpack_require__( + 4426 + ); + }, + ] + ); + + /***/ + }, + }, + /******/ function ( + __webpack_require__ + ) { + // webpackRuntimeModules + /******/ var __webpack_exec__ = function ( + moduleId + ) { + return __webpack_require__( + (__webpack_require__.s = moduleId) + ); + }; + /******/ __webpack_require__.O( + 0, + [774, 888, 179,], + function ( + ) { + return __webpack_exec__( + 8484 + ); + } + ); + /******/ var __webpack_exports__ = __webpack_require__.O( + ); + /******/ _N_E = __webpack_exports__; + /******/ + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/about-9ff906d607f52933d473/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/about-9ff906d607f52933d473/output.js new file mode 100644 index 00000000000..fd70e420532 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/about-9ff906d607f52933d473/output.js @@ -0,0 +1,31 @@ +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 521, + ], + { + 4426: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + className: "about-page", + children: "About Page" + }); + }; + }, + 8484: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + (window.__NEXT_P = window.__NEXT_P || []).push([ + "/about", function() { + return __webpack_require__(4426); + }, ]); + } + }, function(__webpack_require__) { + __webpack_require__.O(0, [ + 774, + 888, + 179, + ], function() { + return __webpack_require__(__webpack_require__.s = 8484); + }), _N_E = __webpack_require__.O(); + }, ]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about-f41723bb58a39accd7f5/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about-f41723bb58a39accd7f5/input.js new file mode 100644 index 00000000000..f4fe5524016 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about-f41723bb58a39accd7f5/input.js @@ -0,0 +1,88 @@ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [106,], + { + /***/ 1962: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + className: "hmr-about-page", + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "p", + { + children: "This is the about page.", + } + ), + } + ); + }; + + /***/ + }, + + /***/ 2856: /***/ function ( + __unused_webpack_module, + __unused_webpack_exports, + __webpack_require__ + ) { + (window.__NEXT_P = window.__NEXT_P || []).push( + [ + "/hmr/about", + function ( + ) { + return __webpack_require__( + 1962 + ); + }, + ] + ); + + /***/ + }, + }, + /******/ function ( + __webpack_require__ + ) { + // webpackRuntimeModules + /******/ var __webpack_exec__ = function ( + moduleId + ) { + return __webpack_require__( + (__webpack_require__.s = moduleId) + ); + }; + /******/ __webpack_require__.O( + 0, + [774, 888, 179,], + function ( + ) { + return __webpack_exec__( + 2856 + ); + } + ); + /******/ var __webpack_exports__ = __webpack_require__.O( + ); + /******/ _N_E = __webpack_exports__; + /******/ + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about-f41723bb58a39accd7f5/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about-f41723bb58a39accd7f5/output.js new file mode 100644 index 00000000000..4493025d6e8 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about-f41723bb58a39accd7f5/output.js @@ -0,0 +1,33 @@ +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 106, + ], + { + 1962: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + className: "hmr-about-page", + children: (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "This is the about page." + }) + }); + }; + }, + 2856: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + (window.__NEXT_P = window.__NEXT_P || []).push([ + "/hmr/about", function() { + return __webpack_require__(1962); + }, ]); + } + }, function(__webpack_require__) { + __webpack_require__.O(0, [ + 774, + 888, + 179, + ], function() { + return __webpack_require__(__webpack_require__.s = 2856); + }), _N_E = __webpack_require__.O(); + }, ]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about1-337f4553e7fa4c711971/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about1-337f4553e7fa4c711971/input.js new file mode 100644 index 00000000000..360dbce6dc9 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about1-337f4553e7fa4c711971/input.js @@ -0,0 +1,88 @@ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [25,], + { + /***/ 1107: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + className: "hmr-about-page", + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "p", + { + children: "This is the about page.", + } + ), + } + ); + }; + + /***/ + }, + + /***/ 8000: /***/ function ( + __unused_webpack_module, + __unused_webpack_exports, + __webpack_require__ + ) { + (window.__NEXT_P = window.__NEXT_P || []).push( + [ + "/hmr/about1", + function ( + ) { + return __webpack_require__( + 1107 + ); + }, + ] + ); + + /***/ + }, + }, + /******/ function ( + __webpack_require__ + ) { + // webpackRuntimeModules + /******/ var __webpack_exec__ = function ( + moduleId + ) { + return __webpack_require__( + (__webpack_require__.s = moduleId) + ); + }; + /******/ __webpack_require__.O( + 0, + [774, 888, 179,], + function ( + ) { + return __webpack_exec__( + 8000 + ); + } + ); + /******/ var __webpack_exports__ = __webpack_require__.O( + ); + /******/ _N_E = __webpack_exports__; + /******/ + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about1-337f4553e7fa4c711971/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about1-337f4553e7fa4c711971/output.js new file mode 100644 index 00000000000..f8896b3bb94 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about1-337f4553e7fa4c711971/output.js @@ -0,0 +1,33 @@ +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 25, + ], + { + 1107: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + className: "hmr-about-page", + children: (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "This is the about page." + }) + }); + }; + }, + 8000: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + (window.__NEXT_P = window.__NEXT_P || []).push([ + "/hmr/about1", function() { + return __webpack_require__(1107); + }, ]); + } + }, function(__webpack_require__) { + __webpack_require__.O(0, [ + 774, + 888, + 179, + ], function() { + return __webpack_require__(__webpack_require__.s = 8000); + }), _N_E = __webpack_require__.O(); + }, ]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about2-071e285e01649f2eba6d/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about2-071e285e01649f2eba6d/input.js new file mode 100644 index 00000000000..2bc1162dece --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about2-071e285e01649f2eba6d/input.js @@ -0,0 +1,88 @@ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [119,], + { + /***/ 388: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + className: "hmr-about-page", + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "p", + { + children: "This is the about page.", + } + ), + } + ); + }; + + /***/ + }, + + /***/ 9354: /***/ function ( + __unused_webpack_module, + __unused_webpack_exports, + __webpack_require__ + ) { + (window.__NEXT_P = window.__NEXT_P || []).push( + [ + "/hmr/about2", + function ( + ) { + return __webpack_require__( + 388 + ); + }, + ] + ); + + /***/ + }, + }, + /******/ function ( + __webpack_require__ + ) { + // webpackRuntimeModules + /******/ var __webpack_exec__ = function ( + moduleId + ) { + return __webpack_require__( + (__webpack_require__.s = moduleId) + ); + }; + /******/ __webpack_require__.O( + 0, + [774, 888, 179,], + function ( + ) { + return __webpack_exec__( + 9354 + ); + } + ); + /******/ var __webpack_exports__ = __webpack_require__.O( + ); + /******/ _N_E = __webpack_exports__; + /******/ + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about2-071e285e01649f2eba6d/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about2-071e285e01649f2eba6d/output.js new file mode 100644 index 00000000000..82dac8faf27 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about2-071e285e01649f2eba6d/output.js @@ -0,0 +1,33 @@ +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 119, + ], + { + 388: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + className: "hmr-about-page", + children: (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "This is the about page." + }) + }); + }; + }, + 9354: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + (window.__NEXT_P = window.__NEXT_P || []).push([ + "/hmr/about2", function() { + return __webpack_require__(388); + }, ]); + } + }, function(__webpack_require__) { + __webpack_require__.O(0, [ + 774, + 888, + 179, + ], function() { + return __webpack_require__(__webpack_require__.s = 9354); + }), _N_E = __webpack_require__.O(); + }, ]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about3-4799682b161140f8d8ca/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about3-4799682b161140f8d8ca/input.js new file mode 100644 index 00000000000..21e534008e1 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about3-4799682b161140f8d8ca/input.js @@ -0,0 +1,88 @@ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [282,], + { + /***/ 7407: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + className: "hmr-about-page", + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "p", + { + children: "This is the about page.", + } + ), + } + ); + }; + + /***/ + }, + + /***/ 357: /***/ function ( + __unused_webpack_module, + __unused_webpack_exports, + __webpack_require__ + ) { + (window.__NEXT_P = window.__NEXT_P || []).push( + [ + "/hmr/about3", + function ( + ) { + return __webpack_require__( + 7407 + ); + }, + ] + ); + + /***/ + }, + }, + /******/ function ( + __webpack_require__ + ) { + // webpackRuntimeModules + /******/ var __webpack_exec__ = function ( + moduleId + ) { + return __webpack_require__( + (__webpack_require__.s = moduleId) + ); + }; + /******/ __webpack_require__.O( + 0, + [774, 888, 179,], + function ( + ) { + return __webpack_exec__( + 357 + ); + } + ); + /******/ var __webpack_exports__ = __webpack_require__.O( + ); + /******/ _N_E = __webpack_exports__; + /******/ + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about3-4799682b161140f8d8ca/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about3-4799682b161140f8d8ca/output.js new file mode 100644 index 00000000000..1b366e47fca --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about3-4799682b161140f8d8ca/output.js @@ -0,0 +1,33 @@ +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 282, + ], + { + 7407: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + className: "hmr-about-page", + children: (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "This is the about page." + }) + }); + }; + }, + 357: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + (window.__NEXT_P = window.__NEXT_P || []).push([ + "/hmr/about3", function() { + return __webpack_require__(7407); + }, ]); + } + }, function(__webpack_require__) { + __webpack_require__.O(0, [ + 774, + 888, + 179, + ], function() { + return __webpack_require__(__webpack_require__.s = 357); + }), _N_E = __webpack_require__.O(); + }, ]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about4-5b76801c16eeaea0c007/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about4-5b76801c16eeaea0c007/input.js new file mode 100644 index 00000000000..a45bd1c337d --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about4-5b76801c16eeaea0c007/input.js @@ -0,0 +1,88 @@ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [176,], + { + /***/ 6787: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + className: "hmr-about-page", + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "p", + { + children: "This is the about page.", + } + ), + } + ); + }; + + /***/ + }, + + /***/ 6055: /***/ function ( + __unused_webpack_module, + __unused_webpack_exports, + __webpack_require__ + ) { + (window.__NEXT_P = window.__NEXT_P || []).push( + [ + "/hmr/about4", + function ( + ) { + return __webpack_require__( + 6787 + ); + }, + ] + ); + + /***/ + }, + }, + /******/ function ( + __webpack_require__ + ) { + // webpackRuntimeModules + /******/ var __webpack_exec__ = function ( + moduleId + ) { + return __webpack_require__( + (__webpack_require__.s = moduleId) + ); + }; + /******/ __webpack_require__.O( + 0, + [774, 888, 179,], + function ( + ) { + return __webpack_exec__( + 6055 + ); + } + ); + /******/ var __webpack_exports__ = __webpack_require__.O( + ); + /******/ _N_E = __webpack_exports__; + /******/ + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about4-5b76801c16eeaea0c007/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about4-5b76801c16eeaea0c007/output.js new file mode 100644 index 00000000000..7105c7ed838 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about4-5b76801c16eeaea0c007/output.js @@ -0,0 +1,33 @@ +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 176, + ], + { + 6787: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + className: "hmr-about-page", + children: (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "This is the about page." + }) + }); + }; + }, + 6055: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + (window.__NEXT_P = window.__NEXT_P || []).push([ + "/hmr/about4", function() { + return __webpack_require__(6787); + }, ]); + } + }, function(__webpack_require__) { + __webpack_require__.O(0, [ + 774, + 888, + 179, + ], function() { + return __webpack_require__(__webpack_require__.s = 6055); + }), _N_E = __webpack_require__.O(); + }, ]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about5-701a8a2644b1f6251651/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about5-701a8a2644b1f6251651/input.js new file mode 100644 index 00000000000..65236cbbec7 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about5-701a8a2644b1f6251651/input.js @@ -0,0 +1,88 @@ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [95,], + { + /***/ 6298: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + className: "hmr-about-page", + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "p", + { + children: "This is the about page.", + } + ), + } + ); + }; + + /***/ + }, + + /***/ 8758: /***/ function ( + __unused_webpack_module, + __unused_webpack_exports, + __webpack_require__ + ) { + (window.__NEXT_P = window.__NEXT_P || []).push( + [ + "/hmr/about5", + function ( + ) { + return __webpack_require__( + 6298 + ); + }, + ] + ); + + /***/ + }, + }, + /******/ function ( + __webpack_require__ + ) { + // webpackRuntimeModules + /******/ var __webpack_exec__ = function ( + moduleId + ) { + return __webpack_require__( + (__webpack_require__.s = moduleId) + ); + }; + /******/ __webpack_require__.O( + 0, + [774, 888, 179,], + function ( + ) { + return __webpack_exec__( + 8758 + ); + } + ); + /******/ var __webpack_exports__ = __webpack_require__.O( + ); + /******/ _N_E = __webpack_exports__; + /******/ + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about5-701a8a2644b1f6251651/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about5-701a8a2644b1f6251651/output.js new file mode 100644 index 00000000000..38a9d5269a2 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about5-701a8a2644b1f6251651/output.js @@ -0,0 +1,33 @@ +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 95, + ], + { + 6298: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + className: "hmr-about-page", + children: (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "This is the about page." + }) + }); + }; + }, + 8758: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + (window.__NEXT_P = window.__NEXT_P || []).push([ + "/hmr/about5", function() { + return __webpack_require__(6298); + }, ]); + } + }, function(__webpack_require__) { + __webpack_require__.O(0, [ + 774, + 888, + 179, + ], function() { + return __webpack_require__(__webpack_require__.s = 8758); + }), _N_E = __webpack_require__.O(); + }, ]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about6-25feb06f767ae1c20330/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about6-25feb06f767ae1c20330/input.js new file mode 100644 index 00000000000..3faa861e6db --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about6-25feb06f767ae1c20330/input.js @@ -0,0 +1,88 @@ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [472,], + { + /***/ 9249: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + className: "hmr-about-page", + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "p", + { + children: "This is the about page.", + } + ), + } + ); + }; + + /***/ + }, + + /***/ 5754: /***/ function ( + __unused_webpack_module, + __unused_webpack_exports, + __webpack_require__ + ) { + (window.__NEXT_P = window.__NEXT_P || []).push( + [ + "/hmr/about6", + function ( + ) { + return __webpack_require__( + 9249 + ); + }, + ] + ); + + /***/ + }, + }, + /******/ function ( + __webpack_require__ + ) { + // webpackRuntimeModules + /******/ var __webpack_exec__ = function ( + moduleId + ) { + return __webpack_require__( + (__webpack_require__.s = moduleId) + ); + }; + /******/ __webpack_require__.O( + 0, + [774, 888, 179,], + function ( + ) { + return __webpack_exec__( + 5754 + ); + } + ); + /******/ var __webpack_exports__ = __webpack_require__.O( + ); + /******/ _N_E = __webpack_exports__; + /******/ + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about6-25feb06f767ae1c20330/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about6-25feb06f767ae1c20330/output.js new file mode 100644 index 00000000000..a93d7e362c0 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about6-25feb06f767ae1c20330/output.js @@ -0,0 +1,33 @@ +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 472, + ], + { + 9249: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + className: "hmr-about-page", + children: (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "This is the about page." + }) + }); + }; + }, + 5754: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + (window.__NEXT_P = window.__NEXT_P || []).push([ + "/hmr/about6", function() { + return __webpack_require__(9249); + }, ]); + } + }, function(__webpack_require__) { + __webpack_require__.O(0, [ + 774, + 888, + 179, + ], function() { + return __webpack_require__(__webpack_require__.s = 5754); + }), _N_E = __webpack_require__.O(); + }, ]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about7-9df961ea8fb5d2c5b7a2/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about7-9df961ea8fb5d2c5b7a2/input.js new file mode 100644 index 00000000000..80002691a30 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about7-9df961ea8fb5d2c5b7a2/input.js @@ -0,0 +1,88 @@ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [405,], + { + /***/ 4208: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + className: "hmr-about-page", + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "p", + { + children: "This is the about page.", + } + ), + } + ); + }; + + /***/ + }, + + /***/ 9037: /***/ function ( + __unused_webpack_module, + __unused_webpack_exports, + __webpack_require__ + ) { + (window.__NEXT_P = window.__NEXT_P || []).push( + [ + "/hmr/about7", + function ( + ) { + return __webpack_require__( + 4208 + ); + }, + ] + ); + + /***/ + }, + }, + /******/ function ( + __webpack_require__ + ) { + // webpackRuntimeModules + /******/ var __webpack_exec__ = function ( + moduleId + ) { + return __webpack_require__( + (__webpack_require__.s = moduleId) + ); + }; + /******/ __webpack_require__.O( + 0, + [774, 888, 179,], + function ( + ) { + return __webpack_exec__( + 9037 + ); + } + ); + /******/ var __webpack_exports__ = __webpack_require__.O( + ); + /******/ _N_E = __webpack_exports__; + /******/ + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about7-9df961ea8fb5d2c5b7a2/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about7-9df961ea8fb5d2c5b7a2/output.js new file mode 100644 index 00000000000..48fa5e9d923 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/about7-9df961ea8fb5d2c5b7a2/output.js @@ -0,0 +1,33 @@ +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 405, + ], + { + 4208: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + className: "hmr-about-page", + children: (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "This is the about page." + }) + }); + }; + }, + 9037: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + (window.__NEXT_P = window.__NEXT_P || []).push([ + "/hmr/about7", function() { + return __webpack_require__(4208); + }, ]); + } + }, function(__webpack_require__) { + __webpack_require__.O(0, [ + 774, + 888, + 179, + ], function() { + return __webpack_require__(__webpack_require__.s = 9037); + }), _N_E = __webpack_require__.O(); + }, ]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/contact-e0ce31ea2cdf538f0cad/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/contact-e0ce31ea2cdf538f0cad/input.js new file mode 100644 index 00000000000..4aa6158445c --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/contact-e0ce31ea2cdf538f0cad/input.js @@ -0,0 +1,88 @@ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [997,], + { + /***/ 8897: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + className: "hmr-contact-page", + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "p", + { + children: "This is the contact page.", + } + ), + } + ); + }; + + /***/ + }, + + /***/ 2574: /***/ function ( + __unused_webpack_module, + __unused_webpack_exports, + __webpack_require__ + ) { + (window.__NEXT_P = window.__NEXT_P || []).push( + [ + "/hmr/contact", + function ( + ) { + return __webpack_require__( + 8897 + ); + }, + ] + ); + + /***/ + }, + }, + /******/ function ( + __webpack_require__ + ) { + // webpackRuntimeModules + /******/ var __webpack_exec__ = function ( + moduleId + ) { + return __webpack_require__( + (__webpack_require__.s = moduleId) + ); + }; + /******/ __webpack_require__.O( + 0, + [774, 888, 179,], + function ( + ) { + return __webpack_exec__( + 2574 + ); + } + ); + /******/ var __webpack_exports__ = __webpack_require__.O( + ); + /******/ _N_E = __webpack_exports__; + /******/ + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/contact-e0ce31ea2cdf538f0cad/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/contact-e0ce31ea2cdf538f0cad/output.js new file mode 100644 index 00000000000..01c92251b67 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/contact-e0ce31ea2cdf538f0cad/output.js @@ -0,0 +1,33 @@ +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 997, + ], + { + 8897: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + className: "hmr-contact-page", + children: (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", { + children: "This is the contact page." + }) + }); + }; + }, + 2574: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + (window.__NEXT_P = window.__NEXT_P || []).push([ + "/hmr/contact", function() { + return __webpack_require__(8897); + }, ]); + } + }, function(__webpack_require__) { + __webpack_require__.O(0, [ + 774, + 888, + 179, + ], function() { + return __webpack_require__(__webpack_require__.s = 2574); + }), _N_E = __webpack_require__.O(); + }, ]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/style-752f74ed22a8a38573be/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/style-752f74ed22a8a38573be/input.js new file mode 100644 index 00000000000..f8530defe71 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/style-752f74ed22a8a38573be/input.js @@ -0,0 +1,115 @@ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [329,], + { + /***/ 1501: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + /* harmony import */ var styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__ = + __webpack_require__( + 266 + ); + /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = + __webpack_require__( + 2735 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + react__WEBPACK_IMPORTED_MODULE_2__.Fragment, + { + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + className: "hmr-style-page", + children: /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)( + "p", + { + className: "jsx-3646360250", + children: [ + "This is the style page.", + /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__.default, + { + id: "3646360250", + children: [ + "p.jsx-3646360250{font-size:100px;}", + ], + } + ), + ], + } + ), + } + ), + } + ); + }; + + /***/ + }, + + /***/ 9675: /***/ function ( + __unused_webpack_module, + __unused_webpack_exports, + __webpack_require__ + ) { + (window.__NEXT_P = window.__NEXT_P || []).push( + [ + "/hmr/style", + function ( + ) { + return __webpack_require__( + 1501 + ); + }, + ] + ); + + /***/ + }, + }, + /******/ function ( + __webpack_require__ + ) { + // webpackRuntimeModules + /******/ var __webpack_exec__ = function ( + moduleId + ) { + return __webpack_require__( + (__webpack_require__.s = moduleId) + ); + }; + /******/ __webpack_require__.O( + 0, + [774, 266, 888, 179,], + function ( + ) { + return __webpack_exec__( + 9675 + ); + } + ); + /******/ var __webpack_exports__ = __webpack_require__.O( + ); + /******/ _N_E = __webpack_exports__; + /******/ + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/style-752f74ed22a8a38573be/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/style-752f74ed22a8a38573be/output.js new file mode 100644 index 00000000000..6380507cb06 --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/hmr/style-752f74ed22a8a38573be/output.js @@ -0,0 +1,45 @@ +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 329, + ], + { + 1501: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512), styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(266), react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2735); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, { + children: (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + className: "hmr-style-page", + children: (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("p", { + className: "jsx-3646360250", + children: [ + "This is the style page.", + (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__.default, { + id: "3646360250", + children: [ + "p.jsx-3646360250{font-size:100px;}", + ] + }), + ] + }) + }) + }); + }; + }, + 9675: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + (window.__NEXT_P = window.__NEXT_P || []).push([ + "/hmr/style", function() { + return __webpack_require__(1501); + }, ]); + } + }, function(__webpack_require__) { + __webpack_require__.O(0, [ + 774, + 266, + 888, + 179, + ], function() { + return __webpack_require__(__webpack_require__.s = 9675); + }), _N_E = __webpack_require__.O(); + }, ]); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/process-env-ea448cdafe7e87f74757/input.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/process-env-ea448cdafe7e87f74757/input.js new file mode 100644 index 00000000000..f4b9cb0822d --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/process-env-ea448cdafe7e87f74757/input.js @@ -0,0 +1,82 @@ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push( + [ + [625,], + { + /***/ 736: /***/ function ( + __unused_webpack_module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + __webpack_require__.r( + __webpack_exports__ + ); + /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = + __webpack_require__( + 4512 + ); + + /* harmony default export */ __webpack_exports__["default"] = + function ( + ) { + return /*#__PURE__*/ (0, + react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)( + "div", + { + id: "node-env", + children: "production", + } + ); + }; + + /***/ + }, + + /***/ 1220: /***/ function ( + __unused_webpack_module, + __unused_webpack_exports, + __webpack_require__ + ) { + (window.__NEXT_P = window.__NEXT_P || []).push( + [ + "/process-env", + function ( + ) { + return __webpack_require__( + 736 + ); + }, + ] + ); + + /***/ + }, + }, + /******/ function ( + __webpack_require__ + ) { + // webpackRuntimeModules + /******/ var __webpack_exec__ = function ( + moduleId + ) { + return __webpack_require__( + (__webpack_require__.s = moduleId) + ); + }; + /******/ __webpack_require__.O( + 0, + [774, 888, 179,], + function ( + ) { + return __webpack_exec__( + 1220 + ); + } + ); + /******/ var __webpack_exports__ = __webpack_require__.O( + ); + /******/ _N_E = __webpack_exports__; + /******/ + }, + ] +); diff --git a/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/process-env-ea448cdafe7e87f74757/output.js b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/process-env-ea448cdafe7e87f74757/output.js new file mode 100644 index 00000000000..1a6294e1b7e --- /dev/null +++ b/ecmascript/minifier/tests/compress/fixture/projects/next/archive-1/pages/process-env-ea448cdafe7e87f74757/output.js @@ -0,0 +1,31 @@ +(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([ + [ + 625, + ], + { + 736: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + "use strict"; + __webpack_require__.r(__webpack_exports__); + var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512); + __webpack_exports__.default = function() { + return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { + id: "node-env", + children: "production" + }); + }; + }, + 1220: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + (window.__NEXT_P = window.__NEXT_P || []).push([ + "/process-env", function() { + return __webpack_require__(736); + }, ]); + } + }, function(__webpack_require__) { + __webpack_require__.O(0, [ + 774, + 888, + 179, + ], function() { + return __webpack_require__(__webpack_require__.s = 1220); + }), _N_E = __webpack_require__.O(); + }, ]); diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/.6/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/.6/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/.6/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/.6/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/.6/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/.6/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/.6/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/.6/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/1/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/1/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/1/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/1/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/1/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/1/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/1/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/1/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/10/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/10/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/10/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/10/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/10/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/10/output.js similarity index 59% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/10/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/10/output.js index a840f17fb3c..7a769cd47ed 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/react/10/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/react/10/output.js @@ -6,13 +6,18 @@ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) { } if ("string" == typeof type) return describeBuiltInComponentFrame(type); switch(type){ - case exports.Suspense: return describeBuiltInComponentFrame("Suspense"); - case REACT_SUSPENSE_LIST_TYPE: return describeBuiltInComponentFrame("SuspenseList"); + case exports.Suspense: + return describeBuiltInComponentFrame("Suspense"); + case REACT_SUSPENSE_LIST_TYPE: + return describeBuiltInComponentFrame("SuspenseList"); } if ("object" == typeof type) switch(type.$$typeof){ - case REACT_FORWARD_REF_TYPE: return describeFunctionComponentFrame(type.render); - case REACT_MEMO_TYPE: return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn); - case REACT_BLOCK_TYPE: return describeFunctionComponentFrame(type._render); + case REACT_FORWARD_REF_TYPE: + return describeFunctionComponentFrame(type.render); + case REACT_MEMO_TYPE: + return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn); + case REACT_BLOCK_TYPE: + return describeFunctionComponentFrame(type._render); case REACT_LAZY_TYPE: var lazyComponent = type, payload = lazyComponent._payload, init = lazyComponent._init; try { diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/11/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/11/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/11/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/11/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/11/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/11/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/11/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/11/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/12/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/12/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/12/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/12/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/12/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/12/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/12/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/12/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/13/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/13/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/13/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/13/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/13/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/13/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/13/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/13/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/14/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/14/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/14/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/14/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/14/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/14/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/14/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/14/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/15/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/15/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/15/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/15/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/15/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/15/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/15/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/15/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/16/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/16/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/16/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/16/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/16/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/16/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/16/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/16/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/2/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/2/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/2/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/2/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/2/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/2/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/2/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/2/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/3/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/3/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/3/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/3/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/3/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/3/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/3/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/3/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/4/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/4/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/4/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/4/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/4/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/4/output.js similarity index 80% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/4/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/4/output.js index 16946746633..8bcc431928b 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/react/4/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/react/4/output.js @@ -1,6 +1,8 @@ function printWarning(level, format, args) { var stack = ReactSharedInternals.ReactDebugCurrentFrame.getStackAddendum(); - "" !== stack && (format += "%s", args = args.concat([stack])); + "" !== stack && (format += "%s", args = args.concat([ + stack + ])); var argsWithFormat = args.map(function(item) { return "" + item; }); diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/5/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/5/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/5/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/5/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/5/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/5/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/5/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/5/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/7/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/7/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/7/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/7/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/7/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/7/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/7/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/7/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/8/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/8/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/8/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/8/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/8/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/8/output.js similarity index 92% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/8/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/8/output.js index b9b93daadfb..ceae3892a2f 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/react/8/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/react/8/output.js @@ -8,10 +8,12 @@ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) { case "number": invokeCallback = !0; break; - case "object": switch(children.$$typeof){ - case REACT_ELEMENT_TYPE: - case REACT_PORTAL_TYPE: invokeCallback = !0; - } + case "object": + switch(children.$$typeof){ + case REACT_ELEMENT_TYPE: + case REACT_PORTAL_TYPE: + invokeCallback = !0; + } } if (invokeCallback) { var _child = children, mappedChild = callback(_child), childKey = "" === nameSoFar ? "." + getElementKey(_child, 0) : nameSoFar; diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/9/input.js b/ecmascript/minifier/tests/compress/fixture/projects/react/9/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/9/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/9/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/react/9/output.js b/ecmascript/minifier/tests/compress/fixture/projects/react/9/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/react/9/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/react/9/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/1/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/1/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/1/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/1/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/1/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/1/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/1/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/1/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/10/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/10/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/10/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/10/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/10/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/10/output.js similarity index 76% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/10/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/10/output.js index f61f4e9b27c..c09e7555c6c 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/10/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/underscore/10/output.js @@ -5,11 +5,15 @@ var eq = function(a, b, aStack, bStack) { var className = toString.call(a); if (className != toString.call(b)) return !1; switch(className){ - case "[object String]": return a == String(b); - case "[object Number]": return a != +a ? b != +b : 0 == a ? 1 / a == 1 / b : a == +b; + case "[object String]": + return a == String(b); + case "[object Number]": + return a != +a ? b != +b : 0 == a ? 1 / a == 1 / b : a == +b; case "[object Date]": - case "[object Boolean]": return +a == +b; - case "[object RegExp]": return a.source == b.source && a.global == b.global && a.multiline == b.multiline && a.ignoreCase == b.ignoreCase; + case "[object Boolean]": + return +a == +b; + case "[object RegExp]": + return a.source == b.source && a.global == b.global && a.multiline == b.multiline && a.ignoreCase == b.ignoreCase; } if ("object" != typeof a || "object" != typeof b) return !1; for(var length = aStack.length; length--;)if (aStack[length] == a) return bStack[length] == b; diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/11/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/11/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/11/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/11/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/11/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/11/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/11/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/11/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/12/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/12/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/12/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/12/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/12/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/12/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/12/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/12/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/13/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/13/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/13/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/13/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/13/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/13/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/13/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/13/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/14/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/14/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/14/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/14/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/14/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/14/output.js similarity index 78% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/14/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/14/output.js index 3d9fbe08552..1c9b69de146 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/14/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/underscore/14/output.js @@ -2,7 +2,9 @@ _.mixin = function(obj) { each(_.functions(obj), function(name) { var func = _[name] = obj[name]; _.prototype[name] = function() { - var args = [this._wrapped]; + var args = [ + this._wrapped + ]; return push.apply(args, arguments), result.call(this, func.apply(_, args)); }; }); diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/15/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/15/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/15/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/15/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/15/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/15/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/15/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/15/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/16/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/16/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/16/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/16/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/16/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/16/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/16/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/16/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/17/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/17/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/17/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/17/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/17/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/17/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/17/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/17/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/18/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/18/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/18/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/18/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/18/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/18/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/18/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/18/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/19/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/19/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/19/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/19/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/19/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/19/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/19/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/19/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/2/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/2/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/2/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/2/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/2/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/2/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/2/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/2/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/20/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/20/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/20/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/20/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/20/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/20/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/20/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/20/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/21/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/21/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/21/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/21/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/21/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/21/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/21/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/21/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/22/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/22/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/22/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/22/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/22/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/22/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/22/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/22/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/23/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/23/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/23/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/23/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/23/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/23/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/23/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/23/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/24/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/24/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/24/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/24/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/24/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/24/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/24/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/24/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/3/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/3/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/3/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/3/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/3/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/3/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/3/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/3/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/4/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/4/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/4/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/4/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/4/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/4/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/4/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/4/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/5/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/5/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/5/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/5/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/5/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/5/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/5/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/5/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/6/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/6/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/6/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/6/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/6/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/6/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/6/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/6/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/7/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/7/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/7/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/7/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/7/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/7/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/7/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/7/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/8/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/8/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/8/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/8/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/8/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/8/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/8/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/8/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/9/input.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/9/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/9/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/9/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/underscore/9/output.js b/ecmascript/minifier/tests/compress/fixture/projects/underscore/9/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/underscore/9/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/underscore/9/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/1/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/1/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/1/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/1/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/1/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/1/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/1/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/1/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/10/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/10/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/10/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/10/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/10/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/10/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/10/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/10/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/11/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/11/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/11/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/11/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/11/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/11/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/11/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/11/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/12/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/12/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/12/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/12/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/12/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/12/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/12/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/12/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/13/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/13/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/13/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/13/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/13/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/13/output.js similarity index 80% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/13/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/13/output.js index fb49ddd40fd..d7e328075b4 100644 --- a/ecmascript/minifier/tests/compress/fixture/ projects/yui/13/output.js +++ b/ecmascript/minifier/tests/compress/fixture/projects/yui/13/output.js @@ -1,7 +1,9 @@ export const E = { _getTransaction: function(urls, options) { var i, len, req, url, requests = []; - for(Lang.isArray(urls) || (urls = [urls]), (options = Y.merge(this.options, options)).attributes = Y.merge(this.options.attributes, options.attributes), i = 0, len = urls.length; i < len; ++i){ + for(Lang.isArray(urls) || (urls = [ + urls + ]), (options = Y.merge(this.options, options)).attributes = Y.merge(this.options.attributes, options.attributes), i = 0, len = urls.length; i < len; ++i){ if (req = { attributes: { } diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/14/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/14/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/14/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/14/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/14/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/14/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/14/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/14/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/2/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/2/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/2/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/2/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/2/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/2/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/2/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/2/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/3/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/3/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/3/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/3/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/3/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/3/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/3/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/3/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/4/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/4/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/4/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/4/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/4/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/4/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/4/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/4/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/5/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/5/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/5/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/5/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/5/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/5/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/5/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/5/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/6/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/6/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/6/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/6/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/6/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/6/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/6/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/6/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/7/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/7/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/7/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/7/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/7/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/7/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/7/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/7/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/8/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/8/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/8/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/8/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/8/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/8/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/8/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/8/output.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/9/input.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/9/input.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/9/input.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/9/input.js diff --git a/ecmascript/minifier/tests/compress/fixture/ projects/yui/9/output.js b/ecmascript/minifier/tests/compress/fixture/projects/yui/9/output.js similarity index 100% rename from ecmascript/minifier/tests/compress/fixture/ projects/yui/9/output.js rename to ecmascript/minifier/tests/compress/fixture/projects/yui/9/output.js diff --git a/ecmascript/minifier/tests/golden.txt b/ecmascript/minifier/tests/golden.txt index 4a6046dfc11..5f0477cbe67 100644 --- a/ecmascript/minifier/tests/golden.txt +++ b/ecmascript/minifier/tests/golden.txt @@ -684,6 +684,7 @@ issue_597/beautify_off_2/input.js issue_597/beautify_on_1/input.js issue_597/beautify_on_2/input.js issue_597/issue_1725/input.js +issue_611/issue_611/input.js issue_640/drop_value/input.js issue_640/issue_1254_negate_iife_nested/input.js issue_640/issue_1254_negate_iife_true/input.js @@ -693,6 +694,7 @@ issue_640/negate_iife_5/input.js issue_640/negate_iife_5_off/input.js issue_751/negate_booleans_2/input.js issue_926/template_strings/input.js +issue_973/this_binding_sequences/input.js issue_t50/issue_t50/input.js issue_t50/issue_t50_const/input.js issue_t50/issue_t50_let/input.js @@ -897,7 +899,6 @@ reduce_vars/const_expr_2/input.js reduce_vars/defun_assign/input.js reduce_vars/defun_catch_4/input.js reduce_vars/defun_catch_5/input.js -reduce_vars/defun_reference/input.js reduce_vars/defun_single_use_loop/input.js reduce_vars/delay_def_lhs/input.js reduce_vars/do_while/input.js diff --git a/ecmascript/minifier/tests/ignored.txt b/ecmascript/minifier/tests/ignored.txt index 6f6f272bff0..405c3e5b57b 100644 --- a/ecmascript/minifier/tests/ignored.txt +++ b/ecmascript/minifier/tests/ignored.txt @@ -262,7 +262,6 @@ issue_417/test_unexpected_crash_2/input.js issue_44/issue_44_valid_ast_1/input.js issue_44/issue_44_valid_ast_2/input.js issue_597/issue_1724/input.js -issue_611/issue_611/input.js issue_637/wrongly_optimized/input.js issue_640/cond_5/input.js issue_640/conditional/input.js @@ -279,7 +278,6 @@ issue_782/remove_redundant_sequence_items/input.js issue_913/keep_var_for_in/input.js issue_973/this_binding_collapse_vars/input.js issue_973/this_binding_conditionals/input.js -issue_973/this_binding_sequences/input.js issue_973/this_binding_side_effects/input.js issue_976/eval_mangle/input.js issue_976/eval_unused/input.js @@ -390,6 +388,7 @@ reduce_vars/array_forin_1/input.js reduce_vars/conditional_chain_certain_part/input.js reduce_vars/defun_inline_1/input.js reduce_vars/defun_inline_2/input.js +reduce_vars/defun_reference/input.js reduce_vars/defun_var_1/input.js reduce_vars/defun_var_2/input.js reduce_vars/escaped_prop_1/input.js diff --git a/ecmascript/minifier/tests/projects/output/angular-1.2.5.js b/ecmascript/minifier/tests/projects/output/angular-1.2.5.js index 7e2a229e332..20cc600810a 100644 --- a/ecmascript/minifier/tests/projects/output/angular-1.2.5.js +++ b/ecmascript/minifier/tests/projects/output/angular-1.2.5.js @@ -1,4 +1,5 @@ !function(window, document, undefined) { + "use strict"; function minErr(module) { return function() { var obj, message, i, code = arguments[0], template = arguments[1], templateArgs = arguments; @@ -14,7 +15,11 @@ }, uppercase = function(string) { return isString(string) ? string.toUpperCase() : string; }, slice = [].slice, push = [].push, toString = Object.prototype.toString, ngMinErr = minErr("ng"), angular = window.angular || (window.angular = { - }), uid = ["0", "0", "0"]; + }), uid = [ + "0", + "0", + "0" + ]; function isArrayLike(obj) { if (null == obj || isWindow(obj)) return !1; var length = obj.length; @@ -169,8 +174,8 @@ if (o1 === o2) return !0; if (null === o1 || null === o2) return !1; if (o1 != o1 && o2 != o2) return !0; - var length, key, keySet, t1 = typeof o1, t2 = typeof o2; - if (t1 == t2 && "object" == t1) if (isArray(o1)) { + var length, key, keySet, t1 = typeof o1; + if (t1 == typeof o2 && "object" == t1) if (isArray(o1)) { if (!isArray(o2)) return !1; if ((length = o1.length) == o2.length) { for(key = 0; key < length; key++)if (!equals(o1[key], o2[key])) return !1; @@ -251,7 +256,10 @@ return forEach((keyValue || "").split("&"), function(keyValue) { if (keyValue && isDefined(key = tryDecodeURIComponent((key_value = keyValue.split("="))[0]))) { var val = !isDefined(key_value[1]) || tryDecodeURIComponent(key_value[1]); - obj[key] ? isArray(obj[key]) ? obj[key].push(val) : obj[key] = [obj[key], val] : obj[key] = val; + obj[key] ? isArray(obj[key]) ? obj[key].push(val) : obj[key] = [ + obj[key], + val + ] : obj[key] = val; } }), obj; } @@ -270,7 +278,14 @@ return encodeURIComponent(val).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, pctEncodeSpaces ? "%20" : "+"); } function angularInit(element, bootstrap) { - var appElement, module, elements = [element], names = ["ng:app", "ng-app", "x-ng-app", "data-ng-app"], NG_APP_CLASS_REGEXP = /\sng[:\-]app(:\s*([\w\d_]+);?)?\s/; + var appElement, module, elements = [ + element + ], names = [ + "ng:app", + "ng-app", + "x-ng-app", + "data-ng-app" + ], NG_APP_CLASS_REGEXP = /\sng[:\-]app(:\s*([\w\d_]+);?)?\s/; function append(element) { element && elements.push(element); } @@ -283,7 +298,9 @@ !appElement && names[attr.name] && (appElement = element, module = attr.value); }); } - }), appElement && bootstrap(appElement, module ? [module] : []); + }), appElement && bootstrap(appElement, module ? [ + module + ] : []); } function bootstrap(element, modules) { var doBootstrap = function() { @@ -291,11 +308,17 @@ var tag = element[0] === document ? "document" : startingTag(element); throw ngMinErr("btstrpd", "App Already Bootstrapped with this Element '{0}'", tag); } - (modules = modules || []).unshift(["$provide", function($provide) { + (modules = modules || []).unshift([ + "$provide", function($provide) { $provide.value("$rootElement", element); }]), modules.unshift("ng"); var injector = createInjector(modules); - return injector.invoke(["$rootScope", "$rootElement", "$compile", "$injector", "$animate", function(scope, element, compile, injector, animate) { + return injector.invoke([ + "$rootScope", + "$rootElement", + "$compile", + "$injector", + "$animate", function(scope, element, compile, injector, animate) { scope.$apply(function() { element.data("$injector", injector), compile(element)(scope); }); @@ -332,7 +355,9 @@ function getBlockElements(nodes) { var startNode = nodes[0], endNode = nodes[nodes.length - 1]; if (startNode === endNode) return jqLite(startNode); - var element = startNode, elements = [element]; + var element = startNode, elements = [ + element + ]; do { if (!(element = element.nextSibling)) break; elements.push(element); @@ -373,9 +398,11 @@ }; function invokeLater(provider, method, insertMethod) { return function() { - return invokeQueue[insertMethod || "push"]([provider, + return invokeQueue[insertMethod || "push"]([ + provider, method, - arguments]), moduleInstance; + arguments + ]), moduleInstance; }; } if (!requires) throw $injectorMinErr("nomod", "Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.", name); @@ -412,7 +439,11 @@ function jqLitePatchJQueryRemove(name, dispatchThis, filterElems, getterIfNoArguments) { var originalJqFn = jQuery.fn[name]; function removePatch(param) { - var set, setIndex, setLength, element, childIndex, childLength, children, list = filterElems && param ? [this.filter(param)] : [this], fireEvent = dispatchThis; + var set, setIndex, setLength, element, childIndex, childLength, children, list = filterElems && param ? [ + this.filter(param) + ] : [ + this + ], fireEvent = dispatchThis; if (!getterIfNoArguments || null != param) for(; list.length;)for(setIndex = 0, setLength = (set = list.shift()).length; setIndex < setLength; setIndex++)for(element = jqLite(set[setIndex]), fireEvent ? element.triggerHandler("$destroy") : fireEvent = !fireEvent, childIndex = 0, childLength = (children = element.children()).length; childIndex < childLength; childIndex++)list.push(jQuery(children[childIndex])); return originalJqFn.apply(this, arguments); } @@ -447,8 +478,11 @@ } function jqLiteRemoveData(element, name) { var expandoId = element[jqName], expandoStore = jqCache[expandoId]; - expandoStore && (name && delete jqCache[expandoId].data[name], expandoStore.handle && (expandoStore.events.$destroy && expandoStore.handle({ - }, "$destroy"), jqLiteOff(element)), delete jqCache[expandoId], element[jqName] = undefined); + if (expandoStore) { + if (name) return void delete jqCache[expandoId].data[name]; + expandoStore.handle && (expandoStore.events.$destroy && expandoStore.handle({ + }, "$destroy"), jqLiteOff(element)), delete jqCache[expandoId], element[jqName] = undefined; + } } function jqLiteExpandoStore(element, key, value) { var expandoId = element[jqName], expandoStore = jqCache[expandoId || -1]; @@ -480,7 +514,9 @@ } function jqLiteAddNodes(root, elements) { if (elements) { - elements = !elements.nodeName && isDefined(elements.length) && !isWindow(elements) ? elements : [elements]; + elements = !elements.nodeName && isDefined(elements.length) && !isWindow(elements) ? elements : [ + elements + ]; for(var i = 0; i < elements.length; i++)root.push(elements[i]); } } @@ -489,7 +525,9 @@ } function jqLiteInheritedData(element, name, value) { 9 == (element = jqLite(element))[0].nodeType && (element = element.find("html")); - for(var names = isArray(name) ? name : [name]; element.length;){ + for(var names = isArray(name) ? name : [ + name + ]; element.length;){ for(var i = 0, ii = names.length; i < ii; i++)if (undefined !== (value = element.data(names[i]))) return value; element = element.parent(); } @@ -568,10 +606,27 @@ $provide: { provider: supportObject(provider), factory: supportObject(factory), - service: supportObject(service), - value: supportObject(value), - constant: supportObject(constant), - decorator: decorator + service: supportObject(function service(name, constructor) { + return factory(name, [ + "$injector", function($injector) { + return $injector.instantiate(constructor); + }]); + }), + value: supportObject(function value(name, val) { + return factory(name, valueFn(val)); + }), + constant: supportObject(function constant(name, value1) { + assertNotHasOwnProperty(name, "constant"), providerCache[name] = value1, instanceCache[name] = value1; + }), + decorator: function decorator(serviceName, decorFn) { + var origProvider = providerInjector.get(serviceName + "Provider"), orig$get = origProvider.$get; + origProvider.$get = function() { + var origInstance = instanceInjector.invoke(orig$get, origProvider); + return instanceInjector.invoke(decorFn, null, { + $delegate: origInstance + }); + }; + } } }, providerInjector = providerCache.$injector = createInternalInjector(providerCache, function() { throw $injectorMinErr("unpr", "Unknown provider: {0}", path.join(" <- ")); @@ -595,26 +650,6 @@ $get: factoryFn }); } - function service(name, constructor) { - return factory(name, ["$injector", function($injector) { - return $injector.instantiate(constructor); - }]); - } - function value(name, val) { - return factory(name, valueFn(val)); - } - function constant(name, value) { - assertNotHasOwnProperty(name, "constant"), providerCache[name] = value, instanceCache[name] = value; - } - function decorator(serviceName, decorFn) { - var origProvider = providerInjector.get(serviceName + "Provider"), orig$get = origProvider.$get; - origProvider.$get = function() { - var origInstance = instanceInjector.invoke(orig$get, origProvider); - return instanceInjector.invoke(decorFn, null, { - $delegate: origInstance - }); - }; - } function loadModules(modulesToLoad) { var moduleFn, invokeQueue, i, ii, runBlocks = []; return forEach(modulesToLoad, function(module) { @@ -674,7 +709,10 @@ var autoScrollingEnabled = !0; this.disableAutoScrolling = function() { autoScrollingEnabled = !1; - }, this.$get = ["$window", "$location", "$rootScope", function($window, $location, $rootScope) { + }, this.$get = [ + "$window", + "$location", + "$rootScope", function($window, $location, $rootScope) { var document = $window.document; function getFirstAnchor(list) { var result = null; @@ -693,13 +731,15 @@ }), scroll; }]; } - var $animateMinErr = minErr("$animate"), $AnimateProvider = ["$provide", function($provide) { + var $animateMinErr = minErr("$animate"), $AnimateProvider = [ + "$provide", function($provide) { this.$$selectors = { }, this.register = function(name, factory) { var key = name + "-animation"; if (name && "." != name.charAt(0)) throw $animateMinErr("notcsel", "Expecting class selector starting with '.' got '{0}'.", name); this.$$selectors[name.substr(1)] = key, $provide.factory(key, factory); - }, this.$get = ["$timeout", function($timeout) { + }, this.$get = [ + "$timeout", function($timeout) { return { enter: function(element, parent, after, done) { after ? after.after(element) : (parent && parent[0] || (parent = after.parent()), parent.append(element)), done && $timeout(done, 0, !1); @@ -787,7 +827,11 @@ }; } function $BrowserProvider() { - this.$get = ["$window", "$log", "$sniffer", "$document", function($window, $log, $sniffer, $document) { + this.$get = [ + "$window", + "$log", + "$sniffer", + "$document", function($window, $log, $sniffer, $document) { return new Browser($window, $document, $log, $sniffer); }]; } @@ -851,7 +895,8 @@ }; } function $TemplateCacheProvider() { - this.$get = ["$cacheFactory", function($cacheFactory) { + this.$get = [ + "$cacheFactory", function($cacheFactory) { return $cacheFactory("templates"); }]; } @@ -860,7 +905,9 @@ var hasDirectives = { }, COMMENT_DIRECTIVE_REGEXP = /^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/, CLASS_DIRECTIVE_REGEXP = /(([\d\w\-_]+)(?:\:([^;]+))?;?)/, EVENT_HANDLER_ATTR_REGEXP = /^(on[a-z]+|formaction)$/; this.directive = function registerDirective(name, directiveFactory) { - return assertNotHasOwnProperty(name, "directive"), isString(name) ? (assertArg(directiveFactory, "directiveFactory"), hasDirectives.hasOwnProperty(name) || (hasDirectives[name] = [], $provide.factory(name + "Directive", ["$injector", "$exceptionHandler", function($injector, $exceptionHandler) { + return assertNotHasOwnProperty(name, "directive"), isString(name) ? (assertArg(directiveFactory, "directiveFactory"), hasDirectives.hasOwnProperty(name) || (hasDirectives[name] = [], $provide.factory(name + "Directive", [ + "$injector", + "$exceptionHandler", function($injector, $exceptionHandler) { var directives = []; return forEach(hasDirectives[name], function(directiveFactory, index) { try { @@ -877,7 +924,19 @@ return isDefined(regexp) ? ($$sanitizeUriProvider.aHrefSanitizationWhitelist(regexp), this) : $$sanitizeUriProvider.aHrefSanitizationWhitelist(); }, this.imgSrcSanitizationWhitelist = function(regexp) { return isDefined(regexp) ? ($$sanitizeUriProvider.imgSrcSanitizationWhitelist(regexp), this) : $$sanitizeUriProvider.imgSrcSanitizationWhitelist(); - }, this.$get = ["$injector", "$interpolate", "$exceptionHandler", "$http", "$templateCache", "$parse", "$controller", "$rootScope", "$document", "$sce", "$animate", "$$sanitizeUri", function($injector, $interpolate, $exceptionHandler, $http, $templateCache, $parse, $controller, $rootScope, $document, $sce, $animate, $$sanitizeUri) { + }, this.$get = [ + "$injector", + "$interpolate", + "$exceptionHandler", + "$http", + "$templateCache", + "$parse", + "$controller", + "$rootScope", + "$document", + "$sce", + "$animate", + "$$sanitizeUri", function($injector, $interpolate, $exceptionHandler, $http, $templateCache, $parse, $controller, $rootScope, $document, $sce, $animate, $$sanitizeUri) { var Attributes = function(element, attr) { this.$$element = element, this.$attr = attr || { }; @@ -983,7 +1042,7 @@ } function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) { var attrs, $element, i, ii, linkFn, controller, isolateScope, transcludeFn, elementControllers = { - }, scopeToChild = scope; + }; if ($element = (attrs = compileNode === linkNode ? templateAttrs : shallowCopy(templateAttrs, new Attributes(jqLite(linkNode), templateAttrs.$attr))).$$element, newIsolateScopeDirective) { var LOCAL_REGEXP = /^\s*([@=&])(\??)\s*(\w*)\s*$/, $linkNode = jqLite(linkNode); isolateScope = scope.$new(!0), templateDirective && templateDirective === newIsolateScopeDirective.$$originalDirective ? $linkNode.data("$isolateScope", isolateScope) : $linkNode.data("$isolateScopeNoTemplate", isolateScope), safeAddClass($linkNode, "ng-isolate-scope"), forEach(newIsolateScopeDirective.scope, function(definition, scopeName) { @@ -1010,7 +1069,8 @@ return parentGet(scope, locals); }; break; - default: throw $compileMinErr("iscp", "Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}", newIsolateScopeDirective.name, scopeName, definition); + default: + throw $compileMinErr("iscp", "Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}", newIsolateScopeDirective.name, scopeName, definition); } }); } @@ -1030,6 +1090,7 @@ } catch (e) { $exceptionHandler(e, startingTag($element)); } + var scopeToChild = scope; for(newIsolateScopeDirective && (newIsolateScopeDirective.template || null === newIsolateScopeDirective.templateUrl) && (scopeToChild = isolateScope), childLinkFn && childLinkFn(scopeToChild, linkNode.childNodes, undefined, boundTranscludeFn), i = postLinkFns.length - 1; i >= 0; i--)try { (linkFn = postLinkFns[i])(linkFn.isolateScope ? isolateScope : scope, $element, attrs, linkFn.require && getControllers(linkFn.require, $element, elementControllers), transcludeFn); } catch (e) { @@ -1247,7 +1308,9 @@ }, CNTRL_REG = /^(\S+)(\s+as\s+(\w+))?$/; this.register = function(name, constructor) { assertNotHasOwnProperty(name, "controller"), isObject(name) ? extend(controllers, name) : controllers[name] = constructor; - }, this.$get = ["$injector", "$window", function($injector, $window) { + }, this.$get = [ + "$injector", + "$window", function($injector, $window) { return function(expression, locals) { var instance, match, constructor, identifier; if (isString(expression) && (constructor = (match = expression.match(CNTRL_REG))[1], identifier = match[3], assertArgFn(expression = controllers.hasOwnProperty(constructor) ? controllers[constructor] : getter(locals.$scope, constructor, !0) || getter($window, constructor, !0), constructor, !0)), instance = $injector.instantiate(expression, locals), identifier) { @@ -1259,12 +1322,14 @@ }]; } function $DocumentProvider() { - this.$get = ["$window", function(window) { + this.$get = [ + "$window", function(window) { return jqLite(window.document); }]; } function $ExceptionHandlerProvider() { - this.$get = ["$log", function($log) { + this.$get = [ + "$log", function($log) { return function(exception, cause) { $log.error.apply($log, arguments); }; @@ -1312,27 +1377,19 @@ xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN" }, interceptorFactories = this.interceptors = [], responseInterceptorFactories = this.responseInterceptors = []; - this.$get = ["$httpBackend", "$browser", "$cacheFactory", "$rootScope", "$q", "$injector", function($httpBackend, $browser, $cacheFactory, $rootScope, $q, $injector) { + this.$get = [ + "$httpBackend", + "$browser", + "$cacheFactory", + "$rootScope", + "$q", + "$injector", function($httpBackend, $browser, $cacheFactory, $rootScope, $q, $injector) { var defaultCache = $cacheFactory("$http"), reversedInterceptors = []; function $http(requestConfig) { var config = { transformRequest: defaults.transformRequest, transformResponse: defaults.transformResponse - }, headers = mergeHeaders(requestConfig), xsrfValue = urlIsSameOrigin(config.url) ? $browser.cookies()[config.xsrfCookieName || defaults.xsrfCookieName] : undefined, chain = [function(config) { - headers = config.headers; - var reqData = transformData(config.data, headersGetter(headers), config.transformRequest); - return isUndefined(config.data) && forEach(headers, function(value, header) { - "content-type" === lowercase(header) && delete headers[header]; - }), isUndefined(config.withCredentials) && !isUndefined(defaults.withCredentials) && (config.withCredentials = defaults.withCredentials), sendReq(config, reqData, headers).then(transformResponse, transformResponse); - }, undefined], promise = $q.when(config); - function transformResponse(response) { - var resp = extend({ - }, response, { - data: transformData(response.data, response.headers, config.transformResponse) - }); - return isSuccess(response.status) ? resp : $q.reject(resp); - } - function mergeHeaders(config) { + }, headers = function mergeHeaders(config) { var defHeaderName, lowercaseDefHeaderName, reqHeaderName, defHeaders = defaults.headers, reqHeaders = extend({ }, config.headers); function execHeaders(headers) { @@ -1348,6 +1405,20 @@ reqHeaders[defHeaderName] = defHeaders[defHeaderName]; } return reqHeaders; + }(requestConfig), xsrfValue = urlIsSameOrigin(config.url) ? $browser.cookies()[config.xsrfCookieName || defaults.xsrfCookieName] : undefined, chain = [function(config) { + headers = config.headers; + var reqData = transformData(config.data, headersGetter(headers), config.transformRequest); + return isUndefined(config.data) && forEach(headers, function(value, header) { + "content-type" === lowercase(header) && delete headers[header]; + }), isUndefined(config.withCredentials) && !isUndefined(defaults.withCredentials) && (config.withCredentials = defaults.withCredentials), sendReq(config, reqData, headers).then(transformResponse, transformResponse); + }, undefined + ], promise = $q.when(config); + function transformResponse(response) { + var resp = extend({ + }, response, { + data: transformData(response.data, response.headers, config.transformResponse) + }); + return isSuccess(response.status) ? resp : $q.reject(resp); } for(extend(config, requestConfig), config.headers = headers, config.method = uppercase(config.method), xsrfValue && (headers[config.xsrfHeaderName || defaults.xsrfHeaderName] = xsrfValue), forEach(reversedInterceptors, function(interceptor) { (interceptor.request || interceptor.requestError) && chain.unshift(interceptor.request, interceptor.requestError), (interceptor.response || interceptor.responseError) && chain.push(interceptor.response, interceptor.responseError); @@ -1385,15 +1456,20 @@ }); } else cache.put(url, promise); return isUndefined(cachedResp) && $httpBackend(config.method, url, reqData, function(status, response, headersString) { - cache && (isSuccess(status) ? cache.put(url, [status, - response, parseHeaders(headersString)]) : cache.remove(url)), resolvePromise(response, status, headersString), $rootScope.$$phase || $rootScope.$apply(); + cache && (isSuccess(status) ? cache.put(url, [ + status, + response, + parseHeaders(headersString) + ]) : cache.remove(url)), resolvePromise(response, status, headersString), $rootScope.$$phase || $rootScope.$apply(); }, reqHeaders, config.timeout, config.withCredentials, config.responseType), promise; } function buildUrl(url, params) { if (!params) return url; var parts = []; return forEachSorted(params, function(value, key) { - null === value || isUndefined(value) || (isArray(value) || (value = [value]), forEach(value, function(v) { + null === value || isUndefined(value) || (isArray(value) || (value = [ + value + ]), forEach(value, function(v) { isObject(v) && (v = toJson(v)), parts.push(encodeUriQuery(key) + "=" + encodeUriQuery(v)); })); }), url + (-1 == url.indexOf("?") ? "?" : "&") + parts.join("&"); @@ -1450,7 +1526,10 @@ throw minErr("$httpBackend")("noxhr", "This browser does not support XMLHttpRequest."); }; function $HttpBackendProvider() { - this.$get = ["$browser", "$window", "$document", function($browser, $window, $document) { + this.$get = [ + "$browser", + "$window", + "$document", function($browser, $window, $document) { return createHttpBackend($browser, XHR, $browser.defer, $window.angular.callbacks, $document[0]); }]; } @@ -1504,7 +1583,10 @@ return value ? (startSymbol = value, this) : startSymbol; }, this.endSymbol = function(value) { return value ? (endSymbol = value, this) : endSymbol; - }, this.$get = ["$parse", "$exceptionHandler", "$sce", function($parse, $exceptionHandler, $sce) { + }, this.$get = [ + "$parse", + "$exceptionHandler", + "$sce", function($parse, $exceptionHandler, $sce) { var startSymbolLength = startSymbol.length, endSymbolLength = endSymbol.length; function $interpolate(text, mustHaveExpression, trustedContext) { for(var startIndex, endIndex, fn, exp, index = 0, parts = [], length = text.length, hasInterpolation = !1, concat = []; index < length;)-1 != (startIndex = text.indexOf(startSymbol, index)) && -1 != (endIndex = text.indexOf(endSymbol, startIndex + startSymbolLength)) ? (index != startIndex && parts.push(text.substring(index, startIndex)), parts.push(fn = $parse(exp = text.substring(startIndex + startSymbolLength, endIndex))), fn.exp = exp, index = endIndex + endSymbolLength, hasInterpolation = !0) : (index != length && parts.push(text.substring(index)), index = length); @@ -1526,7 +1608,10 @@ }]; } function $IntervalProvider() { - this.$get = ["$rootScope", "$window", "$q", function($rootScope, $window, $q) { + this.$get = [ + "$rootScope", + "$window", + "$q", function($rootScope, $window, $q) { var intervals = { }; function interval(fn, delay, count, invokeApply) { @@ -1547,7 +1632,8 @@ NUMBER_FORMATS: { DECIMAL_SEP: ".", GROUP_SEP: ",", - PATTERNS: [{ + PATTERNS: [ + { minInt: 1, minFrac: 0, maxFrac: 3, @@ -1557,7 +1643,8 @@ negSuf: "", gSize: 3, lgSize: 3 - }, { + }, + { minInt: 1, minFrac: 2, maxFrac: 2, @@ -1567,7 +1654,8 @@ negSuf: ")", gSize: 3, lgSize: 3 - }], + } + ], CURRENCY_SYM: "$" }, DATETIME_FORMATS: { @@ -1575,7 +1663,10 @@ SHORTMONTH: "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","), DAY: "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","), SHORTDAY: "Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","), - AMPMS: ["AM", "PM"], + AMPMS: [ + "AM", + "PM" + ], medium: "MMM d, y h:mm:ss a", short: "M/d/yy h:mm a", fullDate: "EEEE, MMMM d, y", @@ -1675,7 +1766,11 @@ return isDefined(prefix) ? (hashPrefix = prefix, this) : hashPrefix; }, this.html5Mode = function(mode) { return isDefined(mode) ? (html5Mode = mode, this) : html5Mode; - }, this.$get = ["$rootScope", "$browser", "$sniffer", "$rootElement", function($rootScope, $browser, $sniffer, $rootElement) { + }, this.$get = [ + "$rootScope", + "$browser", + "$sniffer", + "$rootElement", function($rootScope, $browser, $sniffer, $rootElement) { var $location, LocationMode, appBase, baseHref = $browser.baseHref(), initialUrl = $browser.url(), changeCounter = 0; function afterLocationChange(oldUrl) { $rootScope.$broadcast("$locationChangeSuccess", $location.absUrl(), oldUrl); @@ -1687,10 +1782,13 @@ absHref && !elm.attr("target") && rewrittenUrl && !event.isDefaultPrevented() && (event.preventDefault(), rewrittenUrl != $browser.url() && ($location.$$parse(rewrittenUrl), $rootScope.$apply(), window.angular["ff-684208-preventDefault"] = !0)); } }), $location.absUrl() != initialUrl && $browser.url($location.absUrl(), !0), $browser.onUrlChange(function(newUrl) { - $location.absUrl() != newUrl && ($rootScope.$broadcast("$locationChangeStart", newUrl, $location.absUrl()).defaultPrevented && $browser.url($location.absUrl()), $rootScope.$evalAsync(function() { - var oldUrl = $location.absUrl(); - $location.$$parse(newUrl), afterLocationChange(oldUrl); - }), $rootScope.$$phase || $rootScope.$digest()); + if ($location.absUrl() != newUrl) { + if ($rootScope.$broadcast("$locationChangeStart", newUrl, $location.absUrl()).defaultPrevented) return void $browser.url($location.absUrl()); + $rootScope.$evalAsync(function() { + var oldUrl = $location.absUrl(); + $location.$$parse(newUrl), afterLocationChange(oldUrl); + }), $rootScope.$$phase || $rootScope.$digest(); + } }), $rootScope.$watch(function() { var oldUrl = $browser.url(), currentReplace = $location.$$replace; return changeCounter && oldUrl == $location.absUrl() || (changeCounter++, $rootScope.$evalAsync(function() { @@ -1703,7 +1801,8 @@ var debug = !0, self = this; this.debugEnabled = function(flag) { return isDefined(flag) ? (debug = flag, this) : debug; - }, this.$get = ["$window", function($window) { + }, this.$get = [ + "$window", function($window) { function formatError(arg) { return arg instanceof Error && (arg.stack ? arg = arg.message && -1 === arg.stack.indexOf(arg.message) ? "Error: " + arg.message + "\n" + arg.stack : arg.stack : arg.sourceURL && (arg = arg.message + "\n" + arg.sourceURL + ":" + arg.line)), arg; } @@ -1899,7 +1998,10 @@ return isDefined(value) ? ($parseOptions.unwrapPromises = !!value, this) : $parseOptions.unwrapPromises; }, this.logPromiseWarnings = function(value) { return isDefined(value) ? ($parseOptions.logPromiseWarnings = value, this) : $parseOptions.logPromiseWarnings; - }, this.$get = ["$filter", "$sniffer", "$log", function($filter, $sniffer, $log) { + }, this.$get = [ + "$filter", + "$sniffer", + "$log", function($filter, $sniffer, $log) { return $parseOptions.csp = $sniffer.csp, promiseWarning = function(fullExp) { !$parseOptions.logPromiseWarnings || promiseWarningCache.hasOwnProperty(fullExp) || (promiseWarningCache[fullExp] = !0, $log.warn("[$parse] Promise found in the expression `" + fullExp + "`. Automatic unwrapping of promises in Angular expressions is deprecated.")); }, function(exp) { @@ -1909,14 +2011,18 @@ if (cache.hasOwnProperty(exp)) return cache[exp]; var lexer = new Lexer($parseOptions); return parsedExpression = new Parser(lexer, $filter, $parseOptions).parse(exp, !1), "hasOwnProperty" !== exp && (cache[exp] = parsedExpression), parsedExpression; - case "function": return exp; - default: return noop; + case "function": + return exp; + default: + return noop; } }; }]; } function $QProvider() { - this.$get = ["$rootScope", "$exceptionHandler", function($rootScope, $exceptionHandler) { + this.$get = [ + "$rootScope", + "$exceptionHandler", function($rootScope, $exceptionHandler) { return qFactory(function(callback) { $rootScope.$evalAsync(callback); }, $exceptionHandler); @@ -1966,9 +2072,11 @@ exceptionHandler(e); } }; - return pending ? pending.push([wrappedCallback, + return pending ? pending.push([ + wrappedCallback, wrappedErrback, - wrappedProgressback]) : value.then(wrappedCallback, wrappedErrback, wrappedProgressback), result.promise; + wrappedProgressback + ]) : value.then(wrappedCallback, wrappedErrback, wrappedProgressback), result.promise; }, "catch": function(callback) { return this.then(null, callback); @@ -2078,7 +2186,11 @@ var TTL = 10, $rootScopeMinErr = minErr("$rootScope"), lastDirtyWatch = null; this.digestTtl = function(value) { return arguments.length && (TTL = value), TTL; - }, this.$get = ["$injector", "$exceptionHandler", "$parse", "$browser", function($injector, $exceptionHandler, $parse, $browser) { + }, this.$get = [ + "$injector", + "$exceptionHandler", + "$parse", + "$browser", function($injector, $exceptionHandler, $parse, $browser) { function Scope() { this.$id = nextUid(), this.$$phase = this.$parent = this.$$watchers = this.$$nextSibling = this.$$prevSibling = this.$$childHead = this.$$childTail = null, this.this = this.$root = this, this.$$destroyed = !1, this.$$asyncQueue = [], this.$$postDigestQueue = [], this.$$listeners = { }, this.$$isolateBindings = { @@ -2233,7 +2345,9 @@ event.defaultPrevented = !0; }, defaultPrevented: !1 - }, listenerArgs = concat([event], arguments, 1); + }, listenerArgs = concat([ + event + ], arguments, 1); do { for(i = 0, namedListeners = scope.$$listeners[name] || empty, event.currentScope = scope, length = namedListeners.length; i < length; i++){ if (!namedListeners[i]) { @@ -2259,7 +2373,9 @@ event.defaultPrevented = !0; }, defaultPrevented: !1 - }, listenerArgs = concat([event], arguments, 1); + }, listenerArgs = concat([ + event + ], arguments, 1); do { for(i = 0, current = next, event.currentScope = current, length = (listeners = current.$$listeners[name] || []).length; i < length; i++){ if (!listeners[i]) { @@ -2319,12 +2435,15 @@ } function $SceDelegateProvider() { this.SCE_CONTEXTS = SCE_CONTEXTS; - var resourceUrlWhitelist = ["self"], resourceUrlBlacklist = []; + var resourceUrlWhitelist = [ + "self" + ], resourceUrlBlacklist = []; this.resourceUrlWhitelist = function(value) { return arguments.length && (resourceUrlWhitelist = adjustMatchers(value)), resourceUrlWhitelist; }, this.resourceUrlBlacklist = function(value) { return arguments.length && (resourceUrlBlacklist = adjustMatchers(value)), resourceUrlBlacklist; - }, this.$get = ["$injector", function($injector) { + }, this.$get = [ + "$injector", function($injector) { var htmlSanitizer = function(html) { throw $sceMinErr("unsafe", "Attempting to use an unsafe value in a safe context."); }; @@ -2388,7 +2507,10 @@ var enabled = !0; this.enabled = function(value) { return arguments.length && (enabled = !!value), enabled; - }, this.$get = ["$parse", "$sniffer", "$sceDelegate", function($parse, $sniffer, $sceDelegate) { + }, this.$get = [ + "$parse", + "$sniffer", + "$sceDelegate", function($parse, $sniffer, $sceDelegate) { if (enabled && $sniffer.msie && $sniffer.msieDocumentMode < 8) throw $sceMinErr("iequirks", "Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information."); var sce = copy(SCE_CONTEXTS); sce.isEnabled = function() { @@ -2415,7 +2537,9 @@ }]; } function $SnifferProvider() { - this.$get = ["$window", "$document", function($window, $document) { + this.$get = [ + "$window", + "$document", function($window, $document) { var vendorPrefix, match, eventSupport = { }, android = int((/android (\d+)/.exec(lowercase(($window.navigator || { }).userAgent)) || [])[1]), boxee = /Boxee/i.test(($window.navigator || { @@ -2449,7 +2573,11 @@ }]; } function $TimeoutProvider() { - this.$get = ["$rootScope", "$browser", "$q", "$exceptionHandler", function($rootScope, $browser, $q, $exceptionHandler) { + this.$get = [ + "$rootScope", + "$browser", + "$q", + "$exceptionHandler", function($rootScope, $browser, $q, $exceptionHandler) { var deferreds = { }; function timeout(fn, delay, invokeApply) { @@ -2500,7 +2628,8 @@ filters[key] = register(key, filter); }), filters; } - this.register = register, this.$get = ["$injector", function($injector) { + this.register = register, this.$get = [ + "$injector", function($injector) { return function(name) { return $injector.get(name + "Filter"); }; @@ -2523,10 +2652,12 @@ switch(typeof obj){ case "boolean": case "number": - case "string": return comparator(obj, text); + case "string": + return comparator(obj, text); case "object": switch(typeof text){ - case "object": return comparator(obj, text); + case "object": + return comparator(obj, text); default: for(var objKey in obj)if ("$" !== objKey.charAt(0) && search(obj[objKey], text)) return !0; break; @@ -2535,15 +2666,17 @@ case "array": for(var i = 0; i < obj.length; i++)if (search(obj[i], text)) return !0; return !1; - default: return !1; + default: + return !1; } }; switch(typeof expression){ case "boolean": case "number": - case "string": expression = { - $: expression - }; + case "string": + expression = { + $: expression + }; case "object": for(var key in expression)"$" == key ? (function() { if (expression[key]) { @@ -2564,7 +2697,8 @@ case "function": predicates.push(expression); break; - default: return array; + default: + return array; } for(var filtered = [], j = 0; j < array.length; j++){ var value = array[j]; @@ -2703,7 +2837,9 @@ } if (!isArray(array)) return array; if (!sortPredicate) return array; - sortPredicate = map(sortPredicate = isArray(sortPredicate) ? sortPredicate : [sortPredicate], function(predicate) { + sortPredicate = map(sortPredicate = isArray(sortPredicate) ? sortPredicate : [ + sortPredicate + ], function(predicate) { var descending = !1, get = predicate || identity; return isString(predicate) && (("+" == predicate.charAt(0) || "-" == predicate.charAt(0)) && (descending = "-" == predicate.charAt(0), predicate = predicate.substring(1)), get = $parse(predicate)), reverseComparator(function(a, b) { return compare(get(a), get(b)); @@ -2771,7 +2907,8 @@ }; } var formDirectiveFactory = function(isNgForm) { - return ["$timeout", function($timeout) { + return [ + "$timeout", function($timeout) { var formDirective; return { name: "form", @@ -2801,11 +2938,70 @@ }]; }, formDirective = formDirectiveFactory(), ngFormDirective = formDirectiveFactory(!0), URL_REGEXP = /^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/, EMAIL_REGEXP = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}$/, NUMBER_REGEXP = /^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/, inputType = { text: textInputType, - number: numberInputType, - url: urlInputType, - email: emailInputType, - radio: radioInputType, - checkbox: checkboxInputType, + number: function numberInputType(scope, element, attr, ctrl, $sniffer, $browser) { + if (textInputType(scope, element, attr, ctrl, $sniffer, $browser), ctrl.$parsers.push(function(value) { + var empty = ctrl.$isEmpty(value); + return empty || NUMBER_REGEXP.test(value) ? (ctrl.$setValidity("number", !0), "" === value ? null : empty ? value : parseFloat(value)) : void ctrl.$setValidity("number", !1); + }), ctrl.$formatters.push(function(value) { + return ctrl.$isEmpty(value) ? "" : "" + value; + }), attr.min) { + var minValidator = function(value) { + var min = parseFloat(attr.min); + return !ctrl.$isEmpty(value) && value < min ? void ctrl.$setValidity("min", !1) : (ctrl.$setValidity("min", !0), value); + }; + ctrl.$parsers.push(minValidator), ctrl.$formatters.push(minValidator); + } + if (attr.max) { + var maxValidator = function(value) { + var max = parseFloat(attr.max); + return !ctrl.$isEmpty(value) && value > max ? void ctrl.$setValidity("max", !1) : (ctrl.$setValidity("max", !0), value); + }; + ctrl.$parsers.push(maxValidator), ctrl.$formatters.push(maxValidator); + } + ctrl.$formatters.push(function(value) { + return ctrl.$isEmpty(value) || isNumber(value) ? (ctrl.$setValidity("number", !0), value) : void ctrl.$setValidity("number", !1); + }); + }, + url: function urlInputType(scope, element, attr, ctrl, $sniffer, $browser) { + textInputType(scope, element, attr, ctrl, $sniffer, $browser); + var urlValidator = function(value) { + return ctrl.$isEmpty(value) || URL_REGEXP.test(value) ? (ctrl.$setValidity("url", !0), value) : void ctrl.$setValidity("url", !1); + }; + ctrl.$formatters.push(urlValidator), ctrl.$parsers.push(urlValidator); + }, + email: function emailInputType(scope, element, attr, ctrl, $sniffer, $browser) { + textInputType(scope, element, attr, ctrl, $sniffer, $browser); + var emailValidator = function(value) { + return ctrl.$isEmpty(value) || EMAIL_REGEXP.test(value) ? (ctrl.$setValidity("email", !0), value) : void ctrl.$setValidity("email", !1); + }; + ctrl.$formatters.push(emailValidator), ctrl.$parsers.push(emailValidator); + }, + radio: function radioInputType(scope, element, attr, ctrl) { + isUndefined(attr.name) && element.attr("name", nextUid()), element.on("click", function() { + element[0].checked && scope.$apply(function() { + ctrl.$setViewValue(attr.value); + }); + }), ctrl.$render = function() { + var value = attr.value; + element[0].checked = value == ctrl.$viewValue; + }, attr.$observe("value", ctrl.$render); + }, + checkbox: function checkboxInputType(scope, element, attr, ctrl) { + var trueValue = attr.ngTrueValue, falseValue = attr.ngFalseValue; + isString(trueValue) || (trueValue = !0), isString(falseValue) || (falseValue = !1), element.on("click", function() { + scope.$apply(function() { + ctrl.$setViewValue(element[0].checked); + }); + }), ctrl.$render = function() { + element[0].checked = ctrl.$viewValue; + }, ctrl.$isEmpty = function(value) { + return value !== trueValue; + }, ctrl.$formatters.push(function(value) { + return value === trueValue; + }), ctrl.$parsers.push(function(value) { + return value ? trueValue : falseValue; + }); + }, hidden: noop, button: noop, submit: noop, @@ -2852,82 +3048,20 @@ return validate(patternObj, value); }, ctrl.$formatters.push(patternValidator), ctrl.$parsers.push(patternValidator)), attr.ngMinlength) { var minlength = int(attr.ngMinlength), minLengthValidator = function(value) { - return ctrl.$isEmpty(value) || !(value.length < minlength) ? (ctrl.$setValidity("minlength", !0), value) : void ctrl.$setValidity("minlength", !1); + return !ctrl.$isEmpty(value) && value.length < minlength ? void ctrl.$setValidity("minlength", !1) : (ctrl.$setValidity("minlength", !0), value); }; ctrl.$parsers.push(minLengthValidator), ctrl.$formatters.push(minLengthValidator); } if (attr.ngMaxlength) { var maxlength = int(attr.ngMaxlength), maxLengthValidator = function(value) { - return ctrl.$isEmpty(value) || !(value.length > maxlength) ? (ctrl.$setValidity("maxlength", !0), value) : void ctrl.$setValidity("maxlength", !1); + return !ctrl.$isEmpty(value) && value.length > maxlength ? void ctrl.$setValidity("maxlength", !1) : (ctrl.$setValidity("maxlength", !0), value); }; ctrl.$parsers.push(maxLengthValidator), ctrl.$formatters.push(maxLengthValidator); } } - function numberInputType(scope, element, attr, ctrl, $sniffer, $browser) { - if (textInputType(scope, element, attr, ctrl, $sniffer, $browser), ctrl.$parsers.push(function(value) { - var empty = ctrl.$isEmpty(value); - return empty || NUMBER_REGEXP.test(value) ? (ctrl.$setValidity("number", !0), "" === value ? null : empty ? value : parseFloat(value)) : void ctrl.$setValidity("number", !1); - }), ctrl.$formatters.push(function(value) { - return ctrl.$isEmpty(value) ? "" : "" + value; - }), attr.min) { - var minValidator = function(value) { - var min = parseFloat(attr.min); - return ctrl.$isEmpty(value) || !(value < min) ? (ctrl.$setValidity("min", !0), value) : void ctrl.$setValidity("min", !1); - }; - ctrl.$parsers.push(minValidator), ctrl.$formatters.push(minValidator); - } - if (attr.max) { - var maxValidator = function(value) { - var max = parseFloat(attr.max); - return ctrl.$isEmpty(value) || !(value > max) ? (ctrl.$setValidity("max", !0), value) : void ctrl.$setValidity("max", !1); - }; - ctrl.$parsers.push(maxValidator), ctrl.$formatters.push(maxValidator); - } - ctrl.$formatters.push(function(value) { - return ctrl.$isEmpty(value) || isNumber(value) ? (ctrl.$setValidity("number", !0), value) : void ctrl.$setValidity("number", !1); - }); - } - function urlInputType(scope, element, attr, ctrl, $sniffer, $browser) { - textInputType(scope, element, attr, ctrl, $sniffer, $browser); - var urlValidator = function(value) { - return ctrl.$isEmpty(value) || URL_REGEXP.test(value) ? (ctrl.$setValidity("url", !0), value) : void ctrl.$setValidity("url", !1); - }; - ctrl.$formatters.push(urlValidator), ctrl.$parsers.push(urlValidator); - } - function emailInputType(scope, element, attr, ctrl, $sniffer, $browser) { - textInputType(scope, element, attr, ctrl, $sniffer, $browser); - var emailValidator = function(value) { - return ctrl.$isEmpty(value) || EMAIL_REGEXP.test(value) ? (ctrl.$setValidity("email", !0), value) : void ctrl.$setValidity("email", !1); - }; - ctrl.$formatters.push(emailValidator), ctrl.$parsers.push(emailValidator); - } - function radioInputType(scope, element, attr, ctrl) { - isUndefined(attr.name) && element.attr("name", nextUid()), element.on("click", function() { - element[0].checked && scope.$apply(function() { - ctrl.$setViewValue(attr.value); - }); - }), ctrl.$render = function() { - var value = attr.value; - element[0].checked = value == ctrl.$viewValue; - }, attr.$observe("value", ctrl.$render); - } - function checkboxInputType(scope, element, attr, ctrl) { - var trueValue = attr.ngTrueValue, falseValue = attr.ngFalseValue; - isString(trueValue) || (trueValue = !0), isString(falseValue) || (falseValue = !1), element.on("click", function() { - scope.$apply(function() { - ctrl.$setViewValue(element[0].checked); - }); - }), ctrl.$render = function() { - element[0].checked = ctrl.$viewValue; - }, ctrl.$isEmpty = function(value) { - return value !== trueValue; - }, ctrl.$formatters.push(function(value) { - return value === trueValue; - }), ctrl.$parsers.push(function(value) { - return value ? trueValue : falseValue; - }); - } - var inputDirective = ["$browser", "$sniffer", function($browser, $sniffer) { + var inputDirective = [ + "$browser", + "$sniffer", function($browser, $sniffer) { return { restrict: "E", require: "?ngModel", @@ -2935,7 +3069,12 @@ ctrl && (inputType[lowercase(attr.type)] || inputType.text)(scope, element, attr, ctrl, $sniffer, $browser); } }; - }], VALID_CLASS = "ng-valid", INVALID_CLASS = "ng-invalid", PRISTINE_CLASS = "ng-pristine", DIRTY_CLASS = "ng-dirty", NgModelController = ["$scope", "$exceptionHandler", "$attrs", "$element", "$parse", function($scope, $exceptionHandler, $attr, $element, $parse) { + }], VALID_CLASS = "ng-valid", INVALID_CLASS = "ng-invalid", PRISTINE_CLASS = "ng-pristine", DIRTY_CLASS = "ng-dirty", NgModelController = [ + "$scope", + "$exceptionHandler", + "$attrs", + "$element", + "$parse", function($scope, $exceptionHandler, $attr, $element, $parse) { var ngModelGet = $parse($attr.ngModel), ngModelSet = ngModelGet.assign, parentForm = $element.inheritedData("$formController") || nullFormCtrl, invalidCount = 0, $error = this.$error = { }; function toggleValidCss(isValid, validationErrorKey) { @@ -2970,7 +3109,10 @@ }); }], ngModelDirective = function() { return { - require: ["ngModel", "^?form"], + require: [ + "ngModel", + "^?form" + ], controller: NgModelController, link: function(scope, element, attr, ctrls) { var modelCtrl = ctrls[0], formCtrl = ctrls[1] || nullFormCtrl; @@ -3020,31 +3162,21 @@ }; } }; - }, CONSTANT_VALUE_REGEXP = /^(true|false|\d+)$/, ngValueDirective = function() { - return { - priority: 100, - compile: function(tpl, tplAttr) { - return CONSTANT_VALUE_REGEXP.test(tplAttr.ngValue) ? function(scope, elm, attr) { - attr.$set("value", scope.$eval(attr.ngValue)); - } : function(scope, elm, attr) { - scope.$watch(attr.ngValue, function(value) { - attr.$set("value", value); - }); - }; - } - }; - }, ngBindDirective = ngDirective(function(scope, element, attr) { + }, CONSTANT_VALUE_REGEXP = /^(true|false|\d+)$/, ngBindDirective = ngDirective(function(scope, element, attr) { element.addClass("ng-binding").data("$binding", attr.ngBind), scope.$watch(attr.ngBind, function(value) { element.text(value == undefined ? "" : value); }); - }), ngBindTemplateDirective = ["$interpolate", function($interpolate) { + }), ngBindTemplateDirective = [ + "$interpolate", function($interpolate) { return function(scope, element, attr) { var interpolateFn = $interpolate(element.attr(attr.$attr.ngBindTemplate)); element.addClass("ng-binding").data("$binding", interpolateFn), attr.$observe("ngBindTemplate", function(value) { element.text(value); }); }; - }], ngBindHtmlDirective = ["$sce", "$parse", function($sce, $parse) { + }], ngBindHtmlDirective = [ + "$sce", + "$parse", function($sce, $parse) { return function(scope, element, attr) { element.addClass("ng-binding").data("$binding", attr.ngBindHtml); var parsed = $parse(attr.ngBindHtml); @@ -3102,7 +3234,8 @@ priority: 500 }; }], ngEventDirectives = { - }, ngIfDirective = ["$animate", function($animate) { + }, ngIfDirective = [ + "$animate", function($animate) { return { transclude: "element", priority: 600, @@ -3120,7 +3253,12 @@ }); } }; - }], ngIncludeDirective = ["$http", "$templateCache", "$anchorScroll", "$animate", "$sce", function($http, $templateCache, $anchorScroll, $animate, $sce) { + }], ngIncludeDirective = [ + "$http", + "$templateCache", + "$anchorScroll", + "$animate", + "$sce", function($http, $templateCache, $anchorScroll, $animate, $sce) { return { restrict: "ECA", priority: 400, @@ -3155,7 +3293,8 @@ }; } }; - }], ngIncludeFillContentDirective = ["$compile", function($compile) { + }], ngIncludeFillContentDirective = [ + "$compile", function($compile) { return { restrict: "ECA", priority: -400, @@ -3176,7 +3315,9 @@ }), ngNonBindableDirective = ngDirective({ terminal: !0, priority: 1000 - }), ngPluralizeDirective = ["$locale", "$interpolate", function($locale, $interpolate) { + }), ngPluralizeDirective = [ + "$locale", + "$interpolate", function($locale, $interpolate) { var BRACE = /{}/g; return { restrict: "EA", @@ -3196,7 +3337,9 @@ }); } }; - }], ngRepeatDirective = ["$parse", "$animate", function($parse, $animate) { + }], ngRepeatDirective = [ + "$parse", + "$animate", function($parse, $animate) { var ngRepeatMinErr = minErr("ngRepeat"); function getBlockStart(block) { return block.clone[0]; @@ -3257,13 +3400,15 @@ }); } }; - }], ngShowDirective = ["$animate", function($animate) { + }], ngShowDirective = [ + "$animate", function($animate) { return function(scope, element, attr) { scope.$watch(attr.ngShow, function(value) { $animate[toBoolean(value) ? "removeClass" : "addClass"](element, "ng-hide"); }); }; - }], ngHideDirective = ["$animate", function($animate) { + }], ngHideDirective = [ + "$animate", function($animate) { return function(scope, element, attr) { scope.$watch(attr.ngHide, function(value) { $animate[toBoolean(value) ? "addClass" : "removeClass"](element, "ng-hide"); @@ -3275,11 +3420,13 @@ element.css(style, ""); }), newStyles && element.css(newStyles); }, !0); - }), ngSwitchDirective = ["$animate", function($animate) { + }), ngSwitchDirective = [ + "$animate", function($animate) { return { restrict: "EA", require: "ngSwitch", - controller: ["$scope", function() { + controller: [ + "$scope", function() { this.cases = { }; }], @@ -3320,7 +3467,9 @@ }); } }), ngTranscludeDirective = ngDirective({ - controller: ["$element", "$transclude", function($element, $transclude) { + controller: [ + "$element", + "$transclude", function($element, $transclude) { if (!$transclude) throw minErr("ngTransclude")("orphan", "Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}", startingTag($element)); this.$transclude = $transclude; }], @@ -3329,7 +3478,8 @@ $element.empty(), $element.append(clone); }); } - }), scriptDirective = ["$templateCache", function($templateCache) { + }), scriptDirective = [ + "$templateCache", function($templateCache) { return { restrict: "E", terminal: !0, @@ -3342,14 +3492,22 @@ }; }], ngOptionsMinErr = minErr("ngOptions"), ngOptionsDirective = valueFn({ terminal: !0 - }), selectDirective = ["$compile", "$parse", function($compile, $parse) { + }), selectDirective = [ + "$compile", + "$parse", function($compile, $parse) { var NG_OPTIONS_REGEXP = /^\s*(.*?)(?:\s+as\s+(.*?))?(?:\s+group\s+by\s+(.*))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+(.*?)(?:\s+track\s+by\s+(.*?))?$/, nullModelCtrl = { $setViewValue: noop }; return { restrict: "E", - require: ["select", "?ngModel"], - controller: ["$element", "$scope", "$attrs", function($element, $scope, $attrs) { + require: [ + "select", + "?ngModel" + ], + controller: [ + "$element", + "$scope", + "$attrs", function($element, $scope, $attrs) { var nullOption, unknownOption, self = this, optionsMap = { }, ngModelCtrl = nullModelCtrl; self.databound = $attrs.ngModel, self.init = function(ngModelCtrl_, nullOption_, unknownOption_) { @@ -3368,132 +3526,132 @@ }); }], link: function(scope, element, attr, ctrls) { - var emptyOption, selectCtrl = ctrls[0], ngModelCtrl = ctrls[1], multiple = attr.multiple, optionsExp = attr.ngOptions, nullOption = !1, optionTemplate = jqLite(document.createElement("option")), optGroupTemplate = jqLite(document.createElement("optgroup")), unknownOption = optionTemplate.clone(); - function setupAsSingle(scope, selectElement, ngModelCtrl, selectCtrl) { - ngModelCtrl.$render = function() { - var viewValue = ngModelCtrl.$viewValue; - selectCtrl.hasOption(viewValue) ? (unknownOption.parent() && unknownOption.remove(), selectElement.val(viewValue), "" === viewValue && emptyOption.prop("selected", !0)) : isUndefined(viewValue) && emptyOption ? selectElement.val("") : selectCtrl.renderUnknownOption(viewValue); - }, selectElement.on("change", function() { - scope.$apply(function() { - unknownOption.parent() && unknownOption.remove(), ngModelCtrl.$setViewValue(selectElement.val()); + if (ctrls[1]) { + for(var scope1, selectElement, ctrl, lastView, scope2, selectElement1, ngModelCtrl, selectCtrl, emptyOption, selectCtrl1 = ctrls[0], ngModelCtrl1 = ctrls[1], multiple = attr.multiple, optionsExp = attr.ngOptions, nullOption = !1, optionTemplate = jqLite(document.createElement("option")), optGroupTemplate = jqLite(document.createElement("optgroup")), unknownOption = optionTemplate.clone(), i = 0, children = element.children(), ii = children.length; i < ii; i++)if ("" === children[i].value) { + emptyOption = nullOption = children.eq(i); + break; + } + if (selectCtrl1.init(ngModelCtrl1, nullOption, unknownOption), multiple && (attr.required || attr.ngRequired)) { + var requiredValidator = function(value) { + return ngModelCtrl1.$setValidity("required", !attr.required || value && value.length), value; + }; + ngModelCtrl1.$parsers.push(requiredValidator), ngModelCtrl1.$formatters.unshift(requiredValidator), attr.$observe("required", function() { + requiredValidator(ngModelCtrl1.$viewValue); }); - }); - } - function setupAsMultiple(scope, selectElement, ctrl) { - var lastView; - ctrl.$render = function() { + } + optionsExp ? (function setupAsOptions(scope3, selectElement2, ctrl1) { + var match, track, displayFn = $parse(match[2] || match[1]), valueName = match[4] || match[6], keyName = match[5], groupByFn = $parse(match[3] || ""), valueFn = $parse(match[2] ? match[1] : valueName), valuesFn = $parse(match[7]), trackFn = match[8] ? $parse(match[8]) : null, optionGroupsCache = [ + [ + { + element: selectElement2, + label: "" + } + ] + ]; + function render() { + var optionGroupName, optionGroup, option, existingParent, existingOptions, existingOption, key, groupLength, length, groupIndex, index, selected, lastElement, element, label, optionGroups = { + "": [] + }, optionGroupNames = [ + "" + ], modelValue = ctrl1.$modelValue, values = valuesFn(scope3) || [], keys = keyName ? sortedKeys(values) : values, locals = { + }, selectedSet = !1; + if (multiple) if (trackFn && isArray(modelValue)) { + selectedSet = new HashMap([]); + for(var trackIndex = 0; trackIndex < modelValue.length; trackIndex++)locals[valueName] = modelValue[trackIndex], selectedSet.put(trackFn(scope3, locals), modelValue[trackIndex]); + } else selectedSet = new HashMap(modelValue); + for(index = 0; index < (length = keys.length); index++){ + if (key = index, keyName) { + if ("$" === (key = keys[index]).charAt(0)) continue; + locals[keyName] = key; + } + if (locals[valueName] = values[key], (optionGroup = optionGroups[optionGroupName = groupByFn(scope3, locals) || ""]) || (optionGroup = optionGroups[optionGroupName] = [], optionGroupNames.push(optionGroupName)), multiple) selected = isDefined(selectedSet.remove(trackFn ? trackFn(scope3, locals) : valueFn(scope3, locals))); + else { + if (trackFn) { + var modelCast = { + }; + modelCast[valueName] = modelValue, selected = trackFn(scope3, modelCast) === trackFn(scope3, locals); + } else selected = modelValue === valueFn(scope3, locals); + selectedSet = selectedSet || selected; + } + label = isDefined(label = displayFn(scope3, locals)) ? label : "", optionGroup.push({ + id: trackFn ? trackFn(scope3, locals) : keyName ? keys[index] : index, + label: label, + selected: selected + }); + } + for(multiple || (nullOption || null === modelValue ? optionGroups[""].unshift({ + id: "", + label: "", + selected: !selectedSet + }) : selectedSet || optionGroups[""].unshift({ + id: "?", + label: "", + selected: !0 + })), groupIndex = 0, groupLength = optionGroupNames.length; groupIndex < groupLength; groupIndex++){ + for(optionGroup = optionGroups[optionGroupName = optionGroupNames[groupIndex]], optionGroupsCache.length <= groupIndex ? (existingOptions = [ + existingParent = { + element: optGroupTemplate.clone().attr("label", optionGroupName), + label: optionGroup.label + } + ], optionGroupsCache.push(existingOptions), selectElement2.append(existingParent.element)) : (existingParent = (existingOptions = optionGroupsCache[groupIndex])[0]).label != optionGroupName && existingParent.element.attr("label", existingParent.label = optionGroupName), lastElement = null, index = 0, length = optionGroup.length; index < length; index++)option = optionGroup[index], (existingOption = existingOptions[index + 1]) ? (lastElement = existingOption.element, existingOption.label !== option.label && lastElement.text(existingOption.label = option.label), existingOption.id !== option.id && lastElement.val(existingOption.id = option.id), lastElement[0].selected !== option.selected && lastElement.prop("selected", existingOption.selected = option.selected)) : ("" === option.id && nullOption ? element = nullOption : (element = optionTemplate.clone()).val(option.id).attr("selected", option.selected).text(option.label), existingOptions.push(existingOption = { + element: element, + label: option.label, + id: option.id, + selected: option.selected + }), lastElement ? lastElement.after(element) : existingParent.element.append(element), lastElement = element); + for(index++; existingOptions.length > index;)existingOptions.pop().element.remove(); + } + for(; optionGroupsCache.length > groupIndex;)optionGroupsCache.pop()[0].element.remove(); + } + if (!(match = optionsExp.match(NG_OPTIONS_REGEXP))) throw ngOptionsMinErr("iexp", "Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}", optionsExp, startingTag(selectElement2)); + nullOption && ($compile(nullOption)(scope3), nullOption.removeClass("ng-scope"), nullOption.remove()), selectElement2.empty(), selectElement2.on("change", function() { + scope3.$apply(function() { + var optionGroup, key, value, optionElement, index, groupIndex, length, groupLength, trackIndex, collection = valuesFn(scope3) || [], locals = { + }; + if (multiple) { + for(groupIndex = 0, value = [], groupLength = optionGroupsCache.length; groupIndex < groupLength; groupIndex++)for(index = 1, length = (optionGroup = optionGroupsCache[groupIndex]).length; index < length; index++)if ((optionElement = optionGroup[index].element)[0].selected) { + if (key = optionElement.val(), keyName && (locals[keyName] = key), trackFn) for(trackIndex = 0; trackIndex < collection.length && (locals[valueName] = collection[trackIndex], trackFn(scope3, locals) != key); trackIndex++); + else locals[valueName] = collection[key]; + value.push(valueFn(scope3, locals)); + } + } else if ("?" == (key = selectElement2.val())) value = undefined; + else if ("" === key) value = null; + else if (trackFn) { + for(trackIndex = 0; trackIndex < collection.length; trackIndex++)if (locals[valueName] = collection[trackIndex], trackFn(scope3, locals) == key) { + value = valueFn(scope3, locals); + break; + } + } else locals[valueName] = collection[key], keyName && (locals[keyName] = key), value = valueFn(scope3, locals); + ctrl1.$setViewValue(value); + }); + }), ctrl1.$render = render, scope3.$watch(render); + })(scope, element, ngModelCtrl1) : multiple ? (scope1 = scope, selectElement = element, (ctrl = ngModelCtrl1).$render = function() { var items = new HashMap(ctrl.$viewValue); forEach(selectElement.find("option"), function(option) { option.selected = isDefined(items.get(option.value)); }); - }, scope.$watch(function() { + }, scope1.$watch(function() { equals(lastView, ctrl.$viewValue) || (lastView = copy(ctrl.$viewValue), ctrl.$render()); }), selectElement.on("change", function() { - scope.$apply(function() { + scope1.$apply(function() { var array = []; forEach(selectElement.find("option"), function(option) { option.selected && array.push(option.value); }), ctrl.$setViewValue(array); }); - }); - } - function setupAsOptions(scope, selectElement, ctrl) { - var match, track, displayFn = $parse(match[2] || match[1]), valueName = match[4] || match[6], keyName = match[5], groupByFn = $parse(match[3] || ""), valueFn = $parse(match[2] ? match[1] : valueName), valuesFn = $parse(match[7]), trackFn = match[8] ? $parse(match[8]) : null, optionGroupsCache = [[{ - element: selectElement, - label: "" - }]]; - function render() { - var optionGroupName, optionGroup, option, existingParent, existingOptions, existingOption, key, groupLength, length, groupIndex, index, selected, lastElement, element, label, optionGroups = { - "": [] - }, optionGroupNames = [""], modelValue = ctrl.$modelValue, values = valuesFn(scope) || [], keys = keyName ? sortedKeys(values) : values, locals = { - }, selectedSet = !1; - if (multiple) if (trackFn && isArray(modelValue)) { - selectedSet = new HashMap([]); - for(var trackIndex = 0; trackIndex < modelValue.length; trackIndex++)locals[valueName] = modelValue[trackIndex], selectedSet.put(trackFn(scope, locals), modelValue[trackIndex]); - } else selectedSet = new HashMap(modelValue); - for(index = 0; index < (length = keys.length); index++){ - if (key = index, keyName) { - if ("$" === (key = keys[index]).charAt(0)) continue; - locals[keyName] = key; - } - if (locals[valueName] = values[key], (optionGroup = optionGroups[optionGroupName = groupByFn(scope, locals) || ""]) || (optionGroup = optionGroups[optionGroupName] = [], optionGroupNames.push(optionGroupName)), multiple) selected = isDefined(selectedSet.remove(trackFn ? trackFn(scope, locals) : valueFn(scope, locals))); - else { - if (trackFn) { - var modelCast = { - }; - modelCast[valueName] = modelValue, selected = trackFn(scope, modelCast) === trackFn(scope, locals); - } else selected = modelValue === valueFn(scope, locals); - selectedSet = selectedSet || selected; - } - label = isDefined(label = displayFn(scope, locals)) ? label : "", optionGroup.push({ - id: trackFn ? trackFn(scope, locals) : keyName ? keys[index] : index, - label: label, - selected: selected - }); - } - for(multiple || (nullOption || null === modelValue ? optionGroups[""].unshift({ - id: "", - label: "", - selected: !selectedSet - }) : selectedSet || optionGroups[""].unshift({ - id: "?", - label: "", - selected: !0 - })), groupIndex = 0, groupLength = optionGroupNames.length; groupIndex < groupLength; groupIndex++){ - for(optionGroup = optionGroups[optionGroupName = optionGroupNames[groupIndex]], optionGroupsCache.length <= groupIndex ? (existingOptions = [existingParent = { - element: optGroupTemplate.clone().attr("label", optionGroupName), - label: optionGroup.label - }], optionGroupsCache.push(existingOptions), selectElement.append(existingParent.element)) : (existingParent = (existingOptions = optionGroupsCache[groupIndex])[0]).label != optionGroupName && existingParent.element.attr("label", existingParent.label = optionGroupName), lastElement = null, index = 0, length = optionGroup.length; index < length; index++)option = optionGroup[index], (existingOption = existingOptions[index + 1]) ? (lastElement = existingOption.element, existingOption.label !== option.label && lastElement.text(existingOption.label = option.label), existingOption.id !== option.id && lastElement.val(existingOption.id = option.id), lastElement[0].selected !== option.selected && lastElement.prop("selected", existingOption.selected = option.selected)) : ("" === option.id && nullOption ? element = nullOption : (element = optionTemplate.clone()).val(option.id).attr("selected", option.selected).text(option.label), existingOptions.push(existingOption = { - element: element, - label: option.label, - id: option.id, - selected: option.selected - }), lastElement ? lastElement.after(element) : existingParent.element.append(element), lastElement = element); - for(index++; existingOptions.length > index;)existingOptions.pop().element.remove(); - } - for(; optionGroupsCache.length > groupIndex;)optionGroupsCache.pop()[0].element.remove(); - } - if (!(match = optionsExp.match(NG_OPTIONS_REGEXP))) throw ngOptionsMinErr("iexp", "Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}", optionsExp, startingTag(selectElement)); - nullOption && ($compile(nullOption)(scope), nullOption.removeClass("ng-scope"), nullOption.remove()), selectElement.empty(), selectElement.on("change", function() { - scope.$apply(function() { - var optionGroup, key, value, optionElement, index, groupIndex, length, groupLength, trackIndex, collection = valuesFn(scope) || [], locals = { - }; - if (multiple) { - for(groupIndex = 0, value = [], groupLength = optionGroupsCache.length; groupIndex < groupLength; groupIndex++)for(index = 1, length = (optionGroup = optionGroupsCache[groupIndex]).length; index < length; index++)if ((optionElement = optionGroup[index].element)[0].selected) { - if (key = optionElement.val(), keyName && (locals[keyName] = key), trackFn) for(trackIndex = 0; trackIndex < collection.length && (locals[valueName] = collection[trackIndex], trackFn(scope, locals) != key); trackIndex++); - else locals[valueName] = collection[key]; - value.push(valueFn(scope, locals)); - } - } else if ("?" == (key = selectElement.val())) value = undefined; - else if ("" === key) value = null; - else if (trackFn) { - for(trackIndex = 0; trackIndex < collection.length; trackIndex++)if (locals[valueName] = collection[trackIndex], trackFn(scope, locals) == key) { - value = valueFn(scope, locals); - break; - } - } else locals[valueName] = collection[key], keyName && (locals[keyName] = key), value = valueFn(scope, locals); - ctrl.$setViewValue(value); + })) : (scope2 = scope, selectElement1 = element, ngModelCtrl = ngModelCtrl1, selectCtrl = selectCtrl1, ngModelCtrl.$render = function() { + var viewValue = ngModelCtrl.$viewValue; + selectCtrl.hasOption(viewValue) ? (unknownOption.parent() && unknownOption.remove(), selectElement1.val(viewValue), "" === viewValue && emptyOption.prop("selected", !0)) : isUndefined(viewValue) && emptyOption ? selectElement1.val("") : selectCtrl.renderUnknownOption(viewValue); + }, selectElement1.on("change", function() { + scope2.$apply(function() { + unknownOption.parent() && unknownOption.remove(), ngModelCtrl.$setViewValue(selectElement1.val()); }); - }), ctrl.$render = render, scope.$watch(render); - } - if (ctrls[1]) { - for(var i = 0, children = element.children(), ii = children.length; i < ii; i++)if ("" === children[i].value) { - emptyOption = nullOption = children.eq(i); - break; - } - if (selectCtrl.init(ngModelCtrl, nullOption, unknownOption), multiple && (attr.required || attr.ngRequired)) { - var requiredValidator = function(value) { - return ngModelCtrl.$setValidity("required", !attr.required || value && value.length), value; - }; - ngModelCtrl.$parsers.push(requiredValidator), ngModelCtrl.$formatters.unshift(requiredValidator), attr.$observe("required", function() { - requiredValidator(ngModelCtrl.$viewValue); - }); - } - optionsExp ? setupAsOptions(scope, element, ngModelCtrl) : multiple ? setupAsMultiple(scope, element, ngModelCtrl) : setupAsSingle(scope, element, ngModelCtrl, selectCtrl); + })); } } }; - }], optionDirective = ["$interpolate", function($interpolate) { + }], optionDirective = [ + "$interpolate", function($interpolate) { var nullSelectCtrl = { addOption: noop, removeOption: noop @@ -3506,12 +3664,12 @@ var interpolateFn = $interpolate(element.text(), !0); interpolateFn || attr.$set("value", element.text()); } - return function(scope, element, attr) { - var parent = element.parent(), selectCtrl = parent.data("$selectController") || parent.parent().data("$selectController"); - selectCtrl && selectCtrl.databound ? element.prop("selected", !1) : selectCtrl = nullSelectCtrl, interpolateFn ? scope.$watch(interpolateFn, function(newVal, oldVal) { - attr.$set("value", newVal), newVal !== oldVal && selectCtrl.removeOption(oldVal), selectCtrl.addOption(newVal); - }) : selectCtrl.addOption(attr.value), element.on("$destroy", function() { - selectCtrl.removeOption(attr.value); + return function(scope9, element, attr) { + var parent = element.parent(), selectCtrl1 = parent.data("$selectController") || parent.parent().data("$selectController"); + selectCtrl1 && selectCtrl1.databound ? element.prop("selected", !1) : selectCtrl1 = nullSelectCtrl, interpolateFn ? scope9.$watch(interpolateFn, function(newVal, oldVal) { + attr.$set("value", newVal), newVal !== oldVal && selectCtrl1.removeOption(oldVal), selectCtrl1.addOption(newVal); + }) : selectCtrl1.addOption(attr.value), element.on("$destroy", function() { + selectCtrl1.removeOption(attr.value); }); }; } @@ -3532,7 +3690,10 @@ data: jqLiteData, inheritedData: jqLiteInheritedData, scope: function(element) { - return jqLite(element).data("$scope") || jqLiteInheritedData(element.parentNode || element, ["$isolateScope", "$scope"]); + return jqLite(element).data("$scope") || jqLiteInheritedData(element.parentNode || element, [ + "$isolateScope", + "$scope" + ]); }, isolateScope: function(element) { return jqLite(element).data("$isolateScope") || jqLite(element).data("$isolateScopeNoTemplate"); @@ -3712,10 +3873,12 @@ var eventFns = (jqLiteExpandoStore(element, "events") || { })[eventName]; eventData = eventData || []; - var event = [{ + var event = [ + { preventDefault: noop, stopPropagation: noop - }]; + } + ]; forEach(eventFns, function(fn) { fn.apply(element, event.concat(eventData)); }); @@ -3736,7 +3899,10 @@ var value = this[key = hashKey(key)]; return delete this[key], value; } - }, $CompileProvider.$inject = ["$provide", "$$sanitizeUriProvider"], LocationHashbangInHtml5Url.prototype = LocationHashbangUrl.prototype = LocationHtml5Url.prototype = { + }, $CompileProvider.$inject = [ + "$provide", + "$$sanitizeUriProvider" + ], LocationHashbangInHtml5Url.prototype = LocationHashbangUrl.prototype = LocationHtml5Url.prototype = { $$html5: !1, $$replace: !1, absUrl: locationGetter("$$absUrl"), @@ -3753,7 +3919,8 @@ }), search: function(search, paramValue) { switch(arguments.length){ - case 0: return this.$$search; + case 0: + return this.$$search; case 1: if (isString(search)) this.$$search = parseKeyValue(search); else if (isObject(search)) this.$$search = search; @@ -4009,7 +4176,9 @@ for(var token = this.expect(), fn = this.$filter(token.text), argsFn = [];;)if (token = this.expect(":")) argsFn.push(this.expression()); else { var fnInvoke = function(self, locals, input) { - for(var args = [input], i = 0; i < argsFn.length; i++)args.push(argsFn[i](self, locals)); + for(var args = [ + input + ], i = 0; i < argsFn.length; i++)args.push(argsFn[i](self, locals)); return fn.apply(self, args); }; return function() { @@ -4022,8 +4191,8 @@ }, assignment: function() { var right, token, left = this.ternary(); - return (token = this.expect("=")) ? (left.assign || this.throwError("implies assignment but [" + this.text.substring(0, token.index) + "] can not be assigned to", token), function(scope, locals) { - return left.assign(scope, (right = this.ternary())(scope, locals), locals); + return (token = this.expect("=")) ? (left.assign || this.throwError("implies assignment but [" + this.text.substring(0, token.index) + "] can not be assigned to", token), function(scope9, locals) { + return left.assign(scope9, (right = this.ternary())(scope9, locals), locals); }) : left; }, ternary: function() { @@ -4062,11 +4231,11 @@ }, fieldAccess: function(object) { var parser = this, field = this.expect().text, getter2 = getterFn(field, this.options, this.text); - return extend(function(scope, locals, self) { - return getter2(self || object(scope, locals), locals); + return extend(function(scope9, locals, self) { + return getter2(self || object(scope9, locals), locals); }, { - assign: function(scope, value, locals) { - return setter(object(scope, locals), field, value, parser.text, parser.options); + assign: function(scope9, value, locals) { + return setter(object(scope9, locals), field, value, parser.text, parser.options); } }); }, @@ -4090,9 +4259,9 @@ while (this.expect(",")) this.consume(")"); var parser = this; - return function(scope, locals) { - for(var args = [], context = contextGetter ? contextGetter(scope, locals) : scope, i = 0; i < argsFn.length; i++)args.push(argsFn[i](scope, locals)); - var fnPtr = fn(scope, locals, context) || noop; + return function(scope9, locals) { + for(var args = [], context = contextGetter ? contextGetter(scope9, locals) : scope9, i = 0; i < argsFn.length; i++)args.push(argsFn[i](scope9, locals)); + var fnPtr = fn(scope9, locals, context) || noop; return ensureSafeObject(context, parser.text), ensureSafeObject(fnPtr, parser.text), ensureSafeObject(fnPtr.apply ? fnPtr.apply(context, args) : fnPtr(args[0], args[1], args[2], args[3], args[4]), parser.text); }; }, @@ -4133,15 +4302,25 @@ constant: allConstant }); } - }, $FilterProvider.$inject = ["$provide"], currencyFilter.$inject = ["$locale"], numberFilter.$inject = ["$locale"], dateFilter.$inject = ["$locale"], orderByFilter.$inject = ["$parse"], forEach(BOOLEAN_ATTR, function(propName, attrName) { + }, $FilterProvider.$inject = [ + "$provide" + ], currencyFilter.$inject = [ + "$locale" + ], numberFilter.$inject = [ + "$locale" + ], dateFilter.$inject = [ + "$locale" + ], orderByFilter.$inject = [ + "$parse" + ], forEach(BOOLEAN_ATTR, function(propName, attrName) { if ("multiple" != propName) { var normalized = directiveNormalize("ng-" + attrName); ngAttributeAliasDirectives[normalized] = function() { return { priority: 100, compile: function() { - return function(scope, element, attr) { - scope.$watch(attr[normalized], function(value) { + return function(scope9, element, attr) { + scope9.$watch(attr[normalized], function(value) { attr.$set(attrName, !!value); }); }; @@ -4149,28 +4328,37 @@ }; }; } - }), forEach(["src", "srcset", "href"], function(attrName) { + }), forEach([ + "src", + "srcset", + "href" + ], function(attrName) { var normalized = directiveNormalize("ng-" + attrName); ngAttributeAliasDirectives[normalized] = function() { return { priority: 99, - link: function(scope, element, attr) { + link: function(scope9, element, attr) { attr.$observe(normalized, function(value) { value && (attr.$set(attrName, value), msie && element.prop(attrName, attr[attrName])); }); } }; }; - }), FormController.$inject = ["$element", "$attrs", "$scope"], forEach("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "), function(name) { + }), FormController.$inject = [ + "$element", + "$attrs", + "$scope" + ], forEach("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "), function(name) { var directiveName = directiveNormalize("ng-" + name); - ngEventDirectives[directiveName] = ["$parse", function($parse) { + ngEventDirectives[directiveName] = [ + "$parse", function($parse) { return { compile: function($element, attr) { var fn = $parse(attr[directiveName]); - return function(scope, element, attr) { + return function(scope9, element, attr) { element.on(lowercase(name), function(event) { - scope.$apply(function() { - fn(scope, { + scope9.$apply(function() { + fn(scope9, { $event: event }); }); @@ -4222,7 +4410,10 @@ } catch (e) { angularModule("ngLocale", []).provider("$locale", $LocaleProvider); } - angularModule("ng", ["ngLocale"], ["$provide", function($provide) { + angularModule("ng", [ + "ngLocale" + ], [ + "$provide", function($provide) { $provide.provider({ $$sanitizeUri: $$SanitizeUriProvider }), $provide.provider("$compile", $CompileProvider).directive({ @@ -4262,7 +4453,20 @@ ngChange: ngChangeDirective, required: requiredDirective, ngRequired: requiredDirective, - ngValue: ngValueDirective + ngValue: function() { + return { + priority: 100, + compile: function(tpl, tplAttr) { + return CONSTANT_VALUE_REGEXP.test(tplAttr.ngValue) ? function(scope9, elm, attr) { + attr.$set("value", scope9.$eval(attr.ngValue)); + } : function(scope9, elm, attr) { + scope9.$watch(attr.ngValue, function(value) { + attr.$set("value", value); + }); + }; + } + }; + } }).directive({ ngInclude: ngIncludeFillContentDirective }).directive(ngAttributeAliasDirectives).directive(ngEventDirectives), $provide.provider({ diff --git a/ecmascript/minifier/tests/projects/output/backbone-1.1.0.js b/ecmascript/minifier/tests/projects/output/backbone-1.1.0.js index 6211e0e051e..5d3c0d0187f 100644 --- a/ecmascript/minifier/tests/projects/output/backbone-1.1.0.js +++ b/ecmascript/minifier/tests/projects/output/backbone-1.1.0.js @@ -8,8 +8,10 @@ }, Backbone.emulateHTTP = !1, Backbone.emulateJSON = !1; var Events = Backbone.Events = { on: function(name, callback, context) { - return eventsApi(this, "on", name, [callback, - context]) && callback && (this._events || (this._events = { + return eventsApi(this, "on", name, [ + callback, + context + ]) && callback && (this._events || (this._events = { }), (this._events[name] || (this._events[name] = [])).push({ callback: callback, context: context, @@ -17,8 +19,10 @@ })), this; }, once: function(name, callback, context) { - if (!eventsApi(this, "once", name, [callback, - context]) || !callback) return this; + if (!eventsApi(this, "once", name, [ + callback, + context + ]) || !callback) return this; var self = this, once = _.once(function() { self.off(name, once), callback.apply(this, arguments); }); @@ -26,11 +30,15 @@ }, off: function(name, callback, context) { var retain, ev, events, names, i, l, j, k; - if (!this._events || !eventsApi(this, "off", name, [callback, - context])) return this; + if (!this._events || !eventsApi(this, "off", name, [ + callback, + context + ])) return this; if (!name && !callback && !context) return this._events = { }, this; - for(i = 0, l = (names = name ? [name] : _.keys(this._events)).length; i < l; i++)if (name = names[i], events = this._events[name]) { + for(i = 0, l = (names = name ? [ + name + ] : _.keys(this._events)).length; i < l; i++)if (name = names[i], events = this._events[name]) { if (this._events[name] = retain = [], callback || context) for(j = 0, k = events.length; j < k; j++)ev = events[j], (callback && callback !== ev.callback && callback !== ev.callback._callback || context && context !== ev.context) && retain.push(ev); retain.length || delete this._events[name]; } @@ -54,11 +62,16 @@ }, eventSplitter = /\s+/, eventsApi = function(obj, action, name, rest) { if (!name) return !0; if ("object" == typeof name) { - for(var key in name)obj[action].apply(obj, [key, name[key]].concat(rest)); + for(var key in name)obj[action].apply(obj, [ + key, + name[key] + ].concat(rest)); return !1; } if (eventSplitter.test(name)) { - for(var names = name.split(eventSplitter), i = 0, l = names.length; i < l; i++)obj[action].apply(obj, [names[i]].concat(rest)); + for(var names = name.split(eventSplitter), i = 0, l = names.length; i < l; i++)obj[action].apply(obj, [ + names[i] + ].concat(rest)); return !1; } return !0; @@ -77,7 +90,8 @@ case 3: for(; ++i < l;)(ev = events[i]).callback.call(ev.ctx, a1, a2, a3); return; - default: for(; ++i < l;)(ev = events[i]).callback.apply(ev.ctx, args); + default: + for(; ++i < l;)(ev = events[i]).callback.apply(ev.ctx, args); } }; _.each({ @@ -237,7 +251,14 @@ validationError: error })), !1); } - }), _.each(["keys", "values", "pairs", "invert", "pick", "omit"], function(method) { + }), _.each([ + "keys", + "values", + "pairs", + "invert", + "pick", + "omit" + ], function(method) { Model.prototype[method] = function() { var args = slice.call(arguments); return args.unshift(this.attributes), _[method].apply(_, args); @@ -276,14 +297,18 @@ remove: function(models, options) { var i, l, index, model, singular = !_.isArray(models); for(options || (options = { - }), i = 0, l = (models = singular ? [models] : _.clone(models)).length; i < l; i++)(model = models[i] = this.get(models[i])) && (delete this._byId[model.id], delete this._byId[model.cid], index = this.indexOf(model), this.models.splice(index, 1), this.length--, options.silent || (options.index = index, model.trigger("remove", model, this, options)), this._removeReference(model)); + }), i = 0, l = (models = singular ? [ + models + ] : _.clone(models)).length; i < l; i++)(model = models[i] = this.get(models[i])) && (delete this._byId[model.id], delete this._byId[model.cid], index = this.indexOf(model), this.models.splice(index, 1), this.length--, options.silent || (options.index = index, model.trigger("remove", model, this, options)), this._removeReference(model)); return singular ? models[0] : models; }, set: function(models, options) { (options = _.defaults({ }, options, setOptions)).parse && (models = this.parse(models, options)); var singular = !_.isArray(models); - models = singular ? models ? [models] : [] : _.clone(models); + models = singular ? models ? [ + models + ] : [] : _.clone(models); var i, l, id, model, attrs, existing, sort, at = options.at, targetModel = this.model, sortable = this.comparator && null == at && !1 !== options.sort, sortAttr = _.isString(this.comparator) ? this.comparator : null, toAdd = [], toRemove = [], modelMap = { }, add = options.add, merge = options.merge, remove = options.remove, order = !sortable && !!add && !!remove && []; for(i = 0, l = models.length; i < l; i++){ @@ -404,12 +429,57 @@ _onModelEvent: function(event, model, collection, options) { ("add" !== event && "remove" !== event || collection === this) && ("destroy" === event && this.remove(model, options), model && event === "change:" + model.idAttribute && (delete this._byId[model.previous(model.idAttribute)], null != model.id && (this._byId[model.id] = model)), this.trigger.apply(this, arguments)); } - }), _.each(["forEach", "each", "map", "collect", "reduce", "foldl", "inject", "reduceRight", "foldr", "find", "detect", "filter", "select", "reject", "every", "all", "some", "any", "include", "contains", "invoke", "max", "min", "toArray", "size", "first", "head", "take", "initial", "rest", "tail", "drop", "last", "without", "difference", "indexOf", "shuffle", "lastIndexOf", "isEmpty", "chain"], function(method) { + }), _.each([ + "forEach", + "each", + "map", + "collect", + "reduce", + "foldl", + "inject", + "reduceRight", + "foldr", + "find", + "detect", + "filter", + "select", + "reject", + "every", + "all", + "some", + "any", + "include", + "contains", + "invoke", + "max", + "min", + "toArray", + "size", + "first", + "head", + "take", + "initial", + "rest", + "tail", + "drop", + "last", + "without", + "difference", + "indexOf", + "shuffle", + "lastIndexOf", + "isEmpty", + "chain" + ], function(method) { Collection.prototype[method] = function() { var args = slice.call(arguments); return args.unshift(this.models), _[method].apply(_, args); }; - }), _.each(["groupBy", "countBy", "sortBy"], function(method) { + }), _.each([ + "groupBy", + "countBy", + "sortBy" + ], function(method) { Collection.prototype[method] = function(value, context) { var iterator = _.isFunction(value) ? value : function(model) { return model.get(value); @@ -420,7 +490,16 @@ var View = Backbone.View = function(options) { this.cid = _.uniqueId("view"), options || (options = { }), _.extend(this, _.pick(options, viewOptions)), this._ensureElement(), this.initialize.apply(this, arguments), this.delegateEvents(); - }, delegateEventSplitter = /^(\S+)\s*(.*)$/, viewOptions = ["model", "collection", "el", "id", "attributes", "className", "tagName", "events"]; + }, delegateEventSplitter = /^(\S+)\s*(.*)$/, viewOptions = [ + "model", + "collection", + "el", + "id", + "attributes", + "className", + "tagName", + "events" + ]; _.extend(View.prototype, Events, { tagName: "div", $: function(selector) { @@ -510,7 +589,9 @@ var router = this; return Backbone.history.route(route, function(fragment) { var args = router._extractParameters(route, fragment); - callback && callback.apply(router, args), router.trigger.apply(router, ["route:" + name].concat(args)), router.trigger("route", name, args), Backbone.history.trigger("route", router, name, args); + callback && callback.apply(router, args), router.trigger.apply(router, [ + "route:" + name + ].concat(args)), router.trigger("route", name, args), Backbone.history.trigger("route", router, name, args); }), this; }, navigate: function(fragment, options) { diff --git a/ecmascript/minifier/tests/projects/output/jquery-1.9.1.js b/ecmascript/minifier/tests/projects/output/jquery-1.9.1.js index 7a71b67f45a..29b11ddfe76 100644 --- a/ecmascript/minifier/tests/projects/output/jquery-1.9.1.js +++ b/ecmascript/minifier/tests/projects/output/jquery-1.9.1.js @@ -2,9 +2,7 @@ var readyList, rootjQuery, document = window.document, location = window.location, _jQuery = window.jQuery, _$ = window.$, class2type = { }, core_deletedIds = [], core_concat = core_deletedIds.concat, core_push = core_deletedIds.push, core_slice = core_deletedIds.slice, core_indexOf = core_deletedIds.indexOf, core_toString = class2type.toString, core_hasOwn = class2type.hasOwnProperty, core_trim = "1.9.1".trim, jQuery = function(selector, context) { return new jQuery.fn.init(selector, context, rootjQuery); - }, core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, core_rnotwhite = /\S+/g, rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, rquickExpr = /^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/, rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, rvalidchars = /^[\],:{}\s]*$/, rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g, rmsPrefix = /^-ms-/, rdashAlpha = /-([\da-z])/gi, fcamelCase = function(all, letter) { - return letter.toUpperCase(); - }, completed = function(event) { + }, core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, core_rnotwhite = /\S+/g, rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, rquickExpr = /^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/, rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, rvalidchars = /^[\],:{}\s]*$/, rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g, rmsPrefix = /^-ms-/, rdashAlpha = /-([\da-z])/gi, completed = function(event) { (document.addEventListener || "load" === event.type || "complete" === document.readyState) && (detach(), jQuery.ready()); }, detach = function() { document.addEventListener ? (document.removeEventListener("DOMContentLoaded", completed, !1), window.removeEventListener("load", completed, !1)) : (document.detachEvent("onreadystatechange", completed), window.detachEvent("onload", completed)); @@ -36,10 +34,16 @@ var i, l, thisCache, isNode = elem.nodeType, cache = isNode ? jQuery.cache : elem, id = isNode ? elem[jQuery.expando] : jQuery.expando; if (cache[id]) { if (name && (thisCache = pvt ? cache[id] : cache[id].data)) { - for(i = 0, l = (name = jQuery.isArray(name) ? name.concat(jQuery.map(name, jQuery.camelCase)) : (name in thisCache) ? [name] : ((name = jQuery.camelCase(name)) in thisCache) ? [name] : name.split(" ")).length; i < l; i++)delete thisCache[name[i]]; + for(i = 0, l = (name = jQuery.isArray(name) ? name.concat(jQuery.map(name, jQuery.camelCase)) : (name in thisCache) ? [ + name + ] : ((name = jQuery.camelCase(name)) in thisCache) ? [ + name + ] : name.split(" ")).length; i < l; i++)delete thisCache[name[i]]; if (!(pvt ? isEmptyDataObject : jQuery.isEmptyObject)(thisCache)) return; } - (pvt || (delete cache[id].data, isEmptyDataObject(cache[id]))) && (isNode ? jQuery.cleanData([elem], !0) : jQuery.support.deleteExpando || cache != cache.window ? delete cache[id] : cache[id] = null); + (pvt || (delete cache[id].data, isEmptyDataObject(cache[id]))) && (isNode ? jQuery.cleanData([ + elem + ], !0) : jQuery.support.deleteExpando || cache != cache.window ? delete cache[id] : cache[id] = null); } } } @@ -103,15 +107,55 @@ return safeFrag; } var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), rleadingWhitespace = /^\s+/, rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, rtagName = /<([\w:]+)/, rtbody = /\s*$/g, wrapMap = { - option: [1, ""], - legend: [1, "
", "
"], - area: [1, "", ""], - param: [1, "", ""], - thead: [1, "
", "
"], - tr: [2, "", "
"], - col: [2, "", "
"], - td: [3, "", "
"], - _default: jQuery.support.htmlSerialize ? [0, "", ""] : [1, "X
", "
"] + option: [ + 1, + "" + ], + legend: [ + 1, + "
", + "
" + ], + area: [ + 1, + "", + "" + ], + param: [ + 1, + "", + "" + ], + thead: [ + 1, + "", + "
" + ], + tr: [ + 2, + "", + "
" + ], + col: [ + 2, + "", + "
" + ], + td: [ + 3, + "", + "
" + ], + _default: jQuery.support.htmlSerialize ? [ + 0, + "", + "" + ] : [ + 1, + "X
", + "
" + ] }, fragmentDiv = createSafeFragment(document).appendChild(document.createElement("div")); function findOrAppend(elem, tag) { return elem.getElementsByTagName(tag)[0] || elem.appendChild(elem.ownerDocument.createElement(tag)); @@ -149,7 +193,9 @@ function getAll(context, tag) { var elems, elem, i = 0, found = void 0 !== context.getElementsByTagName ? context.getElementsByTagName(tag || "*") : void 0 !== context.querySelectorAll ? context.querySelectorAll(tag || "*") : undefined; if (!found) for(found = [], elems = context.childNodes || context; null != (elem = elems[i]); i++)!tag || jQuery.nodeName(elem, tag) ? found.push(elem) : jQuery.merge(found, getAll(elem, tag)); - return tag === undefined || tag && jQuery.nodeName(context, tag) ? jQuery.merge([context], found) : found; + return tag === undefined || tag && jQuery.nodeName(context, tag) ? jQuery.merge([ + context + ], found) : found; } function fixDefaultChecked(elem) { manipulation_rcheckableType.test(elem.type) && (elem.defaultChecked = elem.checked); @@ -163,7 +209,17 @@ }, cssNormalTransform = { letterSpacing: 0, fontWeight: 400 - }, cssExpand = ["Top", "Right", "Bottom", "Left"], cssPrefixes = ["Webkit", "O", "Moz", "ms"]; + }, cssExpand = [ + "Top", + "Right", + "Bottom", + "Left" + ], cssPrefixes = [ + "Webkit", + "O", + "Moz", + "ms" + ]; function vendorPropName(style, name) { if (name in style) return name; for(var capName = name.charAt(0).toUpperCase() + name.slice(1), i = cssPrefixes.length; i--;)if ((name = cssPrefixes[i] + capName) in style) return name; @@ -307,7 +363,33 @@ } catch (e) { } } - var fxNow, timerId, rfxtypes = /^(?:toggle|show|hide)$/, rfxnum = new RegExp("^(?:([+-])=|)(" + core_pnum + ")([a-z%]*)$", "i"), rrun = /queueHooks$/, animationPrefilters = [defaultPrefilter], tweeners = { + var fxNow, timerId, rfxtypes = /^(?:toggle|show|hide)$/, rfxnum = new RegExp("^(?:([+-])=|)(" + core_pnum + ")([a-z%]*)$", "i"), rrun = /queueHooks$/, animationPrefilters = [function defaultPrefilter(elem, props, opts) { + var prop, index, length, value, dataShow, toggle, tween, hooks, oldfire, anim = this, style = elem.style, orig = { + }, handled = [], hidden = elem.nodeType && isHidden(elem); + for(index in opts.queue || (null == (hooks = jQuery._queueHooks(elem, "fx")).unqueued && (hooks.unqueued = 0, oldfire = hooks.empty.fire, hooks.empty.fire = function() { + hooks.unqueued || oldfire(); + }), hooks.unqueued++, anim.always(function() { + anim.always(function() { + hooks.unqueued--, jQuery.queue(elem, "fx").length || hooks.empty.fire(); + }); + })), 1 === elem.nodeType && ("height" in props || "width" in props) && (opts.overflow = [ + style.overflow, + style.overflowX, + style.overflowY + ], "inline" === jQuery.css(elem, "display") && "none" === jQuery.css(elem, "float") && (jQuery.support.inlineBlockNeedsLayout && "inline" !== css_defaultDisplay(elem.nodeName) ? style.zoom = 1 : style.display = "inline-block")), opts.overflow && (style.overflow = "hidden", jQuery.support.shrinkWrapBlocks || anim.always(function() { + style.overflow = opts.overflow[0], style.overflowX = opts.overflow[1], style.overflowY = opts.overflow[2]; + })), props)if (value = props[index], rfxtypes.exec(value)) { + if (delete props[index], toggle = toggle || "toggle" === value, value === (hidden ? "hide" : "show")) continue; + handled.push(index); + } + if (length = handled.length) for(("hidden" in (dataShow = jQuery._data(elem, "fxshow") || jQuery._data(elem, "fxshow", { + }))) && (hidden = dataShow.hidden), toggle && (dataShow.hidden = !hidden), hidden ? jQuery(elem).show() : anim.done(function() { + jQuery(elem).hide(); + }), anim.done(function() { + var prop; + for(prop in jQuery._removeData(elem, "fxshow"), orig)jQuery.style(elem, prop, orig[prop]); + }), index = 0; index < length; index++)prop = handled[index], tween = anim.createTween(prop, hidden ? dataShow[prop] : 0), orig[prop] = dataShow[prop] || jQuery.style(elem, prop), prop in dataShow || (dataShow[prop] = tween.start, hidden && (tween.end = tween.start, tween.start = "width" === prop || "height" === prop ? 1 : 0)); + }], tweeners = { "*": [function(prop, value) { var end, unit, tween = this.createTween(prop, value), parts = rfxnum.exec(value), target = tween.cur(), start = +target || 0, scale = 1, maxIterations = 20; if (parts) { @@ -337,9 +419,13 @@ }), tick = function() { if (stopped) return !1; for(var temp, currentTime = fxNow || createFxNow(), remaining = Math.max(0, animation.startTime + animation.duration - currentTime), percent = 1 - (remaining / animation.duration || 0), index = 0, length = animation.tweens.length; index < length; index++)animation.tweens[index].run(percent); - return (deferred.notifyWith(elem, [animation, + return (deferred.notifyWith(elem, [ + animation, percent, - remaining]), percent < 1 && length) ? remaining : (deferred.resolveWith(elem, [animation]), !1); + remaining + ]), percent < 1 && length) ? remaining : (deferred.resolveWith(elem, [ + animation + ]), !1); }, animation = deferred.promise({ elem: elem, props: jQuery.extend({ @@ -361,9 +447,13 @@ var index = 0, length = gotoEnd ? animation.tweens.length : 0; if (stopped) return this; for(stopped = !0; index < length; index++)animation.tweens[index].run(1); - return gotoEnd ? deferred.resolveWith(elem, [animation, - gotoEnd]) : deferred.rejectWith(elem, [animation, - gotoEnd]), this; + return gotoEnd ? deferred.resolveWith(elem, [ + animation, + gotoEnd + ]) : deferred.rejectWith(elem, [ + animation, + gotoEnd + ]), this; } }), props = animation.props; for(propFilter(props, animation.opts.specialEasing); index < length; index++)if (result = animationPrefilters[index].call(animation, elem, props, animation.opts)) return result; @@ -378,29 +468,6 @@ for(index in props)if (easing = specialEasing[name = jQuery.camelCase(index)], value = props[index], jQuery.isArray(value) && (easing = value[1], value = props[index] = value[0]), index !== name && (props[name] = value, delete props[index]), (hooks = jQuery.cssHooks[name]) && "expand" in hooks) for(index in value = hooks.expand(value), delete props[name], value)index in props || (props[index] = value[index], specialEasing[index] = easing); else specialEasing[name] = easing; } - function defaultPrefilter(elem, props, opts) { - var prop, index, length, value, dataShow, toggle, tween, hooks, oldfire, anim = this, style = elem.style, orig = { - }, handled = [], hidden = elem.nodeType && isHidden(elem); - for(index in opts.queue || (null == (hooks = jQuery._queueHooks(elem, "fx")).unqueued && (hooks.unqueued = 0, oldfire = hooks.empty.fire, hooks.empty.fire = function() { - hooks.unqueued || oldfire(); - }), hooks.unqueued++, anim.always(function() { - anim.always(function() { - hooks.unqueued--, jQuery.queue(elem, "fx").length || hooks.empty.fire(); - }); - })), 1 === elem.nodeType && ("height" in props || "width" in props) && (opts.overflow = [style.overflow, style.overflowX, style.overflowY], "inline" === jQuery.css(elem, "display") && "none" === jQuery.css(elem, "float") && (jQuery.support.inlineBlockNeedsLayout && "inline" !== css_defaultDisplay(elem.nodeName) ? style.zoom = 1 : style.display = "inline-block")), opts.overflow && (style.overflow = "hidden", jQuery.support.shrinkWrapBlocks || anim.always(function() { - style.overflow = opts.overflow[0], style.overflowX = opts.overflow[1], style.overflowY = opts.overflow[2]; - })), props)if (value = props[index], rfxtypes.exec(value)) { - if (delete props[index], toggle = toggle || "toggle" === value, value === (hidden ? "hide" : "show")) continue; - handled.push(index); - } - if (length = handled.length) for(("hidden" in (dataShow = jQuery._data(elem, "fxshow") || jQuery._data(elem, "fxshow", { - }))) && (hidden = dataShow.hidden), toggle && (dataShow.hidden = !hidden), hidden ? jQuery(elem).show() : anim.done(function() { - jQuery(elem).hide(); - }), anim.done(function() { - var prop; - for(prop in jQuery._removeData(elem, "fxshow"), orig)jQuery.style(elem, prop, orig[prop]); - }), index = 0; index < length; index++)prop = handled[index], tween = anim.createTween(prop, hidden ? dataShow[prop] : 0), orig[prop] = dataShow[prop] || jQuery.style(elem, prop), prop in dataShow || (dataShow[prop] = tween.start, hidden && (tween.end = tween.start, tween.start = "width" === prop || "height" === prop ? 1 : 0)); - } function Tween(elem, options, prop, end, easing) { return new Tween.prototype.init(elem, options, prop, end, easing); } @@ -421,7 +488,11 @@ var match, elem; if (!selector) return this; if ("string" == typeof selector) { - if ((match = "<" === selector.charAt(0) && ">" === selector.charAt(selector.length - 1) && selector.length >= 3 ? [null, selector, null] : rquickExpr.exec(selector)) && (match[1] || !context)) { + if ((match = "<" === selector.charAt(0) && ">" === selector.charAt(selector.length - 1) && selector.length >= 3 ? [ + null, + selector, + null + ] : rquickExpr.exec(selector)) && (match[1] || !context)) { if (match[1]) { if (context = context instanceof jQuery ? context[0] : context, jQuery.merge(this, jQuery.parseHTML(match[1], context && context.nodeType ? context.ownerDocument || context : document, !0)), rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) for(match in context)jQuery.isFunction(this[match]) ? this[match](context[match]) : this.attr(match, context[match]); return this; @@ -468,7 +539,9 @@ }, eq: function(i) { var len = this.length, j = +i + (i < 0 ? len : 0); - return this.pushStack(j >= 0 && j < len ? [this[j]] : []); + return this.pushStack(j >= 0 && j < len ? [ + this[j] + ] : []); }, map: function(callback) { return this.pushStack(jQuery.map(this, function(elem, i) { @@ -501,7 +574,9 @@ ready: function(wait) { if (!(!0 === wait ? --jQuery.readyWait : jQuery.isReady)) { if (!document.body) return setTimeout(jQuery.ready); - jQuery.isReady = !0, !0 !== wait && --jQuery.readyWait > 0 || (readyList.resolveWith(document, [jQuery]), jQuery.fn.trigger && jQuery(document).trigger("ready").off("ready")); + jQuery.isReady = !0, !0 !== wait && --jQuery.readyWait > 0 || (readyList.resolveWith(document, [ + jQuery + ]), jQuery.fn.trigger && jQuery(document).trigger("ready").off("ready")); } }, isFunction: function(obj) { @@ -542,7 +617,11 @@ if (!data || "string" != typeof data) return null; "boolean" == typeof context && (keepScripts = context, context = !1), context = context || document; var parsed = rsingleTag.exec(data), scripts = !keepScripts && []; - return parsed ? [context.createElement(parsed[1])] : (parsed = jQuery.buildFragment([data], context, scripts), scripts && jQuery(scripts).remove(), jQuery.merge([], parsed.childNodes)); + return parsed ? [ + context.createElement(parsed[1]) + ] : (parsed = jQuery.buildFragment([ + data + ], context, scripts), scripts && jQuery(scripts).remove(), jQuery.merge([], parsed.childNodes)); }, parseJSON: function(data) { return window.JSON && window.JSON.parse ? window.JSON.parse(data) : null === data ? data : "string" == typeof data && (data = jQuery.trim(data)) && rvalidchars.test(data.replace(rvalidescape, "@").replace(rvalidtokens, "]").replace(rvalidbraces, "")) ? new Function("return " + data)() : void jQuery.error("Invalid JSON: " + data); @@ -565,7 +644,9 @@ })(data); }, camelCase: function(string) { - return string.replace(rmsPrefix, "ms-").replace(rdashAlpha, fcamelCase); + return string.replace(rmsPrefix, "ms-").replace(rdashAlpha, function(all, letter) { + return letter.toUpperCase(); + }); }, nodeName: function(elem, name) { return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); @@ -586,7 +667,9 @@ }, makeArray: function(arr, results) { var ret = results || []; - return null != arr && (isArraylike(Object(arr)) ? jQuery.merge(ret, "string" == typeof arr ? [arr] : arr) : core_push.call(ret, arr)), ret; + return null != arr && (isArraylike(Object(arr)) ? jQuery.merge(ret, "string" == typeof arr ? [ + arr + ] : arr) : core_push.call(ret, arr)), ret; }, inArray: function(elem, arr, i) { var len; @@ -701,7 +784,10 @@ return !stack; }, fireWith: function(context, args) { - return args = [context, (args = args || []).slice ? args.slice() : args], list && (!fired || stack) && (firing ? stack.push(args) : fire(args)), this; + return args = [ + context, + (args = args || []).slice ? args.slice() : args + ], list && (!fired || stack) && (firing ? stack.push(args) : fire(args)), this; }, fire: function() { return self.fireWith(this, arguments), this; @@ -713,7 +799,25 @@ return self; }, jQuery.extend({ Deferred: function(func) { - var tuples = [["resolve", "done", jQuery.Callbacks("once memory"), "resolved"], ["reject", "fail", jQuery.Callbacks("once memory"), "rejected"], ["notify", "progress", jQuery.Callbacks("memory")]], state = "pending", promise = { + var tuples = [ + [ + "resolve", + "done", + jQuery.Callbacks("once memory"), + "resolved" + ], + [ + "reject", + "fail", + jQuery.Callbacks("once memory"), + "rejected" + ], + [ + "notify", + "progress", + jQuery.Callbacks("memory") + ] + ], state = "pending", promise = { state: function() { return state; }, @@ -727,7 +831,9 @@ var action = tuple[0], fn = jQuery.isFunction(fns[i]) && fns[i]; deferred[tuple[1]](function() { var returned = fn && fn.apply(this, arguments); - returned && jQuery.isFunction(returned.promise) ? returned.promise().done(newDefer.resolve).fail(newDefer.reject).progress(newDefer.notify) : newDefer[action + "With"](this === promise ? newDefer.promise() : this, fn ? [returned] : arguments); + returned && jQuery.isFunction(returned.promise) ? returned.promise().done(newDefer.resolve).fail(newDefer.reject).progress(newDefer.notify) : newDefer[action + "With"](this === promise ? newDefer.promise() : this, fn ? [ + returned + ] : arguments); }); }), fns = null; }).promise(); @@ -899,7 +1005,9 @@ }, promise: function(type, obj) { var tmp, count = 1, defer = jQuery.Deferred(), elements = this, i = this.length, resolve = function() { - --count || defer.resolveWith(elements, [elements]); + --count || defer.resolveWith(elements, [ + elements + ]); }; for("string" != typeof type && (obj = type, type = undefined), type = type || "fx"; i--;)(tmp = jQuery._data(elements[i], type + "queueHooks")) && tmp.empty && (count++, tmp.empty.add(resolve)); return resolve(), defer.promise(obj); @@ -1071,20 +1179,31 @@ set: function(elem, value, name) { nodeHook.set(elem, "" !== value && value, name); } - }, jQuery.each(["width", "height"], function(i, name) { + }, jQuery.each([ + "width", + "height" + ], function(i, name) { jQuery.attrHooks[name] = jQuery.extend(jQuery.attrHooks[name], { set: function(elem, value) { if ("" === value) return elem.setAttribute(name, "auto"), value; } }); - })), jQuery.support.hrefNormalized || (jQuery.each(["href", "src", "width", "height"], function(i, name) { + })), jQuery.support.hrefNormalized || (jQuery.each([ + "href", + "src", + "width", + "height" + ], function(i, name) { jQuery.attrHooks[name] = jQuery.extend(jQuery.attrHooks[name], { get: function(elem) { var ret = elem.getAttribute(name, 2); return null == ret ? undefined : ret; } }); - }), jQuery.each(["href", "src"], function(i, name) { + }), jQuery.each([ + "href", + "src" + ], function(i, name) { jQuery.propHooks[name] = { get: function(elem) { return elem.getAttribute(name, 4); @@ -1102,13 +1221,19 @@ var parent = elem.parentNode; return parent && (parent.selectedIndex, parent.parentNode && parent.parentNode.selectedIndex), null; } - })), jQuery.support.enctype || (jQuery.propFix.enctype = "encoding"), jQuery.support.checkOn || jQuery.each(["radio", "checkbox"], function() { + })), jQuery.support.enctype || (jQuery.propFix.enctype = "encoding"), jQuery.support.checkOn || jQuery.each([ + "radio", + "checkbox" + ], function() { jQuery.valHooks[this] = { get: function(elem) { return null === elem.getAttribute("value") ? "on" : elem.value; } }; - }), jQuery.each(["radio", "checkbox"], function() { + }), jQuery.each([ + "radio", + "checkbox" + ], function() { jQuery.valHooks[this] = jQuery.extend(jQuery.valHooks[this], { set: function(elem, value) { if (jQuery.isArray(value)) return elem.checked = jQuery.inArray(jQuery(elem).val(), value) >= 0; @@ -1121,8 +1246,9 @@ var tmp, events, t, handleObjIn, special, eventHandle, handleObj, handlers, type, namespaces, origType, elemData = jQuery._data(null); if (elemData) for(handler.handler && (handler = (handleObjIn = handler).handler, selector = handleObjIn.selector), handler.guid || (handler.guid = jQuery.guid++), (events = elemData.events) || (events = elemData.events = { }), (eventHandle = elemData.handle) || ((eventHandle = elemData.handle = function(e) { - return void 0 === jQuery || e && jQuery.event.triggered === e.type ? undefined : jQuery.event.dispatch.apply(eventHandle.elem, arguments); - }).elem = null), t = (types = (types || "").match(core_rnotwhite) || [""]).length; t--;)type = origType = (tmp = rtypenamespace.exec(types[t]) || [])[1], namespaces = (tmp[2] || "").split(".").sort(), special = jQuery.event.special[type] || { + }).elem = null), t = (types = (types || "").match(core_rnotwhite) || [ + "" + ]).length; t--;)type = origType = (tmp = rtypenamespace.exec(types[t]) || [])[1], namespaces = (tmp[2] || "").split(".").sort(), special = jQuery.event.special[type] || { }, type = (selector ? special.delegateType : special.bindType) || type, special = jQuery.event.special[type] || { }, handleObj = jQuery.extend({ type: type, @@ -1138,7 +1264,9 @@ remove: function(elem, types, handler, selector, mappedTypes) { var j, handleObj, tmp, origCount, t, events, special, handlers, type, namespaces, origType, elemData = jQuery.hasData(elem) && jQuery._data(elem); if (elemData && (events = elemData.events)) { - for(t = (types = (types || "").match(core_rnotwhite) || [""]).length; t--;){ + for(t = (types = (types || "").match(core_rnotwhite) || [ + "" + ]).length; t--;){ if (type = origType = (tmp = rtypenamespace.exec(types[t]) || [])[1], namespaces = (tmp[2] || "").split(".").sort(), !type) { for(type in events)jQuery.event.remove(elem, type + types[t], handler, selector, !0); continue; @@ -1151,8 +1279,14 @@ } }, trigger: function(event, data, elem, onlyHandlers) { - var handle, ontype, cur, bubbleType, special, tmp, i, eventPath = [elem || document], type = core_hasOwn.call(event, "type") ? event.type : event, namespaces = core_hasOwn.call(event, "namespace") ? event.namespace.split(".") : []; - if (cur = tmp = elem = elem || document, 3 !== elem.nodeType && 8 !== elem.nodeType && !rfocusMorph.test(type + jQuery.event.triggered) && (type.indexOf(".") >= 0 && (type = (namespaces = type.split(".")).shift(), namespaces.sort()), ontype = 0 > type.indexOf(":") && "on" + type, (event = event[jQuery.expando] ? event : new jQuery.Event(type, "object" == typeof event && event)).isTrigger = !0, event.namespace = namespaces.join("."), event.namespace_re = event.namespace ? new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, event.result = undefined, event.target || (event.target = elem), data = null == data ? [event] : jQuery.makeArray(data, [event]), special = jQuery.event.special[type] || { + var handle, ontype, cur, bubbleType, special, tmp, i, eventPath = [ + elem || document + ], type = core_hasOwn.call(event, "type") ? event.type : event, namespaces = core_hasOwn.call(event, "namespace") ? event.namespace.split(".") : []; + if (cur = tmp = elem = elem || document, 3 !== elem.nodeType && 8 !== elem.nodeType && !rfocusMorph.test(type + jQuery.event.triggered) && (type.indexOf(".") >= 0 && (type = (namespaces = type.split(".")).shift(), namespaces.sort()), ontype = 0 > type.indexOf(":") && "on" + type, (event = event[jQuery.expando] ? event : new jQuery.Event(type, "object" == typeof event && event)).isTrigger = !0, event.namespace = namespaces.join("."), event.namespace_re = event.namespace ? new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, event.result = undefined, event.target || (event.target = elem), data = null == data ? [ + event + ] : jQuery.makeArray(data, [ + event + ]), special = jQuery.event.special[type] || { }, onlyHandlers || !special.trigger || !1 !== special.trigger.apply(elem, data))) { if (!onlyHandlers && !special.noBubble && !jQuery.isWindow(elem)) { for(bubbleType = special.delegateType || type, rfocusMorph.test(bubbleType + type) || (cur = cur.parentNode); cur; cur = cur.parentNode)eventPath.push(cur), tmp = cur; @@ -1186,7 +1320,9 @@ var sel, handleObj, matches, i, handlerQueue = [], delegateCount = handlers.delegateCount, cur = event.target; if (delegateCount && cur.nodeType && (!event.button || "click" !== event.type)) { for(; cur != this; cur = cur.parentNode || this)if (1 === cur.nodeType && (!0 !== cur.disabled || "click" !== event.type)) { - for(i = 0, matches = []; i < delegateCount; i++)undefined === matches[sel = (handleObj = handlers[i]).selector + " "] && (matches[sel] = handleObj.needsContext ? jQuery(sel, this).index(cur) >= 0 : jQuery.find(sel, this, null, [cur]).length), matches[sel] && matches.push(handleObj); + for(i = 0, matches = []; i < delegateCount; i++)undefined === matches[sel = (handleObj = handlers[i]).selector + " "] && (matches[sel] = handleObj.needsContext ? jQuery(sel, this).index(cur) >= 0 : jQuery.find(sel, this, null, [ + cur + ]).length), matches[sel] && matches.push(handleObj); matches.length && handlerQueue.push({ elem: cur, handlers: matches @@ -1520,7 +1656,9 @@ if ((cache = (outerCache = elem[expando] || (elem[expando] = { }))[dir]) && cache[0] === dirkey) { if (!0 === (data = cache[1]) || data === cachedruns) return !0 === data; - } else if ((cache = outerCache[dir] = [dirkey])[1] = matcher(elem, context, xml) || cachedruns, !0 === cache[1]) return !0; + } else if ((cache = outerCache[dir] = [ + dirkey + ])[1] = matcher(elem, context, xml) || cachedruns, !0 === cache[1]) return !0; } }; } @@ -1536,7 +1674,9 @@ } function setMatcher(preFilter, selector, matcher, postFilter, postFinder, postSelector) { return postFilter && !postFilter[expando] && (postFilter = setMatcher(postFilter)), postFinder && !postFinder[expando] && (postFinder = setMatcher(postFinder, postSelector)), markFunction(function(seed, results, context, xml) { - var temp, i, elem, preMap = [], postMap = [], preexisting = results.length, elems = seed || multipleContexts(selector || "*", context.nodeType ? [context] : context, []), matcherIn = preFilter && (seed || !selector) ? condense(elems, preMap, preFilter, context, xml) : elems, matcherOut = matcher ? postFinder || (seed ? preFilter : preexisting || postFilter) ? [] : results : matcherIn; + var temp, i, elem, preMap = [], postMap = [], preexisting = results.length, elems = seed || multipleContexts(selector || "*", context.nodeType ? [ + context + ] : context, []), matcherIn = preFilter && (seed || !selector) ? condense(elems, preMap, preFilter, context, xml) : elems, matcherOut = matcher ? postFinder || (seed ? preFilter : preexisting || postFilter) ? [] : results : matcherIn; if (matcher && matcher(matcherIn, matcherOut, context, xml), postFilter) for(postFilter(temp = condense(matcherOut, postMap), [], context, xml), i = temp.length; i--;)(elem = temp[i]) && (matcherOut[postMap[i]] = !(matcherIn[postMap[i]] = elem)); if (seed) { if (postFinder || preFilter) { @@ -1556,7 +1696,9 @@ return indexOf.call(checkContext, elem) > -1; }, implicitRelative, !0), matchers = [function(elem, context, xml) { return !leadingRelative && (xml || context !== outermostContext) || ((checkContext = context).nodeType ? matchContext(elem, context, xml) : matchAnyContext(elem, context, xml)); - }]; i < len; i++)if (matcher = Expr.relative[tokens[i].type]) matchers = [addCombinator(elementMatcher(matchers), matcher)]; + }]; i < len; i++)if (matcher = Expr.relative[tokens[i].type]) matchers = [ + addCombinator(elementMatcher(matchers), matcher) + ]; else { if ((matcher = Expr.filter[tokens[i].type].apply(null, tokens[i].matches))[expando]) { for(j = ++i; j < len && !Expr.relative[tokens[j].type]; j++); @@ -1652,7 +1794,9 @@ }, support.getIdNotName ? (Expr.find.ID = function(id, context) { if (void 0 !== context.getElementById || documentIsXML) { var m = context.getElementById(id); - return m && m.parentNode ? [m] : []; + return m && m.parentNode ? [ + m + ] : []; } }, Expr.filter.ID = function(id) { var attrId = id.replace(runescape, funescape); @@ -1662,7 +1806,9 @@ }) : (Expr.find.ID = function(id, context) { if (void 0 !== context.getElementById || documentIsXML) { var m = context.getElementById(id); - return m ? m.id === id || void 0 !== m.getAttributeNode && m.getAttributeNode("id").value === id ? [m] : undefined : []; + return m ? m.id === id || void 0 !== m.getAttributeNode && m.getAttributeNode("id").value === id ? [ + m + ] : undefined : []; } }, Expr.filter.ID = function(id) { var attrId = id.replace(runescape, funescape); @@ -1683,7 +1829,9 @@ if (void 0 !== context.getElementsByName) return context.getElementsByName(name); }, Expr.find.CLASS = support.getByClassName && function(className, context) { if (void 0 !== context.getElementsByClassName || documentIsXML) return context.getElementsByClassName(className); - }, rbuggyMatches = [], rbuggyQSA = [":focus"], (support.qsa = isNative(doc.querySelectorAll)) && (assert(function(div) { + }, rbuggyMatches = [], rbuggyQSA = [ + ":focus" + ], (support.qsa = isNative(doc.querySelectorAll)) && (assert(function(div) { div.innerHTML = "", div.querySelectorAll("[selected]").length || rbuggyQSA.push("\\[" + whitespace + "*(?:checked|disabled|ismap|multiple|readonly|selected|value)"), div.querySelectorAll(":checked").length || rbuggyQSA.push(":checked"); }), assert(function(div) { div.innerHTML = "", div.querySelectorAll("[i^='']").length && rbuggyQSA.push("[*^$]=" + whitespace + "*(?:\"\"|'')"), div.querySelectorAll(":enabled").length || rbuggyQSA.push(":enabled", ":disabled"), div.querySelectorAll("*,:x"), rbuggyQSA.push(",.*:"); @@ -1701,7 +1849,11 @@ var compare; return a === b ? (hasDuplicate = !0, 0) : (compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition(b)) ? 1 & compare || a.parentNode && 11 === a.parentNode.nodeType ? a === doc || contains(preferredDoc, a) ? -1 : b === doc || contains(preferredDoc, b) ? 1 : 0 : 4 & compare ? -1 : 1 : a.compareDocumentPosition ? -1 : 1; } : function(a, b) { - var cur, i = 0, aup = a.parentNode, bup = b.parentNode, ap = [a], bp = [b]; + var cur, i = 0, aup = a.parentNode, bup = b.parentNode, ap = [ + a + ], bp = [ + b + ]; if (a === b) return hasDuplicate = !0, 0; if (!aup || !bup) return a === doc ? -1 : b === doc ? 1 : aup ? -1 : bup ? 1 : 0; if (aup === bup) return siblingCheck(a, b); @@ -1709,7 +1861,10 @@ for(cur = b; cur = cur.parentNode;)bp.unshift(cur); for(; ap[i] === bp[i];)i++; return i ? siblingCheck(ap[i], bp[i]) : ap[i] === preferredDoc ? -1 : bp[i] === preferredDoc ? 1 : 0; - }, hasDuplicate = !1, [0, 0].sort(sortOrder), support.detectDuplicates = hasDuplicate), document; + }, hasDuplicate = !1, [ + 0, + 0 + ].sort(sortOrder), support.detectDuplicates = hasDuplicate), document; }, Sizzle.matches = function(expr, elements) { return Sizzle(expr, null, null, elements); }, Sizzle.matchesSelector = function(elem, expr) { @@ -1718,7 +1873,9 @@ if (ret || support.disconnectedMatch || elem.document && 11 !== elem.document.nodeType) return ret; } catch (e) { } - return Sizzle(expr, document, null, [elem]).length > 0; + return Sizzle(expr, document, null, [ + elem + ]).length > 0; }, Sizzle.contains = function(context, elem) { return (context.ownerDocument || context) !== document && setDocument(context), contains(context, elem); }, Sizzle.attr = function(elem, name) { @@ -1810,27 +1967,37 @@ } return !0; } - if (start = [forward ? parent.firstChild : parent.lastChild], forward && useCache) { + if (start = [ + forward ? parent.firstChild : parent.lastChild + ], forward && useCache) { for(nodeIndex = (cache = (outerCache = parent[expando] || (parent[expando] = { }))[type] || [])[0] === dirruns && cache[1], diff = cache[0] === dirruns && cache[2], node = nodeIndex && parent.childNodes[nodeIndex]; node = ++nodeIndex && node && node[dir] || (diff = nodeIndex = 0) || start.pop();)if (1 === node.nodeType && ++diff && node === elem) { - outerCache[type] = [dirruns, + outerCache[type] = [ + dirruns, nodeIndex, - diff]; + diff + ]; break; } } else if (useCache && (cache = (elem[expando] || (elem[expando] = { }))[type]) && cache[0] === dirruns) diff = cache[1]; else for(; (node = ++nodeIndex && node && node[dir] || (diff = nodeIndex = 0) || start.pop()) && (!((ofType ? node.nodeName.toLowerCase() === name : 1 === node.nodeType) && ++diff) || (useCache && ((node[expando] || (node[expando] = { - }))[type] = [dirruns, - diff]), node !== elem));); + }))[type] = [ + dirruns, + diff + ]), node !== elem));); return diff -= last, diff === first || diff % first == 0 && diff / first >= 0; } }; }, PSEUDO: function(pseudo, argument) { var args, fn = Expr.pseudos[pseudo] || Expr.setFilters[pseudo.toLowerCase()] || Sizzle.error("unsupported pseudo: " + pseudo); - return fn[expando] ? fn(argument) : fn.length > 1 ? (args = [pseudo, - pseudo, "", argument], Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) ? markFunction(function(seed, matches) { + return fn[expando] ? fn(argument) : fn.length > 1 ? (args = [ + pseudo, + pseudo, + "", + argument + ], Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) ? markFunction(function(seed, matches) { for(var idx, matched = fn(seed, argument), i = matched.length; i--;)seed[idx = indexOf.call(seed, matched[i])] = !(matches[idx] = matched[i]); }) : function(elem) { return fn(elem, 0, args); @@ -1909,13 +2076,19 @@ return "input" === elem.nodeName.toLowerCase() && "text" === elem.type && (null == (attr = elem.getAttribute("type")) || attr.toLowerCase() === elem.type); }, first: createPositionalPseudo(function() { - return [0]; + return [ + 0 + ]; }), last: createPositionalPseudo(function(matchIndexes, length) { - return [length - 1]; + return [ + length - 1 + ]; }), eq: createPositionalPseudo(function(matchIndexes, length, argument) { - return [argument < 0 ? argument + length : argument]; + return [ + argument < 0 ? argument + length : argument + ]; }), even: createPositionalPseudo(function(matchIndexes, length) { for(var i = 0; i < length; i += 2)matchIndexes.push(i); @@ -1991,7 +2164,9 @@ return elem ? "string" == typeof elem ? jQuery.inArray(this[0], jQuery(elem)) : jQuery.inArray(elem.jquery ? elem[0] : elem, this) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1; }, add: function(selector, context) { - var set = "string" == typeof selector ? jQuery(selector, context) : jQuery.makeArray(selector && selector.nodeType ? [selector] : selector), all = jQuery.merge(this.get(), set); + var set = "string" == typeof selector ? jQuery(selector, context) : jQuery.makeArray(selector && selector.nodeType ? [ + selector + ] : selector), all = jQuery.merge(this.get(), set); return this.pushStack(jQuery.unique(all)); }, addBack: function(selector) { @@ -2043,7 +2218,9 @@ }; }), jQuery.extend({ filter: function(expr, elems, not) { - return not && (expr = ":not(" + expr + ")"), 1 === elems.length ? jQuery.find.matchesSelector(elems[0], expr) ? [elems[0]] : [] : jQuery.find.matches(expr, elems); + return not && (expr = ":not(" + expr + ")"), 1 === elems.length ? jQuery.find.matchesSelector(elems[0], expr) ? [ + elems[0] + ] : [] : jQuery.find.matches(expr, elems); }, dir: function(elem, dir, until) { for(var matched = [], cur = elem[dir]; cur && 9 !== cur.nodeType && (until === undefined || 1 !== cur.nodeType || !jQuery(cur).is(until));)1 === cur.nodeType && matched.push(cur), cur = cur[dir]; @@ -2112,7 +2289,9 @@ }); }, remove: function(selector, keepData) { - for(var elem, i = 0; null != (elem = this[i]); i++)(!selector || jQuery.filter(selector, [elem]).length > 0) && (keepData || 1 !== elem.nodeType || jQuery.cleanData(getAll(elem)), elem.parentNode && (keepData && jQuery.contains(elem.ownerDocument, elem) && setGlobalEval(getAll(elem, "script")), elem.parentNode.removeChild(elem))); + for(var elem, i = 0; null != (elem = this[i]); i++)(!selector || jQuery.filter(selector, [ + elem + ]).length > 0) && (keepData || 1 !== elem.nodeType || jQuery.cleanData(getAll(elem)), elem.parentNode && (keepData && jQuery.contains(elem.ownerDocument, elem) && setGlobalEval(getAll(elem, "script")), elem.parentNode.removeChild(elem))); return this; }, empty: function() { @@ -2132,11 +2311,14 @@ var elem = this[0] || { }, i = 0, l = this.length; if (value === undefined) return 1 === elem.nodeType ? elem.innerHTML.replace(rinlinejQuery, "") : undefined; - if ("string" == typeof value && !rnoInnerhtml.test(value) && (jQuery.support.htmlSerialize || !rnoshimcache.test(value)) && (jQuery.support.leadingWhitespace || !rleadingWhitespace.test(value)) && !wrapMap[(rtagName.exec(value) || ["", ""])[1].toLowerCase()]) { + if ("string" == typeof value && !rnoInnerhtml.test(value) && (jQuery.support.htmlSerialize || !rnoshimcache.test(value)) && (jQuery.support.leadingWhitespace || !rleadingWhitespace.test(value)) && !wrapMap[(rtagName.exec(value) || [ + "", + "" + ])[1].toLowerCase()]) { value = value.replace(rxhtmlTag, "<$1>"); try { - for(; i < l; i++)elem = this[i] || { - }, 1 === elem.nodeType && (jQuery.cleanData(getAll(elem, !1)), elem.innerHTML = value); + for(; i < l; i++)1 === (elem = this[i] || { + }).nodeType && (jQuery.cleanData(getAll(elem, !1)), elem.innerHTML = value); elem = 0; } catch (e) { } @@ -2145,7 +2327,9 @@ }, null, value, arguments.length); }, replaceWith: function(value) { - return jQuery.isFunction(value) || "string" == typeof value || (value = jQuery(value).not(this).detach()), this.domManip([value], !0, function(elem) { + return jQuery.isFunction(value) || "string" == typeof value || (value = jQuery(value).not(this).detach()), this.domManip([ + value + ], !0, function(elem) { var next = this.nextSibling, parent = this.parentNode; parent && (jQuery(this).remove(), parent.insertBefore(elem, next)); }); @@ -2194,9 +2378,14 @@ return (destElements = getAll(clone, "script")).length > 0 && setGlobalEval(destElements, !inPage && getAll(elem, "script")), destElements = srcElements = node = null, clone; }, buildFragment: function(elems, context, scripts, selection) { - for(var j, elem, contains, tmp, tag, tbody, wrap, l = elems.length, safe = createSafeFragment(context), nodes = [], i = 0; i < l; i++)if ((elem = elems[i]) || 0 === elem) if ("object" === jQuery.type(elem)) jQuery.merge(nodes, elem.nodeType ? [elem] : elem); + for(var j, elem, contains, tmp, tag, tbody, wrap, l = elems.length, safe = createSafeFragment(context), nodes = [], i = 0; i < l; i++)if ((elem = elems[i]) || 0 === elem) if ("object" === jQuery.type(elem)) jQuery.merge(nodes, elem.nodeType ? [ + elem + ] : elem); else if (rhtml.test(elem)) { - for(tmp = tmp || safe.appendChild(context.createElement("div")), wrap = wrapMap[tag = (rtagName.exec(elem) || ["", ""])[1].toLowerCase()] || wrapMap._default, tmp.innerHTML = wrap[1] + elem.replace(rxhtmlTag, "<$1>") + wrap[2], j = wrap[0]; j--;)tmp = tmp.lastChild; + for(tmp = tmp || safe.appendChild(context.createElement("div")), wrap = wrapMap[tag = (rtagName.exec(elem) || [ + "", + "" + ])[1].toLowerCase()] || wrapMap._default, tmp.innerHTML = wrap[1] + elem.replace(rxhtmlTag, "<$1>") + wrap[2], j = wrap[0]; j--;)tmp = tmp.lastChild; if (!jQuery.support.leadingWhitespace && rleadingWhitespace.test(elem) && nodes.push(context.createTextNode(rleadingWhitespace.exec(elem)[0])), !jQuery.support.tbody) for(j = (elem = "table" !== tag || rtbody.test(elem) ? "" !== wrap[1] || rtbody.test(elem) ? 0 : tmp : tmp.firstChild) && elem.childNodes.length; j--;)jQuery.nodeName(tbody = elem.childNodes[j], "tbody") && !tbody.childNodes.length && elem.removeChild(tbody); for(jQuery.merge(nodes, tmp.childNodes), tmp.textContent = ""; tmp.firstChild;)tmp.removeChild(tmp.firstChild); tmp = safe.lastChild; @@ -2290,7 +2479,10 @@ return elem.currentStyle; })(elem), ret = computed ? computed[name] : undefined, style = elem.style; return null == ret && style && style[name] && (ret = style[name]), rnumnonpx.test(ret) && !rposition.test(name) && (left = style.left, (rsLeft = (rs = elem.runtimeStyle) && rs.left) && (rs.left = elem.currentStyle.left), style.left = "fontSize" === name ? "1em" : ret, ret = style.pixelLeft + "px", style.left = left, rsLeft && (rs.left = rsLeft)), "" === ret ? "auto" : ret; - }), jQuery.each(["height", "width"], function(i, name) { + }), jQuery.each([ + "height", + "width" + ], function(i, name) { jQuery.cssHooks[name] = { get: function(elem, computed, extra) { if (computed) return 0 === elem.offsetWidth && rdisplayswap.test(jQuery.css(elem, "display")) ? jQuery.swap(elem, cssShow, function() { @@ -2315,9 +2507,15 @@ get: function(elem, computed) { if (computed) return jQuery.swap(elem, { display: "inline-block" - }, curCSS, [elem, "marginRight"]); + }, curCSS, [ + elem, + "marginRight" + ]); } - }), !jQuery.support.pixelPosition && jQuery.fn.position && jQuery.each(["top", "left"], function(i, prop) { + }), !jQuery.support.pixelPosition && jQuery.fn.position && jQuery.each([ + "top", + "left" + ], function(i, prop) { jQuery.cssHooks[prop] = { get: function(elem, computed) { if (computed) return computed = curCSS(elem, prop), rnumnonpx.test(computed) ? jQuery(elem).position()[prop] + "px" : computed; @@ -2336,7 +2534,9 @@ jQuery.cssHooks[prefix + suffix] = { expand: function(value) { for(var i = 0, expanded = { - }, parts = "string" == typeof value ? value.split(" ") : [value]; i < 4; i++)expanded[prefix + cssExpand[i] + suffix] = parts[i] || parts[i - 2] || parts[0]; + }, parts = "string" == typeof value ? value.split(" ") : [ + value + ]; i < 4; i++)expanded[prefix + cssExpand[i] + suffix] = parts[i] || parts[i - 2] || parts[0]; return expanded; } }, rmargin.test(prefix) || (jQuery.cssHooks[prefix + suffix].set = setPositiveNumber); @@ -2396,14 +2596,27 @@ }).done(function(responseText) { response = arguments, self.html(selector ? jQuery("
").append(jQuery.parseHTML(responseText)).find(selector) : responseText); }).complete(callback && function(jqXHR, status) { - self.each(callback, response || [jqXHR.responseText, status, - jqXHR]); + self.each(callback, response || [ + jqXHR.responseText, + status, + jqXHR + ]); }), this; - }, jQuery.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function(i, type) { + }, jQuery.each([ + "ajaxStart", + "ajaxStop", + "ajaxComplete", + "ajaxError", + "ajaxSuccess", + "ajaxSend" + ], function(i, type) { jQuery.fn[type] = function(fn) { return this.on(type, fn); }; - }), jQuery.each(["get", "post"], function(i, method) { + }), jQuery.each([ + "get", + "post" + ], function(i, method) { jQuery[method] = function(url, data, callback, type) { return jQuery.isFunction(data) && (type = type || callback, callback = data, data = undefined), jQuery.ajax({ url: url, @@ -2487,7 +2700,10 @@ }, statusCode: function(map) { var code; - if (map) if (state < 2) for(code in map)statusCode[code] = [statusCode[code], map[code]]; + if (map) if (state < 2) for(code in map)statusCode[code] = [ + statusCode[code], + map[code] + ]; else jqXHR.always(map[jqXHR.status]); return this; }, @@ -2498,17 +2714,30 @@ }; function done(status, nativeStatusText, responses, headers) { var isSuccess, success, error, response, modified, statusText = nativeStatusText; - 2 !== state && (state = 2, timeoutTimer && clearTimeout(timeoutTimer), transport = undefined, responseHeadersString = headers || "", jqXHR.readyState = status > 0 ? 4 : 0, responses && (response = ajaxHandleResponses(s, jqXHR, responses)), status >= 200 && status < 300 || 304 === status ? (s.ifModified && ((modified = jqXHR.getResponseHeader("Last-Modified")) && (jQuery.lastModified[cacheURL] = modified), (modified = jqXHR.getResponseHeader("etag")) && (jQuery.etag[cacheURL] = modified)), 204 === status ? (isSuccess = !0, statusText = "nocontent") : 304 === status ? (isSuccess = !0, statusText = "notmodified") : (statusText = (isSuccess = ajaxConvert(s, response)).state, success = isSuccess.data, isSuccess = !(error = isSuccess.error))) : (error = statusText, (status || !statusText) && (statusText = "error", status < 0 && (status = 0))), jqXHR.status = status, jqXHR.statusText = (nativeStatusText || statusText) + "", isSuccess ? deferred.resolveWith(callbackContext, [success, + 2 !== state && (state = 2, timeoutTimer && clearTimeout(timeoutTimer), transport = undefined, responseHeadersString = headers || "", jqXHR.readyState = status > 0 ? 4 : 0, responses && (response = ajaxHandleResponses(s, jqXHR, responses)), status >= 200 && status < 300 || 304 === status ? (s.ifModified && ((modified = jqXHR.getResponseHeader("Last-Modified")) && (jQuery.lastModified[cacheURL] = modified), (modified = jqXHR.getResponseHeader("etag")) && (jQuery.etag[cacheURL] = modified)), 204 === status ? (isSuccess = !0, statusText = "nocontent") : 304 === status ? (isSuccess = !0, statusText = "notmodified") : (statusText = (isSuccess = ajaxConvert(s, response)).state, success = isSuccess.data, isSuccess = !(error = isSuccess.error))) : (error = statusText, (status || !statusText) && (statusText = "error", status < 0 && (status = 0))), jqXHR.status = status, jqXHR.statusText = (nativeStatusText || statusText) + "", isSuccess ? deferred.resolveWith(callbackContext, [ + success, statusText, - jqXHR]) : deferred.rejectWith(callbackContext, [jqXHR, + jqXHR + ]) : deferred.rejectWith(callbackContext, [ + jqXHR, statusText, - error]), jqXHR.statusCode(statusCode), statusCode = undefined, fireGlobals && globalEventContext.trigger(isSuccess ? "ajaxSuccess" : "ajaxError", [jqXHR, - s, isSuccess ? success : error]), completeDeferred.fireWith(callbackContext, [jqXHR, - statusText]), !fireGlobals || (globalEventContext.trigger("ajaxComplete", [jqXHR, - s]), --jQuery.active || jQuery.event.trigger("ajaxStop"))); + error + ]), jqXHR.statusCode(statusCode), statusCode = undefined, fireGlobals && globalEventContext.trigger(isSuccess ? "ajaxSuccess" : "ajaxError", [ + jqXHR, + s, + isSuccess ? success : error + ]), completeDeferred.fireWith(callbackContext, [ + jqXHR, + statusText + ]), !fireGlobals || (globalEventContext.trigger("ajaxComplete", [ + jqXHR, + s + ]), --jQuery.active || jQuery.event.trigger("ajaxStop"))); } if ("object" == typeof url && (options = url, url = undefined), options = options || { - }, deferred.promise(jqXHR).complete = completeDeferred.add, jqXHR.success = jqXHR.done, jqXHR.error = jqXHR.fail, s.url = ((url || s.url || ajaxLocation) + "").replace(rhash, "").replace(rprotocol, ajaxLocParts[1] + "//"), s.type = options.method || options.type || s.method || s.type, s.dataTypes = jQuery.trim(s.dataType || "*").toLowerCase().match(core_rnotwhite) || [""], null == s.crossDomain && (parts = rurl.exec(s.url.toLowerCase()), s.crossDomain = !!(parts && (parts[1] !== ajaxLocParts[1] || parts[2] !== ajaxLocParts[2] || (parts[3] || ("http:" === parts[1] ? 80 : 443)) != (ajaxLocParts[3] || ("http:" === ajaxLocParts[1] ? 80 : 443))))), s.data && s.processData && "string" != typeof s.data && (s.data = jQuery.param(s.data, s.traditional)), inspectPrefiltersOrTransports(prefilters, s, options, jqXHR), 2 === state) return jqXHR; + }, deferred.promise(jqXHR).complete = completeDeferred.add, jqXHR.success = jqXHR.done, jqXHR.error = jqXHR.fail, s.url = ((url || s.url || ajaxLocation) + "").replace(rhash, "").replace(rprotocol, ajaxLocParts[1] + "//"), s.type = options.method || options.type || s.method || s.type, s.dataTypes = jQuery.trim(s.dataType || "*").toLowerCase().match(core_rnotwhite) || [ + "" + ], null == s.crossDomain && (parts = rurl.exec(s.url.toLowerCase()), s.crossDomain = !!(parts && (parts[1] !== ajaxLocParts[1] || parts[2] !== ajaxLocParts[2] || (parts[3] || ("http:" === parts[1] ? 80 : 443)) != (ajaxLocParts[3] || ("http:" === ajaxLocParts[1] ? 80 : 443))))), s.data && s.processData && "string" != typeof s.data && (s.data = jQuery.param(s.data, s.traditional)), inspectPrefiltersOrTransports(prefilters, s, options, jqXHR), 2 === state) return jqXHR; for(i in (fireGlobals = s.global) && 0 == jQuery.active++ && jQuery.event.trigger("ajaxStart"), s.type = s.type.toUpperCase(), s.hasContent = !rnoContent.test(s.type), cacheURL = s.url, s.hasContent || (s.data && (cacheURL = s.url += (ajax_rquery.test(cacheURL) ? "&" : "?") + s.data, delete s.data), !1 === s.cache && (s.url = rts.test(cacheURL) ? cacheURL.replace(rts, "$1_=" + ajax_nonce++) : cacheURL + (ajax_rquery.test(cacheURL) ? "&" : "?") + "_=" + ajax_nonce++)), s.ifModified && (jQuery.lastModified[cacheURL] && jqXHR.setRequestHeader("If-Modified-Since", jQuery.lastModified[cacheURL]), jQuery.etag[cacheURL] && jqXHR.setRequestHeader("If-None-Match", jQuery.etag[cacheURL])), (s.data && s.hasContent && !1 !== s.contentType || options.contentType) && jqXHR.setRequestHeader("Content-Type", s.contentType), jqXHR.setRequestHeader("Accept", s.dataTypes[0] && s.accepts[s.dataTypes[0]] ? s.accepts[s.dataTypes[0]] + ("*" !== s.dataTypes[0] ? ", " + allTypes + "; q=0.01" : "") : s.accepts["*"]), s.headers)jqXHR.setRequestHeader(i, s.headers[i]); if (s.beforeSend && (!1 === s.beforeSend.call(callbackContext, jqXHR, s) || 2 === state)) return jqXHR.abort(); for(i in strAbort = "abort", { @@ -2517,8 +2746,10 @@ complete: 1 })jqXHR[i](s[i]); if (transport = inspectPrefiltersOrTransports(transports, s, options, jqXHR)) { - jqXHR.readyState = 1, fireGlobals && globalEventContext.trigger("ajaxSend", [jqXHR, - s]), s.async && s.timeout > 0 && (timeoutTimer = setTimeout(function() { + jqXHR.readyState = 1, fireGlobals && globalEventContext.trigger("ajaxSend", [ + jqXHR, + s + ]), s.async && s.timeout > 0 && (timeoutTimer = setTimeout(function() { jqXHR.abort("timeout"); }, s.timeout)); try { @@ -2621,7 +2852,9 @@ } }), jQuery.Animation = jQuery.extend(Animation1, { tweener: function(props, callback) { - jQuery.isFunction(props) ? (callback = props, props = ["*"]) : props = props.split(" "); + jQuery.isFunction(props) ? (callback = props, props = [ + "*" + ]) : props = props.split(" "); for(var prop, index = 0, length = props.length; index < length; index++)tweeners[prop = props[index]] = tweeners[prop] || [], tweeners[prop].unshift(callback); }, prefilter: function(callback, prepend) { @@ -2654,7 +2887,11 @@ set: function(tween) { tween.elem.nodeType && tween.elem.parentNode && (tween.elem[tween.prop] = tween.now); } - }, jQuery.each(["toggle", "show", "hide"], function(i, name) { + }, jQuery.each([ + "toggle", + "show", + "hide" + ], function(i, name) { var cssFn = jQuery.fn[name]; jQuery.fn[name] = function(speed, easing, callback) { return null == speed || "boolean" == typeof speed ? cssFn.apply(this, arguments) : this.animate(genFx(name, !0), speed, easing, callback); @@ -2765,8 +3002,10 @@ setOffset: function(elem, options, i) { var position = jQuery.css(elem, "position"); "static" === position && (elem.style.position = "relative"); - var curTop, curLeft, curElem = jQuery(elem), curOffset = curElem.offset(), curCSSTop = jQuery.css(elem, "top"), curCSSLeft = jQuery.css(elem, "left"), calculatePosition = ("absolute" === position || "fixed" === position) && jQuery.inArray("auto", [curCSSTop, - curCSSLeft]) > -1, props = { + var curTop, curLeft, curElem = jQuery(elem), curOffset = curElem.offset(), curCSSTop = jQuery.css(elem, "top"), curCSSLeft = jQuery.css(elem, "left"), calculatePosition = ("absolute" === position || "fixed" === position) && jQuery.inArray("auto", [ + curCSSTop, + curCSSLeft + ]) > -1, props = { }, curPosition = { }; calculatePosition ? (curTop = (curPosition = curElem.position()).top, curLeft = curPosition.left) : (curTop = parseFloat(curCSSTop) || 0, curLeft = parseFloat(curCSSLeft) || 0), jQuery.isFunction(options) && (options = options.call(elem, i, curOffset)), null != options.top && (props.top = options.top - curOffset.top + curTop), null != options.left && (props.left = options.left - curOffset.left + curLeft), "using" in options ? options.using.call(elem, props) : curElem.css(props); diff --git a/ecmascript/minifier/tests/projects/output/jquery.mobile-1.4.2.js b/ecmascript/minifier/tests/projects/output/jquery.mobile-1.4.2.js index 36fc230956a..2be33a451b7 100644 --- a/ecmascript/minifier/tests/projects/output/jquery.mobile-1.4.2.js +++ b/ecmascript/minifier/tests/projects/output/jquery.mobile-1.4.2.js @@ -1,9 +1,11 @@ !function(root, doc, factory) { - "function" == typeof define && define.amd ? define(["jquery"], function($) { + "function" == typeof define && define.amd ? define([ + "jquery" + ], function($) { return factory($, root, doc), $.mobile; }) : factory(root.jQuery, root, doc); }(this, document, function(jQuery, window, document, undefined) { - var $, rcapitals, replaceFunction, doc, bool, docElem, refNode, fakeBody, div, $1, support, $2, self, $win, dummyFnToInitNavigate, $3, undefined, path, $base, $4, undefined, $5, path1, initialHref, $6, heldCall, curr, diff, handler, lastCall, $7, baseElement, base, $8, $9, $10, $11, undefined, rInitialLetter, iconposClass, $12, $13, $14, meta, initialContent, disabledZoom, enabledZoom, disabledInitially, $15, $16, undefined, replaceSetOptions, rDividerListItem, origDefaultFilterCallback; + var $, rcapitals, doc, bool, docElem, refNode, fakeBody, div, $1, support, $2, self, $win, dummyFnToInitNavigate, $3, undefined, path, $base, $4, undefined, $5, path1, initialHref, $6, heldCall, curr, diff, handler, lastCall, $7, baseElement, base, $8, $9, $10, $11, undefined, rInitialLetter, iconposClass, $12, $13, $14, meta, initialContent, disabledZoom, enabledZoom, disabledInitially, $15, $16, undefined, rDividerListItem, origDefaultFilterCallback; jQuery.mobile = { }, (function($17, window, undefined) { $17.extend($17.mobile, { @@ -145,8 +147,17 @@ var tabIndex = $17.attr(element, "tabindex"), isTabIndexNaN = isNaN(tabIndex); return (isTabIndexNaN || tabIndex >= 0) && focusable(element, !isTabIndexNaN); } - }), $17("").outerWidth(1).jquery || $17.each(["Width", "Height"], function(i, name) { - var side = "Width" === name ? ["Left", "Right"] : ["Top", "Bottom"], type = name.toLowerCase(), orig = { + }), $17("").outerWidth(1).jquery || $17.each([ + "Width", + "Height" + ], function(i, name) { + var side = "Width" === name ? [ + "Left", + "Right" + ] : [ + "Top", + "Bottom" + ], type = name.toLowerCase(), orig = { innerWidth: $17.fn.innerWidth, innerHeight: $17.fn.innerHeight, outerWidth: $17.fn.outerWidth, @@ -192,7 +203,10 @@ }), $17.ui.plugin = { add: function(module, option, set) { var i, proto = $17.ui[module].prototype; - for(i in set)proto.plugins[i] = proto.plugins[i] || [], proto.plugins[i].push([option, set[i]]); + for(i in set)proto.plugins[i] = proto.plugins[i] || [], proto.plugins[i].push([ + option, + set[i] + ]); }, call: function(instance, name, args, allowDisconnected) { var i, set = instance.plugins[name]; @@ -307,7 +321,9 @@ }, $17.find.matches = function(expr, set) { return $17.find(expr, null, null, set); }, $17.find.matchesSelector = function(node, expr) { - return $17.find(expr, null, null, [node]).length > 0; + return $17.find(expr, null, null, [ + node + ]).length > 0; }; })(jQuery, this), (function($17, undefined) { var uuid = 0, slice = Array.prototype.slice, _cleanData = $17.cleanData; @@ -333,15 +349,15 @@ _childConstructors: [] }), (basePrototype = new base()).options = $17.widget.extend({ }, basePrototype.options), $17.each(prototype, function(prop, value) { - $17.isFunction(value) || (proxiedPrototype[prop] = value), proxiedPrototype[prop] = (function() { - var _super = function() { - return base.prototype[prop].apply(this, arguments); - }, _superApply = function(args) { - return base.prototype[prop].apply(this, args); - }; + if (!$17.isFunction(value)) return void (proxiedPrototype[prop] = value); + proxiedPrototype[prop] = (function() { return function() { var returnValue, __super = this._super, __superApply = this._superApply; - return this._super = _super, this._superApply = _superApply, returnValue = value.apply(this, arguments), this._super = __super, this._superApply = __superApply, returnValue; + return this._super = function() { + return base.prototype[prop].apply(this, arguments); + }, this._superApply = function(args) { + return base.prototype[prop].apply(this, args); + }, returnValue = value.apply(this, arguments), this._super = __super, this._superApply = __superApply, returnValue; }; })(); }), constructor.prototype = $17.widget.extend(basePrototype, { @@ -364,7 +380,9 @@ var fullName = object.prototype.widgetFullName || name; $17.fn[name] = function(options) { var isMethodCall = "string" == typeof options, args = slice.call(arguments, 1), returnValue = this; - return options = !isMethodCall && args.length ? $17.widget.extend.apply(null, [options].concat(args)) : options, isMethodCall ? this.each(function() { + return options = !isMethodCall && args.length ? $17.widget.extend.apply(null, [ + options + ].concat(args)) : options, isMethodCall ? this.each(function() { var methodValue, instance = $17.data(this, fullName); return "instance" === options ? (returnValue = instance, !1) : instance ? $17.isFunction(instance[options]) && "_" !== options.charAt(0) ? (methodValue = instance[options].apply(instance, args)) !== instance && methodValue !== undefined ? (returnValue = methodValue && methodValue.jquery ? returnValue.pushStack(methodValue.get()) : methodValue, !1) : void 0 : $17.error("no such method '" + options + "' for " + name + " widget instance") : $17.error("cannot call methods on " + name + " prior to initialization; attempted to call method '" + options + "'"); }) : this.each(function() { @@ -480,7 +498,9 @@ var prop, orig, callback = this.options[type]; if (data = data || { }, (event = $17.Event(event)).type = (type === this.widgetEventPrefix ? type : this.widgetEventPrefix + type).toLowerCase(), event.target = this.element[0], orig = event.originalEvent) for(prop in orig)prop in event || (event[prop] = orig[prop]); - return this.element.trigger(event, data), !($17.isFunction(callback) && !1 === callback.apply(this.element[0], [event].concat(data)) || event.isDefaultPrevented()); + return this.element.trigger(event, data), !($17.isFunction(callback) && !1 === callback.apply(this.element[0], [ + event + ].concat(data)) || event.isDefaultPrevented()); } }, $17.each({ show: "fadeIn", @@ -499,13 +519,13 @@ }); }; }); - })(jQuery), $ = jQuery, rcapitals = /[A-Z]/g, replaceFunction = function(c) { - return "-" + c.toLowerCase(); - }, $.extend($.Widget.prototype, { + })(jQuery), rcapitals = /[A-Z]/g, ($ = jQuery).extend($.Widget.prototype, { _getCreateOptions: function() { var option, value, elem = this.element[0], options = { }; - if (!$.mobile.getAttribute(elem, "defaults")) for(option in this.options)null != (value = $.mobile.getAttribute(elem, option.replace(rcapitals, replaceFunction))) && (options[option] = value); + if (!$.mobile.getAttribute(elem, "defaults")) for(option in this.options)null != (value = $.mobile.getAttribute(elem, option.replace(rcapitals, function(c) { + return "-" + c.toLowerCase(); + }))) && (options[option] = value); return options; } }), $.mobile.widget = $.Widget, (function($17) { @@ -604,7 +624,11 @@ var v, uc_prop = prop.charAt(0).toUpperCase() + prop.substr(1), props = (prop + " " + vendors.join(uc_prop + " ") + uc_prop).split(" "); for(v in props)if (undefined !== fbCSS[props[v]]) return !0; } - var w, ua, platform, wkmatch, wkversion, ffmatch, ffversion, operammobilematch, omversion, fauxBase, base, supports, element, documentElement, getComputedStyle, ua1, nokiaLTE7_3, fakeBody = $17("").prependTo("html"), fbCSS = fakeBody[0].style, vendors = ["Webkit", "Moz", "O"], operamini = window.operamini && "[object OperaMini]" === ({ + var w, ua, platform, wkmatch, wkversion, ffmatch, ffversion, operammobilematch, omversion, fauxBase, base, supports, element, documentElement, getComputedStyle, ua1, nokiaLTE7_3, fakeBody = $17("").prependTo("html"), fbCSS = fakeBody[0].style, vendors = [ + "Webkit", + "Moz", + "O" + ], operamini = window.operamini && "[object OperaMini]" === ({ }).toString.call(window.operamini), bb = window.blackberry && !propExists("-webkit-transform"); $17.extend($17.mobile, { browser: { @@ -730,7 +754,8 @@ var absStack, relStack, i, d; if (relPath && "/" === relPath.charAt(0)) return relPath; for(i = 0, relPath = relPath || "", absStack = (absPath = absPath ? absPath.replace(/^\/|(\/[^\/]*|[^\/]+)$/g, "") : "") ? absPath.split("/") : [], relStack = relPath.split("/"); i < relStack.length; i++)switch(d = relStack[i]){ - case ".": break; + case ".": + break; case "..": absStack.length && absStack.pop(); break; @@ -933,8 +958,16 @@ }, transition: { } - }, testElement = document.createElement("a"), vendorPrefixes = ["", "webkit-", "moz-", "o-"]; - $17.each(["animation", "transition"], function(i, test) { + }, testElement = document.createElement("a"), vendorPrefixes = [ + "", + "webkit-", + "moz-", + "o-" + ]; + $17.each([ + "animation", + "transition" + ], function(i, test) { var testName = 0 === i ? test + "-name" : test; $17.each(vendorPrefixes, function(j, prefix) { if (undefined !== testElement.style[$17.camelCase(prefix + testName)]) return props[test].prefix = prefix, !1; @@ -1131,7 +1164,10 @@ var data = event.originalEvent.touches ? event.originalEvent.touches[0] : event, location = $17.event.special.swipe.getLocation(data); return { time: new Date().getTime(), - coords: [location.x, location.y], + coords: [ + location.x, + location.y + ], origin: $17(event.target) }; }, @@ -1139,7 +1175,10 @@ var data = event.originalEvent.touches ? event.originalEvent.touches[0] : event, location = $17.event.special.swipe.getLocation(data); return { time: new Date().getTime(), - coords: [location.x, location.y] + coords: [ + location.x, + location.y + ] }; }, handleSwipe: function(start, stop, thisObject, origTarget) { @@ -1318,7 +1357,13 @@ }, keepNativeSelector: function() { var options = this.options, keepNative = $17.trim(options.keepNative || ""), globalValue = $17.trim($17.mobile.keepNative), optionValue = $17.trim(options.keepNativeDefault), newDefault = keepNativeFactoryDefault === globalValue ? "" : globalValue, oldDefault = "" === newDefault ? optionValue : ""; - return (keepNative ? [keepNative] : []).concat(newDefault ? [newDefault] : []).concat(oldDefault ? [oldDefault] : []).join(", "); + return (keepNative ? [ + keepNative + ] : []).concat(newDefault ? [ + newDefault + ] : []).concat(oldDefault ? [ + oldDefault + ] : []).join(", "); } }); })(jQuery), (function($17, undefined) { @@ -1511,22 +1556,26 @@ load: function(url, options) { var fileUrl, dataUrl, pblEvent, triggerData, deferred = options && options.deferred || $17.Deferred(), settings = $17.extend({ }, this._loadDefaults, options), content = null, absUrl = $17.mobile.path.makeUrlAbsolute(url, this._findBaseWithDefault()); - if (settings.reload = settings.reloadPage, settings.data && "get" === settings.type && (absUrl = $17.mobile.path.addSearchParams(absUrl, settings.data), settings.data = undefined), settings.data && "post" === settings.type && (settings.reload = !0), fileUrl = this._createFileUrl(absUrl), dataUrl = this._createDataUrl(absUrl), 0 === (content = this._find(absUrl)).length && $17.mobile.path.isEmbeddedPage(fileUrl) && !$17.mobile.path.isFirstPageUrl(fileUrl) && deferred.reject(absUrl, settings), this._getBase().reset(), content.length && !settings.reload) return this._enhance(content, settings.role), deferred.resolve(absUrl, settings, content), void (!settings.prefetch && this._getBase().set(url)); - triggerData = { + if (settings.reload = settings.reloadPage, settings.data && "get" === settings.type && (absUrl = $17.mobile.path.addSearchParams(absUrl, settings.data), settings.data = undefined), settings.data && "post" === settings.type && (settings.reload = !0), fileUrl = this._createFileUrl(absUrl), dataUrl = this._createDataUrl(absUrl), 0 === (content = this._find(absUrl)).length && $17.mobile.path.isEmbeddedPage(fileUrl) && !$17.mobile.path.isFirstPageUrl(fileUrl)) return void deferred.reject(absUrl, settings); + if (this._getBase().reset(), content.length && !settings.reload) return this._enhance(content, settings.role), deferred.resolve(absUrl, settings, content), void (!settings.prefetch && this._getBase().set(url)); + if (triggerData = { url: url, absUrl: absUrl, dataUrl: dataUrl, deferred: deferred, options: settings - }, (pblEvent = this._triggerWithDeprecated("beforeload", triggerData)).deprecatedEvent.isDefaultPrevented() || pblEvent.event.isDefaultPrevented() || (settings.showLoadMsg && this._showLoading(settings.loadMsgDelay), undefined === settings.prefetch && this._getBase().reset(), $17.mobile.allowCrossDomainPages || $17.mobile.path.isSameDomain($17.mobile.path.documentUrl, absUrl) || deferred.reject(absUrl, settings), $17.ajax({ - url: fileUrl, - type: settings.type, - data: settings.data, - contentType: settings.contentType, - dataType: "html", - success: this._loadSuccess(absUrl, triggerData, settings, deferred), - error: this._loadError(absUrl, triggerData, settings, deferred) - })); + }, !((pblEvent = this._triggerWithDeprecated("beforeload", triggerData)).deprecatedEvent.isDefaultPrevented() || pblEvent.event.isDefaultPrevented())) { + if (settings.showLoadMsg && this._showLoading(settings.loadMsgDelay), undefined === settings.prefetch && this._getBase().reset(), !($17.mobile.allowCrossDomainPages || $17.mobile.path.isSameDomain($17.mobile.path.documentUrl, absUrl))) return void deferred.reject(absUrl, settings); + $17.ajax({ + url: fileUrl, + type: settings.type, + data: settings.data, + contentType: settings.contentType, + dataType: "html", + success: this._loadSuccess(absUrl, triggerData, settings, deferred), + error: this._loadError(absUrl, triggerData, settings, deferred) + }); + } }, _loadError: function(absUrl, triggerData, settings, deferred) { return $17.proxy(function(xhr, textStatus, errorThrown) { @@ -1576,7 +1625,7 @@ }), "string" === $17.type(to) ? triggerData.absUrl = $17.mobile.path.makeUrlAbsolute(to, this._findBaseWithDefault()) : triggerData.absUrl = settings.absUrl, this.element.trigger(pbcEvent, triggerData), !pbcEvent.isDefaultPrevented(); }, change: function(to, options) { - isPageTransitioning && pageTransitionQueue.unshift(arguments); + if (isPageTransitioning) return void pageTransitionQueue.unshift(arguments); var settings = $17.extend({ }, $17.mobile.changePage.defaults, options), triggerData = { }; @@ -1584,8 +1633,11 @@ }, transition: function(toPage, triggerData, settings) { var fromPage, url, pageUrl, active, activeIsInitialPage, historyDir, pageTitle, isDialog, alreadyThere, newPageTitle, params, cssTransitionDeferred, beforeTransition; - if (isPageTransitioning && pageTransitionQueue.unshift([toPage, - settings]), this._triggerPageBeforeChange(toPage, triggerData, settings) && !((beforeTransition = this._triggerWithDeprecated("beforetransition", triggerData)).deprecatedEvent.isDefaultPrevented() || beforeTransition.event.isDefaultPrevented())) { + if (isPageTransitioning) return void pageTransitionQueue.unshift([ + toPage, + settings + ]); + if (this._triggerPageBeforeChange(toPage, triggerData, settings) && !((beforeTransition = this._triggerWithDeprecated("beforetransition", triggerData)).deprecatedEvent.isDefaultPrevented() || beforeTransition.event.isDefaultPrevented())) { if (isPageTransitioning = !0, toPage[0] !== $17.mobile.firstPage[0] || settings.dataUrl || (settings.dataUrl = $17.mobile.path.documentUrl.hrefNoHash), fromPage = settings.fromPage, pageUrl = url = settings.dataUrl && $17.mobile.path.convertUrlToDataUrl(settings.dataUrl) || toPage.jqmData("url"), $17.mobile.path.getFilePath(url), active = $17.mobile.navigate.history.getActive(), activeIsInitialPage = 0 === $17.mobile.navigate.history.activeIndex, historyDir = 0, pageTitle = document.title, isDialog = ("dialog" === settings.role || "dialog" === toPage.jqmData("role")) && !0 !== toPage.jqmData("dialog"), fromPage && fromPage[0] === toPage[0] && !settings.allowSamePageTransition) return isPageTransitioning = !1, this._triggerWithDeprecated("transition", triggerData), this.element.trigger("pagechange", triggerData), void (settings.fromHashChange && $17.mobile.navigate.history.direct({ url: url })); @@ -1633,7 +1685,8 @@ this.phonegapNavigationEnabled && nav && nav.app && nav.app.backHistory ? nav.app.backHistory() : $17.mobile.pageContainer.pagecontainer("back"); }, $17.mobile.focusPage = function(page) { var autofocus = page.find("[autofocus]"), pageTitle = page.find(".ui-title:eq(0)"); - autofocus.length && autofocus.focus(), pageTitle.length ? pageTitle.focus() : page.focus(); + if (autofocus.length) return void autofocus.focus(); + pageTitle.length ? pageTitle.focus() : page.focus(); }, $17.mobile._maybeDegradeTransition = $17.mobile._maybeDegradeTransition || function(transition) { return transition; }, $17.mobile.changePage = function(to, options) { @@ -1691,7 +1744,13 @@ }; if ($17.mobile.activeClickedLink && $17.mobile.activeClickedLink[0] === event.target.parentNode && httpCleanup(), link && !(event.which > 1) && $link.jqmHijackable().length) { if ($link.is(":jqmData(rel='back')")) return $17.mobile.back(), !1; - baseUrl = $17.mobile.getClosestBaseUrl($link), href = $17.mobile.path.makeUrlAbsolute($link.attr("href") || "#", baseUrl), $17.mobile.ajaxEnabled || $17.mobile.path.isEmbeddedPage(href) || httpCleanup(), -1 !== href.search("#") && ((href = href.replace(/[^#]*#/, "")) ? href = $17.mobile.path.isPath(href) ? $17.mobile.path.makeUrlAbsolute(href, baseUrl) : $17.mobile.path.makeUrlAbsolute("#" + href, documentUrl.hrefNoHash) : event.preventDefault()), ($link.is("[rel='external']") || $link.is(":jqmData(ajax='false')") || $link.is("[target]") || $17.mobile.path.isExternal(href) && !$17.mobile.path.isPermittedCrossDomainRequest(documentUrl, href)) && httpCleanup(), transition = $link.jqmData("transition"), reverse = "reverse" === $link.jqmData("direction") || $link.jqmData("back"), role = $link.attr("data-" + $17.mobile.ns + "rel") || undefined, $17.mobile.changePage(href, { + if (baseUrl = $17.mobile.getClosestBaseUrl($link), href = $17.mobile.path.makeUrlAbsolute($link.attr("href") || "#", baseUrl), !$17.mobile.ajaxEnabled && !$17.mobile.path.isEmbeddedPage(href)) return void httpCleanup(); + if (-1 !== href.search("#")) { + if (!(href = href.replace(/[^#]*#/, ""))) return void event.preventDefault(); + href = $17.mobile.path.isPath(href) ? $17.mobile.path.makeUrlAbsolute(href, baseUrl) : $17.mobile.path.makeUrlAbsolute("#" + href, documentUrl.hrefNoHash); + } + if ($link.is("[rel='external']") || $link.is(":jqmData(ajax='false')") || $link.is("[target]") || $17.mobile.path.isExternal(href) && !$17.mobile.path.isPermittedCrossDomainRequest(documentUrl, href)) return void httpCleanup(); + transition = $link.jqmData("transition"), reverse = "reverse" === $link.jqmData("direction") || $link.jqmData("back"), role = $link.attr("data-" + $17.mobile.ns + "rel") || undefined, $17.mobile.changePage(href, { transition: transition, reverse: reverse, role: role, @@ -1965,7 +2024,19 @@ }, _applyOptions: function(options) { var isCollapsed, newTheme, oldTheme, hasCorners, hasIcon, elem = this.element, currentOpts = this._renderedOptions, ui = this._ui, anchor = ui.anchor, status = ui.status, opts = this._getOptions(options); - undefined !== options.collapsed && this._handleExpandCollapse(options.collapsed), (isCollapsed = elem.hasClass("ui-collapsible-collapsed")) ? undefined !== opts.expandCueText && status.text(opts.expandCueText) : undefined !== opts.collapseCueText && status.text(opts.collapseCueText), hasIcon = undefined !== opts.collapsedIcon ? !1 !== opts.collapsedIcon : !1 !== currentOpts.collapsedIcon, !(undefined === opts.iconpos && undefined === opts.collapsedIcon && undefined === opts.expandedIcon) && (anchor.removeClass([iconposClass(currentOpts.iconpos)].concat(currentOpts.expandedIcon ? ["ui-icon-" + currentOpts.expandedIcon] : []).concat(currentOpts.collapsedIcon ? ["ui-icon-" + currentOpts.collapsedIcon] : []).join(" ")), hasIcon && anchor.addClass([iconposClass(undefined !== opts.iconpos ? opts.iconpos : currentOpts.iconpos)].concat(isCollapsed ? ["ui-icon-" + (undefined !== opts.collapsedIcon ? opts.collapsedIcon : currentOpts.collapsedIcon)] : ["ui-icon-" + (undefined !== opts.expandedIcon ? opts.expandedIcon : currentOpts.expandedIcon)]).join(" "))), undefined !== opts.theme && (oldTheme = this._themeClassFromOption("ui-btn-", currentOpts.theme), newTheme = this._themeClassFromOption("ui-btn-", opts.theme), anchor.removeClass(oldTheme).addClass(newTheme)), undefined !== opts.contentTheme && (oldTheme = this._themeClassFromOption("ui-body-", currentOpts.contentTheme), newTheme = this._themeClassFromOption("ui-body-", opts.contentTheme), ui.content.removeClass(oldTheme).addClass(newTheme)), undefined !== opts.inset && (elem.toggleClass("ui-collapsible-inset", opts.inset), hasCorners = !!(opts.inset && (opts.corners || currentOpts.corners))), undefined !== opts.corners && (hasCorners = !!(opts.corners && (opts.inset || currentOpts.inset))), hasCorners !== undefined && elem.toggleClass("ui-corner-all", hasCorners), undefined !== opts.mini && anchor.toggleClass("ui-mini", opts.mini); + undefined !== options.collapsed && this._handleExpandCollapse(options.collapsed), (isCollapsed = elem.hasClass("ui-collapsible-collapsed")) ? undefined !== opts.expandCueText && status.text(opts.expandCueText) : undefined !== opts.collapseCueText && status.text(opts.collapseCueText), hasIcon = undefined !== opts.collapsedIcon ? !1 !== opts.collapsedIcon : !1 !== currentOpts.collapsedIcon, !(undefined === opts.iconpos && undefined === opts.collapsedIcon && undefined === opts.expandedIcon) && (anchor.removeClass([ + iconposClass(currentOpts.iconpos) + ].concat(currentOpts.expandedIcon ? [ + "ui-icon-" + currentOpts.expandedIcon + ] : []).concat(currentOpts.collapsedIcon ? [ + "ui-icon-" + currentOpts.collapsedIcon + ] : []).join(" ")), hasIcon && anchor.addClass([ + iconposClass(undefined !== opts.iconpos ? opts.iconpos : currentOpts.iconpos) + ].concat(isCollapsed ? [ + "ui-icon-" + (undefined !== opts.collapsedIcon ? opts.collapsedIcon : currentOpts.collapsedIcon) + ] : [ + "ui-icon-" + (undefined !== opts.expandedIcon ? opts.expandedIcon : currentOpts.expandedIcon) + ]).join(" "))), undefined !== opts.theme && (oldTheme = this._themeClassFromOption("ui-btn-", currentOpts.theme), newTheme = this._themeClassFromOption("ui-btn-", opts.theme), anchor.removeClass(oldTheme).addClass(newTheme)), undefined !== opts.contentTheme && (oldTheme = this._themeClassFromOption("ui-body-", currentOpts.contentTheme), newTheme = this._themeClassFromOption("ui-body-", opts.contentTheme), ui.content.removeClass(oldTheme).addClass(newTheme)), undefined !== opts.inset && (elem.toggleClass("ui-collapsible-inset", opts.inset), hasCorners = !!(opts.inset && (opts.corners || currentOpts.corners))), undefined !== opts.corners && (hasCorners = !!(opts.corners && (opts.inset || currentOpts.inset))), hasCorners !== undefined && elem.toggleClass("ui-corner-all", hasCorners), undefined !== opts.mini && anchor.toggleClass("ui-mini", opts.mini); }, _setOptions: function(options) { this._applyOptions(options), this._super(options), this._renderedOptions = this._getOptions(this.options); @@ -2230,7 +2301,7 @@ }, _handleLabelVClick: function(event) { var input = this.element; - return input.is(":disabled") && event.preventDefault(), this._cacheVals(), input.prop("checked", "radio" === this.inputtype || !input.prop("checked")), input.triggerHandler("click"), this._getInputSet().not(input).prop("checked", !1), this._updateAll(), !1; + return input.is(":disabled") ? void event.preventDefault() : (this._cacheVals(), input.prop("checked", "radio" === this.inputtype || !input.prop("checked")), input.triggerHandler("click"), this._getInputSet().not(input).prop("checked", !1), this._updateAll(), !1); }, _cacheVals: function() { this._getInputSet().each(function() { @@ -2411,8 +2482,13 @@ }, _create: function() { var bg, options, wrapper, j, length, i, optionsCount, origTabIndex, side, activeClass, sliderImg, control = this.element, trackTheme = this.options.trackTheme || $17.mobile.getAttribute(control[0], "theme"), cornerClass = this.options.corners || control.jqmData("corners") ? " ui-corner-all" : "", miniClass = this.options.mini || control.jqmData("mini") ? " ui-mini" : "", cType = control[0].nodeName.toLowerCase(), isToggleSwitch = "select" === cType, isRangeslider = control.parent().is(":jqmData(role='rangeslider')"), controlID = control.attr("id"), $label = $17("[for='" + controlID + "']"), labelID = $label.attr("id") || controlID + "-label", min = isToggleSwitch ? 0 : parseFloat(control.attr("min")), max = isToggleSwitch ? control.find("option").length - 1 : parseFloat(control.attr("max")), step = window.parseFloat(control.attr("step") || 1), domHandle = document.createElement("a"), handle = $17(domHandle), domSlider = document.createElement("div"), slider = $17(domSlider), valuebg = !!this.options.highlight && !isToggleSwitch && ((bg = document.createElement("div")).className = "ui-slider-bg " + $17.mobile.activeBtnClass, $17(bg).prependTo(slider)); - if ($label.attr("id", labelID), this.isToggleSwitch = isToggleSwitch, domHandle.setAttribute("href", "#"), domSlider.setAttribute("role", "application"), domSlider.className = [this.isToggleSwitch ? "ui-slider ui-slider-track ui-shadow-inset " : "ui-slider-track ui-shadow-inset ", isToggleSwitch ? "ui-slider-switch" : "", trackTheme ? " ui-bar-" + trackTheme : " ui-bar-inherit", cornerClass, - miniClass].join(""), domHandle.className = "ui-slider-handle", domSlider.appendChild(domHandle), handle.attr({ + if ($label.attr("id", labelID), this.isToggleSwitch = isToggleSwitch, domHandle.setAttribute("href", "#"), domSlider.setAttribute("role", "application"), domSlider.className = [ + this.isToggleSwitch ? "ui-slider ui-slider-track ui-shadow-inset " : "ui-slider-track ui-shadow-inset ", + isToggleSwitch ? "ui-slider-switch" : "", + trackTheme ? " ui-bar-" + trackTheme : " ui-bar-inherit", + cornerClass, + miniClass + ].join(""), domHandle.className = "ui-slider-handle", domSlider.appendChild(domHandle), handle.attr({ role: "slider", "aria-valuemin": min, "aria-valuemax": max, @@ -2438,8 +2514,11 @@ for((origTabIndex = control.attr("tabindex")) && handle.attr("tabindex", origTabIndex), control.attr("tabindex", "-1").focus(function() { $17(this).blur(), handle.focus(); }), (wrapper = document.createElement("div")).className = "ui-slider-inneroffset", j = 0, length = domSlider.childNodes.length; j < length; j++)wrapper.appendChild(domSlider.childNodes[j]); - for(domSlider.appendChild(wrapper), handle.addClass("ui-slider-handle-snapping"), i = 0, optionsCount = (options = control.find("option")).length; i < optionsCount; i++)side = i ? "a" : "b", activeClass = i ? " " + $17.mobile.activeBtnClass : "", (sliderImg = document.createElement("span")).className = ["ui-slider-label ui-slider-label-", side, - activeClass].join(""), sliderImg.setAttribute("role", "img"), sliderImg.appendChild(document.createTextNode(options[i].innerHTML)), $17(sliderImg).prependTo(slider); + for(domSlider.appendChild(wrapper), handle.addClass("ui-slider-handle-snapping"), i = 0, optionsCount = (options = control.find("option")).length; i < optionsCount; i++)side = i ? "a" : "b", activeClass = i ? " " + $17.mobile.activeBtnClass : "", (sliderImg = document.createElement("span")).className = [ + "ui-slider-label ui-slider-label-", + side, + activeClass + ].join(""), sliderImg.setAttribute("role", "img"), sliderImg.appendChild(document.createTextNode(options[i].innerHTML)), $17(sliderImg).prependTo(slider); this._labels = $17(".ui-slider-label", slider); } control.addClass(isToggleSwitch ? "ui-slider-switch" : "ui-slider-input"), this._on(control, { @@ -2534,8 +2613,12 @@ }, refresh: function(val, isfromControl, preventInputUpdate) { var bg, left, width, data, pxStep, percent, control, isInput, optionElements, min, max, step, newval, valModStep, alignValue, percentPerStep, handlePercent, aPercent, bPercent, valueChanged, parentTheme = $17.mobile.getAttribute(this.element[0], "theme"), theme = this.options.theme || parentTheme, trackTheme = this.options.trackTheme || parentTheme, cornerClass = this.options.corners ? " ui-corner-all" : "", miniClass = this.options.mini ? " ui-mini" : ""; - if (this.slider[0].className = [this.isToggleSwitch ? "ui-slider ui-slider-switch ui-slider-track ui-shadow-inset" : "ui-slider-track ui-shadow-inset", trackTheme ? " ui-bar-" + trackTheme : " ui-bar-inherit", cornerClass, - miniClass].join(""), (this.options.disabled || this.element.prop("disabled")) && this.disable(), this.value = this._value(), this.options.highlight && !this.isToggleSwitch && 0 === this.slider.find(".ui-slider-bg").length && (this.valuebg = ((bg = document.createElement("div")).className = "ui-slider-bg " + $17.mobile.activeBtnClass, $17(bg).prependTo(this.slider))), (this.handle.addClass("ui-btn" + (theme ? " ui-btn-" + theme : "") + " ui-shadow"), control = this.element, optionElements = (isInput = !this.isToggleSwitch) ? [] : control.find("option"), min = isInput ? parseFloat(control.attr("min")) : 0, max = isInput ? parseFloat(control.attr("max")) : optionElements.length - 1, step = isInput && parseFloat(control.attr("step")) > 0 ? parseFloat(control.attr("step")) : 1, "object" == typeof val) ? (data = val, left = this.slider.offset().left, pxStep = (width = this.slider.width()) / ((max - min) / step), !this.dragging || data.pageX < left - 8 || data.pageX > left + width + 8 || (percent = pxStep > 1 ? (data.pageX - left) / width * 100 : Math.round((data.pageX - left) / width * 100))) : (null == val && (val = isInput ? parseFloat(control.val() || 0) : control[0].selectedIndex), percent = (parseFloat(val) - min) / (max - min) * 100), !isNaN(percent) && (alignValue = newval - (valModStep = ((newval = percent / 100 * (max - min) + min) - min) % step), 2 * Math.abs(valModStep) >= step && (alignValue += valModStep > 0 ? step : -step), percentPerStep = 100 / ((max - min) / step), newval = parseFloat(alignValue.toFixed(5)), void 0 === pxStep && (pxStep = width / ((max - min) / step)), pxStep > 1 && isInput && (percent = (newval - min) * percentPerStep * (1 / step)), percent < 0 && (percent = 0), percent > 100 && (percent = 100), newval < min && (newval = min), newval > max && (newval = max), this.handle.css("left", percent + "%"), this.handle[0].setAttribute("aria-valuenow", isInput ? newval : optionElements.eq(newval).attr("value")), this.handle[0].setAttribute("aria-valuetext", isInput ? newval : optionElements.eq(newval).getEncodedText()), this.handle[0].setAttribute("title", isInput ? newval : optionElements.eq(newval).getEncodedText()), this.valuebg && this.valuebg.css("width", percent + "%"), this._labels && (handlePercent = this.handle.width() / this.slider.width() * 100, aPercent = percent && handlePercent + (100 - handlePercent) * percent / 100, bPercent = 100 === percent ? 0 : Math.min(handlePercent + 100 - aPercent, 100), this._labels.each(function() { + if (this.slider[0].className = [ + this.isToggleSwitch ? "ui-slider ui-slider-switch ui-slider-track ui-shadow-inset" : "ui-slider-track ui-shadow-inset", + trackTheme ? " ui-bar-" + trackTheme : " ui-bar-inherit", + cornerClass, + miniClass + ].join(""), (this.options.disabled || this.element.prop("disabled")) && this.disable(), this.value = this._value(), this.options.highlight && !this.isToggleSwitch && 0 === this.slider.find(".ui-slider-bg").length && (this.valuebg = ((bg = document.createElement("div")).className = "ui-slider-bg " + $17.mobile.activeBtnClass, $17(bg).prependTo(this.slider))), (this.handle.addClass("ui-btn" + (theme ? " ui-btn-" + theme : "") + " ui-shadow"), control = this.element, optionElements = (isInput = !this.isToggleSwitch) ? [] : control.find("option"), min = isInput ? parseFloat(control.attr("min")) : 0, max = isInput ? parseFloat(control.attr("max")) : optionElements.length - 1, step = isInput && parseFloat(control.attr("step")) > 0 ? parseFloat(control.attr("step")) : 1, "object" == typeof val) ? (data = val, left = this.slider.offset().left, pxStep = (width = this.slider.width()) / ((max - min) / step), !this.dragging || data.pageX < left - 8 || data.pageX > left + width + 8 || (percent = pxStep > 1 ? (data.pageX - left) / width * 100 : Math.round((data.pageX - left) / width * 100))) : (null == val && (val = isInput ? parseFloat(control.val() || 0) : control[0].selectedIndex), percent = (parseFloat(val) - min) / (max - min) * 100), !isNaN(percent) && (alignValue = newval - (valModStep = ((newval = percent / 100 * (max - min) + min) - min) % step), 2 * Math.abs(valModStep) >= step && (alignValue += valModStep > 0 ? step : -step), percentPerStep = 100 / ((max - min) / step), newval = parseFloat(alignValue.toFixed(5)), void 0 === pxStep && (pxStep = width / ((max - min) / step)), pxStep > 1 && isInput && (percent = (newval - min) * percentPerStep * (1 / step)), percent < 0 && (percent = 0), percent > 100 && (percent = 100), newval < min && (newval = min), newval > max && (newval = max), this.handle.css("left", percent + "%"), this.handle[0].setAttribute("aria-valuenow", isInput ? newval : optionElements.eq(newval).attr("value")), this.handle[0].setAttribute("aria-valuetext", isInput ? newval : optionElements.eq(newval).getEncodedText()), this.handle[0].setAttribute("title", isInput ? newval : optionElements.eq(newval).getEncodedText()), this.valuebg && this.valuebg.css("width", percent + "%"), this._labels && (handlePercent = this.handle.width() / this.slider.width() * 100, aPercent = percent && handlePercent + (100 - handlePercent) * percent / 100, bPercent = 100 === percent ? 0 : Math.min(handlePercent + 100 - aPercent, 100), this._labels.each(function() { var ab = $17(this).hasClass("ui-slider-label-a"); $17(this).width((ab ? aPercent : bPercent) + "%"); })), !preventInputUpdate)) { @@ -3173,7 +3256,8 @@ case 4: isNaN(ar[0]) || (tol.t = ar[0]), isNaN(ar[1]) || (tol.r = ar[1]), isNaN(ar[2]) || (tol.b = ar[2]), isNaN(ar[3]) || (tol.l = ar[3]); break; - default: break; + default: + break; } return this._tolerance = tol, this; }, @@ -3216,7 +3300,8 @@ }), self._prerequisites = prerequisites; }, _animate: function(args) { - this._ui.screen.removeClass(args.classToRemove).addClass(args.screenClassToAdd), args.prerequisites.screen.resolve(), args.transition && "none" !== args.transition && (args.applyTransition && this._applyTransition(args.transition), this._fallbackTransition) && this._ui.container.addClass(args.containerClassToAdd).removeClass(args.classToRemove).animationComplete($17.proxy(args.prerequisites.container, "resolve")), this._ui.container.removeClass(args.classToRemove), args.prerequisites.container.resolve(); + if (this._ui.screen.removeClass(args.classToRemove).addClass(args.screenClassToAdd), args.prerequisites.screen.resolve(), args.transition && "none" !== args.transition && (args.applyTransition && this._applyTransition(args.transition), this._fallbackTransition)) return void this._ui.container.addClass(args.containerClassToAdd).removeClass(args.classToRemove).animationComplete($17.proxy(args.prerequisites.container, "resolve")); + this._ui.container.removeClass(args.classToRemove), args.prerequisites.container.resolve(); }, _desiredCoords: function(openOptions) { var offset, dst = null, windowCoordinates = getWindowCoordinates(this.window), x = openOptions.x, y = openOptions.y, pTo = openOptions.positionTo; @@ -3358,10 +3443,13 @@ _handleListKeydown: function(event) { var target = $17(event.target), li = target.closest("li"); switch(event.keyCode){ - case 38: return goToAdjacentItem(li, target, "prev"), !1; - case 40: return goToAdjacentItem(li, target, "next"), !1; + case 38: + return goToAdjacentItem(li, target, "prev"), !1; + case 40: + return goToAdjacentItem(li, target, "next"), !1; case 13: - case 32: return target.trigger("click"), !1; + case 32: + return target.trigger("click"), !1; } }, _handleMenuPageHide: function() { @@ -3485,7 +3573,10 @@ }, capitalLettersRE = /[A-Z]/g; function optionsToClasses(options, existingClasses) { var classes = existingClasses || []; - return classes.push("ui-btn"), options.theme && classes.push("ui-btn-" + options.theme), options.icon && (classes = classes.concat(["ui-icon-" + options.icon, "ui-btn-icon-" + options.iconpos]), options.iconshadow && classes.push("ui-shadow-icon")), options.inline && classes.push("ui-btn-inline"), options.shadow && classes.push("ui-shadow"), options.corners && classes.push("ui-corner-all"), options.mini && classes.push("ui-mini"), classes; + return classes.push("ui-btn"), options.theme && classes.push("ui-btn-" + options.theme), options.icon && (classes = classes.concat([ + "ui-icon-" + options.icon, + "ui-btn-icon-" + options.iconpos + ]), options.iconshadow && classes.push("ui-shadow-icon")), options.inline && classes.push("ui-btn-inline"), options.shadow && classes.push("ui-shadow"), options.corners && classes.push("ui-corner-all"), options.mini && classes.push("ui-mini"), classes; } function classNameToOptions(classes) { var idx, map, unknownClass, alreadyEnhanced = !1, noIcon = !0, o = { @@ -3554,7 +3645,11 @@ childWrapper: elem.children(".ui-controlgroup-controls") } : this._ui = this._enhance(); }, - _childWidgets: ["checkboxradio", "selectmenu", "button"], + _childWidgets: [ + "checkboxradio", + "selectmenu", + "button" + ], _themeClassFromOption: function(value) { return value ? "none" === value ? "" : "ui-group-theme-" + value : ""; }, @@ -3919,7 +4014,11 @@ }, _setOptions: function(opts) { var newTheme, oldTheme = this.options.theme, ar = this._ui.arrow, ret = this._super(opts); - return undefined !== opts.arrow && (!ar && opts.arrow && (this._ui.arrow = this._addArrow()), ar && !opts.arrow && (ar.arEls.remove(), this._ui.arrow = null)), (ar = this._ui.arrow) && (undefined !== opts.theme && (oldTheme = this._themeClassFromOption("ui-body-", oldTheme), newTheme = this._themeClassFromOption("ui-body-", opts.theme), ar.ar.removeClass(oldTheme).addClass(newTheme)), undefined !== opts.shadow && ar.ar.toggleClass("ui-overlay-shadow", opts.shadow)), ret; + if (undefined !== opts.arrow) { + if (!ar && opts.arrow) return void (this._ui.arrow = this._addArrow()); + ar && !opts.arrow && (ar.arEls.remove(), this._ui.arrow = null); + } + return (ar = this._ui.arrow) && (undefined !== opts.theme && (oldTheme = this._themeClassFromOption("ui-body-", oldTheme), newTheme = this._themeClassFromOption("ui-body-", opts.theme), ar.ar.removeClass(oldTheme).addClass(newTheme)), undefined !== opts.shadow && ar.ar.toggleClass("ui-overlay-shadow", opts.shadow)), ret; }, _destroy: function() { var ar = this._ui.arrow; @@ -4100,7 +4199,11 @@ }, _destroy: function() { var o = this.options, multiplePanels = $17("body > :mobile-panel").length + $17.mobile.activePage.find(":mobile-panel").length > 1; - "overlay" !== o.display && (0 === $17("body > :mobile-panel").add($17.mobile.activePage.find(":mobile-panel")).not(".ui-panel-display-overlay").not(this.element).length && this._wrapper.children().unwrap(), this._open && (this._fixedToolbars().removeClass(o.classes.pageContentPrefix + "-open"), $17.support.cssTransform3d && o.animate && this._fixedToolbars().removeClass(o.classes.animate), this._page().parent().removeClass(o.classes.pageContainer), o.theme && this._page().parent().removeClass(o.classes.pageContainer + "-themed " + o.classes.pageContainer + "-" + o.theme))), multiplePanels || this.document.off("panelopen panelclose"), this._open && this._page().jqmRemoveData("panel"), this._panelInner.children().unwrap(), this.element.removeClass([this._getPanelClasses(), o.classes.panelOpen, o.classes.animate].join(" ")).off("swipeleft.panel swiperight.panel").off("panelbeforeopen").off("panelhide").off("keyup.panel").off("updatelayout"), this._modal && this._modal.remove(); + "overlay" !== o.display && (0 === $17("body > :mobile-panel").add($17.mobile.activePage.find(":mobile-panel")).not(".ui-panel-display-overlay").not(this.element).length && this._wrapper.children().unwrap(), this._open && (this._fixedToolbars().removeClass(o.classes.pageContentPrefix + "-open"), $17.support.cssTransform3d && o.animate && this._fixedToolbars().removeClass(o.classes.animate), this._page().parent().removeClass(o.classes.pageContainer), o.theme && this._page().parent().removeClass(o.classes.pageContainer + "-themed " + o.classes.pageContainer + "-" + o.theme))), multiplePanels || this.document.off("panelopen panelclose"), this._open && this._page().jqmRemoveData("panel"), this._panelInner.children().unwrap(), this.element.removeClass([ + this._getPanelClasses(), + o.classes.panelOpen, + o.classes.animate + ].join(" ")).off("swipeleft.panel swiperight.panel").off("panelbeforeopen").off("panelhide").off("keyup.panel").off("updatelayout"), this._modal && this._modal.remove(); } }); })(jQuery), (function($17, undefined) { @@ -4273,7 +4376,12 @@ }); }, _refreshChildWidget: function() { - var widget, idx, recognizedWidgets = ["collapsibleset", "selectmenu", "controlgroup", "listview"]; + var widget, idx, recognizedWidgets = [ + "collapsibleset", + "selectmenu", + "controlgroup", + "listview" + ]; for(idx = recognizedWidgets.length - 1; idx > -1; idx--)widget = recognizedWidgets[idx], $17.mobile[widget] && (widget = this.element.data("mobile-" + widget)) && $17.isFunction(widget.refresh) && widget.refresh(); }, _setInput: function(selector) { @@ -4296,11 +4404,7 @@ this._timer && (window.clearTimeout(this._timer), this._timer = 0), this._filterItems((this._search && this._search.val() || "").toLowerCase()); } }); - })(jQuery), $16 = jQuery, replaceSetOptions = function(self3, orig) { - return function(options) { - orig.call(this, options), self3._syncTextInputOptions(options); - }; - }, rDividerListItem = /(^|\s)ui-li-divider(\s|$)/, origDefaultFilterCallback = $16.mobile.filterable.prototype.options.filterCallback, $16.mobile.filterable.prototype.options.filterCallback = function(index, searchValue) { + })(jQuery), rDividerListItem = /(^|\s)ui-li-divider(\s|$)/, origDefaultFilterCallback = ($16 = jQuery).mobile.filterable.prototype.options.filterCallback, $16.mobile.filterable.prototype.options.filterCallback = function(index, searchValue) { return !this.className.match(rDividerListItem) && origDefaultFilterCallback.call(this, index, searchValue); }, $16.widget("mobile.filterable", $16.mobile.filterable, { options: { @@ -4308,7 +4412,12 @@ filterTheme: null }, _create: function() { - var idx, widgetName, elem = this.element, recognizedWidgets = ["collapsibleset", "selectmenu", "controlgroup", "listview"], createHandlers = { + var idx, widgetName, elem = this.element, recognizedWidgets = [ + "collapsibleset", + "selectmenu", + "controlgroup", + "listview" + ], createHandlers = { }; for(this._super(), $16.extend(this, { _widget: null @@ -4325,7 +4434,13 @@ this._widget && "mobile-listview" === this._widget.widgetFullName && "beforefilter" === type && this._widget._trigger("beforefilter", event, data), this._super(type, event, data); }, _setWidget: function(widget) { - return !this._widget && widget && (this._widget = widget, this._widget._setOptions = replaceSetOptions(this, this._widget._setOptions)), this._widget && (this._syncTextInputOptions(this._widget.options), "listview" === this._widget.widgetName && (this._widget.options.hideDividers = !0, this._widget.element.listview("refresh"))), !!this._widget; + if (!this._widget && widget) { + var self3, orig; + this._widget = widget, self3 = this, this._widget._setOptions = function(options) { + (orig = this._widget._setOptions).call(this, options), self3._syncTextInputOptions(options); + }; + } + return this._widget && (this._syncTextInputOptions(this._widget.options), "listview" === this._widget.widgetName && (this._widget.options.hideDividers = !0, this._widget.element.listview("refresh"))), !!this._widget; }, _isSearchInternal: function() { return this._search && this._search.jqmData("ui-filterable-" + this.uuid + "-internal"); @@ -4415,9 +4530,12 @@ case $17.ui.keyCode.HOME: selectedIndex = 0; break; - case $17.ui.keyCode.SPACE: return event.preventDefault(), clearTimeout(this.activating), void this._activate(selectedIndex); - case $17.ui.keyCode.ENTER: return event.preventDefault(), clearTimeout(this.activating), void this._activate(selectedIndex !== this.options.active && selectedIndex); - default: return; + case $17.ui.keyCode.SPACE: + return event.preventDefault(), clearTimeout(this.activating), void this._activate(selectedIndex); + case $17.ui.keyCode.ENTER: + return event.preventDefault(), clearTimeout(this.activating), void this._activate(selectedIndex !== this.options.active && selectedIndex); + default: + return; } event.preventDefault(), clearTimeout(this.activating), selectedIndex = this._focusNextTab(selectedIndex, goingForward), event.ctrlKey || (focusedTab.attr("aria-selected", "false"), this.tabs.eq(selectedIndex).attr("aria-selected", "true"), this.activating = this._delay(function() { this.option("active", selectedIndex); @@ -4442,7 +4560,7 @@ return index = this._findNextTab(index, goingForward), this.tabs.eq(index).focus(), index; }, _setOption: function(key, value) { - "active" === key && this._activate(value), "disabled" === key && this._setupDisabled(value), this._super(key, value), "collapsible" !== key || (this.element.toggleClass("ui-tabs-collapsible", value), value || !1 !== this.options.active || this._activate(0)), "event" === key && this._setupEvents(value), "heightStyle" === key && this._setupHeightStyle(value); + return "active" === key ? void this._activate(value) : "disabled" === key ? void this._setupDisabled(value) : void (this._super(key, value), "collapsible" !== key || (this.element.toggleClass("ui-tabs-collapsible", value), value || !1 !== this.options.active || this._activate(0)), "event" === key && this._setupEvents(value), "heightStyle" === key && this._setupHeightStyle(value)); }, _tabId: function(tab) { return tab.attr("aria-controls") || "ui-tabs-" + getNextTabId(); @@ -4595,7 +4713,11 @@ if (index === undefined) disabled = !0; else { if (index = this._getIndex(index), -1 !== $17.inArray(index, disabled)) return; - disabled = $17.isArray(disabled) ? $17.merge([index], disabled).sort() : [index]; + disabled = $17.isArray(disabled) ? $17.merge([ + index + ], disabled).sort() : [ + index + ]; } this._setupDisabled(disabled); } @@ -4638,7 +4760,8 @@ function checkTilt(e) { x = Math.abs((aig = (evt = e.originalEvent).accelerationIncludingGravity).x), y = Math.abs(aig.y), z = Math.abs(aig.z), !window.orientation && (x > 7 || (z > 6 && y < 8 || z < 8 && y > 6) && x > 5) ? zoom.enabled && zoom.disable() : zoom.enabled || zoom.enable(); } - $17.mobile.iosorientationfixEnabled = !0, /iPhone|iPad|iPod/.test(navigator.platform) && /OS [1-5]_[0-9_]* like Mac OS X/i.test(ua) && ua.indexOf("AppleWebKit") > -1 || ($17.mobile.iosorientationfixEnabled = !1), zoom = $17.mobile.zoom, $17.mobile.document.on("mobileinit", function() { + if ($17.mobile.iosorientationfixEnabled = !0, !(/iPhone|iPad|iPod/.test(navigator.platform) && /OS [1-5]_[0-9_]* like Mac OS X/i.test(ua) && ua.indexOf("AppleWebKit") > -1)) return void ($17.mobile.iosorientationfixEnabled = !1); + zoom = $17.mobile.zoom, $17.mobile.document.on("mobileinit", function() { $17.mobile.iosorientationfixEnabled && $17.mobile.window.bind("orientationchange.iosorientationfix", zoom.enable).bind("devicemotion.iosorientationfix", checkTilt); }); })(jQuery, this), (function($17, window, undefined) { @@ -4652,7 +4775,9 @@ $pages.length || ($pages = $17("body").wrapInner("
").children(0)), $pages.each(function() { var $this = $17(this); $this[0].getAttribute("data-" + $17.mobile.ns + "url") || $this.attr("data-" + $17.mobile.ns + "url", $this.attr("id") || location.pathname + location.search); - }), $17.mobile.firstPage = $pages.first(), $17.mobile.pageContainer = $17.mobile.firstPage.parent().addClass("ui-mobile-viewport").pagecontainer(), $17.mobile.navreadyDeferred.resolve(), $window.trigger("pagecontainercreate"), $17.mobile.loading("show"), hideRenderingClass(), $17.mobile.hashListeningEnabled && $17.mobile.path.isHashValid(location.hash) && ($17(hashPage).is(":jqmData(role='page')") || $17.mobile.path.isPath(hash) || hash === $17.mobile.dialogHashKey) ? $17.event.special.navigate.isPushStateEnabled() ? ($17.mobile.navigate.history.stack = [], $17.mobile.navigate($17.mobile.path.isPath(location.hash) ? location.hash : location.href)) : $window.trigger("hashchange", [!0]) : ($17.mobile.path.isHashValid(location.hash) && ($17.mobile.navigate.history.initialDst = hash.replace("#", "")), $17.event.special.navigate.isPushStateEnabled() && $17.mobile.navigate.navigator.squash(path2.parseLocation().href), $17.mobile.changePage($17.mobile.firstPage, { + }), $17.mobile.firstPage = $pages.first(), $17.mobile.pageContainer = $17.mobile.firstPage.parent().addClass("ui-mobile-viewport").pagecontainer(), $17.mobile.navreadyDeferred.resolve(), $window.trigger("pagecontainercreate"), $17.mobile.loading("show"), hideRenderingClass(), $17.mobile.hashListeningEnabled && $17.mobile.path.isHashValid(location.hash) && ($17(hashPage).is(":jqmData(role='page')") || $17.mobile.path.isPath(hash) || hash === $17.mobile.dialogHashKey) ? $17.event.special.navigate.isPushStateEnabled() ? ($17.mobile.navigate.history.stack = [], $17.mobile.navigate($17.mobile.path.isPath(location.hash) ? location.hash : location.href)) : $window.trigger("hashchange", [ + !0 + ]) : ($17.mobile.path.isHashValid(location.hash) && ($17.mobile.navigate.history.initialDst = hash.replace("#", "")), $17.event.special.navigate.isPushStateEnabled() && $17.mobile.navigate.navigator.squash(path2.parseLocation().href), $17.mobile.changePage($17.mobile.firstPage, { transition: "none", reverse: !0, changeHash: !1, diff --git a/ecmascript/minifier/tests/projects/output/mootools-1.4.5.js b/ecmascript/minifier/tests/projects/output/mootools-1.4.5.js index d7c9474abe4..a830ed8d8ea 100644 --- a/ecmascript/minifier/tests/projects/output/mootools-1.4.5.js +++ b/ecmascript/minifier/tests/projects/output/mootools-1.4.5.js @@ -16,7 +16,15 @@ for(var i in { toString: 1 })enumerables = null; - enumerables && (enumerables = ["hasOwnProperty", "valueOf", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "constructor"]), Function1.prototype.overloadSetter = function(usePlural) { + enumerables && (enumerables = [ + "hasOwnProperty", + "valueOf", + "isPrototypeOf", + "propertyIsEnumerable", + "toLocaleString", + "toString", + "constructor" + ]), Function1.prototype.overloadSetter = function(usePlural) { var self = this; return function(a, b) { if (null == a) return this; @@ -30,7 +38,9 @@ var self = this; return function(a) { var args, result; - if ("string" != typeof a ? args = a : arguments.length > 1 ? args = arguments : usePlural && (args = [a]), args) { + if ("string" != typeof a ? args = a : arguments.length > 1 ? args = arguments : usePlural && (args = [ + a + ]), args) { result = { }; for(var i = 0; i < args.length; i++)result[args[i]] = self.call(this, args[i]); @@ -48,7 +58,9 @@ return item; }; }, Array.from = function(item) { - return null == item ? [] : Type.isEnumerable(item) && "string" != typeof item ? "array" == typeOf(item) ? item : slice.call(item) : [item]; + return null == item ? [] : Type.isEnumerable(item) && "string" != typeof item ? "array" == typeOf(item) ? item : slice.call(item) : [ + item + ]; }, Number.from = function(item) { var number = parseFloat(item); return isFinite(number) ? number : null; @@ -123,7 +135,72 @@ } return force; }; - force("String", String, ["charAt", "charCodeAt", "concat", "indexOf", "lastIndexOf", "match", "quote", "replace", "search", "slice", "split", "substr", "substring", "trim", "toLowerCase", "toUpperCase"])("Array", Array, ["pop", "push", "reverse", "shift", "sort", "splice", "unshift", "concat", "join", "slice", "indexOf", "lastIndexOf", "filter", "forEach", "every", "map", "some", "reduce", "reduceRight"])("Number", Number, ["toExponential", "toFixed", "toLocaleString", "toPrecision"])("Function", Function1, ["apply", "call", "bind"])("RegExp", RegExp, ["exec", "test"])("Object", Object, ["create", "defineProperty", "defineProperties", "keys", "getPrototypeOf", "getOwnPropertyDescriptor", "getOwnPropertyNames", "preventExtensions", "isExtensible", "seal", "isSealed", "freeze", "isFrozen"])("Date", Date, ["now"]), Object.extend = extend.overloadSetter(), Date.extend("now", function() { + force("String", String, [ + "charAt", + "charCodeAt", + "concat", + "indexOf", + "lastIndexOf", + "match", + "quote", + "replace", + "search", + "slice", + "split", + "substr", + "substring", + "trim", + "toLowerCase", + "toUpperCase" + ])("Array", Array, [ + "pop", + "push", + "reverse", + "shift", + "sort", + "splice", + "unshift", + "concat", + "join", + "slice", + "indexOf", + "lastIndexOf", + "filter", + "forEach", + "every", + "map", + "some", + "reduce", + "reduceRight" + ])("Number", Number, [ + "toExponential", + "toFixed", + "toLocaleString", + "toPrecision" + ])("Function", Function1, [ + "apply", + "call", + "bind" + ])("RegExp", RegExp, [ + "exec", + "test" + ])("Object", Object, [ + "create", + "defineProperty", + "defineProperties", + "keys", + "getPrototypeOf", + "getOwnPropertyDescriptor", + "getOwnPropertyNames", + "preventExtensions", + "isExtensible", + "seal", + "isSealed", + "freeze", + "isFrozen" + ])("Date", Date, [ + "now" + ]), Object.extend = extend.overloadSetter(), Date.extend("now", function() { return +new Date; }), new Type("Boolean", Boolean), Number.prototype.$family = (function() { return isFinite(this) ? "number" : "null"; @@ -143,9 +220,12 @@ }); var cloneOf = function(item) { switch(typeOf(item)){ - case "array": return item.clone(); - case "object": return Object.clone(item); - default: return item; + case "array": + return item.clone(); + case "object": + return Object.clone(item); + default: + return item; } }; Array.implement("clone", function() { @@ -160,7 +240,8 @@ case "array": source[key] = current.clone(); break; - default: source[key] = current; + default: + source[key] = current; } return source; }; @@ -187,7 +268,13 @@ } return original; } - }), ["Object", "WhiteSpace", "TextNode", "Collection", "Arguments"].each(function(name) { + }), [ + "Object", + "WhiteSpace", + "TextNode", + "Collection", + "Arguments" + ].each(function(name) { new Type(name); }); var UID = Date.now(); @@ -253,10 +340,14 @@ return "elements" == type ? "array" : "null" != type && type; }, this.$unlink = function(object) { switch(typeOf(object)){ - case "object": return Object.clone(object); - case "array": return Array.clone(object); - case "hash": return new Hash(object); - default: return object; + case "object": + return Object.clone(object); + case "array": + return Array.clone(object); + case "hash": + return new Hash(object); + default: + return object; } }; }(), Array.implement({ @@ -432,10 +523,29 @@ String.implement({ }; math.each(function(name) { Number[name] || (methods[name] = function() { - return Math[name].apply(null, [this].concat(Array.from(arguments))); + return Math[name].apply(null, [ + this + ].concat(Array.from(arguments))); }); }), Number.implement(methods); -})(["abs", "acos", "asin", "atan", "atan2", "ceil", "cos", "exp", "floor", "log", "max", "min", "pow", "sin", "sqrt", "tan"]), Function.extend({ +})([ + "abs", + "acos", + "asin", + "atan", + "atan2", + "ceil", + "cos", + "exp", + "floor", + "log", + "max", + "min", + "pow", + "sin", + "sqrt", + "tan" +]), Function.extend({ attempt: function() { for(var i = 0, l = arguments.length; i < l; i++)try { return arguments[i](); @@ -479,7 +589,9 @@ String.implement({ return options = options || { }, function(event) { var args = options.arguments; - args = null != args ? Array.from(args) : Array.slice(arguments, options.event ? 1 : 0), options.event && (args = [event || window.event].extend(args)); + args = null != args ? Array.from(args) : Array.slice(arguments, options.event ? 1 : 0), options.event && (args = [ + event || window.event + ].extend(args)); var returns = function() { return self.apply(options.bind || null, args); }; @@ -495,7 +607,9 @@ String.implement({ bindWithEvent: function(bind, args) { var self = this; return null != args && (args = Array.from(args)), function(event) { - return self.apply(bind, null == args ? arguments : [event].concat(args)); + return self.apply(bind, null == args ? arguments : [ + event + ].concat(args)); }; }, run: function(args, bind) { @@ -572,7 +686,8 @@ var $try = Function.attempt; qs[i] = val; }), result = Object.toQueryString(qs, key); break; - default: result = key + "=" + encodeURIComponent(value); + default: + result = key + "=" + encodeURIComponent(value); } null != value && queryString.push(result); }), queryString.join("&"); @@ -640,12 +755,18 @@ var $try = Function.attempt; indexOf: "keyOf", contains: "hasValue" }), (function() { - var XMLHTTP, MSXML2, MSXML, document = this.document, window = document.window = this, ua = navigator.userAgent.toLowerCase(), platform = navigator.platform.toLowerCase(), UA = ua.match(/(opera|ie|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/) || [null, "unknown", 0], mode = "ie" == UA[1] && document.documentMode, Browser = this.Browser = { + var XMLHTTP, MSXML2, MSXML, document = this.document, window = document.window = this, ua = navigator.userAgent.toLowerCase(), platform = navigator.platform.toLowerCase(), UA = ua.match(/(opera|ie|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/) || [ + null, + "unknown", + 0 + ], mode = "ie" == UA[1] && document.documentMode, Browser = this.Browser = { extend: Function.prototype.extend, name: "version" == UA[1] ? UA[3] : UA[1], version: mode || parseFloat("opera" == UA[1] && UA[4] ? UA[4] : UA[2]), Platform: { - name: ua.match(/ip(?:ad|od|hone)/) ? "ios" : (ua.match(/(?:webos|android)/) || platform.match(/mac|win|linux/) || ["other"])[0] + name: ua.match(/ip(?:ad|od|hone)/) ? "ios" : (ua.match(/(?:webos|android)/) || platform.match(/mac|win|linux/) || [ + "other" + ])[0] }, Features: { xpath: !!document.evaluate, @@ -723,7 +844,18 @@ var $try = Function.attempt; return arrayFrom(item); }; var prototype = Array.prototype, slice = prototype.slice; - ["pop", "push", "reverse", "shift", "sort", "splice", "unshift", "concat", "join", "slice"].each(function(name) { + [ + "pop", + "push", + "reverse", + "shift", + "sort", + "splice", + "unshift", + "concat", + "join", + "slice" + ].each(function(name) { var method = prototype[name]; Array[name] = function(item) { return method.apply(Array.from(item), slice.call(arguments, 1)); @@ -742,7 +874,8 @@ var $try = Function.attempt; case 7: setEngine("trident", 5); break; - case 8: setEngine("trident", 6); + case 8: + setEngine("trident", 6); } if (Browser.firefox && (Browser.Engine.gecko = !0, setEngine("gecko", Browser.version >= 3 ? 19 : 18)), Browser.safari || Browser.chrome) switch(Browser.Engine.webkit = !0, Browser.version){ case 2: @@ -751,14 +884,16 @@ var $try = Function.attempt; case 3: setEngine("webkit", 420); break; - case 4: setEngine("webkit", 525); + case 4: + setEngine("webkit", 525); } if (Browser.opera && (Browser.Engine.presto = !0, setEngine("presto", Browser.version >= 9.6 ? 960 : Browser.version >= 9.5 ? 950 : 925)), "unknown" == Browser.name) switch((ua.match(/(?:webkit|khtml|gecko)/) || [])[0]){ case "webkit": case "khtml": Browser.Engine.webkit = !0; break; - case "gecko": Browser.Engine.gecko = !0; + case "gecko": + Browser.Engine.gecko = !0; } this.$exec = Browser.exec; })(), (function() { @@ -951,8 +1086,11 @@ Event1.Keys = { } }), this.Options = new Class({ setOptions: function() { - var options = this.options = Object.merge.apply(null, [{ - }, this.options].append(arguments)); + var options = this.options = Object.merge.apply(null, [ + { + }, + this.options + ].append(arguments)); if (this.addEvent) for(var option in options)"function" == typeOf(options[option]) && /^on[A-Z]/.test(option) && (this.addEvent(option, options[option]), delete options[option]); return this; } @@ -1046,9 +1184,10 @@ Event1.Keys = { return attributeValue != value; }; break; - default: test = function(value) { - return !!value; - }; + default: + test = function(value) { + return !!value; + }; } "" == attributeValue && /^[*$^]=$/.test(attributeOperator) && (test = function() { return !1; @@ -1376,7 +1515,9 @@ Event1.Keys = { getById: if (id) { if (!(item = this.document.getElementById(id)) && node.all || this.idGetsName && item && item.getAttributeNode("id").nodeValue != id) { if (!(children = node.all[id])) return; - for(children[0] || (children = [children]), i = 0; item = children[i++];){ + for(children[0] || (children = [ + children + ]), i = 0; item = children[i++];){ var idNode = item.getAttributeNode("id"); if (idNode && idNode.nodeValue == id) { this.push(item, tag, null, classes, attributes, pseudos); @@ -1626,7 +1767,11 @@ var IFrame = new Type("IFrame", function() { params.iframe && (iframe = document.id(params.iframe)); var onload = props.onload || function() { }; - delete props.onload, props.id = props.name = [props.id, props.name, iframe ? iframe.id || iframe.name : "IFrame_" + String.uniqueID()].pick(); + delete props.onload, props.id = props.name = [ + props.id, + props.name, + iframe ? iframe.id || iframe.name : "IFrame_" + String.uniqueID() + ].pick(); var onLoad = function() { onload.call((iframe = new Element1(iframe || "iframe", props)).contentWindow); }; @@ -1742,8 +1887,10 @@ Elements.prototype = { getWindow: function() { return this; } - }), [Document, - Element1].invoke("implement", { + }), [ + Document, + Element1 + ].invoke("implement", { getElements: function(expression) { return Slick.search(this, expression, new Elements); }, @@ -1819,7 +1966,8 @@ Elements.prototype = { case "element": elements.push(item); break; - case "string": Slick.search(this.document, item, elements); + case "string": + Slick.search(this.document, item, elements); } } return elements; @@ -1856,7 +2004,19 @@ Elements.prototype = { }, propertySetters = { }, properties = { }; - Array.forEach(["type", "value", "defaultValue", "accessKey", "cellPadding", "cellSpacing", "colSpan", "frameBorder", "rowSpan", "tabIndex", "useMap"], function(property) { + Array.forEach([ + "type", + "value", + "defaultValue", + "accessKey", + "cellPadding", + "cellSpacing", + "colSpan", + "frameBorder", + "rowSpan", + "tabIndex", + "useMap" + ], function(property) { properties[property.toLowerCase()] = property; }), properties.html = "innerHTML", properties.text = null == document.createElement("div").textContent ? "innerText" : "textContent", Object.forEach(properties, function(real, key) { propertySetters[key] = function(node, value) { @@ -1865,7 +2025,25 @@ Elements.prototype = { return node[real]; }; }); - var bools = ["compact", "nowrap", "ismap", "declare", "noshade", "checked", "disabled", "readOnly", "multiple", "selected", "noresize", "defer", "defaultChecked", "autofocus", "controls", "autoplay", "loop"], booleans = { + var bools = [ + "compact", + "nowrap", + "ismap", + "declare", + "noshade", + "checked", + "disabled", + "readOnly", + "multiple", + "selected", + "noresize", + "defer", + "defaultChecked", + "autofocus", + "controls", + "autoplay", + "loop" + ], booleans = { }; Array.forEach(bools, function(bool) { var lower = bool.toLowerCase(); @@ -2039,7 +2217,11 @@ Elements.prototype = { }, clone: function(contents, keepid) { contents = !1 !== contents; - var i, clone = this.cloneNode(contents), ce = [clone], te = [this]; + var i, clone = this.cloneNode(contents), ce = [ + clone + ], te = [ + this + ]; for(contents && (ce.append(Array.from(clone.getElementsByTagName("*"))), te.append(Array.from(this.getElementsByTagName("*")))), i = ce.length; i--;){ var node = ce[i], element = te[i]; if (keepid || node.removeAttribute("id"), node.clearAttributes && (node.clearAttributes(), node.mergeAttributes(element), node.removeAttribute("uniqueNumber"), node.options)) for(var no = node.options, eo = element.options, j = no.length; j--;)no[j].selected = eo[j].selected; @@ -2052,9 +2234,11 @@ Elements.prototype = { } return document.id(clone); } - }), [Element1, + }), [ + Element1, Window, - Document].invoke("implement", { + Document + ].invoke("implement", { addListener: function(type, fn) { if ("unload" == type) { var old = fn, self = this; @@ -2114,25 +2298,48 @@ Elements.prototype = { tr.innerHTML = html; var supportsTRInnerHTML = tr.innerHTML == html; tr = null, supportsTableInnerHTML && supportsTRInnerHTML && supportsHTML5Elements || (Element1.Properties.html.set = (set = Element1.Properties.html.set, (translations = { - table: [1, "
", "
"], - select: [1, ""], - tbody: [2, "", "
"], - tr: [3, "", "
"] + table: [ + 1, + "", + "
" + ], + select: [ + 1, + "" + ], + tbody: [ + 2, + "", + "
" + ], + tr: [ + 3, + "", + "
" + ] }).thead = translations.tfoot = translations.tbody, function(html) { var wrap = translations[this.get("tag")]; - if (wrap || supportsHTML5Elements || (wrap = [0, "", ""]), !wrap) return set.call(this, html); + if (wrap || supportsHTML5Elements || (wrap = [ + 0, + "", + "" + ]), !wrap) return set.call(this, html); var level = wrap[0], wrapper = document.createElement("div"), target = wrapper; - for(supportsHTML5Elements || fragment.appendChild(wrapper), wrapper.innerHTML = [wrap[1], html, wrap[2]].flatten().join(""); level--;)target = target.firstChild; + for(supportsHTML5Elements || fragment.appendChild(wrapper), wrapper.innerHTML = [ + wrap[1], + html, + wrap[2] + ].flatten().join(""); level--;)target = target.firstChild; this.empty().adopt(target.childNodes), supportsHTML5Elements || fragment.removeChild(wrapper), wrapper = null; })); var testForm = document.createElement("form"); null.innerHTML = "", "s" != null.firstChild.value && (Element1.Properties.value = { set: function(value) { - var tag = this.get("tag"); - if ("select" != tag) return this.setProperty("value", value); + if ("select" != this.get("tag")) return this.setProperty("value", value); for(var options = this.getElements("option"), i = 0; i < options.length; i++){ - var option = options[i], attr = option.getAttributeNode("value"), optionValue = attr && attr.specified ? option.value : option.get("text"); - if (optionValue == value) return option.selected = !0; + var option = options[i], attr = option.getAttributeNode("value"); + if ((attr && attr.specified ? option.value : option.get("text")) == value) return option.selected = !0; } }, get: function() { @@ -2214,7 +2421,13 @@ Elements.prototype = { } if (Browser.opera || Browser.ie) { if (/^(height|width)$/.test(property) && !/px$/.test(result)) { - var values = "width" == property ? ["left", "right"] : ["top", "bottom"], size = 0; + var values = "width" == property ? [ + "left", + "right" + ] : [ + "top", + "bottom" + ], size = 0; return values.each(function(value) { size += this.getStyle("border-" + value + "-width").toInt() + this.getStyle("padding-" + value).toInt(); }, this), this["offset" + property.capitalize()] - size + "px"; @@ -2290,9 +2503,17 @@ Elements.prototype = { }, borderColor: { } - }, ["Top", "Right", "Bottom", "Left"].each(function(direction) { + }, [ + "Top", + "Right", + "Bottom", + "Left" + ].each(function(direction) { var Short = Element1.ShortStyles, All = Element1.Styles; - ["margin", "padding"].each(function(style) { + [ + "margin", + "padding" + ].each(function(style) { var sd = style + direction; Short[style][sd] = All[sd] = "@px"; }); @@ -2307,9 +2528,11 @@ Elements.prototype = { set: function(events) { this.addEvents(events); } - }, [Element1, + }, [ + Element1, Window, - Document].invoke("implement", { + Document + ].invoke("implement", { addEvent: function(type, fn) { var events = this.retrieve("events", { }); @@ -2570,9 +2793,11 @@ Elements.prototype = { return this; } }; - [Element1, + [ + Element1, Window, - Document].invoke("implement", { + Document + ].invoke("implement", { addEvent: relay(addEvent, delegation.addEvent), removeEvent: relay(removeEvent, delegation.removeEvent) }); @@ -2685,8 +2910,10 @@ Elements.prototype = { setPosition: function(obj) { return this.setStyles(this.computePosition(obj)); } - }), [Document, - Window].invoke("implement", { + }), [ + Document, + Window + ].invoke("implement", { getSize: function() { var doc = getCompatElement(this); return { @@ -2748,9 +2975,11 @@ Elements.prototype = { } })(), Element1.alias({ position: "setPosition" -}), [Window, +}), [ + Window, Document, - Element1].invoke("implement", { + Element1 +].invoke("implement", { getHeight: function() { return this.getSize().y; }, @@ -2777,9 +3006,11 @@ Elements.prototype = { } }), (function() { var Fx = this.Fx = new Class({ - Implements: [Chain, + Implements: [ + Chain, Events, - Options], + Options + ], options: { fps: 60, unit: !1, @@ -2815,8 +3046,10 @@ Elements.prototype = { check: function() { if (!this.isRunning()) return !0; switch(this.options.link){ - case "cancel": return this.cancel(), !0; - case "chain": return this.chain(this.caller.pass(arguments, this)), !1; + case "cancel": + return this.cancel(), !0; + case "chain": + return this.chain(this.caller.pass(arguments, this)), !1; } return !1; }, @@ -2948,7 +3181,11 @@ Elements.prototype = { }, Fx.CSS.Parsers = { Color: { parse: function(value) { - return value.match(/^#[0-9a-f]{3,6}$/i) ? value.hexToRgb(!0) : !!(value = value.match(/(\d+),\s*(\d+),\s*(\d+)/)) && [value[1], value[2], value[3]]; + return value.match(/^#[0-9a-f]{3,6}$/i) ? value.hexToRgb(!0) : !!(value = value.match(/(\d+),\s*(\d+),\s*(\d+)/)) && [ + value[1], + value[2], + value[3] + ]; }, compute: function(from, to, delta) { return from.map(function(value, i) { @@ -3005,7 +3242,9 @@ Elements.prototype = { return this.get("tween").start(property, from, to), this; }, fade: function(how) { - var method, toggle, fade = this.get("tween"), args = ["opacity"].append(arguments); + var method, toggle, fade = this.get("tween"), args = [ + "opacity" + ].append(arguments); switch(null == args[1] && (args[1] = "toggle"), args[1]){ case "in": method = "start", args[1] = 1; @@ -3023,7 +3262,8 @@ Elements.prototype = { var flag = this.retrieve("fade:flag", 1 == this.getStyle("opacity")); method = "start", args[1] = flag ? 0 : 1, this.store("fade:flag", !flag), toggle = !0; break; - default: method = "start"; + default: + method = "start"; } toggle || this.eliminate("fade:flag"), fade[method].apply(fade, args); var to = args[args.length - 1]; @@ -3133,16 +3373,23 @@ Elements.prototype = { Elastic: function(p, x) { return Math.pow(2, 10 * --p) * Math.cos(20 * p * Math.PI * (x && x[0] || 1) / 3); } -}), ["Quad", "Cubic", "Quart", "Quint"].each(function(transition, i) { +}), [ + "Quad", + "Cubic", + "Quart", + "Quint" +].each(function(transition, i) { Fx.Transitions[transition] = new Fx.Transition(function(p) { return Math.pow(p, i + 2); }); }), (function() { var empty = function() { }, progressSupport = "onprogress" in new Browser.Request, Request1 = this.Request = new Class({ - Implements: [Chain, + Implements: [ + Chain, Events, - Options], + Options + ], options: { url: "", data: "", @@ -3199,10 +3446,16 @@ Elements.prototype = { this.fireEvent("complete").fireEvent("failure", this.xhr); }, loadstart: function(event) { - this.fireEvent("loadstart", [event, this.xhr]); + this.fireEvent("loadstart", [ + event, + this.xhr + ]); }, progress: function(event) { - this.fireEvent("progress", [event, this.xhr]); + this.fireEvent("progress", [ + event, + this.xhr + ]); }, timeout: function() { this.fireEvent("timeout", this.xhr); @@ -3218,8 +3471,10 @@ Elements.prototype = { check: function() { if (!this.running) return !0; switch(this.options.link){ - case "cancel": return this.cancel(), !0; - case "chain": return this.chain(this.caller.pass(arguments, this)), !1; + case "cancel": + return this.cancel(), !0; + case "chain": + return this.chain(this.caller.pass(arguments, this)), !1; } return !1; }, @@ -3240,17 +3495,24 @@ Elements.prototype = { data = document.id(data).toQueryString(); break; case "object": - case "hash": data = Object.toQueryString(data); + case "hash": + data = Object.toQueryString(data); } if (this.options.format) { var format = "format=" + this.options.format; data = data ? format + "&" + data : format; } - if (this.options.emulation && !["get", "post"].contains(method)) { + if (this.options.emulation && ![ + "get", + "post" + ].contains(method)) { var _method = "_method=" + method; data = data ? _method + "&" + data : _method, method = "post"; } - if (this.options.urlEncoded && ["post", "put"].contains(method)) { + if (this.options.urlEncoded && [ + "post", + "put" + ].contains(method)) { var encoding = this.options.encoding ? "; charset=" + this.options.encoding : ""; this.headers["Content-type"] = "application/x-www-form-urlencoded" + encoding; } @@ -3262,8 +3524,10 @@ Elements.prototype = { try { xhr.setRequestHeader(key, value); } catch (e) { - this.fireEvent("exception", [key, - value]); + this.fireEvent("exception", [ + key, + value + ]); } }, this), this.fireEvent("request"), xhr.send(data), this.options.async ? this.options.timeout && (this.timer = this.timeout.delay(this.options.timeout, this)) : this.onStateChange(), this; }, @@ -3275,7 +3539,16 @@ Elements.prototype = { } }), methods = { }; - ["get", "post", "put", "delete", "GET", "POST", "PUT", "DELETE"].each(function(method) { + [ + "get", + "post", + "put", + "delete", + "GET", + "POST", + "PUT", + "DELETE" + ].each(function(method) { methods[method] = function(data) { var object = { method: method @@ -3374,8 +3647,10 @@ Elements.prototype = { return JSON.stringify(obj); } : function(obj) { switch(obj && obj.toJSON && (obj = obj.toJSON()), typeOf(obj)){ - case "string": return "\"" + obj.replace(/[\x00-\x1f\\"]/g, escape) + "\""; - case "array": return "[" + obj.map(JSON.encode).clean() + "]"; + case "string": + return "\"" + obj.replace(/[\x00-\x1f\\"]/g, escape) + "\""; + case "array": + return "[" + obj.map(JSON.encode).clean() + "]"; case "object": case "hash": var string = []; @@ -3384,8 +3659,10 @@ Elements.prototype = { json && string.push(JSON.encode(key) + ":" + json); }), "{" + string + "}"; case "number": - case "boolean": return "" + obj; - case "null": return "null"; + case "boolean": + return "" + obj; + case "null": + return "null"; } return null; }, JSON.decode = function(string, secure) { @@ -3412,9 +3689,10 @@ Elements.prototype = { try { json = this.response.json = JSON.decode(text, this.options.secure); } catch (error) { - this.fireEvent("error", [text, - error]); - return; + return void this.fireEvent("error", [ + text, + error + ]); } null == json ? this.onFailure() : this.onSuccess(json, text); } @@ -3542,7 +3820,9 @@ Cookie.write = function(key, value, options) { return document.id(element, !0).appendChild(this.toElement()), this; }, remote: function() { - return Swiff.remote.apply(Swiff, [this.toElement()].append(arguments)); + return Swiff.remote.apply(Swiff, [ + this.toElement() + ].append(arguments)); } }); Swiff.CallBacks = { diff --git a/ecmascript/minifier/tests/projects/output/react-17.0.2.js b/ecmascript/minifier/tests/projects/output/react-17.0.2.js index b85be2bb2e1..26bb3420fbd 100644 --- a/ecmascript/minifier/tests/projects/output/react-17.0.2.js +++ b/ecmascript/minifier/tests/projects/output/react-17.0.2.js @@ -1,7 +1,10 @@ !function(global, factory) { - "object" == typeof exports && "undefined" != typeof module ? factory(exports) : "function" == typeof define && define.amd ? define(["exports"], factory) : factory((global = global || self).React = { + "object" == typeof exports && "undefined" != typeof module ? factory(exports) : "function" == typeof define && define.amd ? define([ + "exports" + ], factory) : factory((global = global || self).React = { }); }(this, function(exports) { + "use strict"; var REACT_ELEMENT_TYPE = 60103, REACT_PORTAL_TYPE = 60106, REACT_PROVIDER_TYPE = 60109, REACT_CONTEXT_TYPE = 60110, REACT_FORWARD_REF_TYPE = 60112, REACT_SUSPENSE_LIST_TYPE = 60120, REACT_MEMO_TYPE = 60115, REACT_LAZY_TYPE = 60116, REACT_BLOCK_TYPE = 60121, REACT_SERVER_BLOCK_TYPE = 60122, REACT_FUNDAMENTAL_TYPE = 60117, REACT_DEBUG_TRACING_MODE_TYPE = 60129, REACT_LEGACY_HIDDEN_TYPE = 60131, MAYBE_ITERATOR_SYMBOL = "function" == typeof Symbol && Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" != typeof maybeIterable) return null; @@ -47,7 +50,9 @@ } function printWarning(level, format, args) { var stack = ReactSharedInternals.ReactDebugCurrentFrame.getStackAddendum(); - "" !== stack && (format += "%s", args = args.concat([stack])); + "" !== stack && (format += "%s", args = args.concat([ + stack + ])); var argsWithFormat = args.map(function(item) { return "" + item; }); @@ -78,8 +83,14 @@ this.props = props, this.context = context, this.refs = emptyObject, this.updater = updater || ReactNoopUpdateQueue; } var deprecatedAPIs = { - isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."], - replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."] + isMounted: [ + "isMounted", + "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks." + ], + replaceState: [ + "replaceState", + "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)." + ] }; function ComponentDummy() { } @@ -99,19 +110,30 @@ if ("number" == typeof type.tag && error("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), "function" == typeof type) return type.displayName || type.name || null; if ("string" == typeof type) return type; switch(type){ - case exports.Fragment: return "Fragment"; - case REACT_PORTAL_TYPE: return "Portal"; - case exports.Profiler: return "Profiler"; - case exports.StrictMode: return "StrictMode"; - case exports.Suspense: return "Suspense"; - case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList"; + case exports.Fragment: + return "Fragment"; + case REACT_PORTAL_TYPE: + return "Portal"; + case exports.Profiler: + return "Profiler"; + case exports.StrictMode: + return "StrictMode"; + case exports.Suspense: + return "Suspense"; + case REACT_SUSPENSE_LIST_TYPE: + return "SuspenseList"; } if ("object" == typeof type) switch(type.$$typeof){ - case REACT_CONTEXT_TYPE: return getContextName(type) + ".Consumer"; - case REACT_PROVIDER_TYPE: return getContextName(type._context) + ".Provider"; - case REACT_FORWARD_REF_TYPE: return getWrappedName(type, type.render, "ForwardRef"); - case REACT_MEMO_TYPE: return getComponentName(type.type); - case REACT_BLOCK_TYPE: return getComponentName(type._render); + case REACT_CONTEXT_TYPE: + return getContextName(type) + ".Consumer"; + case REACT_PROVIDER_TYPE: + return getContextName(type._context) + ".Provider"; + case REACT_FORWARD_REF_TYPE: + return getWrappedName(type, type.render, "ForwardRef"); + case REACT_MEMO_TYPE: + return getComponentName(type.type); + case REACT_BLOCK_TYPE: + return getComponentName(type._render); case REACT_LAZY_TYPE: var lazyComponent = type, payload = lazyComponent._payload, init = lazyComponent._init; try { @@ -258,10 +280,12 @@ case "number": invokeCallback = !0; break; - case "object": switch(children.$$typeof){ - case REACT_ELEMENT_TYPE: - case REACT_PORTAL_TYPE: invokeCallback = !0; - } + case "object": + switch(children.$$typeof){ + case REACT_ELEMENT_TYPE: + case REACT_PORTAL_TYPE: + invokeCallback = !0; + } } if (invokeCallback) { var _child = children, mappedChild = callback(_child), childKey = "" === nameSoFar ? "." + getElementKey(_child, 0) : nameSoFar; @@ -468,13 +492,18 @@ if ("function" == typeof type) return describeNativeComponentFrame(type, shouldConstruct(type)); if ("string" == typeof type) return describeBuiltInComponentFrame(type); switch(type){ - case exports.Suspense: return describeBuiltInComponentFrame("Suspense"); - case REACT_SUSPENSE_LIST_TYPE: return describeBuiltInComponentFrame("SuspenseList"); + case exports.Suspense: + return describeBuiltInComponentFrame("Suspense"); + case REACT_SUSPENSE_LIST_TYPE: + return describeBuiltInComponentFrame("SuspenseList"); } if ("object" == typeof type) switch(type.$$typeof){ - case REACT_FORWARD_REF_TYPE: return describeFunctionComponentFrame(type.render); - case REACT_MEMO_TYPE: return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn); - case REACT_BLOCK_TYPE: return describeFunctionComponentFrame(type._render); + case REACT_FORWARD_REF_TYPE: + return describeFunctionComponentFrame(type.render); + case REACT_MEMO_TYPE: + return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn); + case REACT_BLOCK_TYPE: + return describeFunctionComponentFrame(type._render); case REACT_LAZY_TYPE: var lazyComponent = type, payload = lazyComponent._payload, init = lazyComponent._init; try { @@ -599,7 +628,7 @@ if (validType) for(var i = 2; i < arguments.length; i++)validateChildKeys(arguments[i], type); return type === exports.Fragment ? validateFragmentProps(element) : validatePropTypes(element), element; } - var propTypesMisspellWarningShown, requestHostCallback, requestHostTimeout, cancelHostTimeout, shouldYieldToHost, requestPaint, getCurrentTime, forceFrameRate, didWarnAboutDeprecatedCreateFactory = !1, enableSchedulerDebugging = !1, enableProfiling = !1, hasPerformanceNow = "object" == typeof performance && "function" == typeof performance.now; + var propTypesMisspellWarningShown, requestHostCallback, requestHostTimeout, cancelHostTimeout, shouldYieldToHost, requestPaint, getCurrentTime, forceFrameRate, didWarnAboutDeprecatedCreateFactory = !1, enableSchedulerDebugging = !1, enableProfiling = !1; function push(heap, node) { var index = heap.length; heap.push(node), siftUp(heap, node, index); @@ -701,8 +730,10 @@ case 2: case 3: case 4: - case 5: break; - default: priorityLevel = 3; + case 5: + break; + default: + priorityLevel = 3; } var previousPriorityLevel = currentPriorityLevel; currentPriorityLevel = 3; @@ -1000,7 +1031,7 @@ }); })(fnName, deprecatedAPIs[fnName]); if (ComponentDummy.prototype = Component.prototype, pureComponentPrototype.constructor = PureComponent, assign(pureComponentPrototype, Component.prototype), pureComponentPrototype.isPureReactComponent = !0, didWarnAboutStringRefs = { - }, disabledLog.__reactDisabledLog = !0, componentFrameCache = new ("function" == typeof WeakMap ? WeakMap : Map)(), propTypesMisspellWarningShown = !1, hasPerformanceNow) { + }, disabledLog.__reactDisabledLog = !0, componentFrameCache = new ("function" == typeof WeakMap ? WeakMap : Map)(), propTypesMisspellWarningShown = !1, "object" == typeof performance && "function" == typeof performance.now) { var localPerformance = performance; getCurrentTime = function() { return localPerformance.now(); @@ -1041,16 +1072,16 @@ return getCurrentTime() >= deadline; }, requestPaint = function() { }, forceFrameRate = function(fps) { - (fps < 0 || fps > 125) && console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"), yieldInterval = fps > 0 ? Math.floor(1000 / fps) : 5; + if (fps < 0 || fps > 125) return void console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"); + yieldInterval = fps > 0 ? Math.floor(1000 / fps) : 5; }; var performWorkUntilDeadline = function() { if (null !== scheduledHostCallback) { - var currentTime = getCurrentTime(); + var hasMoreWork, currentTime = getCurrentTime(); deadline = currentTime + yieldInterval; var hasTimeRemaining = !0; try { - var hasMoreWork = scheduledHostCallback(hasTimeRemaining, currentTime); - hasMoreWork ? port.postMessage(null) : (isMessageLoopRunning = !1, scheduledHostCallback = null); + scheduledHostCallback(hasTimeRemaining, currentTime) ? port.postMessage(null) : (isMessageLoopRunning = !1, scheduledHostCallback = null); } catch (error) { throw port.postMessage(null), error; } @@ -1074,7 +1105,14 @@ try { var frozenObject = Object.freeze({ }); - new Map([[frozenObject, null]]), new Set([frozenObject]); + new Map([ + [ + frozenObject, + null + ] + ]), new Set([ + frozenObject + ]); } catch (e) { } exports.Children = { diff --git a/ecmascript/minifier/tests/projects/output/react-dom-17.0.2.js b/ecmascript/minifier/tests/projects/output/react-dom-17.0.2.js index 1cd2879f148..2cd205caac3 100644 --- a/ecmascript/minifier/tests/projects/output/react-dom-17.0.2.js +++ b/ecmascript/minifier/tests/projects/output/react-dom-17.0.2.js @@ -1,7 +1,11 @@ !function(global, factory) { - "object" == typeof exports && "undefined" != typeof module ? factory(exports, require("react")) : "function" == typeof define && define.amd ? define(["exports", "react"], factory) : factory((global = global || self).ReactDOM = { + "object" == typeof exports && "undefined" != typeof module ? factory(exports, require("react")) : "function" == typeof define && define.amd ? define([ + "exports", + "react" + ], factory) : factory((global = global || self).ReactDOM = { }, global.React); }(this, function(exports, React) { + "use strict"; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function warn(format) { for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++)args[_key - 1] = arguments[_key]; @@ -13,7 +17,9 @@ } function printWarning(level, format, args) { var stack = ReactSharedInternals.ReactDebugCurrentFrame.getStackAddendum(); - "" !== stack && (format += "%s", args = args.concat([stack])); + "" !== stack && (format += "%s", args = args.concat([ + stack + ])); var argsWithFormat = args.map(function(item) { return "" + item; }); @@ -42,13 +48,15 @@ if (null !== propertyInfo && 0 === propertyInfo.type) return !1; switch(typeof value){ case "function": - case "symbol": return !0; + case "symbol": + return !0; case "boolean": if (isCustomComponentTag) return !1; if (null !== propertyInfo) return !propertyInfo.acceptsBooleans; var prefix = name.toLowerCase().slice(0, 5); return "data-" !== prefix && "aria-" !== prefix; - default: return !1; + default: + return !1; } } function shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag) { @@ -56,10 +64,14 @@ if (shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag)) return !0; if (isCustomComponentTag) return !1; if (null !== propertyInfo) switch(propertyInfo.type){ - case 3: return !value; - case 4: return !1 === value; - case 5: return isNaN(value); - case 6: return isNaN(value) || value < 1; + case 3: + return !value; + case 4: + return !1 === value; + case 5: + return isNaN(value); + case 6: + return isNaN(value) || value < 1; } return !1; } @@ -106,8 +118,7 @@ } return; } - var mustUseProperty = propertyInfo.mustUseProperty; - if (mustUseProperty) { + if (propertyInfo.mustUseProperty) { var propertyName = propertyInfo.propertyName; if (null === value) { var type = propertyInfo.type; @@ -276,13 +287,18 @@ if ("function" == typeof type) return describeNativeComponentFrame(type, shouldConstruct(type)); if ("string" == typeof type) return describeBuiltInComponentFrame(type); switch(type){ - case REACT_SUSPENSE_TYPE: return describeBuiltInComponentFrame("Suspense"); - case REACT_SUSPENSE_LIST_TYPE: return describeBuiltInComponentFrame("SuspenseList"); + case REACT_SUSPENSE_TYPE: + return describeBuiltInComponentFrame("Suspense"); + case REACT_SUSPENSE_LIST_TYPE: + return describeBuiltInComponentFrame("SuspenseList"); } if ("object" == typeof type) switch(type.$$typeof){ - case REACT_FORWARD_REF_TYPE: return describeFunctionComponentFrame(type.render); - case REACT_MEMO_TYPE: return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn); - case REACT_BLOCK_TYPE: return describeFunctionComponentFrame(type._render); + case REACT_FORWARD_REF_TYPE: + return describeFunctionComponentFrame(type.render); + case REACT_MEMO_TYPE: + return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn); + case REACT_BLOCK_TYPE: + return describeFunctionComponentFrame(type._render); case REACT_LAZY_TYPE: var lazyComponent = type, payload = lazyComponent._payload, init = lazyComponent._init; try { @@ -294,17 +310,26 @@ } function describeFiber(fiber) { switch(fiber._debugOwner && fiber._debugOwner.type, fiber.tag){ - case 5: return describeBuiltInComponentFrame(fiber.type); - case 16: return describeBuiltInComponentFrame("Lazy"); - case 13: return describeBuiltInComponentFrame("Suspense"); - case 19: return describeBuiltInComponentFrame("SuspenseList"); + case 5: + return describeBuiltInComponentFrame(fiber.type); + case 16: + return describeBuiltInComponentFrame("Lazy"); + case 13: + return describeBuiltInComponentFrame("Suspense"); + case 19: + return describeBuiltInComponentFrame("SuspenseList"); case 0: case 2: - case 15: return describeFunctionComponentFrame(fiber.type); - case 11: return describeFunctionComponentFrame(fiber.type.render); - case 22: return describeFunctionComponentFrame(fiber.type._render); - case 1: return describeClassComponentFrame(fiber.type); - default: return ""; + case 15: + return describeFunctionComponentFrame(fiber.type); + case 11: + return describeFunctionComponentFrame(fiber.type.render); + case 22: + return describeFunctionComponentFrame(fiber.type._render); + case 1: + return describeClassComponentFrame(fiber.type); + default: + return ""; } } function getStackByFiberInDevAndProd(workInProgress) { @@ -329,19 +354,30 @@ if ("number" == typeof type.tag && error("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), "function" == typeof type) return type.displayName || type.name || null; if ("string" == typeof type) return type; switch(type){ - case REACT_FRAGMENT_TYPE: return "Fragment"; - case REACT_PORTAL_TYPE: return "Portal"; - case REACT_PROFILER_TYPE: return "Profiler"; - case REACT_STRICT_MODE_TYPE: return "StrictMode"; - case REACT_SUSPENSE_TYPE: return "Suspense"; - case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList"; + case REACT_FRAGMENT_TYPE: + return "Fragment"; + case REACT_PORTAL_TYPE: + return "Portal"; + case REACT_PROFILER_TYPE: + return "Profiler"; + case REACT_STRICT_MODE_TYPE: + return "StrictMode"; + case REACT_SUSPENSE_TYPE: + return "Suspense"; + case REACT_SUSPENSE_LIST_TYPE: + return "SuspenseList"; } if ("object" == typeof type) switch(type.$$typeof){ - case REACT_CONTEXT_TYPE: return getContextName(type) + ".Consumer"; - case REACT_PROVIDER_TYPE: return getContextName(type._context) + ".Provider"; - case REACT_FORWARD_REF_TYPE: return getWrappedName(type, type.render, "ForwardRef"); - case REACT_MEMO_TYPE: return getComponentName(type.type); - case REACT_BLOCK_TYPE: return getComponentName(type._render); + case REACT_CONTEXT_TYPE: + return getContextName(type) + ".Consumer"; + case REACT_PROVIDER_TYPE: + return getContextName(type._context) + ".Provider"; + case REACT_FORWARD_REF_TYPE: + return getWrappedName(type, type.render, "ForwardRef"); + case REACT_MEMO_TYPE: + return getComponentName(type.type); + case REACT_BLOCK_TYPE: + return getComponentName(type._render); case REACT_LAZY_TYPE: var lazyComponent = type, payload = lazyComponent._payload, init = lazyComponent._init; try { @@ -382,8 +418,10 @@ case "number": case "object": case "string": - case "undefined": return value; - default: return ""; + case "undefined": + return value; + default: + return ""; } } var hasReadOnlyValue = { @@ -488,13 +526,15 @@ var node = element, controlled = isControlled(props); node._wrapperState.controlled || !controlled || didWarnUncontrolledToControlled || (error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"), didWarnUncontrolledToControlled = !0), !node._wrapperState.controlled || controlled || didWarnControlledToUncontrolled || (error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"), didWarnControlledToUncontrolled = !0), updateChecked(element, props); var value = getToStringValue(props.value), type = props.type; - null != value ? "number" === type ? (0 === value && "" === node.value || node.value != value) && (node.value = toString(value)) : node.value !== toString(value) && (node.value = toString(value)) : ("submit" === type || "reset" === type) && node.removeAttribute("value"), props.hasOwnProperty("value") ? setDefaultValue(node, props.type, value) : props.hasOwnProperty("defaultValue") && setDefaultValue(node, props.type, getToStringValue(props.defaultValue)), null == props.checked && null != props.defaultChecked && (node.defaultChecked = !!props.defaultChecked); + if (null != value) "number" === type ? (0 === value && "" === node.value || node.value != value) && (node.value = toString(value)) : node.value !== toString(value) && (node.value = toString(value)); + else if ("submit" === type || "reset" === type) return void node.removeAttribute("value"); + props.hasOwnProperty("value") ? setDefaultValue(node, props.type, value) : props.hasOwnProperty("defaultValue") && setDefaultValue(node, props.type, getToStringValue(props.defaultValue)), null == props.checked && null != props.defaultChecked && (node.defaultChecked = !!props.defaultChecked); } function postMountWrapper(element, props, isHydrating) { var node = element; if (props.hasOwnProperty("value") || props.hasOwnProperty("defaultValue")) { - var type = props.type, isButton = "submit" === type || "reset" === type; - if (!isButton || void 0 !== props.value && null !== props.value) { + var type = props.type; + if ("submit" !== type && "reset" !== type || void 0 !== props.value && null !== props.value) { var initialValue = toString(node._wrapperState.initialValue); isHydrating || initialValue !== node.value && (node.value = initialValue), node.defaultValue = initialValue; } @@ -548,7 +588,10 @@ var ownerName = getCurrentFiberOwnerNameInDevOrNull(); return ownerName ? "\n\nCheck the render method of `" + ownerName + "`." : ""; } - var valuePropNames = ["value", "defaultValue"]; + var valuePropNames = [ + "value", + "defaultValue" + ]; function checkSelectPropTypes(props) { checkControlledValueProps("select", props); for(var i = 0; i < valuePropNames.length; i++){ @@ -651,9 +694,12 @@ } function getIntrinsicNamespace(type) { switch(type){ - case "svg": return "http://www.w3.org/2000/svg"; - case "math": return "http://www.w3.org/1998/Math/MathML"; - default: return "http://www.w3.org/1999/xhtml"; + case "svg": + return "http://www.w3.org/2000/svg"; + case "math": + return "http://www.w3.org/1998/Math/MathML"; + default: + return "http://www.w3.org/1999/xhtml"; } } function getChildNamespace(parentNamespace, type) { @@ -676,57 +722,287 @@ }), setTextContent = function(node, text) { if (text) { var firstChild = node.firstChild; - firstChild && firstChild === node.lastChild && 3 === firstChild.nodeType && (firstChild.nodeValue = text); + if (firstChild && firstChild === node.lastChild && 3 === firstChild.nodeType) return void (firstChild.nodeValue = text); } node.textContent = text; }, shorthandToLonghand = { - animation: ["animationDelay", "animationDirection", "animationDuration", "animationFillMode", "animationIterationCount", "animationName", "animationPlayState", "animationTimingFunction"], - background: ["backgroundAttachment", "backgroundClip", "backgroundColor", "backgroundImage", "backgroundOrigin", "backgroundPositionX", "backgroundPositionY", "backgroundRepeat", "backgroundSize"], - backgroundPosition: ["backgroundPositionX", "backgroundPositionY"], - border: ["borderBottomColor", "borderBottomStyle", "borderBottomWidth", "borderImageOutset", "borderImageRepeat", "borderImageSlice", "borderImageSource", "borderImageWidth", "borderLeftColor", "borderLeftStyle", "borderLeftWidth", "borderRightColor", "borderRightStyle", "borderRightWidth", "borderTopColor", "borderTopStyle", "borderTopWidth"], - borderBlockEnd: ["borderBlockEndColor", "borderBlockEndStyle", "borderBlockEndWidth"], - borderBlockStart: ["borderBlockStartColor", "borderBlockStartStyle", "borderBlockStartWidth"], - borderBottom: ["borderBottomColor", "borderBottomStyle", "borderBottomWidth"], - borderColor: ["borderBottomColor", "borderLeftColor", "borderRightColor", "borderTopColor"], - borderImage: ["borderImageOutset", "borderImageRepeat", "borderImageSlice", "borderImageSource", "borderImageWidth"], - borderInlineEnd: ["borderInlineEndColor", "borderInlineEndStyle", "borderInlineEndWidth"], - borderInlineStart: ["borderInlineStartColor", "borderInlineStartStyle", "borderInlineStartWidth"], - borderLeft: ["borderLeftColor", "borderLeftStyle", "borderLeftWidth"], - borderRadius: ["borderBottomLeftRadius", "borderBottomRightRadius", "borderTopLeftRadius", "borderTopRightRadius"], - borderRight: ["borderRightColor", "borderRightStyle", "borderRightWidth"], - borderStyle: ["borderBottomStyle", "borderLeftStyle", "borderRightStyle", "borderTopStyle"], - borderTop: ["borderTopColor", "borderTopStyle", "borderTopWidth"], - borderWidth: ["borderBottomWidth", "borderLeftWidth", "borderRightWidth", "borderTopWidth"], - columnRule: ["columnRuleColor", "columnRuleStyle", "columnRuleWidth"], - columns: ["columnCount", "columnWidth"], - flex: ["flexBasis", "flexGrow", "flexShrink"], - flexFlow: ["flexDirection", "flexWrap"], - font: ["fontFamily", "fontFeatureSettings", "fontKerning", "fontLanguageOverride", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontVariantAlternates", "fontVariantCaps", "fontVariantEastAsian", "fontVariantLigatures", "fontVariantNumeric", "fontVariantPosition", "fontWeight", "lineHeight"], - fontVariant: ["fontVariantAlternates", "fontVariantCaps", "fontVariantEastAsian", "fontVariantLigatures", "fontVariantNumeric", "fontVariantPosition"], - gap: ["columnGap", "rowGap"], - grid: ["gridAutoColumns", "gridAutoFlow", "gridAutoRows", "gridTemplateAreas", "gridTemplateColumns", "gridTemplateRows"], - gridArea: ["gridColumnEnd", "gridColumnStart", "gridRowEnd", "gridRowStart"], - gridColumn: ["gridColumnEnd", "gridColumnStart"], - gridColumnGap: ["columnGap"], - gridGap: ["columnGap", "rowGap"], - gridRow: ["gridRowEnd", "gridRowStart"], - gridRowGap: ["rowGap"], - gridTemplate: ["gridTemplateAreas", "gridTemplateColumns", "gridTemplateRows"], - listStyle: ["listStyleImage", "listStylePosition", "listStyleType"], - margin: ["marginBottom", "marginLeft", "marginRight", "marginTop"], - marker: ["markerEnd", "markerMid", "markerStart"], - mask: ["maskClip", "maskComposite", "maskImage", "maskMode", "maskOrigin", "maskPositionX", "maskPositionY", "maskRepeat", "maskSize"], - maskPosition: ["maskPositionX", "maskPositionY"], - outline: ["outlineColor", "outlineStyle", "outlineWidth"], - overflow: ["overflowX", "overflowY"], - padding: ["paddingBottom", "paddingLeft", "paddingRight", "paddingTop"], - placeContent: ["alignContent", "justifyContent"], - placeItems: ["alignItems", "justifyItems"], - placeSelf: ["alignSelf", "justifySelf"], - textDecoration: ["textDecorationColor", "textDecorationLine", "textDecorationStyle"], - textEmphasis: ["textEmphasisColor", "textEmphasisStyle"], - transition: ["transitionDelay", "transitionDuration", "transitionProperty", "transitionTimingFunction"], - wordWrap: ["overflowWrap"] + animation: [ + "animationDelay", + "animationDirection", + "animationDuration", + "animationFillMode", + "animationIterationCount", + "animationName", + "animationPlayState", + "animationTimingFunction" + ], + background: [ + "backgroundAttachment", + "backgroundClip", + "backgroundColor", + "backgroundImage", + "backgroundOrigin", + "backgroundPositionX", + "backgroundPositionY", + "backgroundRepeat", + "backgroundSize" + ], + backgroundPosition: [ + "backgroundPositionX", + "backgroundPositionY" + ], + border: [ + "borderBottomColor", + "borderBottomStyle", + "borderBottomWidth", + "borderImageOutset", + "borderImageRepeat", + "borderImageSlice", + "borderImageSource", + "borderImageWidth", + "borderLeftColor", + "borderLeftStyle", + "borderLeftWidth", + "borderRightColor", + "borderRightStyle", + "borderRightWidth", + "borderTopColor", + "borderTopStyle", + "borderTopWidth" + ], + borderBlockEnd: [ + "borderBlockEndColor", + "borderBlockEndStyle", + "borderBlockEndWidth" + ], + borderBlockStart: [ + "borderBlockStartColor", + "borderBlockStartStyle", + "borderBlockStartWidth" + ], + borderBottom: [ + "borderBottomColor", + "borderBottomStyle", + "borderBottomWidth" + ], + borderColor: [ + "borderBottomColor", + "borderLeftColor", + "borderRightColor", + "borderTopColor" + ], + borderImage: [ + "borderImageOutset", + "borderImageRepeat", + "borderImageSlice", + "borderImageSource", + "borderImageWidth" + ], + borderInlineEnd: [ + "borderInlineEndColor", + "borderInlineEndStyle", + "borderInlineEndWidth" + ], + borderInlineStart: [ + "borderInlineStartColor", + "borderInlineStartStyle", + "borderInlineStartWidth" + ], + borderLeft: [ + "borderLeftColor", + "borderLeftStyle", + "borderLeftWidth" + ], + borderRadius: [ + "borderBottomLeftRadius", + "borderBottomRightRadius", + "borderTopLeftRadius", + "borderTopRightRadius" + ], + borderRight: [ + "borderRightColor", + "borderRightStyle", + "borderRightWidth" + ], + borderStyle: [ + "borderBottomStyle", + "borderLeftStyle", + "borderRightStyle", + "borderTopStyle" + ], + borderTop: [ + "borderTopColor", + "borderTopStyle", + "borderTopWidth" + ], + borderWidth: [ + "borderBottomWidth", + "borderLeftWidth", + "borderRightWidth", + "borderTopWidth" + ], + columnRule: [ + "columnRuleColor", + "columnRuleStyle", + "columnRuleWidth" + ], + columns: [ + "columnCount", + "columnWidth" + ], + flex: [ + "flexBasis", + "flexGrow", + "flexShrink" + ], + flexFlow: [ + "flexDirection", + "flexWrap" + ], + font: [ + "fontFamily", + "fontFeatureSettings", + "fontKerning", + "fontLanguageOverride", + "fontSize", + "fontSizeAdjust", + "fontStretch", + "fontStyle", + "fontVariant", + "fontVariantAlternates", + "fontVariantCaps", + "fontVariantEastAsian", + "fontVariantLigatures", + "fontVariantNumeric", + "fontVariantPosition", + "fontWeight", + "lineHeight" + ], + fontVariant: [ + "fontVariantAlternates", + "fontVariantCaps", + "fontVariantEastAsian", + "fontVariantLigatures", + "fontVariantNumeric", + "fontVariantPosition" + ], + gap: [ + "columnGap", + "rowGap" + ], + grid: [ + "gridAutoColumns", + "gridAutoFlow", + "gridAutoRows", + "gridTemplateAreas", + "gridTemplateColumns", + "gridTemplateRows" + ], + gridArea: [ + "gridColumnEnd", + "gridColumnStart", + "gridRowEnd", + "gridRowStart" + ], + gridColumn: [ + "gridColumnEnd", + "gridColumnStart" + ], + gridColumnGap: [ + "columnGap" + ], + gridGap: [ + "columnGap", + "rowGap" + ], + gridRow: [ + "gridRowEnd", + "gridRowStart" + ], + gridRowGap: [ + "rowGap" + ], + gridTemplate: [ + "gridTemplateAreas", + "gridTemplateColumns", + "gridTemplateRows" + ], + listStyle: [ + "listStyleImage", + "listStylePosition", + "listStyleType" + ], + margin: [ + "marginBottom", + "marginLeft", + "marginRight", + "marginTop" + ], + marker: [ + "markerEnd", + "markerMid", + "markerStart" + ], + mask: [ + "maskClip", + "maskComposite", + "maskImage", + "maskMode", + "maskOrigin", + "maskPositionX", + "maskPositionY", + "maskRepeat", + "maskSize" + ], + maskPosition: [ + "maskPositionX", + "maskPositionY" + ], + outline: [ + "outlineColor", + "outlineStyle", + "outlineWidth" + ], + overflow: [ + "overflowX", + "overflowY" + ], + padding: [ + "paddingBottom", + "paddingLeft", + "paddingRight", + "paddingTop" + ], + placeContent: [ + "alignContent", + "justifyContent" + ], + placeItems: [ + "alignItems", + "justifyItems" + ], + placeSelf: [ + "alignSelf", + "justifySelf" + ], + textDecoration: [ + "textDecorationColor", + "textDecorationLine", + "textDecorationStyle" + ], + textEmphasis: [ + "textEmphasisColor", + "textEmphasisStyle" + ], + transition: [ + "transitionDelay", + "transitionDuration", + "transitionProperty", + "transitionTimingFunction" + ], + wordWrap: [ + "overflowWrap" + ] }, isUnitlessNumber = { animationIterationCount: !0, borderImageOutset: !0, @@ -774,7 +1050,12 @@ function prefixKey(prefix, key) { return prefix + key.charAt(0).toUpperCase() + key.substring(1); } - var prefixes = ["Webkit", "ms", "Moz", "O"]; + var prefixes = [ + "Webkit", + "ms", + "Moz", + "O" + ]; function dangerousStyleValue(name, value, isCustomProperty) { return null == value || "boolean" == typeof value || "" === value ? "" : isCustomProperty || "number" != typeof value || 0 === value || isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name] ? ("" + value).trim() : value + "px"; } @@ -785,12 +1066,13 @@ var warnValidStyle = function() { }, badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/, msPattern$1 = /^-ms-/, hyphenPattern = /-(.)/g, badStyleValueWithSemicolonPattern = /;\s*$/, warnedStyleNames = { }, warnedStyleValues = { - }, warnedForNaNValue = !1, warnedForInfinityValue = !1, camelize = function(string) { - return string.replace(hyphenPattern, function(_, character) { - return character.toUpperCase(); - }); - }, warnHyphenatedStyleName = function(name) { - warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name] || (warnedStyleNames[name] = !0, error("Unsupported style property %s. Did you mean %s?", name, camelize(name.replace(msPattern$1, "ms-")))); + }, warnedForNaNValue = !1, warnedForInfinityValue = !1, warnHyphenatedStyleName = function(name) { + if (!warnedStyleNames.hasOwnProperty(name) || !warnedStyleNames[name]) { + var string; + warnedStyleNames[name] = !0, error("Unsupported style property %s. Did you mean %s?", name, name.replace(msPattern$1, "ms-").replace(hyphenPattern, function(_, character) { + return character.toUpperCase(); + })); + } }, warnBadVendoredStyleName = function(name) { warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name] || (warnedStyleNames[name] = !0, error("Unsupported vendor-prefixed style property %s. Did you mean %s?", name, name.charAt(0).toUpperCase() + name.slice(1))); }, warnStyleValueWithSemicolon = function(name, value) { @@ -826,7 +1108,9 @@ function expandShorthandMap(styles) { var expanded = { }; - for(var key in styles)for(var longhands = shorthandToLonghand[key] || [key], i = 0; i < longhands.length; i++)expanded[longhands[i]] = key; + for(var key in styles)for(var longhands = shorthandToLonghand[key] || [ + key + ], i = 0; i < longhands.length; i++)expanded[longhands[i]] = key; return expanded; } function validateShorthandPropertyCollisionInDev(styleUpdates, nextStyles) { @@ -882,8 +1166,10 @@ case "font-face-uri": case "font-face-format": case "font-face-name": - case "missing-glyph": return !1; - default: return !0; + case "missing-glyph": + return !1; + default: + return !0; } } var possibleStandardNames = { @@ -1451,11 +1737,8 @@ var validateProperty$1 = function() { }, warnedProperties$1 = { }, _hasOwnProperty = Object.prototype.hasOwnProperty, EVENT_NAME_REGEX = /^on./, INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/, rARIA$1 = /^(aria)-[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, rARIACamel$1 = /^(aria)[A-Z][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, warnUnknownProperties = function(type, props, eventRegistry) { - var unknownProps = []; - for(var key in props){ - var isValid = validateProperty$1(type, key, props[key], eventRegistry); - isValid || unknownProps.push(key); - } + var isValid, unknownProps = []; + for(var key in props)validateProperty$1(type, key, props[key], eventRegistry) || unknownProps.push(key); var unknownPropString = unknownProps.map(function(prop) { return "`" + prop + "`"; }).join(", "); @@ -1481,7 +1764,9 @@ } } function enqueueStateRestore(target) { - restoreTarget ? restoreQueue ? restoreQueue.push(target) : restoreQueue = [target] : restoreTarget = target; + restoreTarget ? restoreQueue ? restoreQueue.push(target) : restoreQueue = [ + target + ] : restoreTarget = target; } function needsStateRestore() { return null !== restoreTarget || null !== restoreQueue; @@ -1546,8 +1831,10 @@ case "onMouseMoveCapture": case "onMouseUp": case "onMouseUpCapture": - case "onMouseEnter": return !!(props.disabled && isInteractive(type)); - default: return !1; + case "onMouseEnter": + return !!(props.disabled && isInteractive(type)); + default: + return !1; } } function getListener(inst, registrationName) { @@ -1747,7 +2034,36 @@ function hasQueuedDiscreteEvents() { return queuedDiscreteEvents.length > 0; } - var discreteReplayableEvents = ["mousedown", "mouseup", "touchcancel", "touchend", "touchstart", "auxclick", "dblclick", "pointercancel", "pointerdown", "pointerup", "dragend", "dragstart", "drop", "compositionend", "compositionstart", "keydown", "keypress", "keyup", "input", "textInput", "copy", "cut", "paste", "click", "change", "contextmenu", "reset", "submit"]; + var discreteReplayableEvents = [ + "mousedown", + "mouseup", + "touchcancel", + "touchend", + "touchstart", + "auxclick", + "dblclick", + "pointercancel", + "pointerdown", + "pointerup", + "dragend", + "dragstart", + "drop", + "compositionend", + "compositionstart", + "keydown", + "keypress", + "keyup", + "input", + "textInput", + "copy", + "cut", + "paste", + "click", + "change", + "contextmenu", + "reset", + "submit" + ]; function isReplayableDiscreteEvent(eventType) { return discreteReplayableEvents.indexOf(eventType) > -1; } @@ -1757,7 +2073,9 @@ domEventName: domEventName, eventSystemFlags: 16 | eventSystemFlags, nativeEvent: nativeEvent, - targetContainers: [targetContainer] + targetContainers: [ + targetContainer + ] }; } function queueDiscreteEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) { @@ -1805,9 +2123,12 @@ } function queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) { switch(domEventName){ - case "focusin": return queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(queuedFocus, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0; - case "dragenter": return queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(queuedDrag, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0; - case "mouseover": return queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(queuedMouse, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0; + case "focusin": + return queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(queuedFocus, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0; + case "dragenter": + return queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(queuedDrag, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0; + case "mouseover": + return queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(queuedMouse, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), !0; case "pointerover": var pointerEvent = nativeEvent, pointerId = pointerEvent.pointerId; return queuedPointers.set(pointerId, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointers.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, pointerEvent)), !0; @@ -1830,10 +2151,7 @@ attemptHydrationAtCurrentPriority(nearestMounted); }); }); - } else if (3 === tag) { - var root = nearestMounted.stateNode; - root.hydrate && (queuedTarget.blockedOn = getContainerFromFiber(nearestMounted)); - } + } else if (3 === tag && nearestMounted.stateNode.hydrate) return void (queuedTarget.blockedOn = getContainerFromFiber(nearestMounted)); } } queuedTarget.blockedOn = null; @@ -1923,7 +2241,9 @@ function registerSimplePluginEventsAndSetTheirPriorities(eventTypes, priority) { for(var i = 0; i < eventTypes.length; i += 2){ var topEvent = eventTypes[i], event = eventTypes[i + 1], reactName = "on" + (event[0].toUpperCase() + event.slice(1)); - eventPriorities.set(topEvent, priority), topLevelEventsToReactNames.set(topEvent, reactName), registerTwoPhaseEvent(reactName, [topEvent]); + eventPriorities.set(topEvent, priority), topLevelEventsToReactNames.set(topEvent, reactName), registerTwoPhaseEvent(reactName, [ + topEvent + ]); } } function getEventPriorityForPluginSystem(domEventName) { @@ -1958,33 +2278,44 @@ } function schedulerPriorityToLanePriority(schedulerPriorityLevel) { switch(schedulerPriorityLevel){ - case 99: return 15; - case 98: return 10; + case 99: + return 15; + case 98: + return 10; case 97: - case 96: return 8; - case 95: return 2; - default: return 0; + case 96: + return 8; + case 95: + return 2; + default: + return 0; } } function lanePriorityToSchedulerPriority(lanePriority) { switch(lanePriority){ case 15: - case 14: return 99; + case 14: + return 99; case 13: case 12: case 11: - case 10: return 98; + case 10: + return 98; case 9: case 8: case 7: case 6: case 4: - case 5: return 97; + case 5: + return 97; case 3: case 2: - case 1: return 95; - case 0: return 90; - default: throw Error("Invalid update priority: " + lanePriority + ". This is a bug in React."); + case 1: + return 95; + case 0: + return 90; + default: + throw Error("Invalid update priority: " + lanePriority + ". This is a bug in React."); } } function getNextLanes(root, wipLanes) { @@ -2008,9 +2339,7 @@ } if (nextLanes === NoLanes) return NoLanes; if (nextLanes = pendingLanes & getEqualOrHigherPriorityLanes(nextLanes), wipLanes !== NoLanes && wipLanes !== nextLanes && (wipLanes & suspendedLanes) === NoLanes) { - getHighestPriorityLanes(wipLanes); - var wipLanePriority = return_highestLanePriority; - if (nextLanePriority <= wipLanePriority) return wipLanes; + if (getHighestPriorityLanes(wipLanes), nextLanePriority <= return_highestLanePriority) return wipLanes; return_highestLanePriority = nextLanePriority; } var entangledLanes = root.entangledLanes; @@ -2056,9 +2385,12 @@ } function findUpdateLane(lanePriority, wipLanes) { switch(lanePriority){ - case 0: break; - case 15: return SyncLane; - case 14: return 2; + case 0: + break; + case 15: + return SyncLane; + case 14: + return 2; case 12: var _lane = pickArbitraryLane(24 & ~wipLanes); if (_lane === NoLane) return findUpdateLane(10, wipLanes); @@ -2071,7 +2403,8 @@ var _lane3 = pickArbitraryLane(3584 & ~wipLanes); return _lane3 === NoLane && (_lane3 = pickArbitraryLane(4186112 & ~wipLanes)) === NoLane && (_lane3 = pickArbitraryLane(3584)), _lane3; case 6: - case 5: break; + case 5: + break; case 2: var lane = pickArbitraryLane(805306368 & ~wipLanes); return lane === NoLane && (lane = pickArbitraryLane(805306368)), lane; @@ -2166,11 +2499,9 @@ entanglements[index] |= entangledLanes, lanes &= ~lane; } } - var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2; - function clz32Fallback(lanes) { + var clz32 = Math.clz32 ? Math.clz32 : function clz32Fallback(lanes) { return 0 === lanes ? 32 : 31 - (log(lanes) / LN2 | 0) | 0; - } - var UserBlockingPriority$1 = unstable_UserBlockingPriority, runWithPriority = unstable_runWithPriority, _enabled = !0; + }, log = Math.log, LN2 = Math.LN2, UserBlockingPriority$1 = unstable_UserBlockingPriority, runWithPriority = unstable_runWithPriority, _enabled = !0; function setEnabled(enabled) { _enabled = !!enabled; } @@ -2202,9 +2533,14 @@ function dispatchEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) { if (_enabled) { var allowReplay = !0; - (allowReplay = (4 & eventSystemFlags) == 0) && hasQueuedDiscreteEvents() && isReplayableDiscreteEvent(domEventName) && queueDiscreteEvent(null, domEventName, eventSystemFlags, targetContainer, nativeEvent); + if ((allowReplay = (4 & eventSystemFlags) == 0) && hasQueuedDiscreteEvents() && isReplayableDiscreteEvent(domEventName)) return void queueDiscreteEvent(null, domEventName, eventSystemFlags, targetContainer, nativeEvent); var blockedOn = attemptToDispatchEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent); - null === blockedOn && allowReplay && clearIfContinuousEvent(domEventName, nativeEvent), allowReplay && (isReplayableDiscreteEvent(domEventName) && queueDiscreteEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) || clearIfContinuousEvent(domEventName, nativeEvent)), dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, null, targetContainer); + if (null === blockedOn) return void (allowReplay && clearIfContinuousEvent(domEventName, nativeEvent)); + if (allowReplay) { + if (isReplayableDiscreteEvent(domEventName)) return void queueDiscreteEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent); + queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) || clearIfContinuousEvent(domEventName, nativeEvent); + } + dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, null, targetContainer); } } function attemptToDispatchEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) { @@ -2219,8 +2555,7 @@ if (null !== instance) return instance; targetInst = null; } else if (3 === tag) { - var root = nearestMounted.stateNode; - if (root.hydrate) return getContainerFromFiber(nearestMounted); + if (nearestMounted.stateNode.hydrate) return getContainerFromFiber(nearestMounted); targetInst = null; } else nearestMounted !== targetInst && (targetInst = null); } @@ -2488,15 +2823,23 @@ }, deltaZ: 0, deltaMode: 0 - })), END_KEYCODES = [9, 13, 27, 32], canUseCompositionEvent = canUseDOM && "CompositionEvent" in window, documentMode = null, canUseTextInputEvent = canUseDOM && "TextEvent" in window && !documentMode, useFallbackCompositionData = canUseDOM && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11), hasSpaceKeypress = !1; + })), END_KEYCODES = [ + 9, + 13, + 27, + 32 + ], canUseCompositionEvent = canUseDOM && "CompositionEvent" in window, documentMode = null, canUseTextInputEvent = canUseDOM && "TextEvent" in window && !documentMode, useFallbackCompositionData = canUseDOM && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11), hasSpaceKeypress = !1; function isKeypressCommand(nativeEvent) { return (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) && !(nativeEvent.ctrlKey && nativeEvent.altKey); } function getCompositionEventType(domEventName) { switch(domEventName){ - case "compositionstart": return "onCompositionStart"; - case "compositionend": return "onCompositionEnd"; - case "compositionupdate": return "onCompositionUpdate"; + case "compositionstart": + return "onCompositionStart"; + case "compositionend": + return "onCompositionEnd"; + case "compositionupdate": + return "onCompositionUpdate"; } } function isFallbackCompositionStart(domEventName, nativeEvent) { @@ -2504,12 +2847,16 @@ } function isFallbackCompositionEnd(domEventName, nativeEvent) { switch(domEventName){ - case "keyup": return -1 !== END_KEYCODES.indexOf(nativeEvent.keyCode); - case "keydown": return 229 !== nativeEvent.keyCode; + case "keyup": + return -1 !== END_KEYCODES.indexOf(nativeEvent.keyCode); + case "keydown": + return 229 !== nativeEvent.keyCode; case "keypress": case "mousedown": - case "focusout": return !0; - default: return !1; + case "focusout": + return !0; + default: + return !1; } } function getDataFromCustomEvent(nativeEvent) { @@ -2539,16 +2886,17 @@ } function getNativeBeforeInputChars(domEventName, nativeEvent) { switch(domEventName){ - case "compositionend": return getDataFromCustomEvent(nativeEvent); + case "compositionend": + return getDataFromCustomEvent(nativeEvent); case "keypress": - var which = nativeEvent.which; - if (32 !== which) return null; + if (32 !== nativeEvent.which) return null; return hasSpaceKeypress = !0, " "; case "textInput": var chars = nativeEvent.data; if (" " === chars && hasSpaceKeypress) return null; return chars; - default: return null; + default: + return null; } } function getFallbackBeforeInputChars(domEventName, nativeEvent) { @@ -2560,15 +2908,18 @@ return null; } switch(domEventName){ - case "paste": return null; + case "paste": + return null; case "keypress": if (!isKeypressCommand(nativeEvent)) { if (nativeEvent.char && nativeEvent.char.length > 1) return nativeEvent.char; if (nativeEvent.which) return String.fromCharCode(nativeEvent.which); } return null; - case "compositionend": return useFallbackCompositionData && !isUsingKoreanIME(nativeEvent) ? null : nativeEvent.data; - default: return null; + case "compositionend": + return useFallbackCompositionData && !isUsingKoreanIME(nativeEvent) ? null : nativeEvent.data; + default: + return null; } } function extractBeforeInputEvent(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget) { @@ -2631,8 +2982,7 @@ processDispatchQueue(dispatchQueue, 0); } function getInstIfValueChanged(targetInst) { - var targetNode = getNodeFromInstance(targetInst); - if (updateValueIfChanged(targetNode)) return targetInst; + if (updateValueIfChanged(getNodeFromInstance(targetInst))) return targetInst; } function getTargetInstForChangeEvent(domEventName, targetInst) { if ("change" === domEventName) return targetInst; @@ -2671,12 +3021,12 @@ var getTargetInstFunc, handleEventFunc, targetNode = targetInst ? getNodeFromInstance(targetInst) : window; if (shouldUseChangeEvent(targetNode) ? getTargetInstFunc = getTargetInstForChangeEvent : isTextInputElement(targetNode) ? isInputEventSupported ? getTargetInstFunc = getTargetInstForInputOrChangeEvent : (getTargetInstFunc = getTargetInstForInputEventPolyfill, handleEventFunc = handleEventsForInputEventPolyfill) : shouldUseClickEvent(targetNode) && (getTargetInstFunc = getTargetInstForClickEvent), getTargetInstFunc) { var inst = getTargetInstFunc(domEventName, targetInst); - inst && createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, nativeEventTarget); + if (inst) return void createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, nativeEventTarget); } handleEventFunc && handleEventFunc(domEventName, targetNode, targetInst), "focusout" === domEventName && handleControlledInputBlur(targetNode); } function extractEvents$2(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) { - var win, from, to, isOverEvent = "mouseover" === domEventName || "pointerover" === domEventName, isOutEvent = "mouseout" === domEventName || "pointerout" === domEventName; + var isOverEvent = "mouseover" === domEventName || "pointerover" === domEventName, isOutEvent = "mouseout" === domEventName || "pointerout" === domEventName; if (isOverEvent && (16 & eventSystemFlags) == 0) { var related = nativeEvent.relatedTarget || nativeEvent.fromElement; if (related && (getClosestInstanceFromNode(related) || isContainerMarkedAsRoot(related))) return; @@ -2688,19 +3038,16 @@ win = doc ? doc.defaultView || doc.parentWindow : window; } if (isOutEvent) { - var _related = nativeEvent.relatedTarget || nativeEvent.toElement; - if (from = targetInst, null !== (to = _related ? getClosestInstanceFromNode(_related) : null)) { - var nearestMounted = getNearestMountedFiber(to); - (to !== nearestMounted || 5 !== to.tag && 6 !== to.tag) && (to = null); - } + var win, from, to, _related = nativeEvent.relatedTarget || nativeEvent.toElement; + from = targetInst, null !== (to = _related ? getClosestInstanceFromNode(_related) : null) && (to !== getNearestMountedFiber(to) || 5 !== to.tag && 6 !== to.tag) && (to = null); } else from = null, to = targetInst; if (from !== to) { var SyntheticEventCtor = SyntheticMouseEvent, leaveEventType = "onMouseLeave", enterEventType = "onMouseEnter", eventTypePrefix = "mouse"; ("pointerout" === domEventName || "pointerover" === domEventName) && (SyntheticEventCtor = SyntheticPointerEvent, leaveEventType = "onPointerLeave", enterEventType = "onPointerEnter", eventTypePrefix = "pointer"); var fromNode = null == from ? win : getNodeFromInstance(from), toNode = null == to ? win : getNodeFromInstance(to), leave = new SyntheticEventCtor(leaveEventType, eventTypePrefix + "leave", from, nativeEvent, nativeEventTarget); leave.target = fromNode, leave.relatedTarget = toNode; - var enter = null, nativeTargetInst = getClosestInstanceFromNode(nativeEventTarget); - if (nativeTargetInst === targetInst) { + var enter = null; + if (getClosestInstanceFromNode(nativeEventTarget) === targetInst) { var enterEvent = new SyntheticEventCtor(enterEventType, eventTypePrefix + "enter", to, nativeEvent, nativeEventTarget); enterEvent.target = toNode, enterEvent.relatedTarget = fromNode, enter = enterEvent; } @@ -2900,9 +3247,11 @@ case "dragend": mouseDown = !1, constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget); break; - case "selectionchange": if (skipSelectionChangeEvent) break; + case "selectionchange": + if (skipSelectionChangeEvent) break; case "keydown": - case "keyup": constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget); + case "keyup": + constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget); } } function extractEvents$4(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) { @@ -2910,7 +3259,8 @@ if (void 0 !== reactName) { var SyntheticEventCtor = SyntheticEvent, reactEventType = domEventName; switch(domEventName){ - case "keypress": if (0 === getEventCharCode(nativeEvent)) return; + case "keypress": + if (0 === getEventCharCode(nativeEvent)) return; case "keydown": case "keyup": SyntheticEventCtor = SyntheticKeyboardEvent; @@ -2925,7 +3275,8 @@ case "afterblur": SyntheticEventCtor = SyntheticFocusEvent; break; - case "click": if (2 === nativeEvent.button) return; + case "click": + if (2 === nativeEvent.button) return; case "auxclick": case "dblclick": case "mousedown": @@ -2995,7 +3346,38 @@ function extractEvents$5(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) { extractEvents$4(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags), (7 & eventSystemFlags) == 0 && (extractEvents$2(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags), extractEvents$1(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget), extractEvents$3(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget), extractEvents(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget)); } - var mediaEventTypes = ["abort", "canplay", "canplaythrough", "durationchange", "emptied", "encrypted", "ended", "error", "loadeddata", "loadedmetadata", "loadstart", "pause", "play", "playing", "progress", "ratechange", "seeked", "seeking", "stalled", "suspend", "timeupdate", "volumechange", "waiting"], nonDelegatedEvents = new Set(["cancel", "close", "invalid", "load", "scroll", "toggle"].concat(mediaEventTypes)); + var mediaEventTypes = [ + "abort", + "canplay", + "canplaythrough", + "durationchange", + "emptied", + "encrypted", + "ended", + "error", + "loadeddata", + "loadedmetadata", + "loadstart", + "pause", + "play", + "playing", + "progress", + "ratechange", + "seeked", + "seeking", + "stalled", + "suspend", + "timeupdate", + "volumechange", + "waiting" + ], nonDelegatedEvents = new Set([ + "cancel", + "close", + "invalid", + "load", + "scroll", + "toggle" + ].concat(mediaEventTypes)); function executeDispatch(event, listener, currentTarget) { var type = event.type || "unknown-event"; event.currentTarget = currentTarget, invokeGuardedCallbackAndCatchFirstError(type, listener, void 0, event), event.currentTarget = null; @@ -3014,7 +3396,10 @@ } } function processDispatchQueue(dispatchQueue, eventSystemFlags) { - for(var listeners, event, inCapturePhase = (4 & eventSystemFlags) !== 0, i = 0; i < dispatchQueue.length; i++)processDispatchQueueItemsInOrder(event, listeners, inCapturePhase); + for(var inCapturePhase = (4 & eventSystemFlags) !== 0, i = 0; i < dispatchQueue.length; i++){ + var _dispatchQueue$i = dispatchQueue[i]; + processDispatchQueueItemsInOrder(_dispatchQueue$i.event, _dispatchQueue$i.listeners, inCapturePhase); + } rethrowCaughtError(); } function dispatchEventsForPlugins(domEventName, eventSystemFlags, nativeEvent, targetInst, targetContainer) { @@ -3246,7 +3631,8 @@ case "textarea": initWrapperState$2(domElement, rawProps), props = getHostProps$3(domElement, rawProps), listenToNonDelegatedEvent("invalid", domElement); break; - default: props = rawProps; + default: + props = rawProps; } switch(assertValidProps(tag, props), setInitialDOMProperties(tag, domElement, rootContainerElement, props, isCustomComponentTag), tag){ case "input": @@ -3370,17 +3756,28 @@ for(var attributes = domElement.attributes, _i = 0; _i < attributes.length; _i++){ var name = attributes[_i].name.toLowerCase(); switch(name){ - case "data-reactroot": break; - case "value": break; - case "checked": break; - case "selected": break; - default: extraAttributeNames.add(attributes[_i].name); + case "data-reactroot": + break; + case "value": + break; + case "checked": + break; + case "selected": + break; + default: + extraAttributeNames.add(attributes[_i].name); } } var updatePayload = null; for(var propKey in rawProps)if (rawProps.hasOwnProperty(propKey)) { var nextProp = rawProps[propKey]; - if ("children" === propKey) "string" == typeof nextProp ? domElement.textContent !== nextProp && (suppressHydrationWarning || warnForTextDifference(domElement.textContent, nextProp), updatePayload = ["children", nextProp]) : "number" == typeof nextProp && domElement.textContent !== "" + nextProp && (suppressHydrationWarning || warnForTextDifference(domElement.textContent, nextProp), updatePayload = ["children", "" + nextProp]); + if ("children" === propKey) "string" == typeof nextProp ? domElement.textContent !== nextProp && (suppressHydrationWarning || warnForTextDifference(domElement.textContent, nextProp), updatePayload = [ + "children", + nextProp + ]) : "number" == typeof nextProp && domElement.textContent !== "" + nextProp && (suppressHydrationWarning || warnForTextDifference(domElement.textContent, nextProp), updatePayload = [ + "children", + "" + nextProp + ]); else if (registrationNameDependencies.hasOwnProperty(propKey)) null != nextProp && ("function" != typeof nextProp && warnForInvalidEventListener(propKey, nextProp), "onScroll" === propKey && listenToNonDelegatedEvent("scroll", domElement)); else if ("boolean" == typeof isCustomComponentTag) { var serverValue = void 0, propertyInfo = getPropertyInfo(propKey); @@ -3422,7 +3819,8 @@ track(domElement), postMountWrapper$3(domElement); break; case "select": - case "option": break; + case "option": + break; default: "function" == typeof rawProps.onClick && trapClickOnNonInteractiveElement(domElement); break; @@ -3449,7 +3847,115 @@ } var SUPPRESS_HYDRATION_WARNING$1, validateDOMNesting = function() { }, updatedAncestorInfo = function() { - }, specialTags = ["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound", "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "dd", "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "iframe", "img", "input", "isindex", "li", "link", "listing", "main", "marquee", "menu", "menuitem", "meta", "nav", "noembed", "noframes", "noscript", "object", "ol", "p", "param", "plaintext", "pre", "script", "section", "select", "source", "style", "summary", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "title", "tr", "track", "ul", "wbr", "xmp"], inScopeTags = ["applet", "caption", "html", "table", "td", "th", "marquee", "object", "template", "foreignObject", "desc", "title"], buttonScopeTags = inScopeTags.concat(["button"]), impliedEndTags = ["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"], emptyAncestorInfo = { + }, specialTags = [ + "address", + "applet", + "area", + "article", + "aside", + "base", + "basefont", + "bgsound", + "blockquote", + "body", + "br", + "button", + "caption", + "center", + "col", + "colgroup", + "dd", + "details", + "dir", + "div", + "dl", + "dt", + "embed", + "fieldset", + "figcaption", + "figure", + "footer", + "form", + "frame", + "frameset", + "h1", + "h2", + "h3", + "h4", + "h5", + "h6", + "head", + "header", + "hgroup", + "hr", + "html", + "iframe", + "img", + "input", + "isindex", + "li", + "link", + "listing", + "main", + "marquee", + "menu", + "menuitem", + "meta", + "nav", + "noembed", + "noframes", + "noscript", + "object", + "ol", + "p", + "param", + "plaintext", + "pre", + "script", + "section", + "select", + "source", + "style", + "summary", + "table", + "tbody", + "td", + "template", + "textarea", + "tfoot", + "th", + "thead", + "title", + "tr", + "track", + "ul", + "wbr", + "xmp" + ], inScopeTags = [ + "applet", + "caption", + "html", + "table", + "td", + "th", + "marquee", + "object", + "template", + "foreignObject", + "desc", + "title" + ], buttonScopeTags = inScopeTags.concat([ + "button" + ]), impliedEndTags = [ + "dd", + "dt", + "li", + "option", + "optgroup", + "p", + "rp", + "rt" + ], emptyAncestorInfo = { current: null, formTag: null, aTagInScope: null, @@ -3460,19 +3966,30 @@ dlItemTagAutoclosing: null }, isTagValidWithParent = function(tag, parentTag) { switch(parentTag){ - case "select": return "option" === tag || "optgroup" === tag || "#text" === tag; - case "optgroup": return "option" === tag || "#text" === tag; - case "option": return "#text" === tag; - case "tr": return "th" === tag || "td" === tag || "style" === tag || "script" === tag || "template" === tag; + case "select": + return "option" === tag || "optgroup" === tag || "#text" === tag; + case "optgroup": + return "option" === tag || "#text" === tag; + case "option": + return "#text" === tag; + case "tr": + return "th" === tag || "td" === tag || "style" === tag || "script" === tag || "template" === tag; case "tbody": case "thead": - case "tfoot": return "tr" === tag || "style" === tag || "script" === tag || "template" === tag; - case "colgroup": return "col" === tag || "template" === tag; - case "table": return "caption" === tag || "colgroup" === tag || "tbody" === tag || "tfoot" === tag || "thead" === tag || "style" === tag || "script" === tag || "template" === tag; - case "head": return "base" === tag || "basefont" === tag || "bgsound" === tag || "link" === tag || "meta" === tag || "title" === tag || "noscript" === tag || "noframes" === tag || "style" === tag || "script" === tag || "template" === tag; - case "html": return "head" === tag || "body" === tag || "frameset" === tag; - case "frameset": return "frame" === tag; - case "#document": return "html" === tag; + case "tfoot": + return "tr" === tag || "style" === tag || "script" === tag || "template" === tag; + case "colgroup": + return "col" === tag || "template" === tag; + case "table": + return "caption" === tag || "colgroup" === tag || "tbody" === tag || "tfoot" === tag || "thead" === tag || "style" === tag || "script" === tag || "template" === tag; + case "head": + return "base" === tag || "basefont" === tag || "bgsound" === tag || "link" === tag || "meta" === tag || "title" === tag || "noscript" === tag || "noframes" === tag || "style" === tag || "script" === tag || "template" === tag; + case "html": + return "head" === tag || "body" === tag || "frameset" === tag; + case "frameset": + return "frame" === tag; + case "#document": + return "html" === tag; } switch(tag){ case "h1": @@ -3480,9 +3997,11 @@ case "h3": case "h4": case "h5": - case "h6": return "h1" !== parentTag && "h2" !== parentTag && "h3" !== parentTag && "h4" !== parentTag && "h5" !== parentTag && "h6" !== parentTag; + case "h6": + return "h1" !== parentTag && "h2" !== parentTag && "h3" !== parentTag && "h4" !== parentTag && "h5" !== parentTag && "h6" !== parentTag; case "rp": - case "rt": return -1 === impliedEndTags.indexOf(parentTag); + case "rt": + return -1 === impliedEndTags.indexOf(parentTag); case "body": case "caption": case "col": @@ -3496,7 +4015,8 @@ case "tfoot": case "th": case "thead": - case "tr": return null == parentTag; + case "tr": + return null == parentTag; } return !0; }, findInvalidAncestorForTag = function(tag, ancestorInfo) { @@ -3535,14 +4055,21 @@ case "h3": case "h4": case "h5": - case "h6": return ancestorInfo.pTagInButtonScope; - case "form": return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope; - case "li": return ancestorInfo.listItemTagAutoclosing; + case "h6": + return ancestorInfo.pTagInButtonScope; + case "form": + return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope; + case "li": + return ancestorInfo.listItemTagAutoclosing; case "dd": - case "dt": return ancestorInfo.dlItemTagAutoclosing; - case "button": return ancestorInfo.buttonTagInScope; - case "a": return ancestorInfo.aTagInScope; - case "nobr": return ancestorInfo.nobrTagInScope; + case "dt": + return ancestorInfo.dlItemTagAutoclosing; + case "button": + return ancestorInfo.buttonTagInScope; + case "a": + return ancestorInfo.aTagInScope; + case "nobr": + return ancestorInfo.nobrTagInScope; } return null; }, didWarn$1 = { @@ -3552,7 +4079,8 @@ case "button": case "input": case "select": - case "textarea": return !!props.autoFocus; + case "textarea": + return !!props.autoFocus; } return !1; } @@ -3862,7 +4390,8 @@ }; } function pop(cursor, fiber) { - index < 0 && error("Unexpected pop."), fiber !== fiberStack[index] && error("Unexpected Fiber popped."), cursor.current = valueStack[index], valueStack[index] = null, fiberStack[index] = null, index--; + if (index < 0) return void error("Unexpected pop."); + fiber !== fiberStack[index] && error("Unexpected Fiber popped."), cursor.current = valueStack[index], valueStack[index] = null, fiberStack[index] = null, index--; } function push(cursor, value, fiber) { index++, valueStack[index] = cursor.current, fiberStack[index] = fiber, cursor.current = value; @@ -3930,7 +4459,8 @@ var node = fiber; do { switch(node.tag){ - case 3: return node.stateNode.context; + case 3: + return node.stateNode.context; case 1: var Component = node.type; if (isContextProvider(Component)) return node.stateNode.__reactInternalMemoizedMergedChildContext; @@ -3982,22 +4512,34 @@ }; function getCurrentPriorityLevel() { switch(Scheduler_getCurrentPriorityLevel()){ - case Scheduler_ImmediatePriority: return 99; - case Scheduler_UserBlockingPriority: return 98; - case Scheduler_NormalPriority: return NormalPriority$1; - case Scheduler_LowPriority: return 96; - case Scheduler_IdlePriority: return 95; - default: throw Error("Unknown priority level."); + case Scheduler_ImmediatePriority: + return 99; + case Scheduler_UserBlockingPriority: + return 98; + case Scheduler_NormalPriority: + return NormalPriority$1; + case Scheduler_LowPriority: + return 96; + case Scheduler_IdlePriority: + return 95; + default: + throw Error("Unknown priority level."); } } function reactPriorityToSchedulerPriority(reactPriorityLevel) { switch(reactPriorityLevel){ - case 99: return Scheduler_ImmediatePriority; - case 98: return Scheduler_UserBlockingPriority; - case NormalPriority$1: return Scheduler_NormalPriority; - case 96: return Scheduler_LowPriority; - case 95: return Scheduler_IdlePriority; - default: throw Error("Unknown priority level."); + case 99: + return Scheduler_ImmediatePriority; + case 98: + return Scheduler_UserBlockingPriority; + case NormalPriority$1: + return Scheduler_NormalPriority; + case 96: + return Scheduler_LowPriority; + case 95: + return Scheduler_IdlePriority; + default: + throw Error("Unknown priority level."); } } function runWithPriority$1(reactPriorityLevel, fn) { @@ -4007,7 +4549,9 @@ return Scheduler_scheduleCallback(reactPriorityToSchedulerPriority(reactPriorityLevel), callback, options); } function scheduleSyncCallback(callback) { - return null === syncQueue ? (syncQueue = [callback], immediateQueueCallbackNode = Scheduler_scheduleCallback(Scheduler_ImmediatePriority, flushSyncCallbackQueueImpl)) : syncQueue.push(callback), fakeCallbackNode; + return null === syncQueue ? (syncQueue = [ + callback + ], immediateQueueCallbackNode = Scheduler_scheduleCallback(Scheduler_ImmediatePriority, flushSyncCallbackQueueImpl)) : syncQueue.push(callback), fakeCallbackNode; } function cancelCallback(callbackNode) { callbackNode !== fakeCallbackNode && Scheduler_cancelCallback(callbackNode); @@ -4261,7 +4805,8 @@ return exitDisallowedContextReadInDEV(), nextState; } return payload; - case 3: workInProgress.flags = -4097 & workInProgress.flags | DidCapture; + case 3: + workInProgress.flags = -4097 & workInProgress.flags | DidCapture; case 0: var partialState, _payload = update.payload; if ("function" == typeof _payload) { @@ -4278,7 +4823,8 @@ if (null == partialState) return prevState; return _assign({ }, prevState, partialState); - case ForceUpdate: return hasForceUpdate = !0, prevState; + case ForceUpdate: + return hasForceUpdate = !0, prevState; } return prevState; } @@ -4316,7 +4862,9 @@ if (null !== callback) { workInProgress.flags |= 32; var effects = queue.effects; - null === effects ? queue.effects = [update] : effects.push(update); + null === effects ? queue.effects = [ + update + ] : effects.push(update); } } else { var clone = { @@ -4426,13 +4974,10 @@ } function constructClassInstance(workInProgress, ctor, props) { var isLegacyContextConsumer = !1, unmaskedContext = emptyContextObject, context = emptyContextObject, contextType = ctor.contextType; - if ("contextType" in ctor) { - var isValid = null === contextType || void 0 !== contextType && contextType.$$typeof === REACT_CONTEXT_TYPE && void 0 === contextType._context; - if (!isValid && !didWarnAboutInvalidateContextType.has(ctor)) { - didWarnAboutInvalidateContextType.add(ctor); - var addendum = ""; - addendum = void 0 === contextType ? " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : "object" != typeof contextType ? " However, it is set to a " + typeof contextType + "." : contextType.$$typeof === REACT_PROVIDER_TYPE ? " Did you accidentally pass the Context.Provider instead?" : void 0 !== contextType._context ? " Did you accidentally pass the Context.Consumer instead?" : " However, it is set to an object with keys {" + Object.keys(contextType).join(", ") + "}.", error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", getComponentName(ctor) || "Component", addendum); - } + if ("contextType" in ctor && !(null === contextType || void 0 !== contextType && contextType.$$typeof === REACT_CONTEXT_TYPE && void 0 === contextType._context) && !didWarnAboutInvalidateContextType.has(ctor)) { + didWarnAboutInvalidateContextType.add(ctor); + var addendum = ""; + addendum = void 0 === contextType ? " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : "object" != typeof contextType ? " However, it is set to a " + typeof contextType + "." : contextType.$$typeof === REACT_PROVIDER_TYPE ? " Did you accidentally pass the Context.Provider instead?" : void 0 !== contextType._context ? " Did you accidentally pass the Context.Consumer instead?" : " However, it is set to an object with keys {" + Object.keys(contextType).join(", ") + "}.", error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", getComponentName(ctor) || "Component", addendum); } if ("object" == typeof contextType && null !== contextType) context = readContext(contextType); else { @@ -4675,7 +5220,8 @@ var _matchedFiber = existingChildren.get(null === newChild.key ? newIdx : newChild.key) || null; if (newChild.type === REACT_FRAGMENT_TYPE) return updateFragment(returnFiber, _matchedFiber, newChild.props.children, lanes, newChild.key); return updateElement(returnFiber, _matchedFiber, newChild, lanes); - case REACT_PORTAL_TYPE: return updatePortal(returnFiber, existingChildren.get(null === newChild.key ? newIdx : newChild.key) || null, newChild, lanes); + case REACT_PORTAL_TYPE: + return updatePortal(returnFiber, existingChildren.get(null === newChild.key ? newIdx : newChild.key) || null, newChild, lanes); } if (isArray$1(newChild) || getIteratorFn(newChild)) return updateFragment(returnFiber, existingChildren.get(newIdx) || null, newChild, lanes, null); throwOnInvalidObjectType(returnFiber, newChild); @@ -4832,20 +5378,22 @@ isUnkeyedTopLevelFragment && (newChild = newChild.props.children); var isObject = "object" == typeof newChild && null !== newChild; if (isObject) switch(newChild.$$typeof){ - case REACT_ELEMENT_TYPE: return placeSingleChild(reconcileSingleElement(returnFiber, currentFirstChild, newChild, lanes)); - case REACT_PORTAL_TYPE: return placeSingleChild(reconcileSinglePortal(returnFiber, currentFirstChild, newChild, lanes)); + case REACT_ELEMENT_TYPE: + return placeSingleChild(reconcileSingleElement(returnFiber, currentFirstChild, newChild, lanes)); + case REACT_PORTAL_TYPE: + return placeSingleChild(reconcileSinglePortal(returnFiber, currentFirstChild, newChild, lanes)); } if ("string" == typeof newChild || "number" == typeof newChild) return placeSingleChild(reconcileSingleTextNode(returnFiber, currentFirstChild, "" + newChild, lanes)); if (isArray$1(newChild)) return reconcileChildrenArray(returnFiber, currentFirstChild, newChild, lanes); if (getIteratorFn(newChild)) return reconcileChildrenIterator(returnFiber, currentFirstChild, newChild, lanes); if (isObject && throwOnInvalidObjectType(returnFiber, newChild), "function" == typeof newChild && warnOnFunctionType(returnFiber), void 0 === newChild && !isUnkeyedTopLevelFragment) switch(returnFiber.tag){ case 1: - var instance = returnFiber.stateNode; - if (instance.render._isMockFunction) break; + if (returnFiber.stateNode.render._isMockFunction) break; case 22: case 0: case 11: - case 15: throw Error((getComponentName(returnFiber.type) || "Component") + "(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null."); + case 15: + throw Error((getComponentName(returnFiber.type) || "Component") + "(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null."); } return deleteRemainingChildren(returnFiber, currentFirstChild); }; @@ -4982,7 +5530,8 @@ break; } break; - default: return; + default: + return; } } function tryHydrate(fiber, nextInstance) { @@ -4995,8 +5544,10 @@ var textInstance = canHydrateTextInstance(nextInstance, fiber.pendingProps); if (null !== textInstance) return fiber.stateNode = textInstance, !0; return !1; - case 13: return !1; - default: return !1; + case 13: + return !1; + default: + return !1; } } function tryToClaimNextHydratableInstance(fiber) { @@ -5057,7 +5608,7 @@ workInProgressSources.push(mutableSource); } function resetWorkInProgressVersions() { - for(var mutableSource, i = 0; i < workInProgressSources.length; i++)mutableSource._workInProgressVersionPrimary = null; + for(var i = 0; i < workInProgressSources.length; i++)workInProgressSources[i]._workInProgressVersionPrimary = null; workInProgressSources.length = 0; } function getWorkInProgressVersion(mutableSource) { @@ -5072,7 +5623,9 @@ var didWarnAboutMismatchedHooksForComponent, didWarnAboutUseOpaqueIdentifier, ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher, ReactCurrentBatchConfig$1 = ReactSharedInternals.ReactCurrentBatchConfig, renderLanes = NoLanes, currentlyRenderingFiber$1 = null, currentHook = null, workInProgressHook = null, didScheduleRenderPhaseUpdate = !1, didScheduleRenderPhaseUpdateDuringThisPass = !1, currentHookNameInDev = null, hookTypesDev = null, hookTypesUpdateIndexDev = -1, ignorePreviousDependencies = !1; function mountHookTypesDev() { var hookName = currentHookNameInDev; - null === hookTypesDev ? hookTypesDev = [hookName] : hookTypesDev.push(hookName); + null === hookTypesDev ? hookTypesDev = [ + hookName + ] : hookTypesDev.push(hookName); } function updateHookTypesDev() { var hookName = currentHookNameInDev; @@ -5175,7 +5728,10 @@ lastRenderedReducer: reducer, lastRenderedState: initialState }, dispatch = queue.dispatch = dispatchAction.bind(null, currentlyRenderingFiber$1, queue); - return [hook.memoizedState, dispatch]; + return [ + hook.memoizedState, + dispatch + ]; } function updateReducer(reducer, initialArg, init) { var hook = updateWorkInProgressHook(), queue = hook.queue; @@ -5224,7 +5780,10 @@ null === newBaseQueueLast ? newBaseState = newState : newBaseQueueLast.next = newBaseQueueFirst, objectIs(newState, hook.memoizedState) || markWorkInProgressReceivedUpdate(), hook.memoizedState = newState, hook.baseState = newBaseState, hook.baseQueue = newBaseQueueLast, queue.lastRenderedState = newState; } var dispatch = queue.dispatch; - return [hook.memoizedState, dispatch]; + return [ + hook.memoizedState, + dispatch + ]; } function rerenderReducer(reducer, initialArg, init) { var hook = updateWorkInProgressHook(), queue = hook.queue; @@ -5240,8 +5799,10 @@ }while (update !== firstRenderPhaseUpdate) objectIs(newState, hook.memoizedState) || markWorkInProgressReceivedUpdate(), hook.memoizedState = newState, null === hook.baseQueue && (hook.baseState = newState), queue.lastRenderedState = newState; } - return [newState, - dispatch]; + return [ + newState, + dispatch + ]; } function readFromUnsubcribedMutableSource(root, source, getSnapshot) { warnAboutMultipleRenderersDEV(source); @@ -5263,15 +5824,15 @@ source: source, subscribe: subscribe }, dispatcher.useEffect(function() { - refs.getSnapshot = getSnapshot, refs.setSnapshot = setSnapshot; - var maybeNewVersion = getVersion(source._source); - if (!objectIs(version, maybeNewVersion)) { + if (refs.getSnapshot = getSnapshot, refs.setSnapshot = setSnapshot, !objectIs(version, getVersion(source._source))) { var maybeNewSnapshot = getSnapshot(source._source); "function" == typeof maybeNewSnapshot && error("Mutable source should not return a function as the snapshot value. Functions may close over mutable values and cause tearing."), objectIs(snapshot, maybeNewSnapshot) || (setSnapshot(maybeNewSnapshot), markRootMutableRead(root, requestUpdateLane(fiber))), markRootEntangled(root, root.mutableReadLanes); } - }, [getSnapshot, + }, [ + getSnapshot, source, - subscribe]), dispatcher.useEffect(function() { + subscribe + ]), dispatcher.useEffect(function() { var unsubscribe = subscribe(source._source, function() { var latestGetSnapshot = refs.getSnapshot, latestSetSnapshot = refs.setSnapshot; try { @@ -5285,8 +5846,10 @@ } }); return "function" != typeof unsubscribe && error("Mutable source subscribe function must return an unsubscribe function."), unsubscribe; - }, [source, - subscribe]), !objectIs(prevGetSnapshot, getSnapshot) || !objectIs(prevSource, source) || !objectIs(prevSubscribe, subscribe)) { + }, [ + source, + subscribe + ]), !objectIs(prevGetSnapshot, getSnapshot) || !objectIs(prevSource, source) || !objectIs(prevSubscribe, subscribe)) { var newQueue = { pending: null, dispatch: null, @@ -5320,7 +5883,10 @@ lastRenderedReducer: basicStateReducer, lastRenderedState: initialState }, dispatch = queue.dispatch = dispatchAction.bind(null, currentlyRenderingFiber$1, queue); - return [hook.memoizedState, dispatch]; + return [ + hook.memoizedState, + dispatch + ]; } function updateState(initialState) { return updateReducer(basicStateReducer); @@ -5364,7 +5930,7 @@ var hook = updateWorkInProgressHook(), nextDeps = void 0 === deps ? null : deps, destroy = void 0; if (null !== currentHook) { var prevEffect = currentHook.memoizedState; - destroy = prevEffect.destroy, null !== nextDeps && areHookInputsEqual(nextDeps, prevEffect.deps) && pushEffect(hookFlags, create, destroy, nextDeps); + if (destroy = prevEffect.destroy, null !== nextDeps && areHookInputsEqual(nextDeps, prevEffect.deps)) return void pushEffect(hookFlags, create, destroy, nextDeps); } currentlyRenderingFiber$1.flags |= fiberFlags, hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, nextDeps); } @@ -5398,12 +5964,16 @@ } function mountImperativeHandle(ref, create, deps) { "function" != typeof create && error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", null !== create ? typeof create : "null"); - var effectDeps = null != deps ? deps.concat([ref]) : null; + var effectDeps = null != deps ? deps.concat([ + ref + ]) : null; return mountEffectImpl(Update, 2, imperativeHandleEffect.bind(null, create, ref), effectDeps); } function updateImperativeHandle(ref, create, deps) { "function" != typeof create && error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", null !== create ? typeof create : "null"); - var effectDeps = null != deps ? deps.concat([ref]) : null; + var effectDeps = null != deps ? deps.concat([ + ref + ]) : null; return updateEffectImpl(Update, 2, imperativeHandleEffect.bind(null, create, ref), effectDeps); } function mountDebugValue(value, formatterFn) { @@ -5411,30 +5981,33 @@ var updateDebugValue = mountDebugValue; function mountCallback(callback, deps) { var hook = mountWorkInProgressHook(); - return hook.memoizedState = [callback, void 0 === deps ? null : deps], callback; + return hook.memoizedState = [ + callback, + void 0 === deps ? null : deps + ], callback; } function updateCallback(callback, deps) { var hook = updateWorkInProgressHook(), nextDeps = void 0 === deps ? null : deps, prevState = hook.memoizedState; - if (null !== prevState && null !== nextDeps) { - var prevDeps = prevState[1]; - if (areHookInputsEqual(nextDeps, prevDeps)) return prevState[0]; - } - return hook.memoizedState = [callback, - nextDeps], callback; + return null !== prevState && null !== nextDeps && areHookInputsEqual(nextDeps, prevState[1]) ? prevState[0] : (hook.memoizedState = [ + callback, + nextDeps + ], callback); } function mountMemo(nextCreate, deps) { var hook = mountWorkInProgressHook(), nextValue = nextCreate(); - return hook.memoizedState = [nextValue, void 0 === deps ? null : deps], nextValue; + return hook.memoizedState = [ + nextValue, + void 0 === deps ? null : deps + ], nextValue; } function updateMemo(nextCreate, deps) { var hook = updateWorkInProgressHook(), nextDeps = void 0 === deps ? null : deps, prevState = hook.memoizedState; - if (null !== prevState && null !== nextDeps) { - var prevDeps = prevState[1]; - if (areHookInputsEqual(nextDeps, prevDeps)) return prevState[0]; - } + if (null !== prevState && null !== nextDeps && areHookInputsEqual(nextDeps, prevState[1])) return prevState[0]; var nextValue = nextCreate(); - return hook.memoizedState = [nextValue, - nextDeps], nextValue; + return hook.memoizedState = [ + nextValue, + nextDeps + ], nextValue; } function mountDeferredValue(value) { var _mountState = mountState(value), prevValue = _mountState[0], setValue = _mountState[1]; @@ -5446,7 +6019,9 @@ } finally{ ReactCurrentBatchConfig$1.transition = prevTransition; } - }, [value]), prevValue; + }, [ + value + ]), prevValue; } function updateDeferredValue(value) { var _updateState = updateState(), prevValue = _updateState[0], setValue = _updateState[1]; @@ -5458,7 +6033,9 @@ } finally{ ReactCurrentBatchConfig$1.transition = prevTransition; } - }, [value]), prevValue; + }, [ + value + ]), prevValue; } function rerenderDeferredValue(value) { var _rerenderState = rerenderState(), prevValue = _rerenderState[0], setValue = _rerenderState[1]; @@ -5470,7 +6047,9 @@ } finally{ ReactCurrentBatchConfig$1.transition = prevTransition; } - }, [value]), prevValue; + }, [ + value + ]), prevValue; } function startTransition(setPending, callback) { var priorityLevel = getCurrentPriorityLevel(); @@ -5488,16 +6067,24 @@ } function mountTransition() { var _mountState2 = mountState(!1), isPending = _mountState2[0], setPending = _mountState2[1], start = startTransition.bind(null, setPending); - return mountRef(start), [start, - isPending]; + return mountRef(start), [ + start, + isPending + ]; } function updateTransition() { var isPending = updateState()[0]; - return [updateRef().current, isPending]; + return [ + updateRef().current, + isPending + ]; } function rerenderTransition() { var isPending = rerenderState()[0]; - return [updateRef().current, isPending]; + return [ + updateRef().current, + isPending + ]; } var isUpdatingOpaqueValueInRenderPhase = !1; function getIsUpdatingOpaqueValueInRenderPhaseInDEV() { @@ -5658,12 +6245,9 @@ outerPropTypes && checkPropTypes(outerPropTypes, nextProps, "prop", getComponentName(outerMemoType)); } } - if (null !== current) { - var prevProps = current.memoizedProps; - if (shallowEqual(prevProps, nextProps) && current.ref === workInProgress.ref && workInProgress.type === current.type) { - if (didReceiveUpdate = !1, !includesSomeLane(renderLanes, updateLanes)) return workInProgress.lanes = current.lanes, bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); - (16384 & current.flags) !== NoFlags && (didReceiveUpdate = !0); - } + if (null !== current && shallowEqual(current.memoizedProps, nextProps) && current.ref === workInProgress.ref && workInProgress.type === current.type) { + if (didReceiveUpdate = !1, !includesSomeLane(renderLanes, updateLanes)) return workInProgress.lanes = current.lanes, bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); + (16384 & current.flags) !== NoFlags && (didReceiveUpdate = !0); } return updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes); } @@ -5762,8 +6346,8 @@ if (nextChildren === prevChildren) return resetHydrationState(), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); var root = workInProgress.stateNode; if (root.hydrate && enterHydrationState(workInProgress)) { - var version, mutableSource, mutableSourceEagerHydrationData = root.mutableSourceEagerHydrationData; - if (null != mutableSourceEagerHydrationData) for(var i = 0; i < mutableSourceEagerHydrationData.length; i += 2)setWorkInProgressVersion(mutableSource, version); + var mutableSourceEagerHydrationData = root.mutableSourceEagerHydrationData; + if (null != mutableSourceEagerHydrationData) for(var i = 0; i < mutableSourceEagerHydrationData.length; i += 2)setWorkInProgressVersion(mutableSourceEagerHydrationData[i], mutableSourceEagerHydrationData[i + 1]); var child = mountChildFibers(workInProgress, null, nextChildren, renderLanes); workInProgress.child = child; for(var node = child; node;)node.flags = node.flags & ~Placement | Hydrating, node = node.sibling; @@ -5784,9 +6368,12 @@ workInProgress.type = Component; var resolvedTag = workInProgress.tag = resolveLazyComponentTag(Component), resolvedProps = resolveDefaultProps(Component, props); switch(resolvedTag){ - case 0: return validateFunctionComponentInDev(workInProgress, Component), workInProgress.type = Component = resolveFunctionForHotReloading(Component), updateFunctionComponent(null, workInProgress, Component, resolvedProps, renderLanes); - case 1: return workInProgress.type = Component = resolveClassForHotReloading(Component), updateClassComponent(null, workInProgress, Component, resolvedProps, renderLanes); - case 11: return workInProgress.type = Component = resolveForwardRefForHotReloading(Component), updateForwardRef(null, workInProgress, Component, resolvedProps, renderLanes); + case 0: + return validateFunctionComponentInDev(workInProgress, Component), workInProgress.type = Component = resolveFunctionForHotReloading(Component), updateFunctionComponent(null, workInProgress, Component, resolvedProps, renderLanes); + case 1: + return workInProgress.type = Component = resolveClassForHotReloading(Component), updateClassComponent(null, workInProgress, Component, resolvedProps, renderLanes); + case 11: + return workInProgress.type = Component = resolveForwardRefForHotReloading(Component), updateForwardRef(null, workInProgress, Component, resolvedProps, renderLanes); case 14: if (workInProgress.type !== workInProgress.elementType) { var outerPropTypes = Component.propTypes; @@ -5861,11 +6448,7 @@ }; } function shouldRemainOnFallback(suspenseContext, current, workInProgress, renderLanes) { - if (null !== current) { - var suspenseState = current.memoizedState; - if (null === suspenseState) return !1; - } - return hasSuspenseContext(suspenseContext, 2); + return (null === current || null !== current.memoizedState) && hasSuspenseContext(suspenseContext, 2); } function getRemainingWorkInPrimaryTree(current, renderLanes) { return removeLanes(current.childLanes, renderLanes); @@ -5873,8 +6456,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps; shouldSuspend(workInProgress) && (workInProgress.flags |= DidCapture); - var suspenseContext = suspenseStackCursor.current, showFallback = !1, didSuspend = (workInProgress.flags & DidCapture) !== NoFlags; - if (didSuspend || shouldRemainOnFallback(suspenseContext, current) ? (showFallback = !0, workInProgress.flags &= ~DidCapture) : (null === current || null !== current.memoizedState) && void 0 !== nextProps.fallback && !0 !== nextProps.unstable_avoidThisFallback && (suspenseContext = addSubtreeSuspenseContext(suspenseContext, 1)), pushSuspenseContext(workInProgress, suspenseContext = setDefaultShallowSuspenseContext(suspenseContext)), null === current) { + var suspenseContext = suspenseStackCursor.current, showFallback = !1; + if ((workInProgress.flags & DidCapture) !== NoFlags || shouldRemainOnFallback(suspenseContext, current) ? (showFallback = !0, workInProgress.flags &= ~DidCapture) : (null === current || null !== current.memoizedState) && void 0 !== nextProps.fallback && !0 !== nextProps.unstable_avoidThisFallback && (suspenseContext = addSubtreeSuspenseContext(suspenseContext, 1)), pushSuspenseContext(workInProgress, suspenseContext = setDefaultShallowSuspenseContext(suspenseContext)), null === current) { void 0 !== nextProps.fallback && tryToClaimNextHydratableInstance(workInProgress); var nextPrimaryChildren = nextProps.children, nextFallbackChildren = nextProps.fallback; if (showFallback) { @@ -5885,8 +6468,7 @@ var _fallbackFragment = mountSuspenseFallbackChildren(workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes); return workInProgress.child.memoizedState = mountSuspenseOffscreenState(renderLanes), workInProgress.memoizedState = SUSPENDED_MARKER, workInProgress.lanes = 33554432, markSpawnedWork(33554432), _fallbackFragment; } - var prevState = current.memoizedState; - if (null !== prevState) { + if (null !== current.memoizedState) { if (showFallback) { var _nextFallbackChildren2 = nextProps.fallback, _fallbackChildFragment = updateSuspenseFallbackChildren(current, workInProgress, nextProps.children, _nextFallbackChildren2, renderLanes), _primaryChildFragment3 = workInProgress.child, prevOffscreenState = current.child.memoizedState; return _primaryChildFragment3.memoizedState = null === prevOffscreenState ? mountSuspenseOffscreenState(renderLanes) : updateSuspenseOffscreenState(prevOffscreenState, renderLanes), _primaryChildFragment3.childLanes = getRemainingWorkInPrimaryTree(current, renderLanes), workInProgress.memoizedState = SUSPENDED_MARKER, _fallbackChildFragment; @@ -6024,13 +6606,8 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, revealOrder = nextProps.revealOrder, tailMode = nextProps.tail, newChildren = nextProps.children; validateRevealOrder(revealOrder), validateTailOptions(tailMode, revealOrder), validateSuspenseListChildren(newChildren, revealOrder), reconcileChildren(current, workInProgress, newChildren, renderLanes); - var suspenseContext = suspenseStackCursor.current, shouldForceFallback = hasSuspenseContext(suspenseContext, 2); - if (shouldForceFallback) suspenseContext = setShallowSuspenseContext(suspenseContext, 2), workInProgress.flags |= DidCapture; - else { - var didSuspendBefore = null !== current && (current.flags & DidCapture) !== NoFlags; - didSuspendBefore && propagateSuspenseContextChange(workInProgress, workInProgress.child, renderLanes), suspenseContext = setDefaultShallowSuspenseContext(suspenseContext); - } - if (pushSuspenseContext(workInProgress, suspenseContext), (2 & workInProgress.mode) == 0) workInProgress.memoizedState = null; + var suspenseContext = suspenseStackCursor.current; + if (hasSuspenseContext(suspenseContext, 2) ? (suspenseContext = setShallowSuspenseContext(suspenseContext, 2), workInProgress.flags |= DidCapture) : (null !== current && (current.flags & DidCapture) !== NoFlags && propagateSuspenseContextChange(workInProgress, workInProgress.child, renderLanes), suspenseContext = setDefaultShallowSuspenseContext(suspenseContext)), pushSuspenseContext(workInProgress, suspenseContext), (2 & workInProgress.mode) == 0) workInProgress.memoizedState = null; else switch(revealOrder){ case "forwards": var tail, lastContentRow = findLastContentRow(workInProgress.child); @@ -6052,7 +6629,8 @@ case "together": initSuspenseListRenderState(workInProgress, !1, null, null, void 0, workInProgress.lastEffect); break; - default: workInProgress.memoizedState = null; + default: + workInProgress.memoizedState = null; } return workInProgress.child; } @@ -6106,8 +6684,8 @@ var updateLanes = workInProgress.lanes; if (workInProgress._debugNeedsRemount && null !== current) return remountFiber(current, workInProgress, createFiberFromTypeAndProps(workInProgress.type, workInProgress.key, workInProgress.pendingProps, workInProgress._debugOwner || null, workInProgress.mode, workInProgress.lanes)); if (null !== current) { - var oldProps = current.memoizedProps, newProps = workInProgress.pendingProps; - if (oldProps !== newProps || hasContextChanged() || workInProgress.type !== current.type) didReceiveUpdate = !0; + var oldProps = current.memoizedProps; + if (oldProps !== workInProgress.pendingProps || hasContextChanged() || workInProgress.type !== current.type) didReceiveUpdate = !0; else if (includesSomeLane(renderLanes, updateLanes)) didReceiveUpdate = (16384 & current.flags) !== NoFlags; else { switch(didReceiveUpdate = !1, workInProgress.tag){ @@ -6118,8 +6696,7 @@ pushHostContext(workInProgress); break; case 1: - var Component = workInProgress.type; - isContextProvider(Component) && pushContextProvider(workInProgress); + isContextProvider(workInProgress.type) && pushContextProvider(workInProgress); break; case 4: pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); @@ -6128,16 +6705,13 @@ pushProvider(workInProgress, workInProgress.memoizedProps.value); break; case 12: - var hasChildWork = includesSomeLane(renderLanes, workInProgress.childLanes); - hasChildWork && (workInProgress.flags |= Update); + includesSomeLane(renderLanes, workInProgress.childLanes) && (workInProgress.flags |= Update); var stateNode = workInProgress.stateNode; stateNode.effectDuration = 0, stateNode.passiveEffectDuration = 0; break; case 13: - var state = workInProgress.memoizedState; - if (null !== state) { - var primaryChildLanes = workInProgress.child.childLanes; - if (includesSomeLane(renderLanes, primaryChildLanes)) return updateSuspenseComponent(current, workInProgress, renderLanes); + if (null !== workInProgress.memoizedState) { + if (includesSomeLane(renderLanes, workInProgress.child.childLanes)) return updateSuspenseComponent(current, workInProgress, renderLanes); pushSuspenseContext(workInProgress, setDefaultShallowSuspenseContext(suspenseStackCursor.current)); var child = bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); if (null !== child) return child.sibling; @@ -6155,33 +6729,46 @@ if (null !== renderState && (renderState.rendering = null, renderState.tail = null, renderState.lastEffect = null), pushSuspenseContext(workInProgress, suspenseStackCursor.current), !_hasChildWork) return null; break; case 23: - case 24: return workInProgress.lanes = NoLanes, updateOffscreenComponent(current, workInProgress, renderLanes); + case 24: + return workInProgress.lanes = NoLanes, updateOffscreenComponent(current, workInProgress, renderLanes); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } } else didReceiveUpdate = !1; switch(workInProgress.lanes = NoLanes, workInProgress.tag){ - case 2: return mountIndeterminateComponent(current, workInProgress, workInProgress.type, renderLanes); - case 16: return mountLazyComponent(current, workInProgress, workInProgress.elementType, updateLanes, renderLanes); + case 2: + return mountIndeterminateComponent(current, workInProgress, workInProgress.type, renderLanes); + case 16: + return mountLazyComponent(current, workInProgress, workInProgress.elementType, updateLanes, renderLanes); case 0: var _Component = workInProgress.type, unresolvedProps = workInProgress.pendingProps; return updateFunctionComponent(current, workInProgress, _Component, workInProgress.elementType === _Component ? unresolvedProps : resolveDefaultProps(_Component, unresolvedProps), renderLanes); case 1: var _Component2 = workInProgress.type, _unresolvedProps = workInProgress.pendingProps; return updateClassComponent(current, workInProgress, _Component2, workInProgress.elementType === _Component2 ? _unresolvedProps : resolveDefaultProps(_Component2, _unresolvedProps), renderLanes); - case 3: return updateHostRoot(current, workInProgress, renderLanes); - case 5: return updateHostComponent(current, workInProgress, renderLanes); - case 6: return updateHostText(current, workInProgress); - case 13: return updateSuspenseComponent(current, workInProgress, renderLanes); - case 4: return updatePortalComponent(current, workInProgress, renderLanes); + case 3: + return updateHostRoot(current, workInProgress, renderLanes); + case 5: + return updateHostComponent(current, workInProgress, renderLanes); + case 6: + return updateHostText(current, workInProgress); + case 13: + return updateSuspenseComponent(current, workInProgress, renderLanes); + case 4: + return updatePortalComponent(current, workInProgress, renderLanes); case 11: var type = workInProgress.type, _unresolvedProps2 = workInProgress.pendingProps; return updateForwardRef(current, workInProgress, type, workInProgress.elementType === type ? _unresolvedProps2 : resolveDefaultProps(type, _unresolvedProps2), renderLanes); - case 7: return updateFragment(current, workInProgress, renderLanes); - case 8: return updateMode(current, workInProgress, renderLanes); - case 12: return updateProfiler(current, workInProgress, renderLanes); - case 10: return updateContextProvider(current, workInProgress, renderLanes); - case 9: return updateContextConsumer(current, workInProgress, renderLanes); + case 7: + return updateFragment(current, workInProgress, renderLanes); + case 8: + return updateMode(current, workInProgress, renderLanes); + case 12: + return updateProfiler(current, workInProgress, renderLanes); + case 10: + return updateContextProvider(current, workInProgress, renderLanes); + case 9: + return updateContextConsumer(current, workInProgress, renderLanes); case 14: var _type2 = workInProgress.type, _unresolvedProps3 = workInProgress.pendingProps, _resolvedProps3 = resolveDefaultProps(_type2, _unresolvedProps3); if (workInProgress.type !== workInProgress.elementType) { @@ -6189,16 +6776,23 @@ outerPropTypes && checkPropTypes(outerPropTypes, _resolvedProps3, "prop", getComponentName(_type2)); } return updateMemoComponent(current, workInProgress, _type2, _resolvedProps3 = resolveDefaultProps(_type2.type, _resolvedProps3), updateLanes, renderLanes); - case 15: return updateSimpleMemoComponent(current, workInProgress, workInProgress.type, workInProgress.pendingProps, updateLanes, renderLanes); + case 15: + return updateSimpleMemoComponent(current, workInProgress, workInProgress.type, workInProgress.pendingProps, updateLanes, renderLanes); case 17: var _Component3 = workInProgress.type, _unresolvedProps4 = workInProgress.pendingProps; return mountIncompleteClassComponent(current, workInProgress, _Component3, workInProgress.elementType === _Component3 ? _unresolvedProps4 : resolveDefaultProps(_Component3, _unresolvedProps4), renderLanes); - case 19: return updateSuspenseListComponent(current, workInProgress, renderLanes); - case 20: break; - case 21: break; - case 22: break; - case 23: return updateOffscreenComponent(current, workInProgress, renderLanes); - case 24: return updateLegacyHiddenComponent(current, workInProgress, renderLanes); + case 19: + return updateSuspenseListComponent(current, workInProgress, renderLanes); + case 20: + break; + case 21: + break; + case 22: + break; + case 23: + return updateOffscreenComponent(current, workInProgress, renderLanes); + case 24: + return updateLegacyHiddenComponent(current, workInProgress, renderLanes); } throw Error("Unknown unit of work tag (" + workInProgress.tag + "). This error is likely caused by a bug in React. Please file an issue."); } @@ -6232,18 +6826,14 @@ case 8: case 12: case 9: - case 14: return null; + case 14: + return null; case 1: - var Component = workInProgress.type; - return isContextProvider(Component) && popContext(workInProgress), null; + return isContextProvider(workInProgress.type) && popContext(workInProgress), null; case 3: popHostContainer(workInProgress), popTopLevelContextObject(workInProgress), resetWorkInProgressVersions(); var fiberRoot = workInProgress.stateNode; - if (fiberRoot.pendingContext && (fiberRoot.context = fiberRoot.pendingContext, fiberRoot.pendingContext = null), null === current || null === current.child) { - var wasHydrated = popHydrationState(workInProgress); - wasHydrated ? markUpdate(workInProgress) : fiberRoot.hydrate || (workInProgress.flags |= 256); - } - return updateHostContainer(workInProgress), null; + return fiberRoot.pendingContext && (fiberRoot.context = fiberRoot.pendingContext, fiberRoot.pendingContext = null), (null === current || null === current.child) && (popHydrationState(workInProgress) ? markUpdate(workInProgress) : fiberRoot.hydrate || (workInProgress.flags |= 256)), updateHostContainer(workInProgress), null; case 5: popHostContext(workInProgress); var rootContainerInstance = getRootHostContainer(), type = workInProgress.type; @@ -6253,8 +6843,8 @@ if (!(null !== workInProgress.stateNode)) throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."); return null; } - var currentHostContext = getHostContext(), _wasHydrated = popHydrationState(workInProgress); - if (_wasHydrated) prepareToHydrateHostInstance(workInProgress, rootContainerInstance, currentHostContext) && markUpdate(workInProgress); + var currentHostContext = getHostContext(); + if (popHydrationState(workInProgress)) prepareToHydrateHostInstance(workInProgress, rootContainerInstance, currentHostContext) && markUpdate(workInProgress); else { var instance = createInstance(type, newProps, rootContainerInstance, currentHostContext, workInProgress); appendAllChildren(instance, workInProgress, !1, !1), workInProgress.stateNode = instance, finalizeInitialChildren(instance, type, newProps, rootContainerInstance) && markUpdate(workInProgress); @@ -6267,8 +6857,8 @@ if (current && null != workInProgress.stateNode) updateHostText$1(current, workInProgress, current.memoizedProps, newText); else { if ("string" != typeof newText && !(null !== workInProgress.stateNode)) throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."); - var _rootContainerInstance = getRootHostContainer(), _currentHostContext = getHostContext(), _wasHydrated2 = popHydrationState(workInProgress); - _wasHydrated2 ? prepareToHydrateHostTextInstance(workInProgress) && markUpdate(workInProgress) : workInProgress.stateNode = createTextInstance(newText, _rootContainerInstance, _currentHostContext, workInProgress); + var _rootContainerInstance = getRootHostContainer(), _currentHostContext = getHostContext(); + popHydrationState(workInProgress) ? prepareToHydrateHostTextInstance(workInProgress) && markUpdate(workInProgress) : workInProgress.stateNode = createTextInstance(newText, _rootContainerInstance, _currentHostContext, workInProgress); } return null; case 13: @@ -6276,16 +6866,13 @@ var nextState = workInProgress.memoizedState; if ((workInProgress.flags & DidCapture) !== NoFlags) return workInProgress.lanes = renderLanes, (8 & workInProgress.mode) !== 0 && transferActualDuration(workInProgress), workInProgress; var nextDidTimeout = null !== nextState, prevDidTimeout = !1; - if (null === current ? void 0 !== workInProgress.memoizedProps.fallback && popHydrationState(workInProgress) : prevDidTimeout = null !== current.memoizedState, nextDidTimeout && !prevDidTimeout && (2 & workInProgress.mode) !== 0) { - var hasInvisibleChildContext = null === current && !0 !== workInProgress.memoizedProps.unstable_avoidThisFallback; - hasInvisibleChildContext || hasSuspenseContext(suspenseStackCursor.current, 1) ? renderDidSuspend() : renderDidSuspendDelayIfPossible(); - } - return (nextDidTimeout || prevDidTimeout) && (workInProgress.flags |= Update), null; - case 4: return popHostContainer(workInProgress), updateHostContainer(workInProgress), null === current && preparePortalMount(workInProgress.stateNode.containerInfo), null; - case 10: return popProvider(workInProgress), null; + return null === current ? void 0 !== workInProgress.memoizedProps.fallback && popHydrationState(workInProgress) : prevDidTimeout = null !== current.memoizedState, nextDidTimeout && !prevDidTimeout && (2 & workInProgress.mode) !== 0 && (null === current && !0 !== workInProgress.memoizedProps.unstable_avoidThisFallback || hasSuspenseContext(suspenseStackCursor.current, 1) ? renderDidSuspend() : renderDidSuspendDelayIfPossible()), (nextDidTimeout || prevDidTimeout) && (workInProgress.flags |= Update), null; + case 4: + return popHostContainer(workInProgress), updateHostContainer(workInProgress), null === current && preparePortalMount(workInProgress.stateNode.containerInfo), null; + case 10: + return popProvider(workInProgress), null; case 17: - var _Component = workInProgress.type; - return isContextProvider(_Component) && popContext(workInProgress), null; + return isContextProvider(workInProgress.type) && popContext(workInProgress), null; case 19: popSuspenseContext(workInProgress); var renderState = workInProgress.memoizedState; @@ -6293,8 +6880,7 @@ var didSuspendAlready = (workInProgress.flags & DidCapture) !== NoFlags, renderedTail = renderState.rendering; if (null === renderedTail) if (didSuspendAlready) cutOffTailIfNeeded(renderState, !1); else { - var cannotBeSuspended = renderHasNotSuspendedYet() && (null === current || (current.flags & DidCapture) === NoFlags); - if (!cannotBeSuspended) for(var row = workInProgress.child; null !== row;){ + if (!(renderHasNotSuspendedYet() && (null === current || (current.flags & DidCapture) === NoFlags))) for(var row = workInProgress.child; null !== row;){ var suspended = findFirstSuspended(row); if (null !== suspended) { didSuspendAlready = !0, workInProgress.flags |= DidCapture, cutOffTailIfNeeded(renderState, !1); @@ -6330,14 +6916,17 @@ return pushSuspenseContext(workInProgress, suspenseContext = didSuspendAlready ? setShallowSuspenseContext(suspenseContext, 2) : setDefaultShallowSuspenseContext(suspenseContext)), next; } return null; - case 20: break; - case 21: break; - case 22: break; + case 20: + break; + case 21: + break; + case 22: + break; case 23: case 24: if (popRenderLanes(workInProgress), null !== current) { - var _nextState = workInProgress.memoizedState, prevIsHidden = null !== current.memoizedState, nextIsHidden = null !== _nextState; - prevIsHidden !== nextIsHidden && "unstable-defer-without-hiding" !== newProps.mode && (workInProgress.flags |= Update); + var _nextState = workInProgress.memoizedState; + null !== current.memoizedState !== (null !== _nextState) && "unstable-defer-without-hiding" !== newProps.mode && (workInProgress.flags |= Update); } return null; } @@ -6355,18 +6944,24 @@ var _flags = workInProgress.flags; if ((_flags & DidCapture) !== NoFlags) throw Error("The root failed to unmount after an error. This is likely a bug in React. Please file an issue."); return workInProgress.flags = -4097 & _flags | DidCapture, workInProgress; - case 5: return popHostContext(workInProgress), null; + case 5: + return popHostContext(workInProgress), null; case 13: popSuspenseContext(workInProgress); var _flags2 = workInProgress.flags; if (4096 & _flags2) return workInProgress.flags = -4097 & _flags2 | DidCapture, (8 & workInProgress.mode) !== 0 && transferActualDuration(workInProgress), workInProgress; return null; - case 19: return popSuspenseContext(workInProgress), null; - case 4: return popHostContainer(workInProgress), null; - case 10: return popProvider(workInProgress), null; + case 19: + return popSuspenseContext(workInProgress), null; + case 4: + return popHostContainer(workInProgress), null; + case 10: + return popProvider(workInProgress), null; case 23: - case 24: return popRenderLanes(workInProgress), null; - default: return null; + case 24: + return popRenderLanes(workInProgress), null; + default: + return null; } } function unwindInterruptedWork(interruptedWork) { @@ -6410,8 +7005,7 @@ } function logCapturedError(boundary, errorInfo) { try { - var logError = showErrorDialog(boundary, errorInfo); - if (!1 === logError) return; + if (!1 === showErrorDialog(boundary, errorInfo)) return; var error = errorInfo.value; if (0) console.error(error); else { @@ -6487,13 +7081,10 @@ updateQueue.add(wakeable), _workInProgress.updateQueue = updateQueue; } else wakeables.add(wakeable); if ((2 & _workInProgress.mode) == 0) { - if (_workInProgress.flags |= DidCapture, sourceFiber.flags |= 16384, sourceFiber.flags &= -2981, 1 === sourceFiber.tag) { - var currentSourceFiber = sourceFiber.alternate; - if (null === currentSourceFiber) sourceFiber.tag = 17; - else { - var update = createUpdate(-1, SyncLane); - update.tag = ForceUpdate, enqueueUpdate(sourceFiber, update); - } + if (_workInProgress.flags |= DidCapture, sourceFiber.flags |= 16384, sourceFiber.flags &= -2981, 1 === sourceFiber.tag) if (null === sourceFiber.alternate) sourceFiber.tag = 17; + else { + var update = createUpdate(-1, SyncLane); + update.tag = ForceUpdate, enqueueUpdate(sourceFiber, update); } return void (sourceFiber.lanes = mergeLanes(sourceFiber.lanes, SyncLane)); } @@ -6513,8 +7104,7 @@ var lane = pickArbitraryLane(rootRenderLanes); workInProgress.lanes = mergeLanes(workInProgress.lanes, lane); var _update = createRootErrorUpdate(workInProgress, _errorInfo, lane); - enqueueCapturedUpdate(workInProgress, _update); - return; + return void enqueueCapturedUpdate(workInProgress, _update); case 1: var errorInfo = value, ctor = workInProgress.type, instance = workInProgress.stateNode; if ((workInProgress.flags & DidCapture) === NoFlags && ("function" == typeof ctor.getDerivedStateFromError || null !== instance && "function" == typeof instance.componentDidCatch && !isAlreadyFailedLegacyErrorBoundary(instance))) { @@ -6522,8 +7112,7 @@ var _lane = pickArbitraryLane(rootRenderLanes); workInProgress.lanes = mergeLanes(workInProgress.lanes, _lane); var _update2 = createClassErrorUpdate(workInProgress, errorInfo, _lane); - enqueueCapturedUpdate(workInProgress, _update2); - return; + return void enqueueCapturedUpdate(workInProgress, _update2); } break; } @@ -6548,7 +7137,8 @@ case 0: case 11: case 15: - case 22: return; + case 22: + return; case 1: if (256 & finishedWork.flags && null !== current) { var prevProps = current.memoizedProps, prevState = current.memoizedState, instance = finishedWork.stateNode; @@ -6558,12 +7148,12 @@ } return; case 3: - 256 & finishedWork.flags && clearContainer(finishedWork.stateNode.containerInfo); - return; + return void (256 & finishedWork.flags && clearContainer(finishedWork.stateNode.containerInfo)); case 5: case 6: case 4: - case 17: return; + case 17: + return; } throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue."); } @@ -6610,7 +7200,8 @@ case 0: case 11: case 15: - case 22: return commitHookEffectListMount(3, finishedWork), void schedulePassiveEffects(finishedWork); + case 22: + return commitHookEffectListMount(3, finishedWork), void schedulePassiveEffects(finishedWork); case 1: var instance = finishedWork.stateNode; if (finishedWork.flags & Update) if (null === current) finishedWork.type !== finishedWork.elementType || didWarnAboutReassigningProps || (instance.props !== finishedWork.memoizedProps && error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentName(finishedWork.type) || "instance"), instance.state !== finishedWork.memoizedState && error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentName(finishedWork.type) || "instance")), instance.componentDidMount(); @@ -6619,8 +7210,7 @@ finishedWork.type !== finishedWork.elementType || didWarnAboutReassigningProps || (instance.props !== finishedWork.memoizedProps && error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentName(finishedWork.type) || "instance"), instance.state !== finishedWork.memoizedState && error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentName(finishedWork.type) || "instance")), instance.componentDidUpdate(prevProps, prevState, instance.__reactInternalSnapshotBeforeUpdate); } var updateQueue = finishedWork.updateQueue; - null !== updateQueue && (finishedWork.type !== finishedWork.elementType || didWarnAboutReassigningProps || (instance.props !== finishedWork.memoizedProps && error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentName(finishedWork.type) || "instance"), instance.state !== finishedWork.memoizedState && error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentName(finishedWork.type) || "instance")), commitUpdateQueue(finishedWork, updateQueue, instance)); - return; + return void (null !== updateQueue && (finishedWork.type !== finishedWork.elementType || didWarnAboutReassigningProps || (instance.props !== finishedWork.memoizedProps && error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentName(finishedWork.type) || "instance"), instance.state !== finishedWork.memoizedState && error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentName(finishedWork.type) || "instance")), commitUpdateQueue(finishedWork, updateQueue, instance))); case 3: var _updateQueue = finishedWork.updateQueue; if (null !== _updateQueue) { @@ -6643,22 +7233,24 @@ commitMount(_instance2, type, finishedWork.memoizedProps); } return; - case 6: return; - case 4: return; + case 6: + return; + case 4: + return; case 12: var _finishedWork$memoize2 = finishedWork.memoizedProps, onRender = _finishedWork$memoize2.onRender; _finishedWork$memoize2.onCommit, finishedWork.stateNode.effectDuration; var commitTime = getCommitTime(); return void ("function" == typeof onRender && onRender(finishedWork.memoizedProps.id, null === current ? "mount" : "update", finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, commitTime, finishedRoot.memoizedInteractions)); case 13: - commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); - return; + return void commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); case 19: case 17: case 20: case 21: case 23: - case 24: return; + case 24: + return; } throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue."); } @@ -6691,7 +7283,8 @@ case 5: instanceToUse = getPublicInstance(instance); break; - default: instanceToUse = instance; + default: + instanceToUse = instance; } "function" == typeof ref ? ref(instanceToUse) : (ref.hasOwnProperty("current") || error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().", getComponentName(finishedWork.type)), ref.current = instanceToUse); } @@ -6722,17 +7315,17 @@ case 1: safelyDetachRef(current); var instance = current.stateNode; - "function" == typeof instance.componentWillUnmount && safelyCallComponentWillUnmount(current, instance); - return; + return void ("function" == typeof instance.componentWillUnmount && safelyCallComponentWillUnmount(current, instance)); case 5: - safelyDetachRef(current); - return; + return void safelyDetachRef(current); case 4: - unmountHostComponents(finishedRoot, current); + return void unmountHostComponents(finishedRoot, current); + case 20: + return; + case 18: + return; + case 21: return; - case 20: return; - case 18: return; - case 21: return; } } function commitNestedUnmounts(finishedRoot, root, renderPriorityLevel) { @@ -6790,7 +7383,8 @@ parent = parentStateNode.containerInfo, isContainer = !0; break; case 20: - default: throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue."); + default: + throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue."); } 16 & parentFiber.flags && (resetTextContent(parent), parentFiber.flags &= -17); var before = getHostSibling(finishedWork); @@ -6876,9 +7470,9 @@ case 14: case 15: case 22: - commitHookEffectListUnmount(3, finishedWork); + return void commitHookEffectListUnmount(3, finishedWork); + case 1: return; - case 1: return; case 5: var instance = finishedWork.stateNode; if (null != instance) { @@ -6889,24 +7483,25 @@ case 6: if (!(null !== finishedWork.stateNode)) throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue."); var textInstance = finishedWork.stateNode, newText = finishedWork.memoizedProps; - commitTextUpdate(textInstance, null !== current ? current.memoizedProps : newText, newText); - return; + return void commitTextUpdate(textInstance, null !== current ? current.memoizedProps : newText, newText); case 3: var _root = finishedWork.stateNode; - _root.hydrate && (_root.hydrate = !1, commitHydratedContainer(_root.containerInfo)); + return void (_root.hydrate && (_root.hydrate = !1, commitHydratedContainer(_root.containerInfo))); + case 12: return; - case 12: return; - case 13: return commitSuspenseComponent(finishedWork), void attachSuspenseRetryListeners(finishedWork); + case 13: + return commitSuspenseComponent(finishedWork), void attachSuspenseRetryListeners(finishedWork); case 19: - attachSuspenseRetryListeners(finishedWork); + return void attachSuspenseRetryListeners(finishedWork); + case 17: return; - case 17: return; - case 20: break; - case 21: break; + case 20: + break; + case 21: + break; case 23: case 24: - hideOrUnhideAllChildren(finishedWork, null !== finishedWork.memoizedState); - return; + return void hideOrUnhideAllChildren(finishedWork, null !== finishedWork.memoizedState); } throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue."); } @@ -6914,8 +7509,7 @@ null !== finishedWork.memoizedState && (markCommitTimeOfFallback(), hideOrUnhideAllChildren(finishedWork.child, !0)); } function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) { - var newState = finishedWork.memoizedState; - if (null === newState) { + if (null === finishedWork.memoizedState) { var current = finishedWork.alternate; if (null !== current) { var prevState = current.memoizedState; @@ -6974,9 +7568,7 @@ var mode = fiber.mode; if ((2 & mode) == 0) return SyncLane; if ((4 & mode) == 0) return 99 === getCurrentPriorityLevel() ? SyncLane : 2; - currentEventWipLanes === NoLanes && (currentEventWipLanes = workInProgressRootIncludedLanes); - var isTransition = 0 !== requestCurrentTransition(); - if (isTransition) return currentEventPendingLanes !== NoLanes && (currentEventPendingLanes = null !== mostRecentlyUpdatedRoot ? mostRecentlyUpdatedRoot.pendingLanes : NoLanes), findTransitionLane(currentEventWipLanes, currentEventPendingLanes); + if (currentEventWipLanes === NoLanes && (currentEventWipLanes = workInProgressRootIncludedLanes), 0 !== requestCurrentTransition()) return currentEventPendingLanes !== NoLanes && (currentEventPendingLanes = null !== mostRecentlyUpdatedRoot ? mostRecentlyUpdatedRoot.pendingLanes : NoLanes), findTransitionLane(currentEventWipLanes, currentEventPendingLanes); var schedulerPriority = getCurrentPriorityLevel(); return (4 & executionContext) !== 0 && 98 === schedulerPriority ? findUpdateLane(12, currentEventWipLanes) : findUpdateLane(schedulerPriorityToLanePriority(schedulerPriority), currentEventWipLanes); } @@ -6990,7 +7582,9 @@ if (null === root) return warnAboutUpdateOnUnmountedFiberInDEV(fiber), null; markRootUpdated(root, lane, eventTime), root === workInProgressRoot && (workInProgressRootUpdatedLanes = mergeLanes(workInProgressRootUpdatedLanes, lane), 4 === workInProgressRootExitStatus && markRootSuspended$1(root, workInProgressRootRenderLanes)); var priorityLevel = getCurrentPriorityLevel(); - lane === SyncLane ? (8 & executionContext) !== 0 && (48 & executionContext) == 0 ? (schedulePendingInteractions(root, lane), performSyncWorkOnRoot(root)) : (ensureRootIsScheduled(root, eventTime), schedulePendingInteractions(root, lane), 0 === executionContext && (resetRenderTimer(), flushSyncCallbackQueue())) : ((4 & executionContext) !== 0 && (98 === priorityLevel || 99 === priorityLevel) && (null === rootsWithPendingDiscreteUpdates ? rootsWithPendingDiscreteUpdates = new Set([root]) : rootsWithPendingDiscreteUpdates.add(root)), ensureRootIsScheduled(root, eventTime), schedulePendingInteractions(root, lane)), mostRecentlyUpdatedRoot = root; + lane === SyncLane ? (8 & executionContext) !== 0 && (48 & executionContext) == 0 ? (schedulePendingInteractions(root, lane), performSyncWorkOnRoot(root)) : (ensureRootIsScheduled(root, eventTime), schedulePendingInteractions(root, lane), 0 === executionContext && (resetRenderTimer(), flushSyncCallbackQueue())) : ((4 & executionContext) !== 0 && (98 === priorityLevel || 99 === priorityLevel) && (null === rootsWithPendingDiscreteUpdates ? rootsWithPendingDiscreteUpdates = new Set([ + root + ]) : rootsWithPendingDiscreteUpdates.add(root)), ensureRootIsScheduled(root, eventTime), schedulePendingInteractions(root, lane)), mostRecentlyUpdatedRoot = root; } function markUpdateLaneFromFiberToRoot(sourceFiber, lane) { sourceFiber.lanes = mergeLanes(sourceFiber.lanes, lane); @@ -7003,16 +7597,13 @@ var newCallbackNode, existingCallbackNode = root.callbackNode; markStarvedLanesAsExpired(root, currentTime); var nextLanes = getNextLanes(root, root === workInProgressRoot ? workInProgressRootRenderLanes : NoLanes), newCallbackPriority = returnNextLanesPriority(); - if (nextLanes === NoLanes && null !== existingCallbackNode && (cancelCallback(existingCallbackNode), root.callbackNode = null, root.callbackPriority = 0), null !== existingCallbackNode) { - var existingCallbackPriority = root.callbackPriority; - existingCallbackPriority !== newCallbackPriority && cancelCallback(existingCallbackNode); - } - newCallbackNode = 15 === newCallbackPriority ? scheduleSyncCallback(performSyncWorkOnRoot.bind(null, root)) : 14 === newCallbackPriority ? scheduleCallback(99, performSyncWorkOnRoot.bind(null, root)) : scheduleCallback(lanePriorityToSchedulerPriority(newCallbackPriority), performConcurrentWorkOnRoot.bind(null, root)), root.callbackPriority = newCallbackPriority, root.callbackNode = newCallbackNode; + if (nextLanes === NoLanes) return void (null !== existingCallbackNode && (cancelCallback(existingCallbackNode), root.callbackNode = null, root.callbackPriority = 0)); + null !== existingCallbackNode && root.callbackPriority !== newCallbackPriority && cancelCallback(existingCallbackNode), newCallbackNode = 15 === newCallbackPriority ? scheduleSyncCallback(performSyncWorkOnRoot.bind(null, root)) : 14 === newCallbackPriority ? scheduleCallback(99, performSyncWorkOnRoot.bind(null, root)) : scheduleCallback(lanePriorityToSchedulerPriority(newCallbackPriority), performConcurrentWorkOnRoot.bind(null, root)), root.callbackPriority = newCallbackPriority, root.callbackNode = newCallbackNode; } function performConcurrentWorkOnRoot(root) { if (currentEventTime = -1, currentEventWipLanes = NoLanes, currentEventPendingLanes = NoLanes, (48 & executionContext) != 0) throw Error("Should not already be working."); - var originalCallbackNode = root.callbackNode, didFlushPassiveEffects = flushPassiveEffects(); - if (didFlushPassiveEffects && root.callbackNode !== originalCallbackNode) return null; + var originalCallbackNode = root.callbackNode; + if (flushPassiveEffects() && root.callbackNode !== originalCallbackNode) return null; var lanes = getNextLanes(root, root === workInProgressRoot ? workInProgressRootRenderLanes : NoLanes); if (lanes === NoLanes) return null; var exitStatus = renderRootConcurrent(root, lanes); @@ -7030,7 +7621,8 @@ function finishConcurrentRender(root, exitStatus, lanes) { switch(exitStatus){ case 0: - case 1: throw Error("Root did not complete. This is a bug in React."); + case 1: + throw Error("Root did not complete. This is a bug in React."); case 2: commitRoot(root); break; @@ -7038,8 +7630,7 @@ if (markRootSuspended$1(root, lanes), includesOnlyRetries(lanes) && !shouldForceFlushFallbacksInDEV()) { var msUntilTimeout = globalMostRecentFallbackTime + 500 - now(); if (msUntilTimeout > 10) { - var nextLanes = getNextLanes(root, NoLanes); - if (nextLanes !== NoLanes) break; + if (getNextLanes(root, NoLanes) !== NoLanes) break; var suspendedLanes = root.suspendedLanes; if (!isSubsetOfLanes(suspendedLanes, lanes)) { requestEventTime(), markRootPinged(root, suspendedLanes); @@ -7065,7 +7656,8 @@ case 5: commitRoot(root); break; - default: throw Error("Unknown root exit status."); + default: + throw Error("Unknown root exit status."); } } function markRootSuspended$1(root, suspendedLanes) { @@ -7220,10 +7812,7 @@ if ((2048 & completedWork.flags) === NoFlags) { setCurrentFiber(completedWork); var next = void 0; - if ((8 & completedWork.mode) == 0 ? next = completeWork(current, completedWork, subtreeRenderLanes) : (startProfilerTimer(completedWork), next = completeWork(current, completedWork, subtreeRenderLanes), stopProfilerTimerIfRunningAndRecordDelta(completedWork, !1)), resetCurrentFiber(), null !== next) { - workInProgress = next; - return; - } + if ((8 & completedWork.mode) == 0 ? next = completeWork(current, completedWork, subtreeRenderLanes) : (startProfilerTimer(completedWork), next = completeWork(current, completedWork, subtreeRenderLanes), stopProfilerTimerIfRunningAndRecordDelta(completedWork, !1)), resetCurrentFiber(), null !== next) return void (workInProgress = next); if (resetChildLanes(completedWork), null !== returnFiber && (2048 & returnFiber.flags) === NoFlags) { null === returnFiber.firstEffect && (returnFiber.firstEffect = completedWork.firstEffect), null !== completedWork.lastEffect && (null !== returnFiber.lastEffect && (returnFiber.lastEffect.nextEffect = completedWork.firstEffect), returnFiber.lastEffect = completedWork.lastEffect); var flags = completedWork.flags; @@ -7240,10 +7829,7 @@ null !== returnFiber && (returnFiber.firstEffect = returnFiber.lastEffect = null, returnFiber.flags |= 2048); } var siblingFiber = completedWork.sibling; - if (null !== siblingFiber) { - workInProgress = siblingFiber; - return; - } + if (null !== siblingFiber) return void (workInProgress = siblingFiber); workInProgress = completedWork = returnFiber; }while (null !== completedWork) 0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 5); @@ -7253,8 +7839,7 @@ var newChildLanes = NoLanes; if ((8 & completedWork.mode) !== 0) { for(var actualDuration = completedWork.actualDuration, treeBaseDuration = completedWork.selfBaseDuration, shouldBubbleActualDurations = null === completedWork.alternate || completedWork.child !== completedWork.alternate.child, child = completedWork.child; null !== child;)newChildLanes = mergeLanes(newChildLanes, mergeLanes(child.lanes, child.childLanes)), shouldBubbleActualDurations && (actualDuration += child.actualDuration), treeBaseDuration += child.treeBaseDuration, child = child.sibling; - var isTimedOutSuspense = 13 === completedWork.tag && null !== completedWork.memoizedState; - if (isTimedOutSuspense) { + if (13 === completedWork.tag && null !== completedWork.memoizedState) { var primaryChildFragment = completedWork.child; null !== primaryChildFragment && (treeBaseDuration -= primaryChildFragment.treeBaseDuration); } @@ -7442,7 +8027,9 @@ return null !== legacyErrorBoundariesThatAlreadyFailed && legacyErrorBoundariesThatAlreadyFailed.has(instance); } function markLegacyErrorBoundaryAsFailed(instance) { - null === legacyErrorBoundariesThatAlreadyFailed ? legacyErrorBoundariesThatAlreadyFailed = new Set([instance]) : legacyErrorBoundariesThatAlreadyFailed.add(instance); + null === legacyErrorBoundariesThatAlreadyFailed ? legacyErrorBoundariesThatAlreadyFailed = new Set([ + instance + ]) : legacyErrorBoundariesThatAlreadyFailed.add(instance); } var onUncaughtError = function(error) { hasUncaughtError || (hasUncaughtError = !0, firstUncaughtError = error); @@ -7453,12 +8040,9 @@ null !== root && (markRootUpdated(root, SyncLane, eventTime), ensureRootIsScheduled(root, eventTime), schedulePendingInteractions(root, SyncLane)); } function captureCommitPhaseError(sourceFiber, error) { - 3 === sourceFiber.tag && captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error); + if (3 === sourceFiber.tag) return void captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error); for(var fiber = sourceFiber.return; null !== fiber;){ - if (3 === fiber.tag) { - captureCommitPhaseErrorOnRoot(fiber, sourceFiber, error); - return; - } + if (3 === fiber.tag) return void captureCommitPhaseErrorOnRoot(fiber, sourceFiber, error); if (1 === fiber.tag) { var ctor = fiber.type, instance = fiber.stateNode; if ("function" == typeof ctor.getDerivedStateFromError || "function" == typeof instance.componentDidCatch && !isAlreadyFailedLegacyErrorBoundary(instance)) { @@ -7507,7 +8091,9 @@ var tag = fiber.tag; if (2 === tag || 3 === tag || 1 === tag || 0 === tag || 11 === tag || 14 === tag || 15 === tag || 22 === tag) { var componentName = getComponentName(fiber.type) || "ReactComponent"; - null !== didWarnStateUpdateForNotYetMountedComponent ? didWarnStateUpdateForNotYetMountedComponent.has(componentName) || didWarnStateUpdateForNotYetMountedComponent.add(componentName) : didWarnStateUpdateForNotYetMountedComponent = new Set([componentName]); + null !== didWarnStateUpdateForNotYetMountedComponent ? didWarnStateUpdateForNotYetMountedComponent.has(componentName) || didWarnStateUpdateForNotYetMountedComponent.add(componentName) : didWarnStateUpdateForNotYetMountedComponent = new Set([ + componentName + ]); try { setCurrentFiber(fiber), error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead."); } finally{ @@ -7521,7 +8107,9 @@ var tag = fiber.tag; if ((3 === tag || 1 === tag || 0 === tag || 11 === tag || 14 === tag || 15 === tag || 22 === tag) && (8192 & fiber.flags) === NoFlags) { var componentName = getComponentName(fiber.type) || "ReactComponent"; - if (null !== didWarnStateUpdateForUnmountedComponent ? didWarnStateUpdateForUnmountedComponent.has(componentName) || didWarnStateUpdateForUnmountedComponent.add(componentName) : didWarnStateUpdateForUnmountedComponent = new Set([componentName]), isFlushingPassiveEffects) ; + if (null !== didWarnStateUpdateForUnmountedComponent ? didWarnStateUpdateForUnmountedComponent.has(componentName) || didWarnStateUpdateForUnmountedComponent.add(componentName) : didWarnStateUpdateForUnmountedComponent = new Set([ + componentName + ]), isFlushingPassiveEffects) ; else { var previousFiber = current; try { @@ -7579,7 +8167,9 @@ return 1000 * lane + root.interactionThreadID; } function markSpawnedWork(lane) { - null === spawnedWorkDuringRender ? spawnedWorkDuringRender = [lane] : spawnedWorkDuringRender.push(lane); + null === spawnedWorkDuringRender ? spawnedWorkDuringRender = [ + lane + ] : spawnedWorkDuringRender.push(lane); } function scheduleInteractions(root, lane, interactions) { if (interactions.size > 0) { @@ -7622,7 +8212,7 @@ function finishPendingInteractions(root, committedLanes) { var subscriber, remainingLanesAfterCommit = root.pendingLanes; try { - if (subscriber = __subscriberRef.current, null !== subscriber && root.memoizedInteractions.size > 0) { + if (null !== (subscriber = __subscriberRef.current) && root.memoizedInteractions.size > 0) { var threadID = computeThreadID(root, committedLanes); subscriber.onWorkStopped(root.memoizedInteractions, threadID); } @@ -7698,7 +8288,8 @@ case 15: $$typeofNextType === REACT_MEMO_TYPE ? needsCompareFamilies = !0 : $$typeofNextType === REACT_LAZY_TYPE && (needsCompareFamilies = !0); break; - default: return !1; + default: + return !1; } if (needsCompareFamilies) { var prevFamily = resolveFamily(prevType); @@ -7763,18 +8354,14 @@ null !== candidateType && types.has(candidateType) && (didMatch = !0), didMatch ? findHostInstancesForFiberShallowly(fiber, hostInstances) : null !== child && findHostInstancesForMatchingFibersRecursively(child, types, hostInstances), null !== sibling && findHostInstancesForMatchingFibersRecursively(sibling, types, hostInstances); } function findHostInstancesForFiberShallowly(fiber, hostInstances) { - var foundHostInstances = findChildHostInstancesForFiberShallowly(fiber, hostInstances); - if (!foundHostInstances) for(var node = fiber;;){ + if (!findChildHostInstancesForFiberShallowly(fiber, hostInstances)) for(var node = fiber;;){ switch(node.tag){ case 5: - hostInstances.add(node.stateNode); - return; + return void hostInstances.add(node.stateNode); case 4: - hostInstances.add(node.stateNode.containerInfo); - return; + return void hostInstances.add(node.stateNode.containerInfo); case 3: - hostInstances.add(node.stateNode.containerInfo); - return; + return void hostInstances.add(node.stateNode.containerInfo); } if (null === node.return) throw new Error("Expected to reach root first."); node = node.return; @@ -7863,18 +8450,24 @@ if ("function" == typeof type) shouldConstruct$1(type) ? (fiberTag = 1, resolvedType = resolveClassForHotReloading(resolvedType)) : resolvedType = resolveFunctionForHotReloading(resolvedType); else if ("string" == typeof type) fiberTag = 5; else getTag: switch(type){ - case REACT_FRAGMENT_TYPE: return createFiberFromFragment(pendingProps.children, mode, lanes, key); + case REACT_FRAGMENT_TYPE: + return createFiberFromFragment(pendingProps.children, mode, lanes, key); case REACT_DEBUG_TRACING_MODE_TYPE: fiberTag = 8, mode |= 16; break; case REACT_STRICT_MODE_TYPE: fiberTag = 8, mode |= 1; break; - case REACT_PROFILER_TYPE: return createFiberFromProfiler(pendingProps, mode, lanes, key); - case REACT_SUSPENSE_TYPE: return createFiberFromSuspense(pendingProps, mode, lanes, key); - case REACT_SUSPENSE_LIST_TYPE: return createFiberFromSuspenseList(pendingProps, mode, lanes, key); - case REACT_OFFSCREEN_TYPE: return createFiberFromOffscreen(pendingProps, mode, lanes, key); - case REACT_LEGACY_HIDDEN_TYPE: return createFiberFromLegacyHidden(pendingProps, mode, lanes, key); + case REACT_PROFILER_TYPE: + return createFiberFromProfiler(pendingProps, mode, lanes, key); + case REACT_SUSPENSE_TYPE: + return createFiberFromSuspense(pendingProps, mode, lanes, key); + case REACT_SUSPENSE_LIST_TYPE: + return createFiberFromSuspenseList(pendingProps, mode, lanes, key); + case REACT_OFFSCREEN_TYPE: + return createFiberFromOffscreen(pendingProps, mode, lanes, key); + case REACT_LEGACY_HIDDEN_TYPE: + return createFiberFromLegacyHidden(pendingProps, mode, lanes, key); case REACT_SCOPE_TYPE: default: if ("object" == typeof type && null !== type) switch(type.$$typeof){ @@ -7975,8 +8568,10 @@ } function registerMutableSourceForHydration(root, mutableSource) { var version = (0, mutableSource._getVersion)(mutableSource._source); - null == root.mutableSourceEagerHydrationData ? root.mutableSourceEagerHydrationData = [mutableSource, - version] : root.mutableSourceEagerHydrationData.push(mutableSource, version); + null == root.mutableSourceEagerHydrationData ? root.mutableSourceEagerHydrationData = [ + mutableSource, + version + ] : root.mutableSourceEagerHydrationData.push(mutableSource, version); } function createPortal(children, containerInfo, implementation) { var key = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null; @@ -8037,8 +8632,10 @@ var containerFiber = container.current; if (!containerFiber.child) return null; switch(containerFiber.child.tag){ - case 5: return getPublicInstance(containerFiber.child.stateNode); - default: return containerFiber.child.stateNode; + case 5: + return getPublicInstance(containerFiber.child.stateNode); + default: + return containerFiber.child.stateNode; } } function markRetryLaneImpl(fiber, retryLane) { @@ -8071,11 +8668,8 @@ }, obj); return index + 1 === oldPath.length ? (updated[newPath[index]] = updated[oldKey], Array.isArray(updated) ? updated.splice(oldKey, 1) : delete updated[oldKey]) : updated[oldKey] = copyWithRenameImpl(obj[oldKey], oldPath, newPath, index + 1), updated; }, copyWithRename = function(obj, oldPath, newPath) { - oldPath.length !== newPath.length && warn("copyWithRename() expects paths of the same length"); - for(var i = 0; i < newPath.length - 1; i++)if (oldPath[i] !== newPath[i]) { - warn("copyWithRename() expects paths to be the same except for the deepest key"); - return; - } + if (oldPath.length !== newPath.length) return void warn("copyWithRename() expects paths of the same length"); + for(var i = 0; i < newPath.length - 1; i++)if (oldPath[i] !== newPath[i]) return void warn("copyWithRename() expects paths to be the same except for the deepest key"); return copyWithRenameImpl(obj, oldPath, newPath, 0); }, copyWithSetImpl = function(obj, path, index, value) { if (index >= path.length) return value; @@ -8106,7 +8700,7 @@ } function createRootImpl(container, tag, options) { var hydrate = null != options && !0 === options.hydrate, mutableSources = null != options && null != options.hydrationOptions && options.hydrationOptions.mutableSources || null, root = createContainer(container, tag, hydrate); - if (markContainerAsRoot(root.current, container), listenToAllSupportedEvents(8 === container.nodeType ? container.parentNode : container), mutableSources) for(var mutableSource, i = 0; i < mutableSources.length; i++)registerMutableSourceForHydration(root, mutableSource); + if (markContainerAsRoot(root.current, container), listenToAllSupportedEvents(8 === container.nodeType ? container.parentNode : container), mutableSources) for(var i = 0; i < mutableSources.length; i++)registerMutableSourceForHydration(root, mutableSources[i]); return root; } function createLegacyRoot(container, options) { @@ -8198,37 +8792,206 @@ getCurrentFiber: getCurrentFiberForDevTools })); if (!React) throw Error("ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM."); - if (["children", "dangerouslySetInnerHTML", "defaultValue", "defaultChecked", "innerHTML", "suppressContentEditableWarning", "suppressHydrationWarning", "style"].forEach(function(name) { + if ([ + "children", + "dangerouslySetInnerHTML", + "defaultValue", + "defaultChecked", + "innerHTML", + "suppressContentEditableWarning", + "suppressHydrationWarning", + "style" + ].forEach(function(name) { properties[name] = new PropertyInfoRecord(name, 0, !1, name, null, !1, !1); - }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(_ref) { + }), [ + [ + "acceptCharset", + "accept-charset" + ], + [ + "className", + "class" + ], + [ + "htmlFor", + "for" + ], + [ + "httpEquiv", + "http-equiv" + ] + ].forEach(function(_ref) { var name = _ref[0], attributeName = _ref[1]; properties[name] = new PropertyInfoRecord(name, 1, !1, attributeName, null, !1, !1); - }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(name) { + }), [ + "contentEditable", + "draggable", + "spellCheck", + "value" + ].forEach(function(name) { properties[name] = new PropertyInfoRecord(name, 2, !1, name.toLowerCase(), null, !1, !1); - }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(name) { + }), [ + "autoReverse", + "externalResourcesRequired", + "focusable", + "preserveAlpha" + ].forEach(function(name) { properties[name] = new PropertyInfoRecord(name, 2, !1, name, null, !1, !1); - }), ["allowFullScreen", "async", "autoFocus", "autoPlay", "controls", "default", "defer", "disabled", "disablePictureInPicture", "disableRemotePlayback", "formNoValidate", "hidden", "loop", "noModule", "noValidate", "open", "playsInline", "readOnly", "required", "reversed", "scoped", "seamless", "itemScope"].forEach(function(name) { + }), [ + "allowFullScreen", + "async", + "autoFocus", + "autoPlay", + "controls", + "default", + "defer", + "disabled", + "disablePictureInPicture", + "disableRemotePlayback", + "formNoValidate", + "hidden", + "loop", + "noModule", + "noValidate", + "open", + "playsInline", + "readOnly", + "required", + "reversed", + "scoped", + "seamless", + "itemScope" + ].forEach(function(name) { properties[name] = new PropertyInfoRecord(name, 3, !1, name.toLowerCase(), null, !1, !1); - }), ["checked", "multiple", "muted", "selected"].forEach(function(name) { + }), [ + "checked", + "multiple", + "muted", + "selected" + ].forEach(function(name) { properties[name] = new PropertyInfoRecord(name, 3, !0, name, null, !1, !1); - }), ["capture", "download"].forEach(function(name) { + }), [ + "capture", + "download" + ].forEach(function(name) { properties[name] = new PropertyInfoRecord(name, 4, !1, name, null, !1, !1); - }), ["cols", "rows", "size", "span"].forEach(function(name) { + }), [ + "cols", + "rows", + "size", + "span" + ].forEach(function(name) { properties[name] = new PropertyInfoRecord(name, 6, !1, name, null, !1, !1); - }), ["rowSpan", "start"].forEach(function(name) { + }), [ + "rowSpan", + "start" + ].forEach(function(name) { properties[name] = new PropertyInfoRecord(name, 5, !1, name.toLowerCase(), null, !1, !1); - }), ["accent-height", "alignment-baseline", "arabic-form", "baseline-shift", "cap-height", "clip-path", "clip-rule", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "dominant-baseline", "enable-background", "fill-opacity", "fill-rule", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "glyph-name", "glyph-orientation-horizontal", "glyph-orientation-vertical", "horiz-adv-x", "horiz-origin-x", "image-rendering", "letter-spacing", "lighting-color", "marker-end", "marker-mid", "marker-start", "overline-position", "overline-thickness", "paint-order", "panose-1", "pointer-events", "rendering-intent", "shape-rendering", "stop-color", "stop-opacity", "strikethrough-position", "strikethrough-thickness", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "text-anchor", "text-decoration", "text-rendering", "underline-position", "underline-thickness", "unicode-bidi", "unicode-range", "units-per-em", "v-alphabetic", "v-hanging", "v-ideographic", "v-mathematical", "vector-effect", "vert-adv-y", "vert-origin-x", "vert-origin-y", "word-spacing", "writing-mode", "xmlns:xlink", "x-height"].forEach(function(attributeName) { + }), [ + "accent-height", + "alignment-baseline", + "arabic-form", + "baseline-shift", + "cap-height", + "clip-path", + "clip-rule", + "color-interpolation", + "color-interpolation-filters", + "color-profile", + "color-rendering", + "dominant-baseline", + "enable-background", + "fill-opacity", + "fill-rule", + "flood-color", + "flood-opacity", + "font-family", + "font-size", + "font-size-adjust", + "font-stretch", + "font-style", + "font-variant", + "font-weight", + "glyph-name", + "glyph-orientation-horizontal", + "glyph-orientation-vertical", + "horiz-adv-x", + "horiz-origin-x", + "image-rendering", + "letter-spacing", + "lighting-color", + "marker-end", + "marker-mid", + "marker-start", + "overline-position", + "overline-thickness", + "paint-order", + "panose-1", + "pointer-events", + "rendering-intent", + "shape-rendering", + "stop-color", + "stop-opacity", + "strikethrough-position", + "strikethrough-thickness", + "stroke-dasharray", + "stroke-dashoffset", + "stroke-linecap", + "stroke-linejoin", + "stroke-miterlimit", + "stroke-opacity", + "stroke-width", + "text-anchor", + "text-decoration", + "text-rendering", + "underline-position", + "underline-thickness", + "unicode-bidi", + "unicode-range", + "units-per-em", + "v-alphabetic", + "v-hanging", + "v-ideographic", + "v-mathematical", + "vector-effect", + "vert-adv-y", + "vert-origin-x", + "vert-origin-y", + "word-spacing", + "writing-mode", + "xmlns:xlink", + "x-height" + ].forEach(function(attributeName) { var name = attributeName.replace(CAMELIZE, capitalize); properties[name] = new PropertyInfoRecord(name, 1, !1, attributeName, null, !1, !1); - }), ["xlink:actuate", "xlink:arcrole", "xlink:role", "xlink:show", "xlink:title", "xlink:type"].forEach(function(attributeName) { + }), [ + "xlink:actuate", + "xlink:arcrole", + "xlink:role", + "xlink:show", + "xlink:title", + "xlink:type" + ].forEach(function(attributeName) { var name = attributeName.replace(CAMELIZE, capitalize); properties[name] = new PropertyInfoRecord(name, 1, !1, attributeName, "http://www.w3.org/1999/xlink", !1, !1); - }), ["xml:base", "xml:lang", "xml:space"].forEach(function(attributeName) { + }), [ + "xml:base", + "xml:lang", + "xml:space" + ].forEach(function(attributeName) { var name = attributeName.replace(CAMELIZE, capitalize); properties[name] = new PropertyInfoRecord(name, 1, !1, attributeName, "http://www.w3.org/XML/1998/namespace", !1, !1); - }), ["tabIndex", "crossOrigin"].forEach(function(attributeName) { + }), [ + "tabIndex", + "crossOrigin" + ].forEach(function(attributeName) { properties[attributeName] = new PropertyInfoRecord(attributeName, 1, !1, attributeName.toLowerCase(), null, !1, !1); - }), properties.xlinkHref = new PropertyInfoRecord("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(attributeName) { + }), properties.xlinkHref = new PropertyInfoRecord("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), [ + "src", + "href", + "action", + "formAction" + ].forEach(function(attributeName) { properties[attributeName] = new PropertyInfoRecord(attributeName, 1, !1, attributeName.toLowerCase(), null, !0, !0); }), "function" == typeof Symbol && Symbol.for) { var symbolFor = Symbol.for; @@ -8305,9 +9068,224 @@ element.setAttribute(eventName, "return;"), isSupported = "function" == typeof element[eventName]; } return isSupported; - })("input") && (!document.documentMode || document.documentMode > 9)), registerSimplePluginEventsAndSetTheirPriorities(["cancel", "cancel", "click", "click", "close", "close", "contextmenu", "contextMenu", "copy", "copy", "cut", "cut", "auxclick", "auxClick", "dblclick", "doubleClick", "dragend", "dragEnd", "dragstart", "dragStart", "drop", "drop", "focusin", "focus", "focusout", "blur", "input", "input", "invalid", "invalid", "keydown", "keyDown", "keypress", "keyPress", "keyup", "keyUp", "mousedown", "mouseDown", "mouseup", "mouseUp", "paste", "paste", "pause", "pause", "play", "play", "pointercancel", "pointerCancel", "pointerdown", "pointerDown", "pointerup", "pointerUp", "ratechange", "rateChange", "reset", "reset", "seeked", "seeked", "submit", "submit", "touchcancel", "touchCancel", "touchend", "touchEnd", "touchstart", "touchStart", "volumechange", "volumeChange"], 0), registerSimplePluginEventsAndSetTheirPriorities(["drag", "drag", "dragenter", "dragEnter", "dragexit", "dragExit", "dragleave", "dragLeave", "dragover", "dragOver", "mousemove", "mouseMove", "mouseout", "mouseOut", "mouseover", "mouseOver", "pointermove", "pointerMove", "pointerout", "pointerOut", "pointerover", "pointerOver", "scroll", "scroll", "toggle", "toggle", "touchmove", "touchMove", "wheel", "wheel"], 1), registerSimplePluginEventsAndSetTheirPriorities(["abort", "abort", ANIMATION_END, "animationEnd", ANIMATION_ITERATION, "animationIteration", ANIMATION_START, "animationStart", "canplay", "canPlay", "canplaythrough", "canPlayThrough", "durationchange", "durationChange", "emptied", "emptied", "encrypted", "encrypted", "ended", "ended", "error", "error", "gotpointercapture", "gotPointerCapture", "load", "load", "loadeddata", "loadedData", "loadedmetadata", "loadedMetadata", "loadstart", "loadStart", "lostpointercapture", "lostPointerCapture", "playing", "playing", "progress", "progress", "seeking", "seeking", "stalled", "stalled", "suspend", "suspend", "timeupdate", "timeUpdate", TRANSITION_END, "transitionEnd", "waiting", "waiting"], 2), (function(eventTypes, priority) { + })("input") && (!document.documentMode || document.documentMode > 9)), registerSimplePluginEventsAndSetTheirPriorities([ + "cancel", + "cancel", + "click", + "click", + "close", + "close", + "contextmenu", + "contextMenu", + "copy", + "copy", + "cut", + "cut", + "auxclick", + "auxClick", + "dblclick", + "doubleClick", + "dragend", + "dragEnd", + "dragstart", + "dragStart", + "drop", + "drop", + "focusin", + "focus", + "focusout", + "blur", + "input", + "input", + "invalid", + "invalid", + "keydown", + "keyDown", + "keypress", + "keyPress", + "keyup", + "keyUp", + "mousedown", + "mouseDown", + "mouseup", + "mouseUp", + "paste", + "paste", + "pause", + "pause", + "play", + "play", + "pointercancel", + "pointerCancel", + "pointerdown", + "pointerDown", + "pointerup", + "pointerUp", + "ratechange", + "rateChange", + "reset", + "reset", + "seeked", + "seeked", + "submit", + "submit", + "touchcancel", + "touchCancel", + "touchend", + "touchEnd", + "touchstart", + "touchStart", + "volumechange", + "volumeChange" + ], 0), registerSimplePluginEventsAndSetTheirPriorities([ + "drag", + "drag", + "dragenter", + "dragEnter", + "dragexit", + "dragExit", + "dragleave", + "dragLeave", + "dragover", + "dragOver", + "mousemove", + "mouseMove", + "mouseout", + "mouseOut", + "mouseover", + "mouseOver", + "pointermove", + "pointerMove", + "pointerout", + "pointerOut", + "pointerover", + "pointerOver", + "scroll", + "scroll", + "toggle", + "toggle", + "touchmove", + "touchMove", + "wheel", + "wheel" + ], 1), registerSimplePluginEventsAndSetTheirPriorities([ + "abort", + "abort", + ANIMATION_END, + "animationEnd", + ANIMATION_ITERATION, + "animationIteration", + ANIMATION_START, + "animationStart", + "canplay", + "canPlay", + "canplaythrough", + "canPlayThrough", + "durationchange", + "durationChange", + "emptied", + "emptied", + "encrypted", + "encrypted", + "ended", + "ended", + "error", + "error", + "gotpointercapture", + "gotPointerCapture", + "load", + "load", + "loadeddata", + "loadedData", + "loadedmetadata", + "loadedMetadata", + "loadstart", + "loadStart", + "lostpointercapture", + "lostPointerCapture", + "playing", + "playing", + "progress", + "progress", + "seeking", + "seeking", + "stalled", + "stalled", + "suspend", + "suspend", + "timeupdate", + "timeUpdate", + TRANSITION_END, + "transitionEnd", + "waiting", + "waiting" + ], 2), (function(eventTypes, priority) { for(var i = 0; i < eventTypes.length; i++)eventPriorities.set(eventTypes[i], 0); - })(["change", "selectionchange", "textInput", "compositionstart", "compositionend", "compositionupdate"], 0), registerDirectEvent("onMouseEnter", ["mouseout", "mouseover"]), registerDirectEvent("onMouseLeave", ["mouseout", "mouseover"]), registerDirectEvent("onPointerEnter", ["pointerout", "pointerover"]), registerDirectEvent("onPointerLeave", ["pointerout", "pointerover"]), registerTwoPhaseEvent("onChange", ["change", "click", "focusin", "focusout", "input", "keydown", "keyup", "selectionchange"]), registerTwoPhaseEvent("onSelect", ["focusout", "contextmenu", "dragend", "focusin", "keydown", "keyup", "mousedown", "mouseup", "selectionchange"]), registerTwoPhaseEvent("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), registerTwoPhaseEvent("onCompositionEnd", ["compositionend", "focusout", "keydown", "keypress", "keyup", "mousedown"]), registerTwoPhaseEvent("onCompositionStart", ["compositionstart", "focusout", "keydown", "keypress", "keyup", "mousedown"]), registerTwoPhaseEvent("onCompositionUpdate", ["compositionupdate", "focusout", "keydown", "keypress", "keyup", "mousedown"]), warnedUnknownTags = { + })([ + "change", + "selectionchange", + "textInput", + "compositionstart", + "compositionend", + "compositionupdate" + ], 0), registerDirectEvent("onMouseEnter", [ + "mouseout", + "mouseover" + ]), registerDirectEvent("onMouseLeave", [ + "mouseout", + "mouseover" + ]), registerDirectEvent("onPointerEnter", [ + "pointerout", + "pointerover" + ]), registerDirectEvent("onPointerLeave", [ + "pointerout", + "pointerover" + ]), registerTwoPhaseEvent("onChange", [ + "change", + "click", + "focusin", + "focusout", + "input", + "keydown", + "keyup", + "selectionchange" + ]), registerTwoPhaseEvent("onSelect", [ + "focusout", + "contextmenu", + "dragend", + "focusin", + "keydown", + "keyup", + "mousedown", + "mouseup", + "selectionchange" + ]), registerTwoPhaseEvent("onBeforeInput", [ + "compositionend", + "keypress", + "textInput", + "paste" + ]), registerTwoPhaseEvent("onCompositionEnd", [ + "compositionend", + "focusout", + "keydown", + "keypress", + "keyup", + "mousedown" + ]), registerTwoPhaseEvent("onCompositionStart", [ + "compositionstart", + "focusout", + "keydown", + "keypress", + "keyup", + "mousedown" + ]), registerTwoPhaseEvent("onCompositionUpdate", [ + "compositionupdate", + "focusout", + "keydown", + "keypress", + "keyup", + "mousedown" + ]), warnedUnknownTags = { dialog: !0, webview: !0 }, validatePropertiesInDevelopment = function(type, props) { @@ -8392,7 +9370,8 @@ }), pendingUNSAFE_ComponentWillUpdateWarnings = []), UNSAFE_componentWillMountUniqueNames.size > 0 && error("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s", setToSortedString(UNSAFE_componentWillMountUniqueNames)), UNSAFE_componentWillReceivePropsUniqueNames.size > 0 && error("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n\nPlease update the following components: %s", setToSortedString(UNSAFE_componentWillReceivePropsUniqueNames)), UNSAFE_componentWillUpdateUniqueNames.size > 0 && error("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s", setToSortedString(UNSAFE_componentWillUpdateUniqueNames)), componentWillMountUniqueNames.size > 0 && warn("componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", setToSortedString(componentWillMountUniqueNames)), componentWillReceivePropsUniqueNames.size > 0 && warn("componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", setToSortedString(componentWillReceivePropsUniqueNames)), componentWillUpdateUniqueNames.size > 0 && warn("componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", setToSortedString(componentWillUpdateUniqueNames)); }, ReactStrictModeWarnings.recordLegacyContextWarning = function(fiber, instance) { var strictRoot = findStrictRoot(fiber); - if (null === strictRoot && error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."), !didWarnAboutLegacyContext.has(fiber.type)) { + if (null === strictRoot) return void error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."); + if (!didWarnAboutLegacyContext.has(fiber.type)) { var warningsForRoot = pendingLegacyContextWarning.get(strictRoot); (null != fiber.type.contextTypes || null != fiber.type.childContextTypes || null !== instance && "function" == typeof instance.getChildContext) && (void 0 === warningsForRoot && (warningsForRoot = [], pendingLegacyContextWarning.set(strictRoot, warningsForRoot)), warningsForRoot.push(fiber)); } @@ -8968,7 +9947,14 @@ try { var nonExtensibleObject = Object.preventExtensions({ }); - new Map([[nonExtensibleObject, null]]), new Set([nonExtensibleObject]); + new Map([ + [ + nonExtensibleObject, + null + ] + ]), new Set([ + nonExtensibleObject + ]); } catch (e) { hasBadMapPolyfill = !0; } @@ -9053,14 +10039,11 @@ })(function(domElement, tag, props) { switch(tag){ case "input": - restoreControlledState(domElement, props); - return; + return void restoreControlledState(domElement, props); case "textarea": - restoreControlledState$2(domElement, props); - return; + return void restoreControlledState$2(domElement, props); case "select": - restoreControlledState$1(domElement, props); - return; + return void restoreControlledState$1(domElement, props); } }), (function(_batchedUpdatesImpl, _discreteUpdatesImpl, _flushDiscreteUpdatesImpl, _batchedEventUpdatesImpl) { batchedUpdatesImpl = batchedUpdates$1, discreteUpdatesImpl = _discreteUpdatesImpl, flushDiscreteUpdatesImpl = _flushDiscreteUpdatesImpl, batchedEventUpdatesImpl = _batchedEventUpdatesImpl; @@ -9073,7 +10056,8 @@ 0 === (executionContext = prevExecutionContext) && (resetRenderTimer(), flushSyncCallbackQueue()); } }, function() { - (49 & executionContext) !== 0 && (16 & executionContext) !== 0 && error("unstable_flushDiscreteUpdates: Cannot flush updates when React is already rendering."), flushPendingDiscreteUpdates(), flushPassiveEffects(); + if ((49 & executionContext) !== 0) return void ((16 & executionContext) !== 0 && error("unstable_flushDiscreteUpdates: Cannot flush updates when React is already rendering.")); + flushPendingDiscreteUpdates(), flushPassiveEffects(); }, function(fn, a) { var prevExecutionContext = executionContext; executionContext |= 2; @@ -9087,13 +10071,15 @@ /^(https?|file):$/.test(protocol) && console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools" + ("file:" === protocol ? "\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq" : ""), "font-weight:bold"); } exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { - Events: [getInstanceFromNode, + Events: [ + getInstanceFromNode, getNodeFromInstance, getFiberCurrentPropsFromNode, enqueueStateRestore, restoreStateIfNeeded, flushPassiveEffects, - IsThisRendererActing] + IsThisRendererActing + ] }, exports.createPortal = createPortal$1, exports.findDOMNode = function(componentOrElement) { var owner = ReactCurrentOwner$3.current; return null !== owner && null !== owner.stateNode && (owner.stateNode._warnedAboutRefsInRender || error("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.", getComponentName(owner.type) || "A component"), owner.stateNode._warnedAboutRefsInRender = !0), null == componentOrElement ? null : 1 === componentOrElement.nodeType ? componentOrElement : findHostInstanceWithWarning(componentOrElement, "findDOMNode"); @@ -9105,8 +10091,7 @@ return isContainerMarkedAsRoot(container) && void 0 === container._reactRootContainer && error("You are calling ReactDOM.render() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.render(element)?"), legacyRenderSubtreeIntoContainer(null, element, container, !1, callback); }, exports.unmountComponentAtNode = function(container) { if (!isValidContainer(container)) throw Error("unmountComponentAtNode(...): Target container is not a DOM element."); - var isModernRoot = isContainerMarkedAsRoot(container) && void 0 === container._reactRootContainer; - if (isModernRoot && error("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.unmount()?"), container._reactRootContainer) { + if (isContainerMarkedAsRoot(container) && void 0 === container._reactRootContainer && error("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.unmount()?"), container._reactRootContainer) { var rootEl = getReactRootElementInContainer(container); return rootEl && !getInstanceFromNode(rootEl) && error("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."), unbatchedUpdates(function() { legacyRenderSubtreeIntoContainer(null, null, container, !1, function() { diff --git a/ecmascript/minifier/tests/projects/output/underscore-1.5.2.js b/ecmascript/minifier/tests/projects/output/underscore-1.5.2.js index ce81932f0b3..037b22ea66b 100644 --- a/ecmascript/minifier/tests/projects/output/underscore-1.5.2.js +++ b/ecmascript/minifier/tests/projects/output/underscore-1.5.2.js @@ -271,7 +271,10 @@ return func.apply(null, args); }, wait); }, _.defer = function(func) { - return _.delay.apply(_, [func, 1].concat(slice.call(arguments, 1))); + return _.delay.apply(_, [ + func, + 1 + ].concat(slice.call(arguments, 1))); }, _.throttle = function(func, wait, options) { var context, args, result, timeout = null, previous = 0; options || (options = { @@ -302,13 +305,17 @@ }; }, _.wrap = function(func, wrapper) { return function() { - var args = [func]; + var args = [ + func + ]; return push.apply(args, arguments), wrapper.apply(this, args); }; }, _.compose = function() { var funcs = arguments; return function() { - for(var args = arguments, i = funcs.length - 1; i >= 0; i--)args = [funcs[i].apply(this, args)]; + for(var args = arguments, i = funcs.length - 1; i >= 0; i--)args = [ + funcs[i].apply(this, args) + ]; return args[0]; }; }, _.after = function(times, func) { @@ -324,7 +331,10 @@ for(var keys = _.keys(obj), length = keys.length, values = new Array(length), i = 0; i < length; i++)values[i] = obj[keys[i]]; return values; }, _.pairs = function(obj) { - for(var keys = _.keys(obj), length = keys.length, pairs = new Array(length), i = 0; i < length; i++)pairs[i] = [keys[i], obj[keys[i]]]; + for(var keys = _.keys(obj), length = keys.length, pairs = new Array(length), i = 0; i < length; i++)pairs[i] = [ + keys[i], + obj[keys[i]] + ]; return pairs; }, _.invert = function(obj) { for(var result = { @@ -366,11 +376,15 @@ var className = toString.call(a); if (className != toString.call(b)) return !1; switch(className){ - case "[object String]": return a == String(b); - case "[object Number]": return a != +a ? b != +b : 0 == a ? 1 / a == 1 / b : a == +b; + case "[object String]": + return a == String(b); + case "[object Number]": + return a != +a ? b != +b : 0 == a ? 1 / a == 1 / b : a == +b; case "[object Date]": - case "[object Boolean]": return +a == +b; - case "[object RegExp]": return a.source == b.source && a.global == b.global && a.multiline == b.multiline && a.ignoreCase == b.ignoreCase; + case "[object Boolean]": + return +a == +b; + case "[object RegExp]": + return a.source == b.source && a.global == b.global && a.multiline == b.multiline && a.ignoreCase == b.ignoreCase; } if ("object" != typeof a || "object" != typeof b) return !1; for(var length = aStack.length; length--;)if (aStack[length] == a) return bStack[length] == b; @@ -402,7 +416,14 @@ return "[object Array]" == toString.call(obj); }, _.isObject = function(obj) { return obj === Object(obj); - }, each(["Arguments", "Function", "String", "Number", "Date", "RegExp"], function(name) { + }, each([ + "Arguments", + "Function", + "String", + "Number", + "Date", + "RegExp" + ], function(name) { _["is" + name] = function(obj) { return toString.call(obj) == "[object " + name + "]"; }; @@ -446,7 +467,10 @@ escape: new RegExp("[" + _.keys(entityMap.escape).join("") + "]", "g"), unescape: new RegExp("(" + _.keys(entityMap.unescape).join("|") + ")", "g") }; - _.each(["escape", "unescape"], function(method) { + _.each([ + "escape", + "unescape" + ], function(method) { _[method] = function(string) { return null == string ? "" : ("" + string).replace(entityRegexes[method], function(match) { return entityMap[method][match]; @@ -461,7 +485,9 @@ each(_.functions(obj), function(name) { var func = _[name] = obj[name]; _.prototype[name] = function() { - var args = [this._wrapped]; + var args = [ + this._wrapped + ]; return push.apply(args, arguments), result.call(this, func.apply(_, args)); }; }); @@ -488,7 +514,11 @@ var render; settings = _.defaults({ }, settings, _.templateSettings); - var matcher = new RegExp([(settings.escape || noMatch).source, (settings.interpolate || noMatch).source, (settings.evaluate || noMatch).source].join("|") + "|$", "g"), index = 0, source = "__p+='"; + var matcher = new RegExp([ + (settings.escape || noMatch).source, + (settings.interpolate || noMatch).source, + (settings.evaluate || noMatch).source + ].join("|") + "|$", "g"), index = 0, source = "__p+='"; text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { return source += text.slice(index, offset).replace(escaper, function(match) { return "\\" + escapes[match]; @@ -510,13 +540,25 @@ var result = function(obj) { return this._chain ? _(obj).chain() : obj; }; - _.mixin(_), each(["pop", "push", "reverse", "shift", "sort", "splice", "unshift"], function(name) { + _.mixin(_), each([ + "pop", + "push", + "reverse", + "shift", + "sort", + "splice", + "unshift" + ], function(name) { var method = ArrayProto[name]; _.prototype[name] = function() { var obj = this._wrapped; return method.apply(obj, arguments), ("shift" == name || "splice" == name) && 0 === obj.length && delete obj[0], result.call(this, obj); }; - }), each(["concat", "join", "slice"], function(name) { + }), each([ + "concat", + "join", + "slice" + ], function(name) { var method = ArrayProto[name]; _.prototype[name] = function() { return result.call(this, method.apply(this._wrapped, arguments)); diff --git a/ecmascript/minifier/tests/projects/output/yui-3.12.0.js b/ecmascript/minifier/tests/projects/output/yui-3.12.0.js index 2bdcb54d905..a2d3d9cc7bc 100644 --- a/ecmascript/minifier/tests/projects/output/yui-3.12.0.js +++ b/ecmascript/minifier/tests/projects/output/yui-3.12.0.js @@ -27,7 +27,9 @@ var YUI = function() { }, handleLoad = function() { YUI.Env.windowLoaded = !0, YUI.Env.DOMReady = !0, hasWin && remove(window, "load", handleLoad); }, getLoader = function(Y, o) { - var G_ENV, loader = Y.Env._loader, lCore = ["loader-base"], mods = YUI.Env.mods; + var G_ENV, loader = Y.Env._loader, lCore = [ + "loader-base" + ], mods = YUI.Env.mods; return loader ? (loader.ignoreRegistered = !1, loader.onEnd = null, loader.data = null, loader.required = [], loader.loadType = null) : (loader = new Y.Loader(Y.config), Y.Env._loader = loader), mods && mods.loader && (lCore = [].concat(lCore, YUI.Env.loaderExtras)), YUI.Env.core = Y.Array.dedupe([].concat(YUI.Env.core, lCore)), loader; }, clobber = function(r, s) { for(var i in s)s.hasOwnProperty(i) && (r[i] = s[i]); @@ -48,8 +50,20 @@ var YUI = function() { var filter, el, prop, Y = this, G_ENV = YUI.Env, Env = Y.Env; if (Y.version = VERSION, !Env) { if (Y.Env = { - core: ["get", "features", "intl-base", "yui-log", "yui-later", "loader-base", "loader-rollup", "loader-yui3"], - loaderExtras: ["loader-rollup", "loader-yui3"], + core: [ + "get", + "features", + "intl-base", + "yui-log", + "yui-later", + "loader-base", + "loader-rollup", + "loader-yui3" + ], + loaderExtras: [ + "loader-rollup", + "loader-yui3" + ], mods: { }, versions: { @@ -107,7 +121,9 @@ var YUI = function() { _setup: function() { var i, core = [], mods = YUI.Env.mods, extras = this.config.core || [].concat(YUI.Env.core); for(i = 0; i < extras.length; i++)mods[extras[i]] && core.push(extras[i]); - this._attach(["yui-base"]), this._attach(core), this.Loader && getLoader(this); + this._attach([ + "yui-base" + ]), this._attach(core), this.Loader && getLoader(this); }, applyTo: function(id, method, args) { if (!(method in APPLY_TO_AUTH)) return this.log(method + ": applyTo not allowed", "warn", "yui"), null; @@ -175,7 +191,9 @@ var YUI = function() { return !0; }, _delayCallback: function(cb, until) { - var Y = this, mod = ["event-base"]; + var Y = this, mod = [ + "event-base" + ]; return "load" === (until = Y.Lang.isObject(until) ? until : { event: until }).event && mod.push("event-synthetic"), function() { @@ -196,8 +214,10 @@ var YUI = function() { } if (provisioned) return args.length, this._notify(callback, ALREADY_DONE, args), this; } - return this._loading ? (this._useQueue = this._useQueue || new this.Queue(), this._useQueue.add([args, - callback])) : this._use(args, function(Y, response) { + return this._loading ? (this._useQueue = this._useQueue || new this.Queue(), this._useQueue.add([ + args, + callback + ])) : this._use(args, function(Y, response) { Y._notify(callback, response, args); }), this; }, @@ -211,7 +231,9 @@ var YUI = function() { } }, _use: function(args, callback) { - this.Array || this._attach(["yui-base"]); + this.Array || this._attach([ + "yui-base" + ]); var len, loader, handleBoot, i, Y = this, G_ENV = YUI.Env, mods = G_ENV.mods, Env = Y.Env, used = Env._used, aliases = G_ENV.aliases, queue = G_ENV._loaderQueue, firstArg = args[0], config = Y.config, boot = config.bootstrap, missing = [], r = [], ret = !0, fetchCSS = config.fetchCSS, process = function(names, skip) { var name, len, m, req, use, i = 0, a = []; if (names.length) { @@ -234,8 +256,12 @@ var YUI = function() { for(i in args = [], mods)mods.hasOwnProperty(i) && args.push(i); return (ret = Y._attach(args)) && handleLoader(), Y; } - return (mods.loader || mods["loader-base"]) && !Y.Loader && Y._attach(["loader" + (mods.loader ? "" : "-base")]), boot && Y.Loader && args.length && ((loader = getLoader(Y)).require(args), loader.ignoreRegistered = !0, loader._boot = !0, loader.calculate(null, fetchCSS ? null : "js"), args = loader.sorted, loader._boot = !1), process(args), (len = missing.length) && (len = (missing = Y.Array.dedupe(missing)).length), boot && len && Y.Loader ? (Y._loading = !0, (loader = getLoader(Y)).onEnd = handleLoader, loader.context = Y, loader.data = args, loader.ignoreRegistered = !1, loader.require(missing), loader.insert(null, fetchCSS ? null : "js")) : boot && len && Y.Get && !Env.bootstrapped ? (Y._loading = !0, handleBoot = function() { - Y._loading = !1, queue.running = !1, Env.bootstrapped = !0, G_ENV._bootstrapping = !1, Y._attach(["loader"]) && Y._use(args, callback); + return (mods.loader || mods["loader-base"]) && !Y.Loader && Y._attach([ + "loader" + (mods.loader ? "" : "-base") + ]), boot && Y.Loader && args.length && ((loader = getLoader(Y)).require(args), loader.ignoreRegistered = !0, loader._boot = !0, loader.calculate(null, fetchCSS ? null : "js"), args = loader.sorted, loader._boot = !1), process(args), (len = missing.length) && (len = (missing = Y.Array.dedupe(missing)).length), boot && len && Y.Loader ? (Y._loading = !0, (loader = getLoader(Y)).onEnd = handleLoader, loader.context = Y, loader.data = args, loader.ignoreRegistered = !1, loader.require(missing), loader.insert(null, fetchCSS ? null : "js")) : boot && len && Y.Get && !Env.bootstrapped ? (Y._loading = !0, handleBoot = function() { + Y._loading = !1, queue.running = !1, Env.bootstrapped = !0, G_ENV._bootstrapping = !1, Y._attach([ + "loader" + ]) && Y._use(args, callback); }, G_ENV._bootstrapping ? queue.add(handleBoot) : (G_ENV._bootstrapping = !0, Y.Get.script(config.base + config.loaderPath, { onEnd: handleBoot }))) : (ret = Y._attach(args)) && handleLoader(), Y; @@ -303,7 +329,9 @@ var YUI = function() { for(result = [], len = thing.length; startIndex < len; ++startIndex)result.push(thing[startIndex]); return result; } - return [thing]; + return [ + thing + ]; } function Queue() { this._init(), this.add.apply(this, arguments); @@ -316,7 +344,14 @@ var YUI = function() { return function(obj) { return F.prototype = obj, new F(); }; - }(), forceEnum = O._forceEnum = ["hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toString", "toLocaleString", "valueOf"], hasEnumBug = O._hasEnumBug = !({ + }(), forceEnum = O._forceEnum = [ + "hasOwnProperty", + "isPrototypeOf", + "propertyIsEnumerable", + "toString", + "toLocaleString", + "valueOf" + ], hasEnumBug = O._hasEnumBug = !({ valueOf: 0 }).propertyIsEnumerable("valueOf"), hasProtoEnumBug = O._hasProtoEnumBug = (function() { }).propertyIsEnumerable("prototype"), owns = O.owns = function(obj, key) { @@ -346,10 +381,13 @@ var YUI = function() { }, L.isValue = function(o) { var t = L.type(o); switch(t){ - case "number": return isFinite(o); + case "number": + return isFinite(o); case "null": - case "undefined": return !1; - default: return !!t; + case "undefined": + return !1; + default: + return !!t; } }, L.now = Date.now || function() { return new Date().getTime(); @@ -538,51 +576,274 @@ var YUI = function() { } return 0; }, YUI.Env.aliases = { - anim: ["anim-base", "anim-color", "anim-curve", "anim-easing", "anim-node-plugin", "anim-scroll", "anim-xy"], - "anim-shape-transform": ["anim-shape"], - app: ["app-base", "app-content", "app-transitions", "lazy-model-list", "model", "model-list", "model-sync-rest", "router", "view", "view-node-map"], - attribute: ["attribute-base", "attribute-complex"], - "attribute-events": ["attribute-observable"], - autocomplete: ["autocomplete-base", "autocomplete-sources", "autocomplete-list", "autocomplete-plugin"], - axes: ["axis-numeric", "axis-category", "axis-time", "axis-stacked"], - "axes-base": ["axis-numeric-base", "axis-category-base", "axis-time-base", "axis-stacked-base"], - base: ["base-base", "base-pluginhost", "base-build"], - cache: ["cache-base", "cache-offline", "cache-plugin"], - charts: ["charts-base"], - collection: ["array-extras", "arraylist", "arraylist-add", "arraylist-filter", "array-invoke"], - color: ["color-base", "color-hsl", "color-harmony"], - controller: ["router"], - dataschema: ["dataschema-base", "dataschema-json", "dataschema-xml", "dataschema-array", "dataschema-text"], - datasource: ["datasource-local", "datasource-io", "datasource-get", "datasource-function", "datasource-cache", "datasource-jsonschema", "datasource-xmlschema", "datasource-arrayschema", "datasource-textschema", "datasource-polling"], - datatable: ["datatable-core", "datatable-table", "datatable-head", "datatable-body", "datatable-base", "datatable-column-widths", "datatable-message", "datatable-mutable", "datatable-sort", "datatable-datasource"], - datatype: ["datatype-date", "datatype-number", "datatype-xml"], - "datatype-date": ["datatype-date-parse", "datatype-date-format", "datatype-date-math"], - "datatype-number": ["datatype-number-parse", "datatype-number-format"], - "datatype-xml": ["datatype-xml-parse", "datatype-xml-format"], - dd: ["dd-ddm-base", "dd-ddm", "dd-ddm-drop", "dd-drag", "dd-proxy", "dd-constrain", "dd-drop", "dd-scroll", "dd-delegate"], - dom: ["dom-base", "dom-screen", "dom-style", "selector-native", "selector"], - editor: ["frame", "editor-selection", "exec-command", "editor-base", "editor-para", "editor-br", "editor-bidi", "editor-tab", "createlink-base"], - event: ["event-base", "event-delegate", "event-synthetic", "event-mousewheel", "event-mouseenter", "event-key", "event-focus", "event-resize", "event-hover", "event-outside", "event-touch", "event-move", "event-flick", "event-valuechange", "event-tap"], - "event-custom": ["event-custom-base", "event-custom-complex"], - "event-gestures": ["event-flick", "event-move"], - handlebars: ["handlebars-compiler"], - highlight: ["highlight-base", "highlight-accentfold"], - history: ["history-base", "history-hash", "history-hash-ie", "history-html5"], - io: ["io-base", "io-xdr", "io-form", "io-upload-iframe", "io-queue"], - json: ["json-parse", "json-stringify"], - loader: ["loader-base", "loader-rollup", "loader-yui3"], - node: ["node-base", "node-event-delegate", "node-pluginhost", "node-screen", "node-style"], - pluginhost: ["pluginhost-base", "pluginhost-config"], - querystring: ["querystring-parse", "querystring-stringify"], - recordset: ["recordset-base", "recordset-sort", "recordset-filter", "recordset-indexer"], - resize: ["resize-base", "resize-proxy", "resize-constrain"], - slider: ["slider-base", "slider-value-range", "clickable-rail", "range-slider"], - template: ["template-base", "template-micro"], - text: ["text-accentfold", "text-wordbreak"], - widget: ["widget-base", "widget-htmlparser", "widget-skin", "widget-uievents"] + anim: [ + "anim-base", + "anim-color", + "anim-curve", + "anim-easing", + "anim-node-plugin", + "anim-scroll", + "anim-xy" + ], + "anim-shape-transform": [ + "anim-shape" + ], + app: [ + "app-base", + "app-content", + "app-transitions", + "lazy-model-list", + "model", + "model-list", + "model-sync-rest", + "router", + "view", + "view-node-map" + ], + attribute: [ + "attribute-base", + "attribute-complex" + ], + "attribute-events": [ + "attribute-observable" + ], + autocomplete: [ + "autocomplete-base", + "autocomplete-sources", + "autocomplete-list", + "autocomplete-plugin" + ], + axes: [ + "axis-numeric", + "axis-category", + "axis-time", + "axis-stacked" + ], + "axes-base": [ + "axis-numeric-base", + "axis-category-base", + "axis-time-base", + "axis-stacked-base" + ], + base: [ + "base-base", + "base-pluginhost", + "base-build" + ], + cache: [ + "cache-base", + "cache-offline", + "cache-plugin" + ], + charts: [ + "charts-base" + ], + collection: [ + "array-extras", + "arraylist", + "arraylist-add", + "arraylist-filter", + "array-invoke" + ], + color: [ + "color-base", + "color-hsl", + "color-harmony" + ], + controller: [ + "router" + ], + dataschema: [ + "dataschema-base", + "dataschema-json", + "dataschema-xml", + "dataschema-array", + "dataschema-text" + ], + datasource: [ + "datasource-local", + "datasource-io", + "datasource-get", + "datasource-function", + "datasource-cache", + "datasource-jsonschema", + "datasource-xmlschema", + "datasource-arrayschema", + "datasource-textschema", + "datasource-polling" + ], + datatable: [ + "datatable-core", + "datatable-table", + "datatable-head", + "datatable-body", + "datatable-base", + "datatable-column-widths", + "datatable-message", + "datatable-mutable", + "datatable-sort", + "datatable-datasource" + ], + datatype: [ + "datatype-date", + "datatype-number", + "datatype-xml" + ], + "datatype-date": [ + "datatype-date-parse", + "datatype-date-format", + "datatype-date-math" + ], + "datatype-number": [ + "datatype-number-parse", + "datatype-number-format" + ], + "datatype-xml": [ + "datatype-xml-parse", + "datatype-xml-format" + ], + dd: [ + "dd-ddm-base", + "dd-ddm", + "dd-ddm-drop", + "dd-drag", + "dd-proxy", + "dd-constrain", + "dd-drop", + "dd-scroll", + "dd-delegate" + ], + dom: [ + "dom-base", + "dom-screen", + "dom-style", + "selector-native", + "selector" + ], + editor: [ + "frame", + "editor-selection", + "exec-command", + "editor-base", + "editor-para", + "editor-br", + "editor-bidi", + "editor-tab", + "createlink-base" + ], + event: [ + "event-base", + "event-delegate", + "event-synthetic", + "event-mousewheel", + "event-mouseenter", + "event-key", + "event-focus", + "event-resize", + "event-hover", + "event-outside", + "event-touch", + "event-move", + "event-flick", + "event-valuechange", + "event-tap" + ], + "event-custom": [ + "event-custom-base", + "event-custom-complex" + ], + "event-gestures": [ + "event-flick", + "event-move" + ], + handlebars: [ + "handlebars-compiler" + ], + highlight: [ + "highlight-base", + "highlight-accentfold" + ], + history: [ + "history-base", + "history-hash", + "history-hash-ie", + "history-html5" + ], + io: [ + "io-base", + "io-xdr", + "io-form", + "io-upload-iframe", + "io-queue" + ], + json: [ + "json-parse", + "json-stringify" + ], + loader: [ + "loader-base", + "loader-rollup", + "loader-yui3" + ], + node: [ + "node-base", + "node-event-delegate", + "node-pluginhost", + "node-screen", + "node-style" + ], + pluginhost: [ + "pluginhost-base", + "pluginhost-config" + ], + querystring: [ + "querystring-parse", + "querystring-stringify" + ], + recordset: [ + "recordset-base", + "recordset-sort", + "recordset-filter", + "recordset-indexer" + ], + resize: [ + "resize-base", + "resize-proxy", + "resize-constrain" + ], + slider: [ + "slider-base", + "slider-value-range", + "clickable-rail", + "range-slider" + ], + template: [ + "template-base", + "template-micro" + ], + text: [ + "text-accentfold", + "text-wordbreak" + ], + widget: [ + "widget-base", + "widget-htmlparser", + "widget-skin", + "widget-uievents" + ] }; }, "3.12.0", { - use: ["yui-base", "get", "features", "intl-base", "yui-log", "yui-later", "loader-base", "loader-rollup", "loader-yui3"] + use: [ + "yui-base", + "get", + "features", + "intl-base", + "yui-log", + "yui-later", + "loader-base", + "loader-rollup", + "loader-yui3" + ] }), YUI.add("get", function(Y, NAME) { var CUSTOM_ATTRS, Get, Transaction, Lang = Y.Lang; Y.Get = Get = { @@ -644,7 +905,9 @@ var YUI = function() { }, _getTransaction: function(urls, options) { var i, len, req, url, requests = []; - for(Lang.isArray(urls) || (urls = [urls]), (options = Y.merge(this.options, options)).attributes = Y.merge(this.options.attributes, options.attributes), i = 0, len = urls.length; i < len; ++i){ + for(Lang.isArray(urls) || (urls = [ + urls + ]), (options = Y.merge(this.options, options)).attributes = Y.merge(this.options.attributes, options.attributes), i = 0, len = urls.length; i < len; ++i){ if (req = { attributes: { } @@ -687,7 +950,8 @@ var YUI = function() { }, execute: function(callback) { var i, len, queue, req, self = this, requests = self.requests, state = self._state; - if ("done" === state && callback && callback(self.errors.length ? self.errors : null, self), callback && self._callbacks.push(callback), "executing" !== state) { + if ("done" === state) return void (callback && callback(self.errors.length ? self.errors : null, self)); + if (callback && self._callbacks.push(callback), "executing" !== state) { for(self._state = "executing", self._queue = queue = [], self.options.timeout && (self._timeout = setTimeout(function() { self.abort("Timeout"); }, self.options.timeout)), self._reqsWaiting = requests.length, i = 0, len = requests.length; i < len; ++i)(req = requests[i]).async || "css" === req.type ? self._insert(req) : queue.push(req); @@ -771,7 +1035,9 @@ var YUI = function() { } }; }, "3.12.0", { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }), YUI.add("features", function(Y, NAME) { var feature_tests = { }; @@ -958,7 +1224,9 @@ var YUI = function() { when: "after" }); }, "3.12.0", { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }), YUI.add("intl-base", function(Y, NAME) { var SPLIT_REGEX = /[, ]/; Y.mix(Y.namespace("Intl"), { @@ -977,7 +1245,9 @@ var YUI = function() { } }); }, "3.12.0", { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }), YUI.add("yui-log", function(Y, NAME) { var INSTANCE = Y, LEVELS = { debug: 1, @@ -987,7 +1257,7 @@ var YUI = function() { }; INSTANCE.log = function(msg, cat, src, silent) { var bail, excl, incl, m, minlevel, Y = INSTANCE, c = Y.config, publisher = Y.fire ? Y : YUI.Env.globalEvents; - return c.debug && (void 0 !== (src = src || "") && (excl = c.logExclude, !(incl = c.logInclude) || src in incl ? incl && src in incl ? bail = !incl[src] : excl && src in excl && (bail = excl[src]) : bail = 1, Y.config.logLevel = Y.config.logLevel || "debug", minlevel = LEVELS[Y.config.logLevel.toLowerCase()], cat in LEVELS && LEVELS[cat] < minlevel && (bail = 1)), bail || (c.useBrowserConsole && (m = src ? src + ": " + msg : msg, Y.Lang.isFunction(c.logFn) ? c.logFn.call(Y, msg, cat, src) : "undefined" != typeof console && console.log ? console[cat && console[cat] && cat in LEVELS ? cat : "log"](m) : "undefined" != typeof opera && opera.postError(m)), publisher && !silent && (publisher !== Y || publisher.getEvent("yui:log") || publisher.publish("yui:log", { + return c.debug && (void 0 !== (src = src || "") && (excl = c.logExclude, (incl = c.logInclude) && !(src in incl) ? bail = 1 : incl && src in incl ? bail = !incl[src] : excl && src in excl && (bail = excl[src]), Y.config.logLevel = Y.config.logLevel || "debug", minlevel = LEVELS[Y.config.logLevel.toLowerCase()], cat in LEVELS && LEVELS[cat] < minlevel && (bail = 1)), bail || (c.useBrowserConsole && (m = src ? src + ": " + msg : msg, Y.Lang.isFunction(c.logFn) ? c.logFn.call(Y, msg, cat, src) : "undefined" != typeof console && console.log ? console[cat && console[cat] && cat in LEVELS ? cat : "log"](m) : "undefined" != typeof opera && opera.postError(m)), publisher && !silent && (publisher !== Y || publisher.getEvent("yui:log") || publisher.publish("yui:log", { broadcast: 2 }), publisher.fire("yui:log", { msg: msg, @@ -998,7 +1268,9 @@ var YUI = function() { return INSTANCE.log.apply(INSTANCE, arguments); }; }, "3.12.0", { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }), YUI.add("yui-later", function(Y, NAME) { var NO_ARGS = []; Y.later = function(when, o, fn, data, periodic) { @@ -1015,7 +1287,9 @@ var YUI = function() { }; }, Y.Lang.later = Y.later; }, "3.12.0", { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }), YUI.add("loader-base", function(Y, NAME) { VERSION = Y.version, COMBO_BASE = (CDN_BASE = Y.Env.base) + "combo?", groups = (META = { version: VERSION, @@ -1026,7 +1300,14 @@ var YUI = function() { defaultSkin: "sam", base: "assets/skins/", path: "skin.css", - after: ["cssreset", "cssfonts", "cssgrids", "cssbase", "cssreset-context", "cssfonts-context"] + after: [ + "cssreset", + "cssfonts", + "cssgrids", + "cssbase", + "cssreset-context", + "cssfonts-context" + ] }, groups: { }, @@ -1065,7 +1346,11 @@ var YUI = function() { } } } - }, galleryUpdate(), yui2Update(), YUI.Env[VERSION] && Y.mix(META, YUI.Env[VERSION], !1, ["modules", "groups", "skin"], 0, !0), YUI.Env[VERSION] = META; + }, galleryUpdate(), yui2Update(), YUI.Env[VERSION] && Y.mix(META, YUI.Env[VERSION], !1, [ + "modules", + "groups", + "skin" + ], 0, !0), YUI.Env[VERSION] = META; var VERSION, CDN_BASE, COMBO_BASE, META, groups, yui2Update, galleryUpdate, modulekey, NOT_FOUND = { }, NO_REQUIREMENTS = [], GLOBAL_ENV = YUI.Env, GLOBAL_LOADED = GLOBAL_ENV._loaded, VERSION1 = Y.version, YObject = Y.Object, oeach = YObject.each, yArray = Y.Array, _queue = GLOBAL_ENV._loaderQueue, META1 = GLOBAL_ENV[VERSION1], L = Y.Lang, ON_PAGE = GLOBAL_ENV.mods, _path = function(dir, file, type, nomin) { var path = dir + "/" + file; @@ -1210,7 +1495,9 @@ var YUI = function() { o.supersedes = yArray.dedupe(sup), this.allowRollup && (o.rollup = l < 4 ? l : Math.min(l - 1, 4)); } if (plugins = o.plugins) for(i in plugins)plugins.hasOwnProperty(i) && ((plug = plugins[i]).pkg = name, plug.path = plug.path || _path(name, i, o.type), plug.requires = plug.requires || [], plug.group = o.group, this.addModule(plug, i), o.skinnable && this._addSkin(this.skin.defaultSkin, i, name)); - if (o.condition) for(t = o.condition.trigger, YUI.Env.aliases[t] && (t = YUI.Env.aliases[t]), Y.Lang.isArray(t) || (t = [t]), i = 0; i < t.length; i++)trigger = t[i], when = o.condition.when, conditions[trigger] = conditions[trigger] || { + if (o.condition) for(t = o.condition.trigger, YUI.Env.aliases[t] && (t = YUI.Env.aliases[t]), Y.Lang.isArray(t) || (t = [ + t + ]), i = 0; i < t.length; i++)trigger = t[i], when = o.condition.when, conditions[trigger] = conditions[trigger] || { }, conditions[trigger][name] = o.condition, when && "after" !== when ? "instead" === when && (o.supersedes = o.supersedes || [], o.supersedes.push(trigger)) : (o.after = o.after || [], o.after.push(trigger)); return o.supersedes && (o.supersedes = this.filterRequires(o.supersedes)), o.after && (o.after = this.filterRequires(o.after), o.after_map = yArray.hash(o.after)), o.configFn && !1 === o.configFn(o) && (delete this.moduleInfo[name], delete GLOBAL_ENV._renderedMods[name], o = null), o && (GLOBAL_ENV._renderedMods || (GLOBAL_ENV._renderedMods = { }), GLOBAL_ENV._renderedMods[name] = Y.mix(GLOBAL_ENV._renderedMods[name] || { @@ -1230,7 +1517,9 @@ var YUI = function() { }, filterRequires: function(r) { if (r) { - Y.Lang.isArray(r) || (r = [r]), r = Y.Array(r); + Y.Lang.isArray(r) || (r = [ + r + ]), r = Y.Array(r); var i, mod, o, m, c = []; for(i = 0; i < r.length; i++)if ((mod = this.getModule(r[i])) && mod.use) for(o = 0; o < mod.use.length; o++)(m = this.getModule(mod.use[o])) && m.use && m.name !== mod.name ? c = Y.Array.dedupe([].concat(c, this.filterRequires(m.use))) : c.push(mod.use[o]); else c.push(r[i]); @@ -1534,7 +1823,10 @@ var YUI = function() { } }; }, "3.12.0", { - requires: ["get", "features"] + requires: [ + "get", + "features" + ] }), YUI.add("loader-rollup", function(Y, NAME) { Y.Loader.prototype._rollup = function() { var i, j, m, s, roll, rolled, c, smod, r = this.required, info = this.moduleInfo; @@ -1556,54 +1848,112 @@ var YUI = function() { } }; }, "3.12.0", { - requires: ["loader-base"] + requires: [ + "loader-base" + ] }), YUI.add("loader-yui3", function(Y, NAME) { YUI.Env[Y.version].modules = YUI.Env[Y.version].modules || { }, Y.mix(YUI.Env[Y.version].modules, { "align-plugin": { - requires: ["node-screen", "node-pluginhost"] + requires: [ + "node-screen", + "node-pluginhost" + ] }, anim: { - use: ["anim-base", "anim-color", "anim-curve", "anim-easing", "anim-node-plugin", "anim-scroll", "anim-xy"] + use: [ + "anim-base", + "anim-color", + "anim-curve", + "anim-easing", + "anim-node-plugin", + "anim-scroll", + "anim-xy" + ] }, "anim-base": { - requires: ["base-base", "node-style"] + requires: [ + "base-base", + "node-style" + ] }, "anim-color": { - requires: ["anim-base"] + requires: [ + "anim-base" + ] }, "anim-curve": { - requires: ["anim-xy"] + requires: [ + "anim-xy" + ] }, "anim-easing": { - requires: ["anim-base"] + requires: [ + "anim-base" + ] }, "anim-node-plugin": { - requires: ["node-pluginhost", "anim-base"] + requires: [ + "node-pluginhost", + "anim-base" + ] }, "anim-scroll": { - requires: ["anim-base"] + requires: [ + "anim-base" + ] }, "anim-shape": { - requires: ["anim-base", "anim-easing", "anim-color", "matrix"] + requires: [ + "anim-base", + "anim-easing", + "anim-color", + "matrix" + ] }, "anim-shape-transform": { - use: ["anim-shape"] + use: [ + "anim-shape" + ] }, "anim-xy": { - requires: ["anim-base", "node-screen"] + requires: [ + "anim-base", + "node-screen" + ] }, app: { - use: ["app-base", "app-content", "app-transitions", "lazy-model-list", "model", "model-list", "model-sync-rest", "router", "view", "view-node-map"] + use: [ + "app-base", + "app-content", + "app-transitions", + "lazy-model-list", + "model", + "model-list", + "model-sync-rest", + "router", + "view", + "view-node-map" + ] }, "app-base": { - requires: ["classnamemanager", "pjax-base", "router", "view"] + requires: [ + "classnamemanager", + "pjax-base", + "router", + "view" + ] }, "app-content": { - requires: ["app-base", "pjax-content"] + requires: [ + "app-base", + "pjax-content" + ] }, "app-transitions": { - requires: ["app-base"] + requires: [ + "app-base" + ] }, "app-transitions-css": { type: "css" @@ -1617,73 +1967,151 @@ var YUI = function() { }, trigger: "app-transitions" }, - requires: ["app-transitions", "app-transitions-css", "parallel", "transition"] + requires: [ + "app-transitions", + "app-transitions-css", + "parallel", + "transition" + ] }, "array-extras": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "array-invoke": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, arraylist: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "arraylist-add": { - requires: ["arraylist"] + requires: [ + "arraylist" + ] }, "arraylist-filter": { - requires: ["arraylist"] + requires: [ + "arraylist" + ] }, arraysort: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "async-queue": { - requires: ["event-custom"] + requires: [ + "event-custom" + ] }, attribute: { - use: ["attribute-base", "attribute-complex"] + use: [ + "attribute-base", + "attribute-complex" + ] }, "attribute-base": { - requires: ["attribute-core", "attribute-observable", "attribute-extras"] + requires: [ + "attribute-core", + "attribute-observable", + "attribute-extras" + ] }, "attribute-complex": { - requires: ["attribute-base"] + requires: [ + "attribute-base" + ] }, "attribute-core": { - requires: ["oop"] + requires: [ + "oop" + ] }, "attribute-events": { - use: ["attribute-observable"] + use: [ + "attribute-observable" + ] }, "attribute-extras": { - requires: ["oop"] + requires: [ + "oop" + ] }, "attribute-observable": { - requires: ["event-custom"] + requires: [ + "event-custom" + ] }, autocomplete: { - use: ["autocomplete-base", "autocomplete-sources", "autocomplete-list", "autocomplete-plugin"] + use: [ + "autocomplete-base", + "autocomplete-sources", + "autocomplete-list", + "autocomplete-plugin" + ] }, "autocomplete-base": { - optional: ["autocomplete-sources"], - requires: ["array-extras", "base-build", "escape", "event-valuechange", "node-base"] + optional: [ + "autocomplete-sources" + ], + requires: [ + "array-extras", + "base-build", + "escape", + "event-valuechange", + "node-base" + ] }, "autocomplete-filters": { - requires: ["array-extras", "text-wordbreak"] + requires: [ + "array-extras", + "text-wordbreak" + ] }, "autocomplete-filters-accentfold": { - requires: ["array-extras", "text-accentfold", "text-wordbreak"] + requires: [ + "array-extras", + "text-accentfold", + "text-wordbreak" + ] }, "autocomplete-highlighters": { - requires: ["array-extras", "highlight-base"] + requires: [ + "array-extras", + "highlight-base" + ] }, "autocomplete-highlighters-accentfold": { - requires: ["array-extras", "highlight-accentfold"] + requires: [ + "array-extras", + "highlight-accentfold" + ] }, "autocomplete-list": { - after: ["autocomplete-sources"], - lang: ["en", "es", "hu", "it"], - requires: ["autocomplete-base", "event-resize", "node-screen", "selector-css3", "shim-plugin", "widget", "widget-position", "widget-position-align"], + after: [ + "autocomplete-sources" + ], + lang: [ + "en", + "es", + "hu", + "it" + ], + requires: [ + "autocomplete-base", + "event-resize", + "node-screen", + "selector-css3", + "shim-plugin", + "widget", + "widget-position", + "widget-position-align" + ], skinnable: !0 }, "autocomplete-list-keys": { @@ -1694,163 +2122,378 @@ var YUI = function() { }, trigger: "autocomplete-list" }, - requires: ["autocomplete-list", "base-build"] + requires: [ + "autocomplete-list", + "base-build" + ] }, "autocomplete-plugin": { - requires: ["autocomplete-list", "node-pluginhost"] + requires: [ + "autocomplete-list", + "node-pluginhost" + ] }, "autocomplete-sources": { - optional: ["io-base", "json-parse", "jsonp", "yql"], - requires: ["autocomplete-base"] + optional: [ + "io-base", + "json-parse", + "jsonp", + "yql" + ], + requires: [ + "autocomplete-base" + ] }, axes: { - use: ["axis-numeric", "axis-category", "axis-time", "axis-stacked"] + use: [ + "axis-numeric", + "axis-category", + "axis-time", + "axis-stacked" + ] }, "axes-base": { - use: ["axis-numeric-base", "axis-category-base", "axis-time-base", "axis-stacked-base"] + use: [ + "axis-numeric-base", + "axis-category-base", + "axis-time-base", + "axis-stacked-base" + ] }, axis: { - requires: ["dom", "widget", "widget-position", "widget-stack", "graphics", "axis-base"] + requires: [ + "dom", + "widget", + "widget-position", + "widget-stack", + "graphics", + "axis-base" + ] }, "axis-base": { - requires: ["classnamemanager", "datatype-number", "datatype-date", "base", "event-custom"] + requires: [ + "classnamemanager", + "datatype-number", + "datatype-date", + "base", + "event-custom" + ] }, "axis-category": { - requires: ["axis", "axis-category-base"] + requires: [ + "axis", + "axis-category-base" + ] }, "axis-category-base": { - requires: ["axis-base"] + requires: [ + "axis-base" + ] }, "axis-numeric": { - requires: ["axis", "axis-numeric-base"] + requires: [ + "axis", + "axis-numeric-base" + ] }, "axis-numeric-base": { - requires: ["axis-base"] + requires: [ + "axis-base" + ] }, "axis-stacked": { - requires: ["axis-numeric", "axis-stacked-base"] + requires: [ + "axis-numeric", + "axis-stacked-base" + ] }, "axis-stacked-base": { - requires: ["axis-numeric-base"] + requires: [ + "axis-numeric-base" + ] }, "axis-time": { - requires: ["axis", "axis-time-base"] + requires: [ + "axis", + "axis-time-base" + ] }, "axis-time-base": { - requires: ["axis-base"] + requires: [ + "axis-base" + ] }, base: { - use: ["base-base", "base-pluginhost", "base-build"] + use: [ + "base-base", + "base-pluginhost", + "base-build" + ] }, "base-base": { - requires: ["attribute-base", "base-core", "base-observable"] + requires: [ + "attribute-base", + "base-core", + "base-observable" + ] }, "base-build": { - requires: ["base-base"] + requires: [ + "base-base" + ] }, "base-core": { - requires: ["attribute-core"] + requires: [ + "attribute-core" + ] }, "base-observable": { - requires: ["attribute-observable"] + requires: [ + "attribute-observable" + ] }, "base-pluginhost": { - requires: ["base-base", "pluginhost"] + requires: [ + "base-base", + "pluginhost" + ] }, button: { - requires: ["button-core", "cssbutton", "widget"] + requires: [ + "button-core", + "cssbutton", + "widget" + ] }, "button-core": { - requires: ["attribute-core", "classnamemanager", "node-base"] + requires: [ + "attribute-core", + "classnamemanager", + "node-base" + ] }, "button-group": { - requires: ["button-plugin", "cssbutton", "widget"] + requires: [ + "button-plugin", + "cssbutton", + "widget" + ] }, "button-plugin": { - requires: ["button-core", "cssbutton", "node-pluginhost"] + requires: [ + "button-core", + "cssbutton", + "node-pluginhost" + ] }, cache: { - use: ["cache-base", "cache-offline", "cache-plugin"] + use: [ + "cache-base", + "cache-offline", + "cache-plugin" + ] }, "cache-base": { - requires: ["base"] + requires: [ + "base" + ] }, "cache-offline": { - requires: ["cache-base", "json"] + requires: [ + "cache-base", + "json" + ] }, "cache-plugin": { - requires: ["plugin", "cache-base"] + requires: [ + "plugin", + "cache-base" + ] }, calendar: { - requires: ["calendar-base", "calendarnavigator"], + requires: [ + "calendar-base", + "calendarnavigator" + ], skinnable: !0 }, "calendar-base": { - lang: ["de", "en", "es", "es-AR", "fr", "hu", "it", "ja", "nb-NO", "nl", "pt-BR", "ru", "zh-Hans", "zh-Hans-CN", "zh-Hant", "zh-Hant-HK", "zh-HANT-TW"], - requires: ["widget", "datatype-date", "datatype-date-math", "cssgrids"], + lang: [ + "de", + "en", + "es", + "es-AR", + "fr", + "hu", + "it", + "ja", + "nb-NO", + "nl", + "pt-BR", + "ru", + "zh-Hans", + "zh-Hans-CN", + "zh-Hant", + "zh-Hant-HK", + "zh-HANT-TW" + ], + requires: [ + "widget", + "datatype-date", + "datatype-date-math", + "cssgrids" + ], skinnable: !0 }, calendarnavigator: { - requires: ["plugin", "classnamemanager", "datatype-date", "node"], + requires: [ + "plugin", + "classnamemanager", + "datatype-date", + "node" + ], skinnable: !0 }, charts: { - use: ["charts-base"] + use: [ + "charts-base" + ] }, "charts-base": { - requires: ["dom", "event-mouseenter", "event-touch", "graphics-group", "axes", "series-pie", "series-line", "series-marker", "series-area", "series-spline", "series-column", "series-bar", "series-areaspline", "series-combo", "series-combospline", "series-line-stacked", "series-marker-stacked", "series-area-stacked", "series-spline-stacked", "series-column-stacked", "series-bar-stacked", "series-areaspline-stacked", "series-combo-stacked", "series-combospline-stacked"] + requires: [ + "dom", + "event-mouseenter", + "event-touch", + "graphics-group", + "axes", + "series-pie", + "series-line", + "series-marker", + "series-area", + "series-spline", + "series-column", + "series-bar", + "series-areaspline", + "series-combo", + "series-combospline", + "series-line-stacked", + "series-marker-stacked", + "series-area-stacked", + "series-spline-stacked", + "series-column-stacked", + "series-bar-stacked", + "series-areaspline-stacked", + "series-combo-stacked", + "series-combospline-stacked" + ] }, "charts-legend": { - requires: ["charts-base"] + requires: [ + "charts-base" + ] }, classnamemanager: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "clickable-rail": { - requires: ["slider-base"] + requires: [ + "slider-base" + ] }, collection: { - use: ["array-extras", "arraylist", "arraylist-add", "arraylist-filter", "array-invoke"] + use: [ + "array-extras", + "arraylist", + "arraylist-add", + "arraylist-filter", + "array-invoke" + ] }, color: { - use: ["color-base", "color-hsl", "color-harmony"] + use: [ + "color-base", + "color-hsl", + "color-harmony" + ] }, "color-base": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "color-harmony": { - requires: ["color-hsl"] + requires: [ + "color-hsl" + ] }, "color-hsl": { - requires: ["color-base"] + requires: [ + "color-base" + ] }, "color-hsv": { - requires: ["color-base"] + requires: [ + "color-base" + ] }, console: { - lang: ["en", "es", "hu", "it", "ja"], - requires: ["yui-log", "widget"], + lang: [ + "en", + "es", + "hu", + "it", + "ja" + ], + requires: [ + "yui-log", + "widget" + ], skinnable: !0 }, "console-filters": { - requires: ["plugin", "console"], + requires: [ + "plugin", + "console" + ], skinnable: !0 }, controller: { - use: ["router"] + use: [ + "router" + ] }, cookie: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "createlink-base": { - requires: ["editor-base"] + requires: [ + "editor-base" + ] }, cssbase: { - after: ["cssreset", "cssfonts", "cssgrids", "cssreset-context", "cssfonts-context", "cssgrids-context"], + after: [ + "cssreset", + "cssfonts", + "cssgrids", + "cssreset-context", + "cssfonts-context", + "cssgrids-context" + ], type: "css" }, "cssbase-context": { - after: ["cssreset", "cssfonts", "cssgrids", "cssreset-context", "cssfonts-context", "cssgrids-context"], + after: [ + "cssreset", + "cssfonts", + "cssgrids", + "cssreset-context", + "cssfonts-context", + "cssgrids-context" + ], type: "css" }, cssbutton: { @@ -1863,21 +2506,34 @@ var YUI = function() { type: "css" }, cssgrids: { - optional: ["cssnormalize"], + optional: [ + "cssnormalize" + ], type: "css" }, "cssgrids-base": { - optional: ["cssnormalize"], + optional: [ + "cssnormalize" + ], type: "css" }, "cssgrids-responsive": { - optional: ["cssnormalize"], - requires: ["cssgrids", "cssgrids-responsive-base"], + optional: [ + "cssnormalize" + ], + requires: [ + "cssgrids", + "cssgrids-responsive-base" + ], type: "css" }, "cssgrids-units": { - optional: ["cssnormalize"], - requires: ["cssgrids-base"], + optional: [ + "cssnormalize" + ], + requires: [ + "cssgrids-base" + ], type: "css" }, cssnormalize: { @@ -1893,166 +2549,439 @@ var YUI = function() { type: "css" }, dataschema: { - use: ["dataschema-base", "dataschema-json", "dataschema-xml", "dataschema-array", "dataschema-text"] + use: [ + "dataschema-base", + "dataschema-json", + "dataschema-xml", + "dataschema-array", + "dataschema-text" + ] }, "dataschema-array": { - requires: ["dataschema-base"] + requires: [ + "dataschema-base" + ] }, "dataschema-base": { - requires: ["base"] + requires: [ + "base" + ] }, "dataschema-json": { - requires: ["dataschema-base", "json"] + requires: [ + "dataschema-base", + "json" + ] }, "dataschema-text": { - requires: ["dataschema-base"] + requires: [ + "dataschema-base" + ] }, "dataschema-xml": { - requires: ["dataschema-base"] + requires: [ + "dataschema-base" + ] }, datasource: { - use: ["datasource-local", "datasource-io", "datasource-get", "datasource-function", "datasource-cache", "datasource-jsonschema", "datasource-xmlschema", "datasource-arrayschema", "datasource-textschema", "datasource-polling"] + use: [ + "datasource-local", + "datasource-io", + "datasource-get", + "datasource-function", + "datasource-cache", + "datasource-jsonschema", + "datasource-xmlschema", + "datasource-arrayschema", + "datasource-textschema", + "datasource-polling" + ] }, "datasource-arrayschema": { - requires: ["datasource-local", "plugin", "dataschema-array"] + requires: [ + "datasource-local", + "plugin", + "dataschema-array" + ] }, "datasource-cache": { - requires: ["datasource-local", "plugin", "cache-base"] + requires: [ + "datasource-local", + "plugin", + "cache-base" + ] }, "datasource-function": { - requires: ["datasource-local"] + requires: [ + "datasource-local" + ] }, "datasource-get": { - requires: ["datasource-local", "get"] + requires: [ + "datasource-local", + "get" + ] }, "datasource-io": { - requires: ["datasource-local", "io-base"] + requires: [ + "datasource-local", + "io-base" + ] }, "datasource-jsonschema": { - requires: ["datasource-local", "plugin", "dataschema-json"] + requires: [ + "datasource-local", + "plugin", + "dataschema-json" + ] }, "datasource-local": { - requires: ["base"] + requires: [ + "base" + ] }, "datasource-polling": { - requires: ["datasource-local"] + requires: [ + "datasource-local" + ] }, "datasource-textschema": { - requires: ["datasource-local", "plugin", "dataschema-text"] + requires: [ + "datasource-local", + "plugin", + "dataschema-text" + ] }, "datasource-xmlschema": { - requires: ["datasource-local", "plugin", "datatype-xml", "dataschema-xml"] + requires: [ + "datasource-local", + "plugin", + "datatype-xml", + "dataschema-xml" + ] }, datatable: { - use: ["datatable-core", "datatable-table", "datatable-head", "datatable-body", "datatable-base", "datatable-column-widths", "datatable-message", "datatable-mutable", "datatable-sort", "datatable-datasource"] + use: [ + "datatable-core", + "datatable-table", + "datatable-head", + "datatable-body", + "datatable-base", + "datatable-column-widths", + "datatable-message", + "datatable-mutable", + "datatable-sort", + "datatable-datasource" + ] }, "datatable-base": { - requires: ["datatable-core", "datatable-table", "datatable-head", "datatable-body", "base-build", "widget"], + requires: [ + "datatable-core", + "datatable-table", + "datatable-head", + "datatable-body", + "base-build", + "widget" + ], skinnable: !0 }, "datatable-body": { - requires: ["datatable-core", "view", "classnamemanager"] + requires: [ + "datatable-core", + "view", + "classnamemanager" + ] }, "datatable-column-widths": { - requires: ["datatable-base"] + requires: [ + "datatable-base" + ] }, "datatable-core": { - requires: ["escape", "model-list", "node-event-delegate"] + requires: [ + "escape", + "model-list", + "node-event-delegate" + ] }, "datatable-datasource": { - requires: ["datatable-base", "plugin", "datasource-local"] + requires: [ + "datatable-base", + "plugin", + "datasource-local" + ] }, "datatable-foot": { - requires: ["datatable-core", "view"] + requires: [ + "datatable-core", + "view" + ] }, "datatable-formatters": { - requires: ["datatable-body", "datatype-number-format", "datatype-date-format", "escape"] + requires: [ + "datatable-body", + "datatype-number-format", + "datatype-date-format", + "escape" + ] }, "datatable-head": { - requires: ["datatable-core", "view", "classnamemanager"] + requires: [ + "datatable-core", + "view", + "classnamemanager" + ] }, "datatable-message": { - lang: ["en", "fr", "es", "hu", "it"], - requires: ["datatable-base"], + lang: [ + "en", + "fr", + "es", + "hu", + "it" + ], + requires: [ + "datatable-base" + ], skinnable: !0 }, "datatable-mutable": { - requires: ["datatable-base"] + requires: [ + "datatable-base" + ] }, "datatable-paginator": { - lang: ["en"], - requires: ["model", "view", "paginator-core", "datatable-foot", "datatable-paginator-templates"], + lang: [ + "en" + ], + requires: [ + "model", + "view", + "paginator-core", + "datatable-foot", + "datatable-paginator-templates" + ], skinnable: !0 }, "datatable-paginator-templates": { - requires: ["template"] + requires: [ + "template" + ] }, "datatable-scroll": { - requires: ["datatable-base", "datatable-column-widths", "dom-screen"], + requires: [ + "datatable-base", + "datatable-column-widths", + "dom-screen" + ], skinnable: !0 }, "datatable-sort": { - lang: ["en", "fr", "es", "hu"], - requires: ["datatable-base"], + lang: [ + "en", + "fr", + "es", + "hu" + ], + requires: [ + "datatable-base" + ], skinnable: !0 }, "datatable-table": { - requires: ["datatable-core", "datatable-head", "datatable-body", "view", "classnamemanager"] + requires: [ + "datatable-core", + "datatable-head", + "datatable-body", + "view", + "classnamemanager" + ] }, datatype: { - use: ["datatype-date", "datatype-number", "datatype-xml"] + use: [ + "datatype-date", + "datatype-number", + "datatype-xml" + ] }, "datatype-date": { - use: ["datatype-date-parse", "datatype-date-format", "datatype-date-math"] + use: [ + "datatype-date-parse", + "datatype-date-format", + "datatype-date-math" + ] }, "datatype-date-format": { - lang: ["ar", "ar-JO", "ca", "ca-ES", "da", "da-DK", "de", "de-AT", "de-DE", "el", "el-GR", "en", "en-AU", "en-CA", "en-GB", "en-IE", "en-IN", "en-JO", "en-MY", "en-NZ", "en-PH", "en-SG", "en-US", "es", "es-AR", "es-BO", "es-CL", "es-CO", "es-EC", "es-ES", "es-MX", "es-PE", "es-PY", "es-US", "es-UY", "es-VE", "fi", "fi-FI", "fr", "fr-BE", "fr-CA", "fr-FR", "hi", "hi-IN", "hu", "id", "id-ID", "it", "it-IT", "ja", "ja-JP", "ko", "ko-KR", "ms", "ms-MY", "nb", "nb-NO", "nl", "nl-BE", "nl-NL", "pl", "pl-PL", "pt", "pt-BR", "ro", "ro-RO", "ru", "ru-RU", "sv", "sv-SE", "th", "th-TH", "tr", "tr-TR", "vi", "vi-VN", "zh-Hans", "zh-Hans-CN", "zh-Hant", "zh-Hant-HK", "zh-Hant-TW"] + lang: [ + "ar", + "ar-JO", + "ca", + "ca-ES", + "da", + "da-DK", + "de", + "de-AT", + "de-DE", + "el", + "el-GR", + "en", + "en-AU", + "en-CA", + "en-GB", + "en-IE", + "en-IN", + "en-JO", + "en-MY", + "en-NZ", + "en-PH", + "en-SG", + "en-US", + "es", + "es-AR", + "es-BO", + "es-CL", + "es-CO", + "es-EC", + "es-ES", + "es-MX", + "es-PE", + "es-PY", + "es-US", + "es-UY", + "es-VE", + "fi", + "fi-FI", + "fr", + "fr-BE", + "fr-CA", + "fr-FR", + "hi", + "hi-IN", + "hu", + "id", + "id-ID", + "it", + "it-IT", + "ja", + "ja-JP", + "ko", + "ko-KR", + "ms", + "ms-MY", + "nb", + "nb-NO", + "nl", + "nl-BE", + "nl-NL", + "pl", + "pl-PL", + "pt", + "pt-BR", + "ro", + "ro-RO", + "ru", + "ru-RU", + "sv", + "sv-SE", + "th", + "th-TH", + "tr", + "tr-TR", + "vi", + "vi-VN", + "zh-Hans", + "zh-Hans-CN", + "zh-Hant", + "zh-Hant-HK", + "zh-Hant-TW" + ] }, "datatype-date-math": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "datatype-date-parse": { }, "datatype-number": { - use: ["datatype-number-parse", "datatype-number-format"] + use: [ + "datatype-number-parse", + "datatype-number-format" + ] }, "datatype-number-format": { }, "datatype-number-parse": { }, "datatype-xml": { - use: ["datatype-xml-parse", "datatype-xml-format"] + use: [ + "datatype-xml-parse", + "datatype-xml-format" + ] }, "datatype-xml-format": { }, "datatype-xml-parse": { }, dd: { - use: ["dd-ddm-base", "dd-ddm", "dd-ddm-drop", "dd-drag", "dd-proxy", "dd-constrain", "dd-drop", "dd-scroll", "dd-delegate"] + use: [ + "dd-ddm-base", + "dd-ddm", + "dd-ddm-drop", + "dd-drag", + "dd-proxy", + "dd-constrain", + "dd-drop", + "dd-scroll", + "dd-delegate" + ] }, "dd-constrain": { - requires: ["dd-drag"] + requires: [ + "dd-drag" + ] }, "dd-ddm": { - requires: ["dd-ddm-base", "event-resize"] + requires: [ + "dd-ddm-base", + "event-resize" + ] }, "dd-ddm-base": { - requires: ["node", "base", "yui-throttle", "classnamemanager"] + requires: [ + "node", + "base", + "yui-throttle", + "classnamemanager" + ] }, "dd-ddm-drop": { - requires: ["dd-ddm"] + requires: [ + "dd-ddm" + ] }, "dd-delegate": { - requires: ["dd-drag", "dd-drop-plugin", "event-mouseenter"] + requires: [ + "dd-drag", + "dd-drop-plugin", + "event-mouseenter" + ] }, "dd-drag": { - requires: ["dd-ddm-base"] + requires: [ + "dd-ddm-base" + ] }, "dd-drop": { - requires: ["dd-drag", "dd-ddm-drop"] + requires: [ + "dd-drag", + "dd-ddm-drop" + ] }, "dd-drop-plugin": { - requires: ["dd-drop"] + requires: [ + "dd-drop" + ] }, "dd-gestures": { condition: { @@ -2060,40 +2989,84 @@ var YUI = function() { trigger: "dd-drag", ua: "touchEnabled" }, - requires: ["dd-drag", "event-synthetic", "event-gestures"] + requires: [ + "dd-drag", + "event-synthetic", + "event-gestures" + ] }, "dd-plugin": { - optional: ["dd-constrain", "dd-proxy"], - requires: ["dd-drag"] + optional: [ + "dd-constrain", + "dd-proxy" + ], + requires: [ + "dd-drag" + ] }, "dd-proxy": { - requires: ["dd-drag"] + requires: [ + "dd-drag" + ] }, "dd-scroll": { - requires: ["dd-drag"] + requires: [ + "dd-drag" + ] }, dial: { - lang: ["en", "es", "hu"], - requires: ["widget", "dd-drag", "event-mouseenter", "event-move", "event-key", "transition", "intl"], + lang: [ + "en", + "es", + "hu" + ], + requires: [ + "widget", + "dd-drag", + "event-mouseenter", + "event-move", + "event-key", + "transition", + "intl" + ], skinnable: !0 }, dom: { - use: ["dom-base", "dom-screen", "dom-style", "selector-native", "selector"] + use: [ + "dom-base", + "dom-screen", + "dom-style", + "selector-native", + "selector" + ] }, "dom-base": { - requires: ["dom-core"] + requires: [ + "dom-core" + ] }, "dom-core": { - requires: ["oop", "features"] + requires: [ + "oop", + "features" + ] }, "dom-deprecated": { - requires: ["dom-base"] + requires: [ + "dom-base" + ] }, "dom-screen": { - requires: ["dom-base", "dom-style"] + requires: [ + "dom-base", + "dom-style" + ] }, "dom-style": { - requires: ["dom-base", "color-base"] + requires: [ + "dom-base", + "color-base" + ] }, "dom-style-ie": { condition: { @@ -2112,31 +3085,61 @@ var YUI = function() { }, trigger: "dom-style" }, - requires: ["dom-style"] + requires: [ + "dom-style" + ] }, dump: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, editor: { - use: ["frame", "editor-selection", "exec-command", "editor-base", "editor-para", "editor-br", "editor-bidi", "editor-tab", "createlink-base"] + use: [ + "frame", + "editor-selection", + "exec-command", + "editor-base", + "editor-para", + "editor-br", + "editor-bidi", + "editor-tab", + "createlink-base" + ] }, "editor-base": { - requires: ["base", "frame", "node", "exec-command", "editor-selection"] + requires: [ + "base", + "frame", + "node", + "exec-command", + "editor-selection" + ] }, "editor-bidi": { - requires: ["editor-base"] + requires: [ + "editor-base" + ] }, "editor-br": { - requires: ["editor-base"] + requires: [ + "editor-base" + ] }, "editor-lists": { - requires: ["editor-base"] + requires: [ + "editor-base" + ] }, "editor-para": { - requires: ["editor-para-base"] + requires: [ + "editor-para-base" + ] }, "editor-para-base": { - requires: ["editor-base"] + requires: [ + "editor-base" + ] }, "editor-para-ie": { condition: { @@ -2145,27 +3148,59 @@ var YUI = function() { ua: "ie", when: "instead" }, - requires: ["editor-para-base"] + requires: [ + "editor-para-base" + ] }, "editor-selection": { - requires: ["node"] + requires: [ + "node" + ] }, "editor-tab": { - requires: ["editor-base"] + requires: [ + "editor-base" + ] }, escape: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, event: { - after: ["node-base"], - use: ["event-base", "event-delegate", "event-synthetic", "event-mousewheel", "event-mouseenter", "event-key", "event-focus", "event-resize", "event-hover", "event-outside", "event-touch", "event-move", "event-flick", "event-valuechange", "event-tap"] + after: [ + "node-base" + ], + use: [ + "event-base", + "event-delegate", + "event-synthetic", + "event-mousewheel", + "event-mouseenter", + "event-key", + "event-focus", + "event-resize", + "event-hover", + "event-outside", + "event-touch", + "event-move", + "event-flick", + "event-valuechange", + "event-tap" + ] }, "event-base": { - after: ["node-base"], - requires: ["event-custom-base"] + after: [ + "node-base" + ], + requires: [ + "event-custom-base" + ] }, "event-base-ie": { - after: ["event-base"], + after: [ + "event-base" + ], condition: { name: "event-base-ie", test: function(Y) { @@ -2174,94 +3209,177 @@ var YUI = function() { }, trigger: "node-base" }, - requires: ["node-base"] + requires: [ + "node-base" + ] }, "event-contextmenu": { - requires: ["event-synthetic", "dom-screen"] + requires: [ + "event-synthetic", + "dom-screen" + ] }, "event-custom": { - use: ["event-custom-base", "event-custom-complex"] + use: [ + "event-custom-base", + "event-custom-complex" + ] }, "event-custom-base": { - requires: ["oop"] + requires: [ + "oop" + ] }, "event-custom-complex": { - requires: ["event-custom-base"] + requires: [ + "event-custom-base" + ] }, "event-delegate": { - requires: ["node-base"] + requires: [ + "node-base" + ] }, "event-flick": { - requires: ["node-base", "event-touch", "event-synthetic"] + requires: [ + "node-base", + "event-touch", + "event-synthetic" + ] }, "event-focus": { - requires: ["event-synthetic"] + requires: [ + "event-synthetic" + ] }, "event-gestures": { - use: ["event-flick", "event-move"] + use: [ + "event-flick", + "event-move" + ] }, "event-hover": { - requires: ["event-mouseenter"] + requires: [ + "event-mouseenter" + ] }, "event-key": { - requires: ["event-synthetic"] + requires: [ + "event-synthetic" + ] }, "event-mouseenter": { - requires: ["event-synthetic"] + requires: [ + "event-synthetic" + ] }, "event-mousewheel": { - requires: ["node-base"] + requires: [ + "node-base" + ] }, "event-move": { - requires: ["node-base", "event-touch", "event-synthetic"] + requires: [ + "node-base", + "event-touch", + "event-synthetic" + ] }, "event-outside": { - requires: ["event-synthetic"] + requires: [ + "event-synthetic" + ] }, "event-resize": { - requires: ["node-base", "event-synthetic"] + requires: [ + "node-base", + "event-synthetic" + ] }, "event-simulate": { - requires: ["event-base"] + requires: [ + "event-base" + ] }, "event-synthetic": { - requires: ["node-base", "event-custom-complex"] + requires: [ + "node-base", + "event-custom-complex" + ] }, "event-tap": { - requires: ["node-base", "event-base", "event-touch", "event-synthetic"] + requires: [ + "node-base", + "event-base", + "event-touch", + "event-synthetic" + ] }, "event-touch": { - requires: ["node-base"] + requires: [ + "node-base" + ] }, "event-valuechange": { - requires: ["event-focus", "event-synthetic"] + requires: [ + "event-focus", + "event-synthetic" + ] }, "exec-command": { - requires: ["frame"] + requires: [ + "frame" + ] }, features: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, file: { - requires: ["file-flash", "file-html5"] + requires: [ + "file-flash", + "file-html5" + ] }, "file-flash": { - requires: ["base"] + requires: [ + "base" + ] }, "file-html5": { - requires: ["base"] + requires: [ + "base" + ] }, frame: { - requires: ["base", "node", "selector-css3", "yui-throttle"] + requires: [ + "base", + "node", + "selector-css3", + "yui-throttle" + ] }, "gesture-simulate": { - requires: ["async-queue", "event-simulate", "node-screen"] + requires: [ + "async-queue", + "event-simulate", + "node-screen" + ] }, get: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, graphics: { - requires: ["node", "event-custom", "pluginhost", "matrix", "classnamemanager"] + requires: [ + "node", + "event-custom", + "pluginhost", + "matrix", + "classnamemanager" + ] }, "graphics-canvas": { condition: { @@ -2272,7 +3390,9 @@ var YUI = function() { }, trigger: "graphics" }, - requires: ["graphics"] + requires: [ + "graphics" + ] }, "graphics-canvas-default": { condition: { @@ -2285,7 +3405,9 @@ var YUI = function() { } }, "graphics-group": { - requires: ["graphics"] + requires: [ + "graphics" + ] }, "graphics-svg": { condition: { @@ -2296,7 +3418,9 @@ var YUI = function() { }, trigger: "graphics" }, - requires: ["graphics"] + requires: [ + "graphics" + ] }, "graphics-svg-default": { condition: { @@ -2317,7 +3441,9 @@ var YUI = function() { }, trigger: "graphics" }, - requires: ["graphics"] + requires: [ + "graphics" + ] }, "graphics-vml-default": { condition: { @@ -2330,32 +3456,60 @@ var YUI = function() { } }, handlebars: { - use: ["handlebars-compiler"] + use: [ + "handlebars-compiler" + ] }, "handlebars-base": { requires: [] }, "handlebars-compiler": { - requires: ["handlebars-base"] + requires: [ + "handlebars-base" + ] }, highlight: { - use: ["highlight-base", "highlight-accentfold"] + use: [ + "highlight-base", + "highlight-accentfold" + ] }, "highlight-accentfold": { - requires: ["highlight-base", "text-accentfold"] + requires: [ + "highlight-base", + "text-accentfold" + ] }, "highlight-base": { - requires: ["array-extras", "classnamemanager", "escape", "text-wordbreak"] + requires: [ + "array-extras", + "classnamemanager", + "escape", + "text-wordbreak" + ] }, history: { - use: ["history-base", "history-hash", "history-hash-ie", "history-html5"] + use: [ + "history-base", + "history-hash", + "history-hash-ie", + "history-html5" + ] }, "history-base": { - requires: ["event-custom-complex"] + requires: [ + "event-custom-complex" + ] }, "history-hash": { - after: ["history-html5"], - requires: ["event-synthetic", "history-base", "yui-later"] + after: [ + "history-html5" + ], + requires: [ + "event-synthetic", + "history-base", + "yui-later" + ] }, "history-hash-ie": { condition: { @@ -2366,29 +3520,59 @@ var YUI = function() { }, trigger: "history-hash" }, - requires: ["history-hash", "node-base"] + requires: [ + "history-hash", + "node-base" + ] }, "history-html5": { - optional: ["json"], - requires: ["event-base", "history-base", "node-base"] + optional: [ + "json" + ], + requires: [ + "event-base", + "history-base", + "node-base" + ] }, imageloader: { - requires: ["base-base", "node-style", "node-screen"] + requires: [ + "base-base", + "node-style", + "node-screen" + ] }, intl: { - requires: ["intl-base", "event-custom"] + requires: [ + "intl-base", + "event-custom" + ] }, "intl-base": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, io: { - use: ["io-base", "io-xdr", "io-form", "io-upload-iframe", "io-queue"] + use: [ + "io-base", + "io-xdr", + "io-form", + "io-upload-iframe", + "io-queue" + ] }, "io-base": { - requires: ["event-custom-base", "querystring-stringify-simple"] + requires: [ + "event-custom-base", + "querystring-stringify-simple" + ] }, "io-form": { - requires: ["io-base", "node-base"] + requires: [ + "io-base", + "node-base" + ] }, "io-nodejs": { condition: { @@ -2396,22 +3580,38 @@ var YUI = function() { trigger: "io-base", ua: "nodejs" }, - requires: ["io-base"] + requires: [ + "io-base" + ] }, "io-queue": { - requires: ["io-base", "queue-promote"] + requires: [ + "io-base", + "queue-promote" + ] }, "io-upload-iframe": { - requires: ["io-base", "node-base"] + requires: [ + "io-base", + "node-base" + ] }, "io-xdr": { - requires: ["io-base", "datatype-xml-parse"] + requires: [ + "io-base", + "datatype-xml-parse" + ] }, json: { - use: ["json-parse", "json-stringify"] + use: [ + "json-parse", + "json-stringify" + ] }, "json-parse": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "json-parse-shim": { condition: { @@ -2429,10 +3629,14 @@ var YUI = function() { }, trigger: "json-parse" }, - requires: ["json-parse"] + requires: [ + "json-parse" + ] }, "json-stringify": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "json-stringify-shim": { condition: { @@ -2448,200 +3652,426 @@ var YUI = function() { }, trigger: "json-stringify" }, - requires: ["json-stringify"] + requires: [ + "json-stringify" + ] }, jsonp: { - requires: ["get", "oop"] + requires: [ + "get", + "oop" + ] }, "jsonp-url": { - requires: ["jsonp"] + requires: [ + "jsonp" + ] }, "lazy-model-list": { - requires: ["model-list"] + requires: [ + "model-list" + ] }, loader: { - use: ["loader-base", "loader-rollup", "loader-yui3"] + use: [ + "loader-base", + "loader-rollup", + "loader-yui3" + ] }, "loader-base": { - requires: ["get", "features"] + requires: [ + "get", + "features" + ] }, "loader-rollup": { - requires: ["loader-base"] + requires: [ + "loader-base" + ] }, "loader-yui3": { - requires: ["loader-base"] + requires: [ + "loader-base" + ] }, matrix: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, model: { - requires: ["base-build", "escape", "json-parse"] + requires: [ + "base-build", + "escape", + "json-parse" + ] }, "model-list": { - requires: ["array-extras", "array-invoke", "arraylist", "base-build", "escape", "json-parse", "model"] + requires: [ + "array-extras", + "array-invoke", + "arraylist", + "base-build", + "escape", + "json-parse", + "model" + ] }, "model-sync-rest": { - requires: ["model", "io-base", "json-stringify"] + requires: [ + "model", + "io-base", + "json-stringify" + ] }, node: { - use: ["node-base", "node-event-delegate", "node-pluginhost", "node-screen", "node-style"] + use: [ + "node-base", + "node-event-delegate", + "node-pluginhost", + "node-screen", + "node-style" + ] }, "node-base": { - requires: ["event-base", "node-core", "dom-base", "dom-style"] + requires: [ + "event-base", + "node-core", + "dom-base", + "dom-style" + ] }, "node-core": { - requires: ["dom-core", "selector"] + requires: [ + "dom-core", + "selector" + ] }, "node-deprecated": { - requires: ["node-base"] + requires: [ + "node-base" + ] }, "node-event-delegate": { - requires: ["node-base", "event-delegate"] + requires: [ + "node-base", + "event-delegate" + ] }, "node-event-html5": { - requires: ["node-base"] + requires: [ + "node-base" + ] }, "node-event-simulate": { - requires: ["node-base", "event-simulate", "gesture-simulate"] + requires: [ + "node-base", + "event-simulate", + "gesture-simulate" + ] }, "node-flick": { - requires: ["classnamemanager", "transition", "event-flick", "plugin"], + requires: [ + "classnamemanager", + "transition", + "event-flick", + "plugin" + ], skinnable: !0 }, "node-focusmanager": { - requires: ["attribute", "node", "plugin", "node-event-simulate", "event-key", "event-focus"] + requires: [ + "attribute", + "node", + "plugin", + "node-event-simulate", + "event-key", + "event-focus" + ] }, "node-load": { - requires: ["node-base", "io-base"] + requires: [ + "node-base", + "io-base" + ] }, "node-menunav": { - requires: ["node", "classnamemanager", "plugin", "node-focusmanager"], + requires: [ + "node", + "classnamemanager", + "plugin", + "node-focusmanager" + ], skinnable: !0 }, "node-pluginhost": { - requires: ["node-base", "pluginhost"] + requires: [ + "node-base", + "pluginhost" + ] }, "node-screen": { - requires: ["dom-screen", "node-base"] + requires: [ + "dom-screen", + "node-base" + ] }, "node-scroll-info": { - requires: ["array-extras", "base-build", "event-resize", "node-pluginhost", "plugin", "selector"] + requires: [ + "array-extras", + "base-build", + "event-resize", + "node-pluginhost", + "plugin", + "selector" + ] }, "node-style": { - requires: ["dom-style", "node-base"] + requires: [ + "dom-style", + "node-base" + ] }, oop: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, overlay: { - requires: ["widget", "widget-stdmod", "widget-position", "widget-position-align", "widget-stack", "widget-position-constrain"], + requires: [ + "widget", + "widget-stdmod", + "widget-position", + "widget-position-align", + "widget-stack", + "widget-position-constrain" + ], skinnable: !0 }, paginator: { - requires: ["paginator-core"] + requires: [ + "paginator-core" + ] }, "paginator-core": { - requires: ["base"] + requires: [ + "base" + ] }, "paginator-url": { - requires: ["paginator"] + requires: [ + "paginator" + ] }, panel: { - requires: ["widget", "widget-autohide", "widget-buttons", "widget-modality", "widget-position", "widget-position-align", "widget-position-constrain", "widget-stack", "widget-stdmod"], + requires: [ + "widget", + "widget-autohide", + "widget-buttons", + "widget-modality", + "widget-position", + "widget-position-align", + "widget-position-constrain", + "widget-stack", + "widget-stdmod" + ], skinnable: !0 }, parallel: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, pjax: { - requires: ["pjax-base", "pjax-content"] + requires: [ + "pjax-base", + "pjax-content" + ] }, "pjax-base": { - requires: ["classnamemanager", "node-event-delegate", "router"] + requires: [ + "classnamemanager", + "node-event-delegate", + "router" + ] }, "pjax-content": { - requires: ["io-base", "node-base", "router"] + requires: [ + "io-base", + "node-base", + "router" + ] }, "pjax-plugin": { - requires: ["node-pluginhost", "pjax", "plugin"] + requires: [ + "node-pluginhost", + "pjax", + "plugin" + ] }, plugin: { - requires: ["base-base"] + requires: [ + "base-base" + ] }, pluginhost: { - use: ["pluginhost-base", "pluginhost-config"] + use: [ + "pluginhost-base", + "pluginhost-config" + ] }, "pluginhost-base": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "pluginhost-config": { - requires: ["pluginhost-base"] + requires: [ + "pluginhost-base" + ] }, promise: { - requires: ["timers"] + requires: [ + "timers" + ] }, querystring: { - use: ["querystring-parse", "querystring-stringify"] + use: [ + "querystring-parse", + "querystring-stringify" + ] }, "querystring-parse": { - requires: ["yui-base", "array-extras"] + requires: [ + "yui-base", + "array-extras" + ] }, "querystring-parse-simple": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "querystring-stringify": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "querystring-stringify-simple": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "queue-promote": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "range-slider": { - requires: ["slider-base", "slider-value-range", "clickable-rail"] + requires: [ + "slider-base", + "slider-value-range", + "clickable-rail" + ] }, recordset: { - use: ["recordset-base", "recordset-sort", "recordset-filter", "recordset-indexer"] + use: [ + "recordset-base", + "recordset-sort", + "recordset-filter", + "recordset-indexer" + ] }, "recordset-base": { - requires: ["base", "arraylist"] + requires: [ + "base", + "arraylist" + ] }, "recordset-filter": { - requires: ["recordset-base", "array-extras", "plugin"] + requires: [ + "recordset-base", + "array-extras", + "plugin" + ] }, "recordset-indexer": { - requires: ["recordset-base", "plugin"] + requires: [ + "recordset-base", + "plugin" + ] }, "recordset-sort": { - requires: ["arraysort", "recordset-base", "plugin"] + requires: [ + "arraysort", + "recordset-base", + "plugin" + ] }, resize: { - use: ["resize-base", "resize-proxy", "resize-constrain"] + use: [ + "resize-base", + "resize-proxy", + "resize-constrain" + ] }, "resize-base": { - requires: ["base", "widget", "event", "oop", "dd-drag", "dd-delegate", "dd-drop"], + requires: [ + "base", + "widget", + "event", + "oop", + "dd-drag", + "dd-delegate", + "dd-drop" + ], skinnable: !0 }, "resize-constrain": { - requires: ["plugin", "resize-base"] + requires: [ + "plugin", + "resize-base" + ] }, "resize-plugin": { - optional: ["resize-constrain"], - requires: ["resize-base", "plugin"] + optional: [ + "resize-constrain" + ], + requires: [ + "resize-base", + "plugin" + ] }, "resize-proxy": { - requires: ["plugin", "resize-base"] + requires: [ + "plugin", + "resize-base" + ] }, router: { - optional: ["querystring-parse"], - requires: ["array-extras", "base-build", "history"] + optional: [ + "querystring-parse" + ], + requires: [ + "array-extras", + "base-build", + "history" + ] }, scrollview: { - requires: ["scrollview-base", "scrollview-scrollbars"] + requires: [ + "scrollview-base", + "scrollview-scrollbars" + ] }, "scrollview-base": { - requires: ["widget", "event-gestures", "event-mousewheel", "transition"], + requires: [ + "widget", + "event-gestures", + "event-mousewheel", + "transition" + ], skinnable: !0 }, "scrollview-base-ie": { @@ -2650,21 +4080,35 @@ var YUI = function() { trigger: "scrollview-base", ua: "ie" }, - requires: ["scrollview-base"] + requires: [ + "scrollview-base" + ] }, "scrollview-list": { - requires: ["plugin", "classnamemanager"], + requires: [ + "plugin", + "classnamemanager" + ], skinnable: !0 }, "scrollview-paginator": { - requires: ["plugin", "classnamemanager"] + requires: [ + "plugin", + "classnamemanager" + ] }, "scrollview-scrollbars": { - requires: ["classnamemanager", "transition", "plugin"], + requires: [ + "classnamemanager", + "transition", + "plugin" + ], skinnable: !0 }, selector: { - requires: ["selector-native"] + requires: [ + "selector-native" + ] }, "selector-css2": { condition: { @@ -2675,178 +4119,338 @@ var YUI = function() { }, trigger: "selector" }, - requires: ["selector-native"] + requires: [ + "selector-native" + ] }, "selector-css3": { - requires: ["selector-native", "selector-css2"] + requires: [ + "selector-native", + "selector-css2" + ] }, "selector-native": { - requires: ["dom-base"] + requires: [ + "dom-base" + ] }, "series-area": { - requires: ["series-cartesian", "series-fill-util"] + requires: [ + "series-cartesian", + "series-fill-util" + ] }, "series-area-stacked": { - requires: ["series-stacked", "series-area"] + requires: [ + "series-stacked", + "series-area" + ] }, "series-areaspline": { - requires: ["series-area", "series-curve-util"] + requires: [ + "series-area", + "series-curve-util" + ] }, "series-areaspline-stacked": { - requires: ["series-stacked", "series-areaspline"] + requires: [ + "series-stacked", + "series-areaspline" + ] }, "series-bar": { - requires: ["series-marker", "series-histogram-base"] + requires: [ + "series-marker", + "series-histogram-base" + ] }, "series-bar-stacked": { - requires: ["series-stacked", "series-bar"] + requires: [ + "series-stacked", + "series-bar" + ] }, "series-base": { - requires: ["graphics", "axis-base"] + requires: [ + "graphics", + "axis-base" + ] }, "series-candlestick": { - requires: ["series-range"] + requires: [ + "series-range" + ] }, "series-cartesian": { - requires: ["series-base"] + requires: [ + "series-base" + ] }, "series-column": { - requires: ["series-marker", "series-histogram-base"] + requires: [ + "series-marker", + "series-histogram-base" + ] }, "series-column-stacked": { - requires: ["series-stacked", "series-column"] + requires: [ + "series-stacked", + "series-column" + ] }, "series-combo": { - requires: ["series-cartesian", "series-line-util", "series-plot-util", "series-fill-util"] + requires: [ + "series-cartesian", + "series-line-util", + "series-plot-util", + "series-fill-util" + ] }, "series-combo-stacked": { - requires: ["series-stacked", "series-combo"] + requires: [ + "series-stacked", + "series-combo" + ] }, "series-combospline": { - requires: ["series-combo", "series-curve-util"] + requires: [ + "series-combo", + "series-curve-util" + ] }, "series-combospline-stacked": { - requires: ["series-combo-stacked", "series-curve-util"] + requires: [ + "series-combo-stacked", + "series-curve-util" + ] }, "series-curve-util": { }, "series-fill-util": { }, "series-histogram-base": { - requires: ["series-cartesian", "series-plot-util"] + requires: [ + "series-cartesian", + "series-plot-util" + ] }, "series-line": { - requires: ["series-cartesian", "series-line-util"] + requires: [ + "series-cartesian", + "series-line-util" + ] }, "series-line-stacked": { - requires: ["series-stacked", "series-line"] + requires: [ + "series-stacked", + "series-line" + ] }, "series-line-util": { }, "series-marker": { - requires: ["series-cartesian", "series-plot-util"] + requires: [ + "series-cartesian", + "series-plot-util" + ] }, "series-marker-stacked": { - requires: ["series-stacked", "series-marker"] + requires: [ + "series-stacked", + "series-marker" + ] }, "series-ohlc": { - requires: ["series-range"] + requires: [ + "series-range" + ] }, "series-pie": { - requires: ["series-base", "series-plot-util"] + requires: [ + "series-base", + "series-plot-util" + ] }, "series-plot-util": { }, "series-range": { - requires: ["series-cartesian"] + requires: [ + "series-cartesian" + ] }, "series-spline": { - requires: ["series-line", "series-curve-util"] + requires: [ + "series-line", + "series-curve-util" + ] }, "series-spline-stacked": { - requires: ["series-stacked", "series-spline"] + requires: [ + "series-stacked", + "series-spline" + ] }, "series-stacked": { - requires: ["axis-stacked"] + requires: [ + "axis-stacked" + ] }, "shim-plugin": { - requires: ["node-style", "node-pluginhost"] + requires: [ + "node-style", + "node-pluginhost" + ] }, slider: { - use: ["slider-base", "slider-value-range", "clickable-rail", "range-slider"] + use: [ + "slider-base", + "slider-value-range", + "clickable-rail", + "range-slider" + ] }, "slider-base": { - requires: ["widget", "dd-constrain", "event-key"], + requires: [ + "widget", + "dd-constrain", + "event-key" + ], skinnable: !0 }, "slider-value-range": { - requires: ["slider-base"] + requires: [ + "slider-base" + ] }, sortable: { - requires: ["dd-delegate", "dd-drop-plugin", "dd-proxy"] + requires: [ + "dd-delegate", + "dd-drop-plugin", + "dd-proxy" + ] }, "sortable-scroll": { - requires: ["dd-scroll", "sortable"] + requires: [ + "dd-scroll", + "sortable" + ] }, stylesheet: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, substitute: { - optional: ["dump"], - requires: ["yui-base"] + optional: [ + "dump" + ], + requires: [ + "yui-base" + ] }, swf: { - requires: ["event-custom", "node", "swfdetect", "escape"] + requires: [ + "event-custom", + "node", + "swfdetect", + "escape" + ] }, swfdetect: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, tabview: { - requires: ["widget", "widget-parent", "widget-child", "tabview-base", "node-pluginhost", "node-focusmanager"], + requires: [ + "widget", + "widget-parent", + "widget-child", + "tabview-base", + "node-pluginhost", + "node-focusmanager" + ], skinnable: !0 }, "tabview-base": { - requires: ["node-event-delegate", "classnamemanager"] + requires: [ + "node-event-delegate", + "classnamemanager" + ] }, "tabview-plugin": { - requires: ["tabview-base"] + requires: [ + "tabview-base" + ] }, template: { - use: ["template-base", "template-micro"] + use: [ + "template-base", + "template-micro" + ] }, "template-base": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "template-micro": { - requires: ["escape"] + requires: [ + "escape" + ] }, test: { - requires: ["event-simulate", "event-custom", "json-stringify"] + requires: [ + "event-simulate", + "event-custom", + "json-stringify" + ] }, "test-console": { - requires: ["console-filters", "test", "array-extras"], + requires: [ + "console-filters", + "test", + "array-extras" + ], skinnable: !0 }, text: { - use: ["text-accentfold", "text-wordbreak"] + use: [ + "text-accentfold", + "text-wordbreak" + ] }, "text-accentfold": { - requires: ["array-extras", "text-data-accentfold"] + requires: [ + "array-extras", + "text-data-accentfold" + ] }, "text-data-accentfold": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "text-data-wordbreak": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "text-wordbreak": { - requires: ["array-extras", "text-data-wordbreak"] + requires: [ + "array-extras", + "text-data-wordbreak" + ] }, timers: { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, transition: { - requires: ["node-style"] + requires: [ + "node-style" + ] }, "transition-timer": { condition: { @@ -2857,57 +4461,120 @@ var YUI = function() { }, trigger: "transition" }, - requires: ["transition"] + requires: [ + "transition" + ] }, tree: { - requires: ["base-build", "tree-node"] + requires: [ + "base-build", + "tree-node" + ] }, "tree-labelable": { - requires: ["tree"] + requires: [ + "tree" + ] }, "tree-lazy": { - requires: ["base-pluginhost", "plugin", "tree"] + requires: [ + "base-pluginhost", + "plugin", + "tree" + ] }, "tree-node": { }, "tree-openable": { - requires: ["tree"] + requires: [ + "tree" + ] }, "tree-selectable": { - requires: ["tree"] + requires: [ + "tree" + ] }, "tree-sortable": { - requires: ["tree"] + requires: [ + "tree" + ] }, uploader: { - requires: ["uploader-html5", "uploader-flash"] + requires: [ + "uploader-html5", + "uploader-flash" + ] }, "uploader-flash": { - requires: ["swf", "widget", "base", "cssbutton", "node", "event-custom", "file-flash", "uploader-queue"] + requires: [ + "swf", + "widget", + "base", + "cssbutton", + "node", + "event-custom", + "file-flash", + "uploader-queue" + ] }, "uploader-html5": { - requires: ["widget", "node-event-simulate", "file-html5", "uploader-queue"] + requires: [ + "widget", + "node-event-simulate", + "file-html5", + "uploader-queue" + ] }, "uploader-queue": { - requires: ["base"] + requires: [ + "base" + ] }, view: { - requires: ["base-build", "node-event-delegate"] + requires: [ + "base-build", + "node-event-delegate" + ] }, "view-node-map": { - requires: ["view"] + requires: [ + "view" + ] }, widget: { - use: ["widget-base", "widget-htmlparser", "widget-skin", "widget-uievents"] + use: [ + "widget-base", + "widget-htmlparser", + "widget-skin", + "widget-uievents" + ] }, "widget-anim": { - requires: ["anim-base", "plugin", "widget"] + requires: [ + "anim-base", + "plugin", + "widget" + ] }, "widget-autohide": { - requires: ["base-build", "event-key", "event-outside", "widget"] + requires: [ + "base-build", + "event-key", + "event-outside", + "widget" + ] }, "widget-base": { - requires: ["attribute", "base-base", "base-pluginhost", "classnamemanager", "event-focus", "node-base", "node-style"], + requires: [ + "attribute", + "base-base", + "base-pluginhost", + "classnamemanager", + "event-focus", + "node-base", + "node-style" + ], skinnable: !0 }, "widget-base-ie": { @@ -2916,51 +4583,93 @@ var YUI = function() { trigger: "widget-base", ua: "ie" }, - requires: ["widget-base"] + requires: [ + "widget-base" + ] }, "widget-buttons": { - requires: ["button-plugin", "cssbutton", "widget-stdmod"] + requires: [ + "button-plugin", + "cssbutton", + "widget-stdmod" + ] }, "widget-child": { - requires: ["base-build", "widget"] + requires: [ + "base-build", + "widget" + ] }, "widget-htmlparser": { - requires: ["widget-base"] + requires: [ + "widget-base" + ] }, "widget-locale": { - requires: ["widget-base"] + requires: [ + "widget-base" + ] }, "widget-modality": { - requires: ["base-build", "event-outside", "widget"], + requires: [ + "base-build", + "event-outside", + "widget" + ], skinnable: !0 }, "widget-parent": { - requires: ["arraylist", "base-build", "widget"] + requires: [ + "arraylist", + "base-build", + "widget" + ] }, "widget-position": { - requires: ["base-build", "node-screen", "widget"] + requires: [ + "base-build", + "node-screen", + "widget" + ] }, "widget-position-align": { - requires: ["widget-position"] + requires: [ + "widget-position" + ] }, "widget-position-constrain": { - requires: ["widget-position"] + requires: [ + "widget-position" + ] }, "widget-skin": { - requires: ["widget-base"] + requires: [ + "widget-base" + ] }, "widget-stack": { - requires: ["base-build", "widget"], + requires: [ + "base-build", + "widget" + ], skinnable: !0 }, "widget-stdmod": { - requires: ["base-build", "widget"] + requires: [ + "base-build", + "widget" + ] }, "widget-uievents": { - requires: ["node-event-delegate", "widget-base"] + requires: [ + "node-event-delegate", + "widget-base" + ] }, yql: { - requires: ["oop"] + requires: [ + "oop" + ] }, "yql-jsonp": { condition: { @@ -2971,7 +4680,10 @@ var YUI = function() { trigger: "yql", when: "after" }, - requires: ["jsonp", "jsonp-url"] + requires: [ + "jsonp", + "jsonp-url" + ] }, "yql-nodejs": { condition: { @@ -2994,18 +4706,36 @@ var YUI = function() { "yui-base": { }, "yui-later": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "yui-log": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] }, "yui-throttle": { - requires: ["yui-base"] + requires: [ + "yui-base" + ] } }), YUI.Env[Y.version].md5 = "fd7c67956df50e445f40d1668dd1dc80"; }, "3.12.0", { - requires: ["loader-base"] + requires: [ + "loader-base" + ] }), YUI.add("yui", function(Y, NAME) { }, "3.12.0", { - use: ["yui-base", "get", "features", "intl-base", "yui-log", "yui-later", "loader-base", "loader-rollup", "loader-yui3"] + use: [ + "yui-base", + "get", + "features", + "intl-base", + "yui-log", + "yui-later", + "loader-base", + "loader-rollup", + "loader-yui3" + ] }); diff --git a/ecmascript/preset-env/Cargo.toml b/ecmascript/preset-env/Cargo.toml index eb27e0b460c..095a5ead5df 100644 --- a/ecmascript/preset-env/Cargo.toml +++ b/ecmascript/preset-env/Cargo.toml @@ -5,7 +5,7 @@ documentation = "https://rustdoc.swc.rs/swc_ecma_preset_env/" edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_preset_env" -version = "0.31.0" +version = "0.32.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -22,13 +22,13 @@ string_enum = {version = "0.3.1", path = "../../macros/string_enum"} swc_atoms = {version = "0.2", path = "../../atoms"} swc_common = {version = "0.11.0", path = "../../common"} swc_ecma_ast = {version = "0.49.0", path = "../ast"} -swc_ecma_transforms = {version = "0.61.0", path = "../transforms", features = ["compat", "proposal"]} +swc_ecma_transforms = {version = "0.62.0", path = "../transforms", features = ["compat", "proposal"]} swc_ecma_utils = {version = "0.41.0", path = "../utils"} swc_ecma_visit = {version = "0.35.0", path = "../visit"} walkdir = "2" [dev-dependencies] pretty_assertions = "0.6" -swc_ecma_codegen = {version = "0.64.0", path = "../codegen"} +swc_ecma_codegen = {version = "0.65.0", path = "../codegen"} swc_ecma_parser = {version = "0.65.0", path = "../parser"} testing = {version = "0.12.0", path = "../../testing"} diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml index 428ce076de6..0eb62ff9011 100644 --- a/ecmascript/transforms/Cargo.toml +++ b/ecmascript/transforms/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms" repository = "https://github.com/swc-project/swc.git" -version = "0.61.0" +version = "0.62.0" [package.metadata.docs.rs] all-features = true @@ -25,13 +25,13 @@ swc_atoms = {version = "0.2.0", path = "../../atoms"} swc_common = {version = "0.11.0", path = "../../common"} swc_ecma_ast = {version = "0.49.0", path = "../ast"} swc_ecma_parser = {version = "0.65.0", path = "../parser"} -swc_ecma_transforms_base = {version = "0.24.0", path = "./base"} -swc_ecma_transforms_compat = {version = "0.27.0", path = "./compat", optional = true} -swc_ecma_transforms_module = {version = "0.28.0", path = "./module", optional = true} -swc_ecma_transforms_optimization = {version = "0.31.0", path = "./optimization", optional = true} -swc_ecma_transforms_proposal = {version = "0.28.0", path = "./proposal", optional = true} -swc_ecma_transforms_react = {version = "0.29.0", path = "./react", optional = true} -swc_ecma_transforms_typescript = {version = "0.30.0", path = "./typescript", optional = true} +swc_ecma_transforms_base = {version = "0.25.0", path = "./base"} +swc_ecma_transforms_compat = {version = "0.28.0", path = "./compat", optional = true} +swc_ecma_transforms_module = {version = "0.29.0", path = "./module", optional = true} +swc_ecma_transforms_optimization = {version = "0.32.0", path = "./optimization", optional = true} +swc_ecma_transforms_proposal = {version = "0.29.0", path = "./proposal", optional = true} +swc_ecma_transforms_react = {version = "0.30.0", path = "./react", optional = true} +swc_ecma_transforms_typescript = {version = "0.31.0", path = "./typescript", optional = true} swc_ecma_utils = {version = "0.41.0", path = "../utils"} swc_ecma_visit = {version = "0.35.0", path = "../visit"} unicode-xid = "0.2" @@ -39,8 +39,8 @@ unicode-xid = "0.2" [dev-dependencies] pretty_assertions = "0.6" sourcemap = "6" -swc_ecma_codegen = {version = "0.64.0", path = "../codegen"} -swc_ecma_transforms_testing = {version = "0.24.0", path = "./testing"} +swc_ecma_codegen = {version = "0.65.0", path = "../codegen"} +swc_ecma_transforms_testing = {version = "0.25.0", path = "./testing"} tempfile = "3" testing = {version = "0.12.0", path = "../../testing"} walkdir = "2" diff --git a/ecmascript/transforms/base/Cargo.toml b/ecmascript/transforms/base/Cargo.toml index 95d3fd174e2..5a2603f8813 100644 --- a/ecmascript/transforms/base/Cargo.toml +++ b/ecmascript/transforms/base/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_base" repository = "https://github.com/swc-project/swc.git" -version = "0.24.1" +version = "0.25.0" [dependencies] fxhash = "0.2.1" @@ -22,5 +22,5 @@ swc_ecma_utils = {version = "0.41.0", path = "../../utils"} swc_ecma_visit = {version = "0.35.0", path = "../../visit"} [dev-dependencies] -swc_ecma_codegen = {version = "0.64.0", path = "../../codegen"} +swc_ecma_codegen = {version = "0.65.0", path = "../../codegen"} testing = {version = "0.12.0", path = "../../../testing"} diff --git a/ecmascript/transforms/classes/Cargo.toml b/ecmascript/transforms/classes/Cargo.toml index 0888673c3fd..7418540a867 100644 --- a/ecmascript/transforms/classes/Cargo.toml +++ b/ecmascript/transforms/classes/Cargo.toml @@ -6,12 +6,12 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_classes" repository = "https://github.com/swc-project/swc.git" -version = "0.10.0" +version = "0.11.0" [dependencies] swc_atoms = {version = "0.2.6", path = "../../../atoms"} swc_common = {version = "0.11.0", path = "../../../common"} swc_ecma_ast = {version = "0.49.0", path = "../../ast"} -swc_ecma_transforms_base = {version = "0.24.0", path = "../base"} +swc_ecma_transforms_base = {version = "0.25.0", path = "../base"} swc_ecma_utils = {version = "0.41.0", path = "../../utils"} swc_ecma_visit = {version = "0.35.0", path = "../../visit"} diff --git a/ecmascript/transforms/compat/Cargo.toml b/ecmascript/transforms/compat/Cargo.toml index 78e0542031f..f6d95858fde 100644 --- a/ecmascript/transforms/compat/Cargo.toml +++ b/ecmascript/transforms/compat/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_compat" repository = "https://github.com/swc-project/swc.git" -version = "0.27.0" +version = "0.28.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] @@ -21,13 +21,13 @@ smallvec = "1.6.0" swc_atoms = {version = "0.2.5", path = "../../../atoms"} swc_common = {version = "0.11.0", path = "../../../common"} swc_ecma_ast = {version = "0.49.0", path = "../../ast"} -swc_ecma_transforms_base = {version = "0.24.0", path = "../base"} -swc_ecma_transforms_classes = {version = "0.10.0", path = "../classes"} +swc_ecma_transforms_base = {version = "0.25.0", path = "../base"} +swc_ecma_transforms_classes = {version = "0.11.0", path = "../classes"} swc_ecma_transforms_macros = {version = "0.2.1", path = "../macros"} swc_ecma_utils = {version = "0.41.0", path = "../../utils"} swc_ecma_visit = {version = "0.35.0", path = "../../visit"} [dev-dependencies] swc_ecma_parser = {version = "0.65.0", path = "../../parser"} -swc_ecma_transforms_testing = {version = "0.24.0", path = "../testing"} +swc_ecma_transforms_testing = {version = "0.25.0", path = "../testing"} testing = {version = "0.12.0", path = "../../../testing"} diff --git a/ecmascript/transforms/module/Cargo.toml b/ecmascript/transforms/module/Cargo.toml index 88fe0606246..374ad30bcbf 100644 --- a/ecmascript/transforms/module/Cargo.toml +++ b/ecmascript/transforms/module/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_module" repository = "https://github.com/swc-project/swc.git" -version = "0.28.0" +version = "0.29.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] @@ -21,11 +21,11 @@ swc_common = {version = "0.11.0", path = "../../../common"} swc_ecma_ast = {version = "0.49.0", path = "../../ast"} swc_ecma_loader = {version = "0.12.0", path = "../../loader", features = ["node"]} swc_ecma_parser = {version = "0.65.0", path = "../../parser"} -swc_ecma_transforms_base = {version = "0.24.0", path = "../base"} +swc_ecma_transforms_base = {version = "0.25.0", path = "../base"} swc_ecma_utils = {version = "0.41.0", path = "../../utils"} swc_ecma_visit = {version = "0.35.0", path = "../../visit"} [dev-dependencies] -swc_ecma_transforms_compat = {version = "0.27.0", path = "../compat"} -swc_ecma_transforms_testing = {version = "0.24.0", path = "../testing/"} +swc_ecma_transforms_compat = {version = "0.28.0", path = "../compat"} +swc_ecma_transforms_testing = {version = "0.25.0", path = "../testing/"} testing = {version = "0.12.0", path = "../../../testing/"} diff --git a/ecmascript/transforms/optimization/Cargo.toml b/ecmascript/transforms/optimization/Cargo.toml index c4a447ee0d3..b3a86bcc444 100644 --- a/ecmascript/transforms/optimization/Cargo.toml +++ b/ecmascript/transforms/optimization/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_optimization" repository = "https://github.com/swc-project/swc.git" -version = "0.31.0" +version = "0.32.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] @@ -21,15 +21,15 @@ swc_atoms = {version = "0.2", path = "../../../atoms"} swc_common = {version = "0.11.0", path = "../../../common"} swc_ecma_ast = {version = "0.49.0", path = "../../ast"} swc_ecma_parser = {version = "0.65.0", path = "../../parser"} -swc_ecma_transforms_base = {version = "0.24.0", path = "../base"} +swc_ecma_transforms_base = {version = "0.25.0", path = "../base"} swc_ecma_utils = {version = "0.41.0", path = "../../utils"} swc_ecma_visit = {version = "0.35.0", path = "../../visit"} [dev-dependencies] -swc_ecma_transforms_compat = {version = "0.27.0", path = "../compat"} -swc_ecma_transforms_module = {version = "0.28.0", path = "../module"} -swc_ecma_transforms_proposal = {version = "0.28.0", path = "../proposal"} -swc_ecma_transforms_react = {version = "0.29.0", path = "../react"} -swc_ecma_transforms_testing = {version = "0.24.0", path = "../testing"} -swc_ecma_transforms_typescript = {version = "0.30.0", path = "../typescript"} +swc_ecma_transforms_compat = {version = "0.28.0", path = "../compat"} +swc_ecma_transforms_module = {version = "0.29.0", path = "../module"} +swc_ecma_transforms_proposal = {version = "0.29.0", path = "../proposal"} +swc_ecma_transforms_react = {version = "0.30.0", path = "../react"} +swc_ecma_transforms_testing = {version = "0.25.0", path = "../testing"} +swc_ecma_transforms_typescript = {version = "0.31.0", path = "../typescript"} testing = {version = "0.12.0", path = "../../../testing"} diff --git a/ecmascript/transforms/optimization/src/simplify/expr/mod.rs b/ecmascript/transforms/optimization/src/simplify/expr/mod.rs index 7360e25f469..0123e54edbf 100644 --- a/ecmascript/transforms/optimization/src/simplify/expr/mod.rs +++ b/ecmascript/transforms/optimization/src/simplify/expr/mod.rs @@ -115,6 +115,7 @@ impl SimplifyExpr { // 'foo'.length KnownOp::Len => { self.changed = true; + Expr::Lit(Lit::Num(Number { value: value.chars().count() as f64, span, @@ -124,6 +125,7 @@ impl SimplifyExpr { // 'foo'[1] KnownOp::Index(idx) if (idx as usize) < value.len() => { self.changed = true; + return if idx < 0 { *undefined(span) } else { @@ -160,6 +162,7 @@ impl SimplifyExpr { } self.changed = true; + Expr::Lit(Lit::Num(Number { value: elems.len() as _, span, @@ -187,6 +190,7 @@ impl SimplifyExpr { } self.changed = true; + let idx = match op { KnownOp::Index(i) => i, _ => unreachable!(), @@ -304,6 +308,7 @@ impl SimplifyExpr { Some(i) => { let v = props.remove(i); self.changed = true; + preserve_effects( span, match v { @@ -358,6 +363,7 @@ impl SimplifyExpr { Known(v) => { // TODO: Optimize self.changed = true; + return make_bool_expr(span, v, { iter::once(left).chain(iter::once(right)) }); @@ -369,6 +375,7 @@ impl SimplifyExpr { match $v { Known(v) => { self.changed = true; + return preserve_effects( span, Expr::Lit(Lit::Num(Number { value: v, span })), @@ -389,6 +396,7 @@ impl SimplifyExpr { let mut l = l.into_owned(); l.push_str(&r); self.changed = true; + return Expr::Lit(Lit::Str(Str { value: l.into(), span, @@ -419,6 +427,7 @@ impl SimplifyExpr { if let (Known(l), Known(r)) = (left.as_string(), right.as_string()) { self.changed = true; + return Expr::Lit(Lit::Str(Str { value: format!("{}{}", l, r).into(), span, @@ -447,6 +456,7 @@ impl SimplifyExpr { }) => match self.perform_arithmetic_op(op!(bin, "+"), &left, &right) { Known(v) => { self.changed = true; + return preserve_effects( span, Expr::Lit(Lit::Num(Number { value: v, span })), @@ -478,11 +488,13 @@ impl SimplifyExpr { right } else { self.changed = true; + // 0 && $right return *left; } } else if val { self.changed = true; + // 1 || $right return *left; } else { @@ -492,9 +504,11 @@ impl SimplifyExpr { return if !left.may_have_side_effects() { self.changed = true; + *node } else { self.changed = true; + let mut seq = SeqExpr { span, exprs: vec![left, node], @@ -560,11 +574,13 @@ impl SimplifyExpr { // Non-object types are never instances. if is_non_obj(&left) { self.changed = true; + return make_bool_expr(span, false, iter::once(right)); } if is_obj(&left) && right.is_ident_ref_to(js_word!("Object")) { self.changed = true; + return make_bool_expr(span, true, iter::once(left)); } @@ -651,6 +667,7 @@ impl SimplifyExpr { if left_op == op { if let Known(value) = self.perform_arithmetic_op(op, &left_rhs, &right) { self.changed = true; + return Expr::Bin(BinExpr { span, left: left_lhs, @@ -764,6 +781,7 @@ impl SimplifyExpr { match arg.as_bool() { (_, Known(val)) => { self.changed = true; + return make_bool_expr(span, !val, iter::once(arg)); } _ => return Expr::Unary(UnaryExpr { op, arg, span }), @@ -772,6 +790,7 @@ impl SimplifyExpr { op!(unary, "+") => match arg.as_number() { Known(v) => { self.changed = true; + return preserve_effects( span, Expr::Lit(Lit::Num(Number { value: v, span })), @@ -792,10 +811,12 @@ impl SimplifyExpr { .. }) => { self.changed = true; + return *arg; } Expr::Lit(Lit::Num(Number { value: f, .. })) => { self.changed = true; + return Expr::Lit(Lit::Num(Number { value: -f, span })); } _ => { @@ -827,6 +848,7 @@ impl SimplifyExpr { if let Known(value) = arg.as_number() { if value.fract() == 0.0 { self.changed = true; + return Expr::Lit(Lit::Num(Number { span, value: if value < 0.0 { @@ -852,7 +874,7 @@ impl SimplifyExpr { } /// Try to fold arithmetic binary operators - fn perform_arithmetic_op(&mut self, op: BinaryOp, left: &Expr, right: &Expr) -> Value { + fn perform_arithmetic_op(&self, op: BinaryOp, left: &Expr, right: &Expr) -> Value { /// Replace only if it becomes shorter macro_rules! try_replace { ($value:expr) => {{ @@ -926,13 +948,9 @@ impl SimplifyExpr { // advantage of that without some kind of non-NaN proof. So the special cases // here only deal with 1*x if Known(1.0) == lv { - self.changed = true; - // TODO: cloneTree() return rv; } if Known(1.0) == rv { - self.changed = true; - // TODO: cloneTree() return lv; } @@ -1217,6 +1235,7 @@ impl VisitMut for SimplifyExpr { // Remove parenthesis. This may break ast, but it will be fixed up later. Expr::Paren(ParenExpr { expr: e, .. }) => { self.changed = true; + *expr = *e.take(); return; } @@ -1291,6 +1310,7 @@ impl VisitMut for SimplifyExpr { expr, }) if expr.is_array() => { self.changed = true; + e.extend(expr.array().unwrap().elems) } @@ -1338,6 +1358,7 @@ impl VisitMut for SimplifyExpr { let e = &*e.args.into_iter().next().unwrap().pop().unwrap().expr; if let Known(value) = e.as_string() { self.changed = true; + return Expr::Lit(Lit::Str(Str { span: e.span(), value: value.into(), @@ -1445,8 +1466,9 @@ impl VisitMut for SimplifyExpr { } Expr::Lit(..) | Expr::Ident(..) if self.in_callee => { - self.changed = true; if exprs.is_empty() { + self.changed = true; + exprs.push(Box::new(Expr::Lit(Lit::Num(Number { span: DUMMY_SP, value: 0.0, diff --git a/ecmascript/transforms/proposal/Cargo.toml b/ecmascript/transforms/proposal/Cargo.toml index 3cd5d702c05..091f61bb81c 100644 --- a/ecmascript/transforms/proposal/Cargo.toml +++ b/ecmascript/transforms/proposal/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_proposal" repository = "https://github.com/swc-project/swc.git" -version = "0.28.0" +version = "0.29.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -24,12 +24,12 @@ swc_common = {version = "0.11.0", path = "../../../common"} swc_ecma_ast = {version = "0.49.0", path = "../../ast"} swc_ecma_loader = {version = "0.12.0", path = "../../loader", optional = true} swc_ecma_parser = {version = "0.65.0", path = "../../parser"} -swc_ecma_transforms_base = {version = "0.24.0", path = "../base"} -swc_ecma_transforms_classes = {version = "0.10.0", path = "../classes"} +swc_ecma_transforms_base = {version = "0.25.0", path = "../base"} +swc_ecma_transforms_classes = {version = "0.11.0", path = "../classes"} swc_ecma_utils = {version = "0.41.0", path = "../../utils"} swc_ecma_visit = {version = "0.35.0", path = "../../visit"} [dev-dependencies] -swc_ecma_transforms_compat = {version = "0.27.0", path = "../compat"} -swc_ecma_transforms_module = {version = "0.28.0", path = "../module"} -swc_ecma_transforms_testing = {version = "0.24.0", path = "../testing"} +swc_ecma_transforms_compat = {version = "0.28.0", path = "../compat"} +swc_ecma_transforms_module = {version = "0.29.0", path = "../module"} +swc_ecma_transforms_testing = {version = "0.25.0", path = "../testing"} diff --git a/ecmascript/transforms/react/Cargo.toml b/ecmascript/transforms/react/Cargo.toml index 40d36aca30d..ee2feb20277 100644 --- a/ecmascript/transforms/react/Cargo.toml +++ b/ecmascript/transforms/react/Cargo.toml @@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"] license = "Apache-2.0/MIT" name = "swc_ecma_transforms_react" repository = "https://github.com/swc-project/swc.git" -version = "0.29.0" +version = "0.30.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] @@ -23,13 +23,13 @@ swc_atoms = {version = "0.2", path = "../../../atoms"} swc_common = {version = "0.11.0", path = "../../../common"} swc_ecma_ast = {version = "0.49.0", path = "../../ast"} swc_ecma_parser = {version = "0.65.0", path = "../../parser"} -swc_ecma_transforms_base = {version = "0.24.0", path = "../base"} +swc_ecma_transforms_base = {version = "0.25.0", path = "../base"} swc_ecma_utils = {version = "0.41.0", path = "../../utils"} swc_ecma_visit = {version = "0.35.0", path = "../../visit"} [dev-dependencies] -swc_ecma_codegen = {version = "0.64.0", path = "../../codegen/"} -swc_ecma_transforms_compat = {version = "0.27.0", path = "../compat/"} -swc_ecma_transforms_module = {version = "0.28.0", path = "../module"} -swc_ecma_transforms_testing = {version = "0.24.0", path = "../testing/"} +swc_ecma_codegen = {version = "0.65.0", path = "../../codegen/"} +swc_ecma_transforms_compat = {version = "0.28.0", path = "../compat/"} +swc_ecma_transforms_module = {version = "0.29.0", path = "../module"} +swc_ecma_transforms_testing = {version = "0.25.0", path = "../testing/"} testing = {version = "0.12.0", path = "../../../testing"} diff --git a/ecmascript/transforms/testing/Cargo.toml b/ecmascript/transforms/testing/Cargo.toml index 7cf2a1f194a..4f52b42d1e3 100644 --- a/ecmascript/transforms/testing/Cargo.toml +++ b/ecmascript/transforms/testing/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_testing" repository = "https://github.com/swc-project/swc.git" -version = "0.24.0" +version = "0.25.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -16,9 +16,9 @@ serde = "1" serde_json = "1" swc_common = {version = "0.11.0", path = "../../../common"} swc_ecma_ast = {version = "0.49.0", path = "../../ast"} -swc_ecma_codegen = {version = "0.64.0", path = "../../codegen"} +swc_ecma_codegen = {version = "0.65.0", path = "../../codegen"} swc_ecma_parser = {version = "0.65.0", path = "../../parser"} -swc_ecma_transforms_base = {version = "0.24.0", path = "../base"} +swc_ecma_transforms_base = {version = "0.25.0", path = "../base"} swc_ecma_utils = {version = "0.41.0", path = "../../utils"} swc_ecma_visit = {version = "0.35.0", path = "../../visit"} tempfile = "3.1.0" diff --git a/ecmascript/transforms/typescript/Cargo.toml b/ecmascript/transforms/typescript/Cargo.toml index 37152904832..74cb2d1b28a 100644 --- a/ecmascript/transforms/typescript/Cargo.toml +++ b/ecmascript/transforms/typescript/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_transforms_typescript" repository = "https://github.com/swc-project/swc.git" -version = "0.30.1" +version = "0.31.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] @@ -16,15 +16,15 @@ swc_atoms = {version = "0.2", path = "../../../atoms"} swc_common = {version = "0.11.0", path = "../../../common"} swc_ecma_ast = {version = "0.49.0", path = "../../ast"} swc_ecma_parser = {version = "0.65.0", path = "../../parser"} -swc_ecma_transforms_base = {version = "0.24.0", path = "../base"} +swc_ecma_transforms_base = {version = "0.25.0", path = "../base"} swc_ecma_utils = {version = "0.41.0", path = "../../utils"} swc_ecma_visit = {version = "0.35.0", path = "../../visit"} [dev-dependencies] -swc_ecma_codegen = {version = "0.64.0", path = "../../codegen"} -swc_ecma_transforms_compat = {version = "0.27.0", path = "../compat"} -swc_ecma_transforms_module = {version = "0.28.0", path = "../module"} -swc_ecma_transforms_proposal = {version = "0.28.0", path = "../proposal/"} -swc_ecma_transforms_testing = {version = "0.24.0", path = "../testing"} +swc_ecma_codegen = {version = "0.65.0", path = "../../codegen"} +swc_ecma_transforms_compat = {version = "0.28.0", path = "../compat"} +swc_ecma_transforms_module = {version = "0.29.0", path = "../module"} +swc_ecma_transforms_proposal = {version = "0.29.0", path = "../proposal/"} +swc_ecma_transforms_testing = {version = "0.25.0", path = "../testing"} testing = {version = "0.12.0", path = "../../../testing"} walkdir = "2.3.1" diff --git a/ecmascript/visit/Cargo.toml b/ecmascript/visit/Cargo.toml index c1ef3fbb15a..433d3e1c5ea 100644 --- a/ecmascript/visit/Cargo.toml +++ b/ecmascript/visit/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_ecma_visit" repository = "https://github.com/swc-project/swc.git" -version = "0.35.0" +version = "0.35.1" [dependencies] num-bigint = {version = "0.2", features = ["serde"]} diff --git a/node-swc/__tests__/minify_test.mjs b/node-swc/__tests__/minify_test.mjs index f9c83cf4655..beaf4a7ec67 100644 --- a/node-swc/__tests__/minify_test.mjs +++ b/node-swc/__tests__/minify_test.mjs @@ -6,7 +6,7 @@ it("should compress", async () => { console.log(foo) `); - expect(code).toMatchInlineSnapshot(`"import foo from'@src/app';console.log(foo);"`); + expect(code).toMatchInlineSnapshot(`"import foo from'@src/app';console.log(foo)"`); }) it("should accept object", async () => { @@ -15,7 +15,7 @@ it("should accept object", async () => { console.log(foo) `, {}); - expect(code).toMatchInlineSnapshot(`"import foo from'@src/app';console.log(foo);"`); + expect(code).toMatchInlineSnapshot(`"import foo from'@src/app';console.log(foo)"`); }) it("should accpept { mangle = true }", async () => { @@ -27,7 +27,7 @@ it("should accpept { mangle = true }", async () => { mangle: true, }); - expect(code).toMatchInlineSnapshot(`"import a from'@src/app';console.log(a);"`); + expect(code).toMatchInlineSnapshot(`"import a from'@src/app';console.log(a)"`); }) it("should accpept { mangle = object }", async () => { @@ -41,7 +41,7 @@ it("should accpept { mangle = object }", async () => { }, }); - expect(code).toMatchInlineSnapshot(`"import a from'@src/app';console.log(a);"`); + expect(code).toMatchInlineSnapshot(`"import a from'@src/app';console.log(a)"`); }) it("should mangle locals", async () => { @@ -62,5 +62,35 @@ it("should mangle locals", async () => { }, }); - expect(code).toMatchInlineSnapshot(`"(function(){const a=Math.random()+'_'+Math.random();console.log(a);console.log(a);console.log(a);console.log(a);console.log(a);console.log(a);})();"`); + expect(code).toMatchInlineSnapshot(`"(function(){const a=Math.random()+'_'+Math.random();console.log(a);console.log(a);console.log(a);console.log(a);console.log(a);console.log(a)})()"`); +}) + + +describe('transform apis', () => { + it("handle jsc.minify", async () => { + const { code } = await swc.transform(` + (function(){ + const longName = Math.random() + '_' + Math.random(); + console.log(longName); + console.log(longName); + console.log(longName); + console.log(longName); + console.log(longName); + console.log(longName); + })() + `, { + jsc: { + minify: { + compress: false, + mangle: { + topLevel: true + }, + } + }, + minify: true, + }); + + expect(code).toMatchInlineSnapshot(`"(function(){var a=Math.random()+'_'+Math.random();console.log(a);console.log(a);console.log(a);console.log(a);console.log(a);console.log(a)})()"`); + }) + }) diff --git a/node-swc/__tests__/transform/api_test.js b/node-swc/__tests__/transform/api_test.js index e7003241ff3..ff08649b1db 100644 --- a/node-swc/__tests__/transform/api_test.js +++ b/node-swc/__tests__/transform/api_test.js @@ -9,7 +9,7 @@ it("should handle minify", () => { minify: true }) .code.trim() - ).toBe(`import foo,{bar}from"foo";`); + ).toBe(`import foo,{bar}from"foo"`); }); it("should handle sourceMaps = false", () => { diff --git a/node/binding/Cargo.toml b/node/binding/Cargo.toml index d9df76b958a..c4af51dbcd4 100644 --- a/node/binding/Cargo.toml +++ b/node/binding/Cargo.toml @@ -18,6 +18,7 @@ napi-build = {version = "1"} anyhow = "1" backtrace = "0.3" fxhash = "0.2" +log = {version = "0.4.14", features = ["release_max_level_off"]} napi = {version = "1", features = ["serde-json"]} napi-derive = {version = "1"} path-clean = "0.1" diff --git a/package.json b/package.json index 22cf8919f61..4eb51e893eb 100644 --- a/package.json +++ b/package.json @@ -83,6 +83,8 @@ "source-map": "^0.7.3", "source-map-support": "^0.5.19", "sourcemap-validator": "^2.1.0", + "sourcemap-validator": "^1.1.1", + "terser": "^5.7.1", "typescript": "^4.2.0-beta" }, "funding": { diff --git a/src/config/mod.rs b/src/config/mod.rs index 2e1b3dd01f7..0bb049f3654 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -1005,6 +1005,7 @@ impl Merge for JscConfig { self.external_helpers.merge(&from.external_helpers); self.keep_class_names.merge(&from.keep_class_names); self.paths.merge(&from.paths); + self.minify.merge(&from.minify); } } diff --git a/src/lib.rs b/src/lib.rs index 223901bab1a..9b96db62d40 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,7 +25,7 @@ use swc_common::{ BytePos, FileName, Globals, Mark, SourceFile, SourceMap, Spanned, DUMMY_SP, GLOBALS, }; use swc_ecma_ast::Program; -use swc_ecma_codegen::{self, Emitter, Node}; +use swc_ecma_codegen::{self, text_writer::WriteJs, Emitter, Node}; use swc_ecma_loader::resolvers::{lru::CachingResolver, node::NodeResolver, tsc::TsConfigResolver}; use swc_ecma_minifier::option::MinifyOptions; use swc_ecma_parser::{lexer::Lexer, EsConfig, Parser, Syntax}; @@ -264,21 +264,27 @@ impl Compiler { let src = { let mut buf = vec![]; { + let mut wr = Box::new(swc_ecma_codegen::text_writer::JsWriter::with_target( + self.cm.clone(), + "\n", + &mut buf, + if source_map.enabled() { + Some(&mut src_map_buf) + } else { + None + }, + target, + )) as Box; + + if minify { + wr = Box::new(swc_ecma_codegen::text_writer::omit_trailing_semi(wr)); + } + let mut emitter = Emitter { cfg: swc_ecma_codegen::Config { minify }, comments: if minify { None } else { Some(&self.comments) }, cm: self.cm.clone(), - wr: Box::new(swc_ecma_codegen::text_writer::JsWriter::with_target( - self.cm.clone(), - "\n", - &mut buf, - if source_map.enabled() { - Some(&mut src_map_buf) - } else { - None - }, - target, - )), + wr, }; node.emit_with(&mut emitter) diff --git a/tests/fixture/issue-1307/output/index.ts b/tests/fixture/issue-1307/output/index.ts index e37815a245d..2f9c0861b18 100644 --- a/tests/fixture/issue-1307/output/index.ts +++ b/tests/fixture/issue-1307/output/index.ts @@ -1 +1 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.foo=void 0;var _foo=_interopRequireWildcard(require("./foo"));function _interopRequireWildcard(obj){if(obj&&obj.__esModule){return obj;}else{var newObj={};if(obj!=null){for(var key in obj){if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};if(desc.get||desc.set){Object.defineProperty(newObj,key,desc);}else{newObj[key]=obj[key];}}}}newObj.default=obj;return newObj;}}exports.foo=_foo; +"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.foo=void 0;var _foo=_interopRequireWildcard(require("./foo"));function _interopRequireWildcard(obj){if(obj&&obj.__esModule){return obj}else{var newObj={};if(obj!=null){for(var key in obj){if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):{};if(desc.get||desc.set){Object.defineProperty(newObj,key,desc)}else{newObj[key]=obj[key]}}}}newObj.default=obj;return newObj}}exports.foo=_foo diff --git a/tests/fixture/issue-1455/case1/output/index.ts b/tests/fixture/issue-1455/case1/output/index.ts index 7fff5320262..3d05bc89818 100644 --- a/tests/fixture/issue-1455/case1/output/index.ts +++ b/tests/fixture/issue-1455/case1/output/index.ts @@ -1 +1 @@ -"use strict";function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error) {reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}const SampleData=typedModel("SampleVideo",VideosSchema,undefined,undefined,{byPlatform:function(platform){var _ref=_asyncToGenerator(function*(platform){const result=yield this.find({platform:{$eq:platform}});return result;});return function(){return _ref.apply(this,arguments);};}()});SampleData.byPlatform("youtube").then(res=>{console.info(res);}); +"use strict";function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value}catch(error){reject(error);return}if(info.done){resolve(value)}else{Promise.resolve(value).then(_next,_throw)}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(undefined)})}}const SampleData=typedModel("SampleVideo",VideosSchema,undefined,undefined,{byPlatform:function(platform){var _ref=_asyncToGenerator(function*(platform){const result=yield this.find({platform:{$eq:platform}});return result});return function(){return _ref.apply(this,arguments)}}()});SampleData.byPlatform("youtube").then(res=>{console.info(res)}) diff --git a/tests/fixture/issue-1568/case1/output/index.ts b/tests/fixture/issue-1568/case1/output/index.ts index 73fe104a107..8c32fde4b35 100644 --- a/tests/fixture/issue-1568/case1/output/index.ts +++ b/tests/fixture/issue-1568/case1/output/index.ts @@ -1 +1 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=get;function get(key){console.log(key);} +"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.default=get;function get(key){console.log(key)} diff --git a/tests/fixture/issue-1701/case1/output/index.ts b/tests/fixture/issue-1701/case1/output/index.ts index 37df97109ff..150c281bd38 100644 --- a/tests/fixture/issue-1701/case1/output/index.ts +++ b/tests/fixture/issue-1701/case1/output/index.ts @@ -1 +1 @@ -var f=function(){for(var _len=arguments.length,characters=new Array(_len),_key=0;_key<_len;_key++){characters[_key]=arguments[_key];}return characters.length;};var g=function(str){return f.apply(void 0,str);};g("meow"); +var f=function(){for(var _len=arguments.length,characters=new Array(_len),_key=0;_key<_len;_key++){characters[_key]=arguments[_key]}return characters.length};var g=function(str){return f.apply(void 0,str)};g("meow") diff --git a/visit/Cargo.toml b/visit/Cargo.toml index 4e25d674ead..879f36f860b 100644 --- a/visit/Cargo.toml +++ b/visit/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" license = "Apache-2.0/MIT" name = "swc_visit" repository = "https://github.com/swc-project/swc.git" -version = "0.2.4" +version = "0.2.5" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html