Index: src/debug/debug-evaluate.cc |
diff --git a/src/debug/debug-evaluate.cc b/src/debug/debug-evaluate.cc |
index c76112baffa0a491cbba67c1ccc556d5ef8e2cfe..25283d2ebd26e5e42c928436a4d4e38c1480ce13 100644 |
--- a/src/debug/debug-evaluate.cc |
+++ b/src/debug/debug-evaluate.cc |
@@ -302,8 +302,7 @@ void DebugEvaluate::ContextBuilder::MaterializeArgumentsObject( |
if (maybe.FromJust()) return; |
// FunctionGetArguments can't throw an exception. |
- Handle<JSObject> arguments = |
- Handle<JSObject>::cast(Accessors::FunctionGetArguments(function)); |
+ Handle<JSObject> arguments = Accessors::FunctionGetArguments(function); |
Handle<String> arguments_str = isolate_->factory()->arguments_string(); |
JSObject::SetOwnPropertyIgnoreAttributes(target, arguments_str, arguments, |
NONE) |