| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 92308704328c7968176fbbe88fd392b58622207d..cd029748419031757471afb083b62052113313e6 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2011 the V8 project authors. All rights reserved.
|
| +// Copyright 2012 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -4652,7 +4652,8 @@ void HGraphBuilder::AddCheckConstantFunction(Call* expr,
|
| // its prototypes.
|
| if (smi_and_map_check) {
|
| AddInstruction(new(zone()) HCheckNonSmi(receiver));
|
| - AddInstruction(new(zone()) HCheckMap(receiver, receiver_map));
|
| + AddInstruction(new(zone()) HCheckMap(receiver, receiver_map,
|
| + NULL, ALLOW_ELEMENT_TRANSITION_MAPS));
|
| }
|
| if (!expr->holder().is_null()) {
|
| AddInstruction(new(zone()) HCheckPrototypeMaps(
|
|
|