Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index 6b7ec058d93c59bfda56bf936dba56b5fcee9ecc..662a9e126b04b1bad9489ddb468c09666436eff1 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -382,9 +382,9 @@ void Accessors::RegExpSourceGetter( |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); |
HandleScope scope(isolate); |
- Handle<Object> receiver = |
- Utils::OpenHandle(*v8::Local<v8::Value>(info.This())); |
- Handle<JSRegExp> regexp = Handle<JSRegExp>::cast(receiver); |
+ Handle<Object> holder = |
+ Utils::OpenHandle(*v8::Local<v8::Value>(info.Holder())); |
+ Handle<JSRegExp> regexp = Handle<JSRegExp>::cast(holder); |
Handle<String> result; |
if (regexp->TypeTag() == JSRegExp::NOT_COMPILED) { |
result = isolate->factory()->empty_string(); |