Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 0c1c61928ec650f1ad9af7b339673e68cee123db..9d2aa29a3e2d495b78fc78dacf3932f09d2bd653 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -5744,6 +5744,7 @@ static int LocalPrototypeChainLength(JSObject* obj) { |
// Return the names of the local named properties. |
// args[0]: object |
+// args[1]: int |
rossberg
2014/01/09 12:01:28
Maybe say that this int is PropertyAttributes.
|
RUNTIME_FUNCTION(MaybeObject*, Runtime_GetLocalPropertyNames) { |
HandleScope scope(isolate); |
ASSERT(args.length() == 2); |
@@ -5751,8 +5752,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_GetLocalPropertyNames) { |
return isolate->heap()->undefined_value(); |
} |
CONVERT_ARG_HANDLE_CHECKED(JSObject, obj, 0); |
- CONVERT_BOOLEAN_ARG_CHECKED(include_symbols, 1); |
- PropertyAttributes filter = include_symbols ? NONE : SYMBOLIC; |
+ CONVERT_SMI_ARG_CHECKED(filter_value, 1); |
+ PropertyAttributes filter = static_cast<PropertyAttributes>(filter_value); |
// Skip the global proxy as it has no properties and always delegates to the |
// real global object. |