| Index: src/contexts.cc
|
| diff --git a/src/contexts.cc b/src/contexts.cc
|
| index 33d47e9c4bb73eeceec550c0116cea6c6cf5db51..5ee0d4bec06b0296048e698a407b2e0bc547f769 100644
|
| --- a/src/contexts.cc
|
| +++ b/src/contexts.cc
|
| @@ -231,7 +231,7 @@ Handle<Object> Context::Lookup(Handle<String> name,
|
|
|
| } else if (context->IsCatchContext()) {
|
| // Catch contexts have the variable name in the extension slot.
|
| - if (name->Equals(String::cast(context->extension()))) {
|
| + if (String::Equals(name, handle(String::cast(context->extension())))) {
|
| if (FLAG_trace_contexts) {
|
| PrintF("=> found in catch context\n");
|
| }
|
|
|