| Index: src/runtime/runtime-utils.h
|
| diff --git a/src/runtime/runtime-utils.h b/src/runtime/runtime-utils.h
|
| index 147efed092a742724f66013147e76ee4d1b66d0f..3e11bc0627bca7a203197f3a13db9c303e9a1406 100644
|
| --- a/src/runtime/runtime-utils.h
|
| +++ b/src/runtime/runtime-utils.h
|
| @@ -24,7 +24,7 @@ namespace internal {
|
|
|
| #define CONVERT_NUMBER_ARG_HANDLE_CHECKED(name, index) \
|
| CHECK(args[index]->IsNumber()); \
|
| - Handle<Object> name = args.at<Object>(index);
|
| + Handle<Object> name = args.at(index);
|
|
|
| // Cast the given object to a boolean and store it in a variable with
|
| // the given name. If the object is not a boolean we crash safely.
|
| @@ -47,10 +47,10 @@ namespace internal {
|
|
|
| // Cast the given argument to a size_t and store its value in a variable with
|
| // the given name. If the argument is not a size_t we crash safely.
|
| -#define CONVERT_SIZE_ARG_CHECKED(name, index) \
|
| - CHECK(args[index]->IsNumber()); \
|
| - Handle<Object> name##_object = args.at<Object>(index); \
|
| - size_t name = 0; \
|
| +#define CONVERT_SIZE_ARG_CHECKED(name, index) \
|
| + CHECK(args[index]->IsNumber()); \
|
| + Handle<Object> name##_object = args.at(index); \
|
| + size_t name = 0; \
|
| CHECK(TryNumberToSize(*name##_object, &name));
|
|
|
| // Call the specified converter on the object *comand store the result in
|
|
|