| OLD | NEW |
| 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/snapshot/serialize.h" | 5 #include "src/snapshot/serialize.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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 Add(ExternalReference::flush_icache_function(isolate).address(), | 124 Add(ExternalReference::flush_icache_function(isolate).address(), |
| 125 "CpuFeatures::FlushICache"); | 125 "CpuFeatures::FlushICache"); |
| 126 Add(ExternalReference::log_enter_external_function(isolate).address(), | 126 Add(ExternalReference::log_enter_external_function(isolate).address(), |
| 127 "Logger::EnterExternal"); | 127 "Logger::EnterExternal"); |
| 128 Add(ExternalReference::log_leave_external_function(isolate).address(), | 128 Add(ExternalReference::log_leave_external_function(isolate).address(), |
| 129 "Logger::LeaveExternal"); | 129 "Logger::LeaveExternal"); |
| 130 Add(ExternalReference::address_of_minus_one_half().address(), | 130 Add(ExternalReference::address_of_minus_one_half().address(), |
| 131 "double_constants.minus_one_half"); | 131 "double_constants.minus_one_half"); |
| 132 Add(ExternalReference::stress_deopt_count(isolate).address(), | 132 Add(ExternalReference::stress_deopt_count(isolate).address(), |
| 133 "Isolate::stress_deopt_count_address()"); | 133 "Isolate::stress_deopt_count_address()"); |
| 134 Add(ExternalReference::vector_store_virtual_register(isolate).address(), | |
| 135 "Isolate::vector_store_virtual_register()"); | |
| 136 | 134 |
| 137 // Debug addresses | 135 // Debug addresses |
| 138 Add(ExternalReference::debug_after_break_target_address(isolate).address(), | 136 Add(ExternalReference::debug_after_break_target_address(isolate).address(), |
| 139 "Debug::after_break_target_address()"); | 137 "Debug::after_break_target_address()"); |
| 140 Add(ExternalReference::debug_restarter_frame_function_pointer_address(isolate) | 138 Add(ExternalReference::debug_restarter_frame_function_pointer_address(isolate) |
| 141 .address(), | 139 .address(), |
| 142 "Debug::restarter_frame_function_pointer_address()"); | 140 "Debug::restarter_frame_function_pointer_address()"); |
| 143 Add(ExternalReference::debug_is_active_address(isolate).address(), | 141 Add(ExternalReference::debug_is_active_address(isolate).address(), |
| 144 "Debug::is_active_address()"); | 142 "Debug::is_active_address()"); |
| 145 | 143 |
| (...skipping 2736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2882 SerializedCodeData* scd = new SerializedCodeData(cached_data); | 2880 SerializedCodeData* scd = new SerializedCodeData(cached_data); |
| 2883 SanityCheckResult r = scd->SanityCheck(isolate, source); | 2881 SanityCheckResult r = scd->SanityCheck(isolate, source); |
| 2884 if (r == CHECK_SUCCESS) return scd; | 2882 if (r == CHECK_SUCCESS) return scd; |
| 2885 cached_data->Reject(); | 2883 cached_data->Reject(); |
| 2886 source->GetIsolate()->counters()->code_cache_reject_reason()->AddSample(r); | 2884 source->GetIsolate()->counters()->code_cache_reject_reason()->AddSample(r); |
| 2887 delete scd; | 2885 delete scd; |
| 2888 return NULL; | 2886 return NULL; |
| 2889 } | 2887 } |
| 2890 } // namespace internal | 2888 } // namespace internal |
| 2891 } // namespace v8 | 2889 } // namespace v8 |
| OLD | NEW |