| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index 829567acaf6c4d4d5bd1ca6b590aa9211a6cc820..64910c8d55ff8a70b27b6b97b49e0fc5038917db 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -2767,6 +2767,13 @@ class HCheckPrototypeMaps: public HTemplateInstruction<0> {
|
| return hash;
|
| }
|
|
|
| + bool CanOmitPrototypeChecks() {
|
| + for (int i = 0; i < maps()->length(); i++) {
|
| + if (!maps()->at(i)->CanOmitPrototypeChecks()) return false;
|
| + }
|
| + return true;
|
| + }
|
| +
|
| protected:
|
| virtual bool DataEquals(HValue* other) {
|
| HCheckPrototypeMaps* b = HCheckPrototypeMaps::cast(other);
|
|
|