+
+ my $intrinsic = "NoIntrinsic";
+ $intrinsic = "CharCodeAtIntrinsic" if ($key eq "charCodeAt");
+ $intrinsic = "CharAtIntrinsic" if ($key eq "charAt");
+ $intrinsic = "FromCharCodeIntrinsic" if ($key eq "fromCharCode");
+ if ($name eq "mathTable") {
+ $intrinsic = "MinIntrinsic" if ($key eq "min");
+ $intrinsic = "MaxIntrinsic" if ($key eq "max");
+ $intrinsic = "SqrtIntrinsic" if ($key eq "sqrt");
+ $intrinsic = "PowIntrinsic" if ($key eq "pow");
+ $intrinsic = "AbsIntrinsic" if ($key eq "abs");
+ $intrinsic = "FloorIntrinsic" if ($key eq "floor");
+ $intrinsic = "CeilIntrinsic" if ($key eq "ceil");
+ $intrinsic = "RoundIntrinsic" if ($key eq "round");
+ $intrinsic = "ExpIntrinsic" if ($key eq "exp");
+ $intrinsic = "LogIntrinsic" if ($key eq "log");
+ }
+ if ($name eq "arrayPrototypeTable") {
+ $intrinsic = "ArrayPushIntrinsic" if ($key eq "push");
+ $intrinsic = "ArrayPopIntrinsic" if ($key eq "pop");
+ }
+ if ($name eq "regExpPrototypeTable") {
+ $intrinsic = "RegExpExecIntrinsic" if ($key eq "exec");
+ $intrinsic = "RegExpTestIntrinsic" if ($key eq "test");
+ }
+
+ print " { \"$key\", $attrs[$i], (intptr_t)" . $castStr . "($firstValue), (intptr_t)$secondValue, $intrinsic },\n";