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 <iomanip> | 5 #include <iomanip> |
6 #include <sstream> | 6 #include <sstream> |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/accessors.h" | 10 #include "src/accessors.h" |
(...skipping 10851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10862 shared_info->set_allows_lazy_compilation_without_context( | 10862 shared_info->set_allows_lazy_compilation_without_context( |
10863 lit->AllowsLazyCompilationWithoutContext()); | 10863 lit->AllowsLazyCompilationWithoutContext()); |
10864 shared_info->set_language_mode(lit->language_mode()); | 10864 shared_info->set_language_mode(lit->language_mode()); |
10865 shared_info->set_uses_arguments(lit->scope()->arguments() != NULL); | 10865 shared_info->set_uses_arguments(lit->scope()->arguments() != NULL); |
10866 shared_info->set_has_duplicate_parameters(lit->has_duplicate_parameters()); | 10866 shared_info->set_has_duplicate_parameters(lit->has_duplicate_parameters()); |
10867 shared_info->set_ast_node_count(lit->ast_node_count()); | 10867 shared_info->set_ast_node_count(lit->ast_node_count()); |
10868 shared_info->set_is_function(lit->is_function()); | 10868 shared_info->set_is_function(lit->is_function()); |
10869 if (lit->dont_optimize_reason() != kNoReason) { | 10869 if (lit->dont_optimize_reason() != kNoReason) { |
10870 shared_info->DisableOptimization(lit->dont_optimize_reason()); | 10870 shared_info->DisableOptimization(lit->dont_optimize_reason()); |
10871 } | 10871 } |
| 10872 shared_info->set_dont_crankshaft( |
| 10873 lit->flags()->Contains(AstPropertiesFlag::kDontCrankshaft)); |
10872 shared_info->set_dont_cache( | 10874 shared_info->set_dont_cache( |
10873 lit->flags()->Contains(AstPropertiesFlag::kDontCache)); | 10875 lit->flags()->Contains(AstPropertiesFlag::kDontCache)); |
10874 shared_info->set_kind(lit->kind()); | 10876 shared_info->set_kind(lit->kind()); |
10875 shared_info->set_uses_super_property(lit->uses_super_property()); | 10877 shared_info->set_uses_super_property(lit->uses_super_property()); |
10876 shared_info->set_asm_function(lit->scope()->asm_function()); | 10878 shared_info->set_asm_function(lit->scope()->asm_function()); |
10877 } | 10879 } |
10878 | 10880 |
10879 | 10881 |
10880 bool SharedFunctionInfo::VerifyBailoutId(BailoutId id) { | 10882 bool SharedFunctionInfo::VerifyBailoutId(BailoutId id) { |
10881 DCHECK(!id.IsNone()); | 10883 DCHECK(!id.IsNone()); |
(...skipping 6414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17296 void PropertyCell::SetValueWithInvalidation(Handle<PropertyCell> cell, | 17298 void PropertyCell::SetValueWithInvalidation(Handle<PropertyCell> cell, |
17297 Handle<Object> new_value) { | 17299 Handle<Object> new_value) { |
17298 if (cell->value() != *new_value) { | 17300 if (cell->value() != *new_value) { |
17299 cell->set_value(*new_value); | 17301 cell->set_value(*new_value); |
17300 Isolate* isolate = cell->GetIsolate(); | 17302 Isolate* isolate = cell->GetIsolate(); |
17301 cell->dependent_code()->DeoptimizeDependentCodeGroup( | 17303 cell->dependent_code()->DeoptimizeDependentCodeGroup( |
17302 isolate, DependentCode::kPropertyCellChangedGroup); | 17304 isolate, DependentCode::kPropertyCellChangedGroup); |
17303 } | 17305 } |
17304 } | 17306 } |
17305 } } // namespace v8::internal | 17307 } } // namespace v8::internal |
OLD | NEW |