| Index: src/type-info.cc
|
| diff --git a/src/type-info.cc b/src/type-info.cc
|
| index 0bb72621280ca7fe9d1733b66505497f70fd37ce..3438ff8f8ff5de8e604b0dd16de28561445dacfc 100644
|
| --- a/src/type-info.cc
|
| +++ b/src/type-info.cc
|
| @@ -337,26 +337,27 @@ void TypeFeedbackOracle::PopulateMap(Handle<Code> code) {
|
| // position by making sure that we have position information
|
| // recorded for all binary ICs.
|
| if (GetElement(map_, position)->IsUndefined()) {
|
| - SetElement(map_, position, target);
|
| + SetElement(map_, position, target, kNonStrictMode);
|
| }
|
| } else if (state == MONOMORPHIC) {
|
| if (target->kind() != Code::CALL_IC ||
|
| target->check_type() == RECEIVER_MAP_CHECK) {
|
| Handle<Map> map = Handle<Map>(target->FindFirstMap());
|
| if (*map == NULL) {
|
| - SetElement(map_, position, target);
|
| + SetElement(map_, position, target, kNonStrictMode);
|
| } else {
|
| - SetElement(map_, position, map);
|
| + SetElement(map_, position, map, kNonStrictMode);
|
| }
|
| } else {
|
| ASSERT(target->kind() == Code::CALL_IC);
|
| CheckType check = target->check_type();
|
| ASSERT(check != RECEIVER_MAP_CHECK);
|
| - SetElement(map_, position, Handle<Object>(Smi::FromInt(check)));
|
| + SetElement(map_, position,
|
| + Handle<Object>(Smi::FromInt(check)), kNonStrictMode);
|
| ASSERT(Smi::cast(*GetElement(map_, position))->value() == check);
|
| }
|
| } else if (state == MEGAMORPHIC) {
|
| - SetElement(map_, position, target);
|
| + SetElement(map_, position, target, kNonStrictMode);
|
| }
|
| }
|
| }
|
|
|