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

Side by Side Diff: src/isolate.cc

Issue 637313002: [turbofan] Output file for C1 visualizer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Tweak Created 6 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 | Annotate | Revision Log
« src/compiler/pipeline.cc ('K') | « src/compiler/schedule.h ('k') | no next file » | 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 <stdlib.h> 5 #include <stdlib.h>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/ast.h" 9 #include "src/ast.h"
10 #include "src/base/platform/platform.h" 10 #include "src/base/platform/platform.h"
(...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after
1924 Max(Min(base::SysInfo::NumberOfProcessors(), 4), 1); 1924 Max(Min(base::SysInfo::NumberOfProcessors(), 4), 1);
1925 } 1925 }
1926 1926
1927 if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs) { 1927 if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs) {
1928 PrintF("Concurrent recompilation has been disabled for tracing.\n"); 1928 PrintF("Concurrent recompilation has been disabled for tracing.\n");
1929 } else if (OptimizingCompilerThread::Enabled(max_available_threads_)) { 1929 } else if (OptimizingCompilerThread::Enabled(max_available_threads_)) {
1930 optimizing_compiler_thread_ = new OptimizingCompilerThread(this); 1930 optimizing_compiler_thread_ = new OptimizingCompilerThread(this);
1931 optimizing_compiler_thread_->Start(); 1931 optimizing_compiler_thread_->Start();
1932 } 1932 }
1933 1933
1934 if (FLAG_trace_turbo) {
1935 FILE* turbo_cfg_file = base::OS::FOpen("turbo.cfg", "w+");
Benedikt Meurer 2014/10/13 04:02:12 Please use std::ofstream here.
Jarin 2014/10/13 07:35:54 Done.
1936 fclose(turbo_cfg_file);
1937 }
1938
1934 // If we are deserializing, read the state into the now-empty heap. 1939 // If we are deserializing, read the state into the now-empty heap.
1935 if (!create_heap_objects) { 1940 if (!create_heap_objects) {
1936 des->Deserialize(this); 1941 des->Deserialize(this);
1937 } 1942 }
1938 stub_cache_->Initialize(); 1943 stub_cache_->Initialize();
1939 1944
1940 // Finish initialization of ThreadLocal after deserialization is done. 1945 // Finish initialization of ThreadLocal after deserialization is done.
1941 clear_pending_exception(); 1946 clear_pending_exception();
1942 clear_pending_message(); 1947 clear_pending_message();
1943 clear_scheduled_exception(); 1948 clear_scheduled_exception();
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
2381 if (prev_ && prev_->Intercept(flag)) return true; 2386 if (prev_ && prev_->Intercept(flag)) return true;
2382 // Then check whether this scope intercepts. 2387 // Then check whether this scope intercepts.
2383 if ((flag & intercept_mask_)) { 2388 if ((flag & intercept_mask_)) {
2384 intercepted_flags_ |= flag; 2389 intercepted_flags_ |= flag;
2385 return true; 2390 return true;
2386 } 2391 }
2387 return false; 2392 return false;
2388 } 2393 }
2389 2394
2390 } } // namespace v8::internal 2395 } } // namespace v8::internal
OLDNEW
« src/compiler/pipeline.cc ('K') | « src/compiler/schedule.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698