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

Side by Side Diff: src/objects.cc

Issue 1883583002: [compiler] Remove CompilationInfo::is_first_compile flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 4 years, 8 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.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 "src/objects.h" 5 #include "src/objects.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <iomanip> 8 #include <iomanip>
9 #include <sstream> 9 #include <sstream>
10 10
(...skipping 13453 matching lines...) Expand 10 before | Expand all | Expand 10 after
13464 shared_info->set_language_mode(lit->language_mode()); 13464 shared_info->set_language_mode(lit->language_mode());
13465 shared_info->set_uses_arguments(lit->scope()->arguments() != NULL); 13465 shared_info->set_uses_arguments(lit->scope()->arguments() != NULL);
13466 shared_info->set_has_duplicate_parameters(lit->has_duplicate_parameters()); 13466 shared_info->set_has_duplicate_parameters(lit->has_duplicate_parameters());
13467 shared_info->set_ast_node_count(lit->ast_node_count()); 13467 shared_info->set_ast_node_count(lit->ast_node_count());
13468 shared_info->set_is_function(lit->is_function()); 13468 shared_info->set_is_function(lit->is_function());
13469 if (lit->dont_optimize_reason() != kNoReason) { 13469 if (lit->dont_optimize_reason() != kNoReason) {
13470 shared_info->DisableOptimization(lit->dont_optimize_reason()); 13470 shared_info->DisableOptimization(lit->dont_optimize_reason());
13471 } 13471 }
13472 shared_info->set_dont_crankshaft(lit->flags() & 13472 shared_info->set_dont_crankshaft(lit->flags() &
13473 AstProperties::kDontCrankshaft); 13473 AstProperties::kDontCrankshaft);
13474 shared_info->set_never_compiled(true);
13474 shared_info->set_kind(lit->kind()); 13475 shared_info->set_kind(lit->kind());
13475 if (!IsConstructable(lit->kind(), lit->language_mode())) { 13476 if (!IsConstructable(lit->kind(), lit->language_mode())) {
13476 shared_info->set_construct_stub( 13477 shared_info->set_construct_stub(
13477 *shared_info->GetIsolate()->builtins()->ConstructedNonConstructable()); 13478 *shared_info->GetIsolate()->builtins()->ConstructedNonConstructable());
13478 } 13479 }
13479 shared_info->set_needs_home_object(lit->scope()->NeedsHomeObject()); 13480 shared_info->set_needs_home_object(lit->scope()->NeedsHomeObject());
13480 shared_info->set_asm_function(lit->scope()->asm_function()); 13481 shared_info->set_asm_function(lit->scope()->asm_function());
13481 SetExpectedNofPropertiesFromEstimate(shared_info, lit); 13482 SetExpectedNofPropertiesFromEstimate(shared_info, lit);
13482 } 13483 }
13483 13484
(...skipping 5892 matching lines...) Expand 10 before | Expand all | Expand 10 after
19376 if (cell->value() != *new_value) { 19377 if (cell->value() != *new_value) {
19377 cell->set_value(*new_value); 19378 cell->set_value(*new_value);
19378 Isolate* isolate = cell->GetIsolate(); 19379 Isolate* isolate = cell->GetIsolate();
19379 cell->dependent_code()->DeoptimizeDependentCodeGroup( 19380 cell->dependent_code()->DeoptimizeDependentCodeGroup(
19380 isolate, DependentCode::kPropertyCellChangedGroup); 19381 isolate, DependentCode::kPropertyCellChangedGroup);
19381 } 19382 }
19382 } 19383 }
19383 19384
19384 } // namespace internal 19385 } // namespace internal
19385 } // namespace v8 19386 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698