Index: src/builtins/builtins-function.cc |
diff --git a/src/builtins/builtins-function.cc b/src/builtins/builtins-function.cc |
index 6cd1b283ec6f1e144bc1fe8cff3b5a5783da185c..28c6158f74fdba88cc3de2af711b09a30e0487fa 100644 |
--- a/src/builtins/builtins-function.cc |
+++ b/src/builtins/builtins-function.cc |
@@ -42,8 +42,7 @@ MaybeHandle<Object> CreateDynamicFunction(Isolate* isolate, |
if (i > 1) builder.AppendCharacter(','); |
Handle<String> param; |
ASSIGN_RETURN_ON_EXCEPTION( |
- isolate, param, Object::ToString(isolate, args.at<Object>(i)), |
- Object); |
+ isolate, param, Object::ToString(isolate, args.at(i)), Object); |
param = String::Flatten(param); |
builder.AppendString(param); |
// If the formal parameters string include ) - an illegal |
@@ -67,8 +66,7 @@ MaybeHandle<Object> CreateDynamicFunction(Isolate* isolate, |
if (argc > 0) { |
Handle<String> body; |
ASSIGN_RETURN_ON_EXCEPTION( |
- isolate, body, Object::ToString(isolate, args.at<Object>(argc)), |
- Object); |
+ isolate, body, Object::ToString(isolate, args.at(argc)), Object); |
builder.AppendString(body); |
} |
builder.AppendCString("\n})"); |
@@ -179,9 +177,9 @@ Object* DoFunctionBind(Isolate* isolate, BuiltinArguments args) { |
Handle<Object> this_arg = isolate->factory()->undefined_value(); |
ScopedVector<Handle<Object>> argv(std::max(0, args.length() - 2)); |
if (args.length() > 1) { |
- this_arg = args.at<Object>(1); |
+ this_arg = args.at(1); |
for (int i = 2; i < args.length(); ++i) { |
- argv[i - 2] = args.at<Object>(i); |
+ argv[i - 2] = args.at(i); |
} |
} |
Handle<JSBoundFunction> function; |