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

Side by Side Diff: src/objects.cc

Issue 1965343002: [Interpreter] Support compiling for baseline on return from interpreted function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test for nosnap build Created 4 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 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 12863 matching lines...) Expand 10 before | Expand all | Expand 10 after
12874 ClearTypeFeedbackInfo(); 12874 ClearTypeFeedbackInfo();
12875 set_ic_age(new_ic_age); 12875 set_ic_age(new_ic_age);
12876 if (code()->kind() == Code::FUNCTION) { 12876 if (code()->kind() == Code::FUNCTION) {
12877 code()->set_profiler_ticks(0); 12877 code()->set_profiler_ticks(0);
12878 if (optimization_disabled() && opt_count() >= FLAG_max_opt_count) { 12878 if (optimization_disabled() && opt_count() >= FLAG_max_opt_count) {
12879 // Re-enable optimizations if they were disabled due to opt_count limit. 12879 // Re-enable optimizations if they were disabled due to opt_count limit.
12880 set_optimization_disabled(false); 12880 set_optimization_disabled(false);
12881 } 12881 }
12882 set_opt_count(0); 12882 set_opt_count(0);
12883 set_deopt_count(0); 12883 set_deopt_count(0);
12884 } else if (code()->is_interpreter_entry_trampoline()) { 12884 } else if (code()->is_interpreter_trampoline_builtin()) {
12885 set_profiler_ticks(0); 12885 set_profiler_ticks(0);
12886 if (optimization_disabled() && opt_count() >= FLAG_max_opt_count) { 12886 if (optimization_disabled() && opt_count() >= FLAG_max_opt_count) {
12887 // Re-enable optimizations if they were disabled due to opt_count limit. 12887 // Re-enable optimizations if they were disabled due to opt_count limit.
12888 set_optimization_disabled(false); 12888 set_optimization_disabled(false);
12889 } 12889 }
12890 set_opt_count(0); 12890 set_opt_count(0);
12891 set_deopt_count(0); 12891 set_deopt_count(0);
12892 } 12892 }
12893 } 12893 }
12894 12894
(...skipping 5477 matching lines...) Expand 10 before | Expand all | Expand 10 after
18372 if (cell->value() != *new_value) { 18372 if (cell->value() != *new_value) {
18373 cell->set_value(*new_value); 18373 cell->set_value(*new_value);
18374 Isolate* isolate = cell->GetIsolate(); 18374 Isolate* isolate = cell->GetIsolate();
18375 cell->dependent_code()->DeoptimizeDependentCodeGroup( 18375 cell->dependent_code()->DeoptimizeDependentCodeGroup(
18376 isolate, DependentCode::kPropertyCellChangedGroup); 18376 isolate, DependentCode::kPropertyCellChangedGroup);
18377 } 18377 }
18378 } 18378 }
18379 18379
18380 } // namespace internal 18380 } // namespace internal
18381 } // namespace v8 18381 } // 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