| Index: src/ic.cc
|
| ===================================================================
|
| --- src/ic.cc (revision 10127)
|
| +++ src/ic.cc (working copy)
|
| @@ -914,7 +914,7 @@
|
| name, receiver, holder, lookup->GetFieldIndex());
|
| break;
|
| case CONSTANT_FUNCTION: {
|
| - Handle<Object> constant(lookup->GetConstantFunction());
|
| + Handle<JSFunction> constant(lookup->GetConstantFunction());
|
| code = isolate()->stub_cache()->ComputeLoadConstant(
|
| name, receiver, holder, constant);
|
| break;
|
| @@ -1163,7 +1163,7 @@
|
| name, receiver, holder, lookup->GetFieldIndex());
|
| break;
|
| case CONSTANT_FUNCTION: {
|
| - Handle<Object> constant(lookup->GetConstantFunction());
|
| + Handle<JSFunction> constant(lookup->GetConstantFunction());
|
| code = isolate()->stub_cache()->ComputeKeyedLoadConstant(
|
| name, receiver, holder, constant);
|
| break;
|
|
|