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

Side by Side Diff: src/snapshot/serialize.cc

Issue 1115973005: Revert of Collect type feedback on result of Math.[round|ceil|floor] (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/mips64/macro-assembler-mips64.cc ('k') | src/type-feedback-vector.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/base/platform/platform.h" 9 #include "src/base/platform/platform.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 Add(ExternalReference::invoke_accessor_getter_callback(isolate).address(), 123 Add(ExternalReference::invoke_accessor_getter_callback(isolate).address(),
124 "InvokeAccessorGetterCallback"); 124 "InvokeAccessorGetterCallback");
125 Add(ExternalReference::flush_icache_function(isolate).address(), 125 Add(ExternalReference::flush_icache_function(isolate).address(),
126 "CpuFeatures::FlushICache"); 126 "CpuFeatures::FlushICache");
127 Add(ExternalReference::log_enter_external_function(isolate).address(), 127 Add(ExternalReference::log_enter_external_function(isolate).address(),
128 "Logger::EnterExternal"); 128 "Logger::EnterExternal");
129 Add(ExternalReference::log_leave_external_function(isolate).address(), 129 Add(ExternalReference::log_leave_external_function(isolate).address(),
130 "Logger::LeaveExternal"); 130 "Logger::LeaveExternal");
131 Add(ExternalReference::address_of_minus_one_half().address(), 131 Add(ExternalReference::address_of_minus_one_half().address(),
132 "double_constants.minus_one_half"); 132 "double_constants.minus_one_half");
133 Add(ExternalReference::address_of_minus_one().address(),
134 "double_constants.minus_one");
135 Add(ExternalReference::stress_deopt_count(isolate).address(), 133 Add(ExternalReference::stress_deopt_count(isolate).address(),
136 "Isolate::stress_deopt_count_address()"); 134 "Isolate::stress_deopt_count_address()");
137 135
138 // Debug addresses 136 // Debug addresses
139 Add(ExternalReference::debug_after_break_target_address(isolate).address(), 137 Add(ExternalReference::debug_after_break_target_address(isolate).address(),
140 "Debug::after_break_target_address()"); 138 "Debug::after_break_target_address()");
141 Add(ExternalReference::debug_restarter_frame_function_pointer_address(isolate) 139 Add(ExternalReference::debug_restarter_frame_function_pointer_address(isolate)
142 .address(), 140 .address(),
143 "Debug::restarter_frame_function_pointer_address()"); 141 "Debug::restarter_frame_function_pointer_address()");
144 Add(ExternalReference::debug_is_active_address(isolate).address(), 142 Add(ExternalReference::debug_is_active_address(isolate).address(),
(...skipping 2449 matching lines...) Expand 10 before | Expand all | Expand 10 after
2594 DisallowHeapAllocation no_gc; 2592 DisallowHeapAllocation no_gc;
2595 SerializedCodeData* scd = new SerializedCodeData(cached_data); 2593 SerializedCodeData* scd = new SerializedCodeData(cached_data);
2596 SanityCheckResult r = scd->SanityCheck(isolate, source); 2594 SanityCheckResult r = scd->SanityCheck(isolate, source);
2597 if (r == CHECK_SUCCESS) return scd; 2595 if (r == CHECK_SUCCESS) return scd;
2598 cached_data->Reject(); 2596 cached_data->Reject();
2599 source->GetIsolate()->counters()->code_cache_reject_reason()->AddSample(r); 2597 source->GetIsolate()->counters()->code_cache_reject_reason()->AddSample(r);
2600 delete scd; 2598 delete scd;
2601 return NULL; 2599 return NULL;
2602 } 2600 }
2603 } } // namespace v8::internal 2601 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | src/type-feedback-vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698