Commit f119ecbc authored by ricow@chromium.org's avatar ricow@chromium.org

Added checked convert of object to DefineOrRedefineAccessorProperty.

Review URL: http://codereview.chromium.org/570040

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3803 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e51a05f3
......@@ -2891,7 +2891,7 @@ static Object* Runtime_KeyedGetProperty(Arguments args) {
static Object* Runtime_DefineOrRedefineAccessorProperty(Arguments args) {
ASSERT(args.length() == 5);
HandleScope scope;
Handle<JSObject> obj = args.at<JSObject>(0);
CONVERT_ARG_CHECKED(JSObject, obj, 0);
CONVERT_CHECKED(String, name, args[1]);
CONVERT_CHECKED(Smi, flag_setter, args[2]);
CONVERT_CHECKED(JSFunction, fun, args[3]);
......
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