Chromium Code Reviews| Index: src/hydrogen.h |
| diff --git a/src/hydrogen.h b/src/hydrogen.h |
| index b5046bd00190a46b4ae0aecc5c804b10989afc54..e94fd74310cdbe6c31f55860cd2caf96dd5a0466 100644 |
| --- a/src/hydrogen.h |
| +++ b/src/hydrogen.h |
| @@ -1450,6 +1450,10 @@ class HGraphBuilder { |
| void JoinContinuation(HIfContinuation* continuation); |
| void Then(); |
| + void ThenDeopt(const char* reason) { |
| + Then(); |
| + Deopt(reason); |
| + } |
| void Else(); |
| void End(); |
| @@ -1624,6 +1628,8 @@ class HGraphBuilder { |
| ElementsKind kind, |
| int length); |
| + HValue* BuildElementIndexHash(HValue* index); |
| + |
| void BuildCompareNil( |
| HValue* value, |
| Handle<Type> type, |