| Index: src/crankshaft/hydrogen.cc
|
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
|
| index 697f97dda5e99dc37828c31794050f3a5a6dcb83..2f6ebcd6293a35f490ed726bd58411102fcc80aa 100644
|
| --- a/src/crankshaft/hydrogen.cc
|
| +++ b/src/crankshaft/hydrogen.cc
|
| @@ -3531,7 +3531,7 @@ HBasicBlock* HOptimizedGraphBuilder::CreateJoin(HBasicBlock* first,
|
| }
|
| }
|
|
|
| -
|
| +template <class IterationStatement>
|
| HBasicBlock* HOptimizedGraphBuilder::JoinContinue(IterationStatement* statement,
|
| HBasicBlock* exit_block,
|
| HBasicBlock* continue_block) {
|
| @@ -5084,7 +5084,7 @@ void HOptimizedGraphBuilder::VisitSwitchStatement(SwitchStatement* stmt) {
|
| }
|
| }
|
|
|
| -
|
| +template <class IterationStatement>
|
| void HOptimizedGraphBuilder::VisitLoopBody(IterationStatement* stmt,
|
| HBasicBlock* loop_entry) {
|
| Add<HSimulate>(stmt->StackCheckId());
|
| @@ -6697,6 +6697,7 @@ void HOptimizedGraphBuilder::HandlePolymorphicNamedFieldAccess(
|
| }
|
| }
|
|
|
| +template <class Expression>
|
| static bool ComputeReceiverTypes(Expression* expr, HValue* receiver,
|
| SmallMapList** t,
|
| HOptimizedGraphBuilder* builder) {
|
| @@ -6750,7 +6751,7 @@ static bool AreStringTypes(SmallMapList* maps) {
|
| return true;
|
| }
|
|
|
| -
|
| +template <class Expression>
|
| void HOptimizedGraphBuilder::BuildStore(Expression* expr, Property* prop,
|
| FeedbackVectorSlot slot,
|
| BailoutId ast_id, BailoutId return_id,
|
| @@ -7583,7 +7584,7 @@ HValue* HOptimizedGraphBuilder::HandlePolymorphicElementAccess(
|
| return access_type == STORE ? val : Pop();
|
| }
|
|
|
| -
|
| +template <class Expression>
|
| HValue* HOptimizedGraphBuilder::HandleKeyedElementAccess(
|
| HValue* obj, HValue* key, HValue* val, Expression* expr,
|
| FeedbackVectorSlot slot, BailoutId ast_id, BailoutId return_id,
|
| @@ -7796,7 +7797,7 @@ bool HOptimizedGraphBuilder::TryArgumentsAccess(Property* expr) {
|
| return true;
|
| }
|
|
|
| -
|
| +template <class Expression>
|
| HValue* HOptimizedGraphBuilder::BuildNamedAccess(
|
| PropertyAccessType access, BailoutId ast_id, BailoutId return_id,
|
| Expression* expr, FeedbackVectorSlot slot, HValue* object,
|
| @@ -10702,7 +10703,7 @@ HInstruction* HOptimizedGraphBuilder::BuildIncrement(
|
| return instr;
|
| }
|
|
|
| -
|
| +template <class Expression>
|
| void HOptimizedGraphBuilder::BuildStoreForEffect(
|
| Expression* expr, Property* prop, FeedbackVectorSlot slot, BailoutId ast_id,
|
| BailoutId return_id, HValue* object, HValue* key, HValue* value) {
|
|
|