| Index: src/ic.h
|
| diff --git a/src/ic.h b/src/ic.h
|
| index aeb58bf8142787e1013d3649628f916802f0b7ce..9acb72a7544f88649de46a51bd8047f950594a47 100644
|
| --- a/src/ic.h
|
| +++ b/src/ic.h
|
| @@ -110,16 +110,16 @@ class IC {
|
|
|
| // Returns if this IC is for contextual (no explicit receiver)
|
| // access to properties.
|
| - bool IsContextual(Handle<Object> receiver) {
|
| + bool IsUndeclaredGlobal(Handle<Object> receiver) {
|
| if (receiver->IsGlobalObject()) {
|
| - return SlowIsContextual();
|
| + return SlowIsUndeclaredGlobal();
|
| } else {
|
| - ASSERT(!SlowIsContextual());
|
| + ASSERT(!SlowIsUndeclaredGlobal());
|
| return false;
|
| }
|
| }
|
|
|
| - bool SlowIsContextual() {
|
| + bool SlowIsUndeclaredGlobal() {
|
| return ComputeMode() == RelocInfo::CODE_TARGET_CONTEXT;
|
| }
|
|
|
|
|