| Index: test/mjsunit/fuzz-natives-part1.js
|
| diff --git a/test/mjsunit/fuzz-natives-part1.js b/test/mjsunit/fuzz-natives-part1.js
|
| index 596af9774299e3f1ebdd5acf48235c99cdeea871..848f8388a5ac6ec28597d880bbdef78e82b6212a 100644
|
| --- a/test/mjsunit/fuzz-natives-part1.js
|
| +++ b/test/mjsunit/fuzz-natives-part1.js
|
| @@ -115,100 +115,100 @@ function testArgumentTypes(name, argc) {
|
| }
|
|
|
| var knownProblems = {
|
| - "Abort": true,
|
| + "_Abort": true,
|
|
|
| // Avoid calling the concat operation, because weird lengths
|
| // may lead to out-of-memory. Ditto for StringBuilderJoin.
|
| - "StringBuilderConcat": true,
|
| - "StringBuilderJoin": true,
|
| + "_StringBuilderConcat": true,
|
| + "_StringBuilderJoin": true,
|
|
|
| // These functions use pseudo-stack-pointers and are not robust
|
| // to unexpected integer values.
|
| - "DebugEvaluate": true,
|
| + "_DebugEvaluate": true,
|
|
|
| // These functions do nontrivial error checking in recursive calls,
|
| // which means that we have to propagate errors back.
|
| - "SetFunctionBreakPoint": true,
|
| - "SetScriptBreakPoint": true,
|
| - "PrepareStep": true,
|
| + "_SetFunctionBreakPoint": true,
|
| + "_SetScriptBreakPoint": true,
|
| + "_PrepareStep": true,
|
|
|
| // Too slow.
|
| - "DebugReferencedBy": true,
|
| + "_DebugReferencedBy": true,
|
|
|
| // Calling disable/enable access checks may interfere with the
|
| // the rest of the tests.
|
| - "DisableAccessChecks": true,
|
| - "EnableAccessChecks": true,
|
| + "_DisableAccessChecks": true,
|
| + "_EnableAccessChecks": true,
|
|
|
| // These functions should not be callable as runtime functions.
|
| - "NewFunctionContext": true,
|
| - "NewArgumentsFast": true,
|
| - "NewStrictArgumentsFast": true,
|
| - "PushWithContext": true,
|
| - "PushCatchContext": true,
|
| - "PushBlockContext": true,
|
| - "PushModuleContext": true,
|
| - "LazyCompile": true,
|
| - "LazyRecompile": true,
|
| - "ParallelRecompile": true,
|
| - "NotifyDeoptimized": true,
|
| - "NotifyStubFailure": true,
|
| - "NotifyOSR": true,
|
| - "CreateObjectLiteralBoilerplate": true,
|
| - "CloneLiteralBoilerplate": true,
|
| - "CloneShallowLiteralBoilerplate": true,
|
| - "CreateArrayLiteralBoilerplate": true,
|
| - "IS_VAR": true,
|
| - "ResolvePossiblyDirectEval": true,
|
| - "Log": true,
|
| - "DeclareGlobals": true,
|
| -
|
| - "PromoteScheduledException": true,
|
| - "DeleteHandleScopeExtensions": true,
|
| + "_NewFunctionContext": true,
|
| + "_NewArgumentsFast": true,
|
| + "_NewStrictArgumentsFast": true,
|
| + "_PushWithContext": true,
|
| + "_PushCatchContext": true,
|
| + "_PushBlockContext": true,
|
| + "_PushModuleContext": true,
|
| + "_LazyCompile": true,
|
| + "_LazyRecompile": true,
|
| + "_ParallelRecompile": true,
|
| + "_NotifyDeoptimized": true,
|
| + "_NotifyStubFailure": true,
|
| + "_NotifyOSR": true,
|
| + "_CreateObjectLiteralBoilerplate": true,
|
| + "_CloneLiteralBoilerplate": true,
|
| + "_CloneShallowLiteralBoilerplate": true,
|
| + "_CreateArrayLiteralBoilerplate": true,
|
| + "_IS_VAR": true,
|
| + "_ResolvePossiblyDirectEval": true,
|
| + "_Log": true,
|
| + "_DeclareGlobals": true,
|
| +
|
| + "_PromoteScheduledException": true,
|
| + "_DeleteHandleScopeExtensions": true,
|
|
|
| // Vararg with minimum number > 0.
|
| - "Call": true,
|
| + "_Call": true,
|
|
|
| // Requires integer arguments to be non-negative.
|
| - "Apply": true,
|
| + "_Apply": true,
|
|
|
| // That can only be invoked on Array.prototype.
|
| - "FinishArrayPrototypeSetup": true,
|
| + "_FinishArrayPrototypeSetup": true,
|
|
|
| - "_SwapElements": true,
|
| + "__SwapElements": true,
|
|
|
| // Performance critical functions which cannot afford type checks.
|
| - "_IsNativeOrStrictMode": true,
|
| - "_CallFunction": true,
|
| + "__IsNativeOrStrictMode": true,
|
| + "__CallFunction": true,
|
|
|
| // Tries to allocate based on argument, and (correctly) throws
|
| // out-of-memory if the request is too large. In practice, the
|
| // size will be the number of captures of a RegExp.
|
| - "RegExpConstructResult": true,
|
| "_RegExpConstructResult": true,
|
| + "__RegExpConstructResult": true,
|
|
|
| // This functions perform some checks compile time (they require one of their
|
| // arguments to be a compile time smi).
|
| - "_DateField": true,
|
| - "_GetFromCache": true,
|
| + "__DateField": true,
|
| + "__GetFromCache": true,
|
|
|
| // This function expects its first argument to be a non-smi.
|
| - "_IsStringWrapperSafeForDefaultValueOf" : true,
|
| + "__IsStringWrapperSafeForDefaultValueOf" : true,
|
|
|
| // Only applicable to strings.
|
| - "_HasCachedArrayIndex": true,
|
| - "_GetCachedArrayIndex": true,
|
| - "_OneByteSeqStringSetChar": true,
|
| - "_TwoByteSeqStringSetChar": true,
|
| + "__HasCachedArrayIndex": true,
|
| + "__GetCachedArrayIndex": true,
|
| + "__OneByteSeqStringSetChar": true,
|
| + "__TwoByteSeqStringSetChar": true,
|
|
|
| // Only for debugging parallel recompilation.
|
| - "InstallRecompiledCode": true,
|
| - "ForceParallelRecompile": true
|
| + "_InstallRecompiledCode": true,
|
| + "_ForceParallelRecompile": true
|
| };
|
|
|
| var currentlyUncallable = {
|
| // We need to find a way to test this without breaking the system.
|
| - "SystemBreak": true
|
| + "_SystemBreak": true
|
| };
|
|
|
| function testNatives() {
|
|
|