Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(692)

Side by Side Diff: src/objects.cc

Issue 1229233002: Remove more uses of the deprecated EnumSet template class. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 10602 matching lines...) Expand 10 before | Expand all | Expand 10 after
10613 shared_info->set_allows_lazy_compilation_without_context( 10613 shared_info->set_allows_lazy_compilation_without_context(
10614 lit->AllowsLazyCompilationWithoutContext()); 10614 lit->AllowsLazyCompilationWithoutContext());
10615 shared_info->set_language_mode(lit->language_mode()); 10615 shared_info->set_language_mode(lit->language_mode());
10616 shared_info->set_uses_arguments(lit->scope()->arguments() != NULL); 10616 shared_info->set_uses_arguments(lit->scope()->arguments() != NULL);
10617 shared_info->set_has_duplicate_parameters(lit->has_duplicate_parameters()); 10617 shared_info->set_has_duplicate_parameters(lit->has_duplicate_parameters());
10618 shared_info->set_ast_node_count(lit->ast_node_count()); 10618 shared_info->set_ast_node_count(lit->ast_node_count());
10619 shared_info->set_is_function(lit->is_function()); 10619 shared_info->set_is_function(lit->is_function());
10620 if (lit->dont_optimize_reason() != kNoReason) { 10620 if (lit->dont_optimize_reason() != kNoReason) {
10621 shared_info->DisableOptimization(lit->dont_optimize_reason()); 10621 shared_info->DisableOptimization(lit->dont_optimize_reason());
10622 } 10622 }
10623 shared_info->set_dont_crankshaft( 10623 shared_info->set_dont_crankshaft(lit->flags() &
10624 lit->flags()->Contains(AstPropertiesFlag::kDontCrankshaft)); 10624 AstProperties::kDontCrankshaft);
10625 shared_info->set_kind(lit->kind()); 10625 shared_info->set_kind(lit->kind());
10626 shared_info->set_needs_home_object(lit->scope()->NeedsHomeObject()); 10626 shared_info->set_needs_home_object(lit->scope()->NeedsHomeObject());
10627 shared_info->set_asm_function(lit->scope()->asm_function()); 10627 shared_info->set_asm_function(lit->scope()->asm_function());
10628 } 10628 }
10629 10629
10630 10630
10631 bool SharedFunctionInfo::VerifyBailoutId(BailoutId id) { 10631 bool SharedFunctionInfo::VerifyBailoutId(BailoutId id) {
10632 DCHECK(!id.IsNone()); 10632 DCHECK(!id.IsNone());
10633 Code* unoptimized = code(); 10633 Code* unoptimized = code();
10634 DeoptimizationOutputData* data = 10634 DeoptimizationOutputData* data =
(...skipping 5491 matching lines...) Expand 10 before | Expand all | Expand 10 after
16126 Handle<Object> new_value) { 16126 Handle<Object> new_value) {
16127 if (cell->value() != *new_value) { 16127 if (cell->value() != *new_value) {
16128 cell->set_value(*new_value); 16128 cell->set_value(*new_value);
16129 Isolate* isolate = cell->GetIsolate(); 16129 Isolate* isolate = cell->GetIsolate();
16130 cell->dependent_code()->DeoptimizeDependentCodeGroup( 16130 cell->dependent_code()->DeoptimizeDependentCodeGroup(
16131 isolate, DependentCode::kPropertyCellChangedGroup); 16131 isolate, DependentCode::kPropertyCellChangedGroup);
16132 } 16132 }
16133 } 16133 }
16134 } // namespace internal 16134 } // namespace internal
16135 } // namespace v8 16135 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698