| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 32ecf52e879b9421e36c32a06f9da4dea4c45a88..5db5e4d4f7170a03ca9e9dee39fab075ea0b2a44 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -10895,8 +10895,8 @@ RUNTIME_FUNCTION(Runtime_Break) {
|
| }
|
|
|
|
|
| -static Handle<Object> DebugLookupResultValue(LookupIterator* it,
|
| - bool* has_caught = NULL) {
|
| +static Handle<Object> DebugGetProperty(LookupIterator* it,
|
| + bool* has_caught = NULL) {
|
| for (; it->IsFound(); it->Next()) {
|
| switch (it->state()) {
|
| case LookupIterator::NOT_FOUND:
|
| @@ -10982,7 +10982,7 @@ RUNTIME_FUNCTION(Runtime_DebugGetPropertyDetails) {
|
|
|
| LookupIterator it(obj, name, LookupIterator::CHECK_HIDDEN);
|
| bool has_caught = false;
|
| - Handle<Object> value = DebugLookupResultValue(&it, &has_caught);
|
| + Handle<Object> value = DebugGetProperty(&it, &has_caught);
|
| if (!it.IsFound()) return isolate->heap()->undefined_value();
|
|
|
| Handle<Object> maybe_pair;
|
| @@ -11022,7 +11022,7 @@ RUNTIME_FUNCTION(Runtime_DebugGetProperty) {
|
| CONVERT_ARG_HANDLE_CHECKED(Name, name, 1);
|
|
|
| LookupIterator it(obj, name, LookupIterator::CHECK_DERIVED);
|
| - return *DebugLookupResultValue(&it);
|
| + return *DebugGetProperty(&it);
|
| }
|
|
|
|
|
|
|