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

Side by Side Diff: src/isolate.h

Issue 666223003: Simplify TurboFan's c1visualizer file handling. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/compiler/pipeline.cc ('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 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 void RunMicrotasks(); 1106 void RunMicrotasks();
1107 1107
1108 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback); 1108 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback);
1109 void CountUsage(v8::Isolate::UseCounterFeature feature); 1109 void CountUsage(v8::Isolate::UseCounterFeature feature);
1110 1110
1111 BasicBlockProfiler* GetOrCreateBasicBlockProfiler(); 1111 BasicBlockProfiler* GetOrCreateBasicBlockProfiler();
1112 BasicBlockProfiler* basic_block_profiler() { return basic_block_profiler_; } 1112 BasicBlockProfiler* basic_block_profiler() { return basic_block_profiler_; }
1113 1113
1114 static Isolate* NewForTesting() { return new Isolate(false); } 1114 static Isolate* NewForTesting() { return new Isolate(false); }
1115 1115
1116 void GetTurboCfgFileName(Vector<char> buffer); 1116 std::string GetTurboCfgFileName();
1117 1117
1118 private: 1118 private:
1119 explicit Isolate(bool enable_serializer); 1119 explicit Isolate(bool enable_serializer);
1120 1120
1121 friend struct GlobalState; 1121 friend struct GlobalState;
1122 friend struct InitializeGlobalState; 1122 friend struct InitializeGlobalState;
1123 1123
1124 // These fields are accessed through the API, offsets must be kept in sync 1124 // These fields are accessed through the API, offsets must be kept in sync
1125 // with v8::internal::Internals (in include/v8.h) constants. This is also 1125 // with v8::internal::Internals (in include/v8.h) constants. This is also
1126 // verified in Isolate::Init() using runtime checks. 1126 // verified in Isolate::Init() using runtime checks.
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
1551 } 1551 }
1552 1552
1553 EmbeddedVector<char, 128> filename_; 1553 EmbeddedVector<char, 128> filename_;
1554 FILE* file_; 1554 FILE* file_;
1555 int scope_depth_; 1555 int scope_depth_;
1556 }; 1556 };
1557 1557
1558 } } // namespace v8::internal 1558 } } // namespace v8::internal
1559 1559
1560 #endif // V8_ISOLATE_H_ 1560 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698