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

Side by Side Diff: src/objects.cc

Issue 924123002: ES6 Classes: Remove tracking of super construct calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/objects.h ('k') | src/objects-inl.h » ('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 <sstream> 5 #include <sstream>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/accessors.h" 9 #include "src/accessors.h"
10 #include "src/allocation-site-scopes.h" 10 #include "src/allocation-site-scopes.h"
(...skipping 10397 matching lines...) Expand 10 before | Expand all | Expand 10 after
10408 shared_info->set_has_duplicate_parameters(lit->has_duplicate_parameters()); 10408 shared_info->set_has_duplicate_parameters(lit->has_duplicate_parameters());
10409 shared_info->set_ast_node_count(lit->ast_node_count()); 10409 shared_info->set_ast_node_count(lit->ast_node_count());
10410 shared_info->set_is_function(lit->is_function()); 10410 shared_info->set_is_function(lit->is_function());
10411 if (lit->dont_optimize_reason() != kNoReason) { 10411 if (lit->dont_optimize_reason() != kNoReason) {
10412 shared_info->DisableOptimization(lit->dont_optimize_reason()); 10412 shared_info->DisableOptimization(lit->dont_optimize_reason());
10413 } 10413 }
10414 shared_info->set_dont_cache( 10414 shared_info->set_dont_cache(
10415 lit->flags()->Contains(AstPropertiesFlag::kDontCache)); 10415 lit->flags()->Contains(AstPropertiesFlag::kDontCache));
10416 shared_info->set_kind(lit->kind()); 10416 shared_info->set_kind(lit->kind());
10417 shared_info->set_uses_super_property(lit->uses_super_property()); 10417 shared_info->set_uses_super_property(lit->uses_super_property());
10418 shared_info->set_uses_super_constructor_call(
10419 lit->uses_super_constructor_call());
10420 shared_info->set_asm_function(lit->scope()->asm_function()); 10418 shared_info->set_asm_function(lit->scope()->asm_function());
10421 } 10419 }
10422 10420
10423 10421
10424 bool SharedFunctionInfo::VerifyBailoutId(BailoutId id) { 10422 bool SharedFunctionInfo::VerifyBailoutId(BailoutId id) {
10425 DCHECK(!id.IsNone()); 10423 DCHECK(!id.IsNone());
10426 Code* unoptimized = code(); 10424 Code* unoptimized = code();
10427 DeoptimizationOutputData* data = 10425 DeoptimizationOutputData* data =
10428 DeoptimizationOutputData::cast(unoptimized->deoptimization_data()); 10426 DeoptimizationOutputData::cast(unoptimized->deoptimization_data());
10429 unsigned ignore = Deoptimizer::GetOutputInfo(data, id, this); 10427 unsigned ignore = Deoptimizer::GetOutputInfo(data, id, this);
(...skipping 6584 matching lines...) Expand 10 before | Expand all | Expand 10 after
17014 CompilationInfo* info) { 17012 CompilationInfo* info) {
17015 Handle<DependentCode> codes = DependentCode::InsertCompilationInfo( 17013 Handle<DependentCode> codes = DependentCode::InsertCompilationInfo(
17016 handle(cell->dependent_code(), info->isolate()), 17014 handle(cell->dependent_code(), info->isolate()),
17017 DependentCode::kPropertyCellChangedGroup, info->object_wrapper()); 17015 DependentCode::kPropertyCellChangedGroup, info->object_wrapper());
17018 if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes); 17016 if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes);
17019 info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add( 17017 info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add(
17020 cell, info->zone()); 17018 cell, info->zone());
17021 } 17019 }
17022 17020
17023 } } // namespace v8::internal 17021 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698