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

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

Issue 1379933003: Revert of [Interpreter] Add CallRuntime support to the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/runtime/runtime.cc ('k') | src/x64/builtins-x64.cc » ('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/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
124 Add(ExternalReference::log_enter_external_function(isolate).address(), 124 Add(ExternalReference::log_enter_external_function(isolate).address(),
125 "Logger::EnterExternal"); 125 "Logger::EnterExternal");
126 Add(ExternalReference::log_leave_external_function(isolate).address(), 126 Add(ExternalReference::log_leave_external_function(isolate).address(),
127 "Logger::LeaveExternal"); 127 "Logger::LeaveExternal");
128 Add(ExternalReference::address_of_minus_one_half().address(), 128 Add(ExternalReference::address_of_minus_one_half().address(),
129 "double_constants.minus_one_half"); 129 "double_constants.minus_one_half");
130 Add(ExternalReference::stress_deopt_count(isolate).address(), 130 Add(ExternalReference::stress_deopt_count(isolate).address(),
131 "Isolate::stress_deopt_count_address()"); 131 "Isolate::stress_deopt_count_address()");
132 Add(ExternalReference::vector_store_virtual_register(isolate).address(), 132 Add(ExternalReference::vector_store_virtual_register(isolate).address(),
133 "Isolate::vector_store_virtual_register()"); 133 "Isolate::vector_store_virtual_register()");
134 Add(ExternalReference::runtime_function_table_address(isolate).address(),
135 "Runtime::runtime_function_table_address()");
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 2737 matching lines...) Expand 10 before | Expand all | Expand 10 after
2883 SerializedCodeData* scd = new SerializedCodeData(cached_data); 2881 SerializedCodeData* scd = new SerializedCodeData(cached_data);
2884 SanityCheckResult r = scd->SanityCheck(isolate, source); 2882 SanityCheckResult r = scd->SanityCheck(isolate, source);
2885 if (r == CHECK_SUCCESS) return scd; 2883 if (r == CHECK_SUCCESS) return scd;
2886 cached_data->Reject(); 2884 cached_data->Reject();
2887 source->GetIsolate()->counters()->code_cache_reject_reason()->AddSample(r); 2885 source->GetIsolate()->counters()->code_cache_reject_reason()->AddSample(r);
2888 delete scd; 2886 delete scd;
2889 return NULL; 2887 return NULL;
2890 } 2888 }
2891 } // namespace internal 2889 } // namespace internal
2892 } // namespace v8 2890 } // namespace v8
OLDNEW
« no previous file with comments | « src/runtime/runtime.cc ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698