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

Side by Side Diff: src/objects.cc

Issue 1164073003: [es6] super.prop, eval and lazy functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Make the logger use 2 fields Created 5 years, 6 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 <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 10562 matching lines...) Expand 10 before | Expand all | Expand 10 after
10573 shared_info->set_ast_node_count(lit->ast_node_count()); 10573 shared_info->set_ast_node_count(lit->ast_node_count());
10574 shared_info->set_is_function(lit->is_function()); 10574 shared_info->set_is_function(lit->is_function());
10575 if (lit->dont_optimize_reason() != kNoReason) { 10575 if (lit->dont_optimize_reason() != kNoReason) {
10576 shared_info->DisableOptimization(lit->dont_optimize_reason()); 10576 shared_info->DisableOptimization(lit->dont_optimize_reason());
10577 } 10577 }
10578 shared_info->set_dont_crankshaft( 10578 shared_info->set_dont_crankshaft(
10579 lit->flags()->Contains(AstPropertiesFlag::kDontCrankshaft)); 10579 lit->flags()->Contains(AstPropertiesFlag::kDontCrankshaft));
10580 shared_info->set_dont_cache( 10580 shared_info->set_dont_cache(
10581 lit->flags()->Contains(AstPropertiesFlag::kDontCache)); 10581 lit->flags()->Contains(AstPropertiesFlag::kDontCache));
10582 shared_info->set_kind(lit->kind()); 10582 shared_info->set_kind(lit->kind());
10583 shared_info->set_uses_super_property(lit->uses_super_property()); 10583 shared_info->set_needs_home_object(lit->scope()->NeedsHomeObject());
10584 shared_info->set_asm_function(lit->scope()->asm_function()); 10584 shared_info->set_asm_function(lit->scope()->asm_function());
10585 } 10585 }
10586 10586
10587 10587
10588 bool SharedFunctionInfo::VerifyBailoutId(BailoutId id) { 10588 bool SharedFunctionInfo::VerifyBailoutId(BailoutId id) {
10589 DCHECK(!id.IsNone()); 10589 DCHECK(!id.IsNone());
10590 Code* unoptimized = code(); 10590 Code* unoptimized = code();
10591 DeoptimizationOutputData* data = 10591 DeoptimizationOutputData* data =
10592 DeoptimizationOutputData::cast(unoptimized->deoptimization_data()); 10592 DeoptimizationOutputData::cast(unoptimized->deoptimization_data());
10593 unsigned ignore = Deoptimizer::GetOutputInfo(data, id, this); 10593 unsigned ignore = Deoptimizer::GetOutputInfo(data, id, this);
(...skipping 6374 matching lines...) Expand 10 before | Expand all | Expand 10 after
16968 Handle<Object> new_value) { 16968 Handle<Object> new_value) {
16969 if (cell->value() != *new_value) { 16969 if (cell->value() != *new_value) {
16970 cell->set_value(*new_value); 16970 cell->set_value(*new_value);
16971 Isolate* isolate = cell->GetIsolate(); 16971 Isolate* isolate = cell->GetIsolate();
16972 cell->dependent_code()->DeoptimizeDependentCodeGroup( 16972 cell->dependent_code()->DeoptimizeDependentCodeGroup(
16973 isolate, DependentCode::kPropertyCellChangedGroup); 16973 isolate, DependentCode::kPropertyCellChangedGroup);
16974 } 16974 }
16975 } 16975 }
16976 } // namespace internal 16976 } // namespace internal
16977 } // namespace v8 16977 } // namespace v8
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