Commit a46ffa0d authored by Jakob Kummerow's avatar Jakob Kummerow Committed by Commit Bot

[bigint] Fix: toLocaleString does not take arguments

Bug: v8:6791
Change-Id: I43c43d217f00720ab666ff9908555fcd0fffe3b5
Reviewed-on: https://chromium-review.googlesource.com/919566Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51314}
parent 9d3002fd
......@@ -123,7 +123,7 @@ Object* BigIntToStringImpl(Handle<Object> receiver, Handle<Object> radix,
BUILTIN(BigIntPrototypeToLocaleString) {
HandleScope scope(isolate);
Handle<Object> radix = args.atOrUndefined(isolate, 1);
Handle<Object> radix = isolate->factory()->undefined_value();
return BigIntToStringImpl(args.receiver(), radix, isolate,
"BigInt.prototype.toLocaleString");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment