OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/objects.h" | 5 #include "src/objects.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 #include <iomanip> | 8 #include <iomanip> |
9 #include <sstream> | 9 #include <sstream> |
10 | 10 |
(...skipping 12142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12153 shared_info->set_ast_node_count(lit->ast_node_count()); | 12153 shared_info->set_ast_node_count(lit->ast_node_count()); |
12154 shared_info->set_is_function(lit->is_function()); | 12154 shared_info->set_is_function(lit->is_function()); |
12155 if (lit->dont_optimize_reason() != kNoReason) { | 12155 if (lit->dont_optimize_reason() != kNoReason) { |
12156 shared_info->DisableOptimization(lit->dont_optimize_reason()); | 12156 shared_info->DisableOptimization(lit->dont_optimize_reason()); |
12157 } | 12157 } |
12158 shared_info->set_dont_crankshaft(lit->flags() & | 12158 shared_info->set_dont_crankshaft(lit->flags() & |
12159 AstProperties::kDontCrankshaft); | 12159 AstProperties::kDontCrankshaft); |
12160 shared_info->set_kind(lit->kind()); | 12160 shared_info->set_kind(lit->kind()); |
12161 shared_info->set_needs_home_object(lit->scope()->NeedsHomeObject()); | 12161 shared_info->set_needs_home_object(lit->scope()->NeedsHomeObject()); |
12162 shared_info->set_asm_function(lit->scope()->asm_function()); | 12162 shared_info->set_asm_function(lit->scope()->asm_function()); |
| 12163 shared_info->set_accept_IN(lit->accept_IN()); |
12163 } | 12164 } |
12164 | 12165 |
12165 | 12166 |
12166 bool SharedFunctionInfo::VerifyBailoutId(BailoutId id) { | 12167 bool SharedFunctionInfo::VerifyBailoutId(BailoutId id) { |
12167 DCHECK(!id.IsNone()); | 12168 DCHECK(!id.IsNone()); |
12168 Code* unoptimized = code(); | 12169 Code* unoptimized = code(); |
12169 DeoptimizationOutputData* data = | 12170 DeoptimizationOutputData* data = |
12170 DeoptimizationOutputData::cast(unoptimized->deoptimization_data()); | 12171 DeoptimizationOutputData::cast(unoptimized->deoptimization_data()); |
12171 unsigned ignore = Deoptimizer::GetOutputInfo(data, id, this); | 12172 unsigned ignore = Deoptimizer::GetOutputInfo(data, id, this); |
12172 USE(ignore); | 12173 USE(ignore); |
(...skipping 5489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17662 if (cell->value() != *new_value) { | 17663 if (cell->value() != *new_value) { |
17663 cell->set_value(*new_value); | 17664 cell->set_value(*new_value); |
17664 Isolate* isolate = cell->GetIsolate(); | 17665 Isolate* isolate = cell->GetIsolate(); |
17665 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 17666 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
17666 isolate, DependentCode::kPropertyCellChangedGroup); | 17667 isolate, DependentCode::kPropertyCellChangedGroup); |
17667 } | 17668 } |
17668 } | 17669 } |
17669 | 17670 |
17670 } // namespace internal | 17671 } // namespace internal |
17671 } // namespace v8 | 17672 } // namespace v8 |
OLD | NEW |