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

Side by Side Diff: src/isolate.h

Issue 637313002: [turbofan] Output file for C1 visualizer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix 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
« no previous file with comments | « src/flag-definitions.h ('k') | src/isolate.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 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include "include/v8-debug.h" 8 #include "include/v8-debug.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 void RunMicrotasks(); 1100 void RunMicrotasks();
1101 1101
1102 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback); 1102 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback);
1103 void CountUsage(v8::Isolate::UseCounterFeature feature); 1103 void CountUsage(v8::Isolate::UseCounterFeature feature);
1104 1104
1105 BasicBlockProfiler* GetOrCreateBasicBlockProfiler(); 1105 BasicBlockProfiler* GetOrCreateBasicBlockProfiler();
1106 BasicBlockProfiler* basic_block_profiler() { return basic_block_profiler_; } 1106 BasicBlockProfiler* basic_block_profiler() { return basic_block_profiler_; }
1107 1107
1108 static Isolate* NewForTesting() { return new Isolate(false); } 1108 static Isolate* NewForTesting() { return new Isolate(false); }
1109 1109
1110 void GetTurboCfgFileName(Vector<char> buffer);
1111
1110 private: 1112 private:
1111 explicit Isolate(bool enable_serializer); 1113 explicit Isolate(bool enable_serializer);
1112 1114
1113 friend struct GlobalState; 1115 friend struct GlobalState;
1114 friend struct InitializeGlobalState; 1116 friend struct InitializeGlobalState;
1115 1117
1116 // These fields are accessed through the API, offsets must be kept in sync 1118 // These fields are accessed through the API, offsets must be kept in sync
1117 // with v8::internal::Internals (in include/v8.h) constants. This is also 1119 // with v8::internal::Internals (in include/v8.h) constants. This is also
1118 // verified in Isolate::Init() using runtime checks. 1120 // verified in Isolate::Init() using runtime checks.
1119 void* embedder_data_[Internals::kNumIsolateDataSlots]; 1121 void* embedder_data_[Internals::kNumIsolateDataSlots];
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
1543 } 1545 }
1544 1546
1545 EmbeddedVector<char, 128> filename_; 1547 EmbeddedVector<char, 128> filename_;
1546 FILE* file_; 1548 FILE* file_;
1547 int scope_depth_; 1549 int scope_depth_;
1548 }; 1550 };
1549 1551
1550 } } // namespace v8::internal 1552 } } // namespace v8::internal
1551 1553
1552 #endif // V8_ISOLATE_H_ 1554 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698