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

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

Issue 1671813003: [interpreter] move the dispatch table off heap. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix verify heap Created 4 years, 10 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/ppc/builtins-ppc.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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 "HandleScope::level"); 75 "HandleScope::level");
76 Add(ExternalReference::new_deoptimizer_function(isolate).address(), 76 Add(ExternalReference::new_deoptimizer_function(isolate).address(),
77 "Deoptimizer::New()"); 77 "Deoptimizer::New()");
78 Add(ExternalReference::compute_output_frames_function(isolate).address(), 78 Add(ExternalReference::compute_output_frames_function(isolate).address(),
79 "Deoptimizer::ComputeOutputFrames()"); 79 "Deoptimizer::ComputeOutputFrames()");
80 Add(ExternalReference::address_of_min_int().address(), 80 Add(ExternalReference::address_of_min_int().address(),
81 "LDoubleConstant::min_int"); 81 "LDoubleConstant::min_int");
82 Add(ExternalReference::address_of_one_half().address(), 82 Add(ExternalReference::address_of_one_half().address(),
83 "LDoubleConstant::one_half"); 83 "LDoubleConstant::one_half");
84 Add(ExternalReference::isolate_address(isolate).address(), "isolate"); 84 Add(ExternalReference::isolate_address(isolate).address(), "isolate");
85 Add(ExternalReference::interpreter_dispatch_table_address(isolate).address(),
86 "Interpreter::dispatch_table_address");
85 Add(ExternalReference::address_of_negative_infinity().address(), 87 Add(ExternalReference::address_of_negative_infinity().address(),
86 "LDoubleConstant::negative_infinity"); 88 "LDoubleConstant::negative_infinity");
87 Add(ExternalReference::power_double_double_function(isolate).address(), 89 Add(ExternalReference::power_double_double_function(isolate).address(),
88 "power_double_double_function"); 90 "power_double_double_function");
89 Add(ExternalReference::power_double_int_function(isolate).address(), 91 Add(ExternalReference::power_double_int_function(isolate).address(),
90 "power_double_int_function"); 92 "power_double_int_function");
91 Add(ExternalReference::math_log_double_function(isolate).address(), 93 Add(ExternalReference::math_log_double_function(isolate).address(),
92 "std::log"); 94 "std::log");
93 Add(ExternalReference::store_buffer_top(isolate).address(), 95 Add(ExternalReference::store_buffer_top(isolate).address(),
94 "store_buffer_top"); 96 "store_buffer_top");
(...skipping 2745 matching lines...) Expand 10 before | Expand all | Expand 10 after
2840 SerializedCodeData* scd = new SerializedCodeData(cached_data); 2842 SerializedCodeData* scd = new SerializedCodeData(cached_data);
2841 SanityCheckResult r = scd->SanityCheck(isolate, source); 2843 SanityCheckResult r = scd->SanityCheck(isolate, source);
2842 if (r == CHECK_SUCCESS) return scd; 2844 if (r == CHECK_SUCCESS) return scd;
2843 cached_data->Reject(); 2845 cached_data->Reject();
2844 source->GetIsolate()->counters()->code_cache_reject_reason()->AddSample(r); 2846 source->GetIsolate()->counters()->code_cache_reject_reason()->AddSample(r);
2845 delete scd; 2847 delete scd;
2846 return NULL; 2848 return NULL;
2847 } 2849 }
2848 } // namespace internal 2850 } // namespace internal
2849 } // namespace v8 2851 } // namespace v8
OLDNEW
« no previous file with comments | « src/ppc/builtins-ppc.cc ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698