| Index: src/builtins/builtins-number.cc
|
| diff --git a/src/builtins/builtins-number.cc b/src/builtins/builtins-number.cc
|
| index 234fa54781f77ec92cd015b654c045b6746d95fb..7e750139de00c328f7f2618dbfed633b4d3b9657 100644
|
| --- a/src/builtins/builtins-number.cc
|
| +++ b/src/builtins/builtins-number.cc
|
| @@ -336,7 +336,7 @@ TF_BUILTIN(NumberParseInt, CodeStubAssembler) {
|
| // ES6 section 20.1.3.2 Number.prototype.toExponential ( fractionDigits )
|
| BUILTIN(NumberPrototypeToExponential) {
|
| HandleScope scope(isolate);
|
| - Handle<Object> value = args.at<Object>(0);
|
| + Handle<Object> value = args.at(0);
|
| Handle<Object> fraction_digits = args.atOrUndefined(isolate, 1);
|
|
|
| // Unwrap the receiver {value}.
|
| @@ -379,7 +379,7 @@ BUILTIN(NumberPrototypeToExponential) {
|
| // ES6 section 20.1.3.3 Number.prototype.toFixed ( fractionDigits )
|
| BUILTIN(NumberPrototypeToFixed) {
|
| HandleScope scope(isolate);
|
| - Handle<Object> value = args.at<Object>(0);
|
| + Handle<Object> value = args.at(0);
|
| Handle<Object> fraction_digits = args.atOrUndefined(isolate, 1);
|
|
|
| // Unwrap the receiver {value}.
|
| @@ -422,7 +422,7 @@ BUILTIN(NumberPrototypeToFixed) {
|
| // ES6 section 20.1.3.4 Number.prototype.toLocaleString ( [ r1 [ , r2 ] ] )
|
| BUILTIN(NumberPrototypeToLocaleString) {
|
| HandleScope scope(isolate);
|
| - Handle<Object> value = args.at<Object>(0);
|
| + Handle<Object> value = args.at(0);
|
|
|
| // Unwrap the receiver {value}.
|
| if (value->IsJSValue()) {
|
| @@ -442,7 +442,7 @@ BUILTIN(NumberPrototypeToLocaleString) {
|
| // ES6 section 20.1.3.5 Number.prototype.toPrecision ( precision )
|
| BUILTIN(NumberPrototypeToPrecision) {
|
| HandleScope scope(isolate);
|
| - Handle<Object> value = args.at<Object>(0);
|
| + Handle<Object> value = args.at(0);
|
| Handle<Object> precision = args.atOrUndefined(isolate, 1);
|
|
|
| // Unwrap the receiver {value}.
|
| @@ -486,7 +486,7 @@ BUILTIN(NumberPrototypeToPrecision) {
|
| // ES6 section 20.1.3.6 Number.prototype.toString ( [ radix ] )
|
| BUILTIN(NumberPrototypeToString) {
|
| HandleScope scope(isolate);
|
| - Handle<Object> value = args.at<Object>(0);
|
| + Handle<Object> value = args.at(0);
|
| Handle<Object> radix = args.atOrUndefined(isolate, 1);
|
|
|
| // Unwrap the receiver {value}.
|
|
|