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

Side by Side Diff: src/isolate.cc

Issue 1475953002: [stubs] A new approach to TF stubs (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Win64 build Created 5 years 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/interface-descriptors.cc ('k') | src/js/code-stubs.js » ('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/isolate.h" 5 #include "src/isolate.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include <fstream> // NOLINT(readability/streams) 9 #include <fstream> // NOLINT(readability/streams)
10 #include <sstream> 10 #include <sstream>
(...skipping 2184 matching lines...) Expand 10 before | Expand all | Expand 10 after
2195 if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs) { 2195 if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs) {
2196 PrintF("Concurrent recompilation has been disabled for tracing.\n"); 2196 PrintF("Concurrent recompilation has been disabled for tracing.\n");
2197 } else if (OptimizingCompileDispatcher::Enabled()) { 2197 } else if (OptimizingCompileDispatcher::Enabled()) {
2198 optimizing_compile_dispatcher_ = new OptimizingCompileDispatcher(this); 2198 optimizing_compile_dispatcher_ = new OptimizingCompileDispatcher(this);
2199 } 2199 }
2200 2200
2201 // Initialize runtime profiler before deserialization, because collections may 2201 // Initialize runtime profiler before deserialization, because collections may
2202 // occur, clearing/updating ICs. 2202 // occur, clearing/updating ICs.
2203 runtime_profiler_ = new RuntimeProfiler(this); 2203 runtime_profiler_ = new RuntimeProfiler(this);
2204 2204
2205 if (create_heap_objects) {
2206 if (!bootstrapper_->CreateCodeStubContext(this)) {
2207 return false;
2208 }
2209 }
2210
2211 // If we are deserializing, read the state into the now-empty heap. 2205 // If we are deserializing, read the state into the now-empty heap.
2212 if (!create_heap_objects) { 2206 if (!create_heap_objects) {
2213 des->Deserialize(this); 2207 des->Deserialize(this);
2214 } 2208 }
2215 stub_cache_->Initialize(); 2209 stub_cache_->Initialize();
2216 2210
2217 if (FLAG_ignition) { 2211 if (FLAG_ignition) {
2218 interpreter_->Initialize(); 2212 interpreter_->Initialize();
2219 } 2213 }
2220 2214
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
2844 // Then check whether this scope intercepts. 2838 // Then check whether this scope intercepts.
2845 if ((flag & intercept_mask_)) { 2839 if ((flag & intercept_mask_)) {
2846 intercepted_flags_ |= flag; 2840 intercepted_flags_ |= flag;
2847 return true; 2841 return true;
2848 } 2842 }
2849 return false; 2843 return false;
2850 } 2844 }
2851 2845
2852 } // namespace internal 2846 } // namespace internal
2853 } // namespace v8 2847 } // namespace v8
OLDNEW
« no previous file with comments | « src/interface-descriptors.cc ('k') | src/js/code-stubs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698