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

Side by Side Diff: src/objects.cc

Issue 1155503002: [turbofan] Prepare mechanism to enable TF on language subset. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix think'o! Created 5 years, 7 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 10851 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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