| Index: src/hydrogen.cc | 
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc | 
| index 33557a29f2e77314f0730606c1a0af671648984c..2e09660999d6f11242eecdb51a0cf010063a6d11 100644 | 
| --- a/src/hydrogen.cc | 
| +++ b/src/hydrogen.cc | 
| @@ -8160,17 +8160,19 @@ bool HOptimizedGraphBuilder::TryInline(CallKind call_kind, | 
| ClearInlinedTestContext(); | 
| delete target_state; | 
|  | 
| +    TestContext* test_context = TestContext::cast(ast_context()); | 
| + | 
| // Forward to the real test context. | 
| if (if_true->HasPredecessor()) { | 
| entry->RegisterReturnTarget(if_true, zone()); | 
| if_true->SetJoinId(ast_id); | 
| -      HBasicBlock* true_target = TestContext::cast(ast_context())->if_true(); | 
| +      HBasicBlock* true_target = test_context->if_true(); | 
| if_true->Goto(true_target, function_state()); | 
| } | 
| if (if_false->HasPredecessor()) { | 
| entry->RegisterReturnTarget(if_false, zone()); | 
| if_false->SetJoinId(ast_id); | 
| -      HBasicBlock* false_target = TestContext::cast(ast_context())->if_false(); | 
| +      HBasicBlock* false_target = test_context->if_false(); | 
| if_false->Goto(false_target, function_state()); | 
| } | 
| set_current_block(NULL); | 
|  |