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

Side by Side Diff: src/isolate.h

Issue 676673002: Reland 'Simplify TurboFan's c1visualizer file handling.' (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased 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 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 void RunMicrotasks(); 1092 void RunMicrotasks();
1093 1093
1094 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback); 1094 void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback);
1095 void CountUsage(v8::Isolate::UseCounterFeature feature); 1095 void CountUsage(v8::Isolate::UseCounterFeature feature);
1096 1096
1097 BasicBlockProfiler* GetOrCreateBasicBlockProfiler(); 1097 BasicBlockProfiler* GetOrCreateBasicBlockProfiler();
1098 BasicBlockProfiler* basic_block_profiler() { return basic_block_profiler_; } 1098 BasicBlockProfiler* basic_block_profiler() { return basic_block_profiler_; }
1099 1099
1100 static Isolate* NewForTesting() { return new Isolate(false); } 1100 static Isolate* NewForTesting() { return new Isolate(false); }
1101 1101
1102 void GetTurboCfgFileName(Vector<char> buffer); 1102 std::string GetTurboCfgFileName();
1103 1103
1104 private: 1104 private:
1105 explicit Isolate(bool enable_serializer); 1105 explicit Isolate(bool enable_serializer);
1106 1106
1107 friend struct GlobalState; 1107 friend struct GlobalState;
1108 friend struct InitializeGlobalState; 1108 friend struct InitializeGlobalState;
1109 1109
1110 // These fields are accessed through the API, offsets must be kept in sync 1110 // These fields are accessed through the API, offsets must be kept in sync
1111 // with v8::internal::Internals (in include/v8.h) constants. This is also 1111 // with v8::internal::Internals (in include/v8.h) constants. This is also
1112 // verified in Isolate::Init() using runtime checks. 1112 // verified in Isolate::Init() using runtime checks.
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
1533 } 1533 }
1534 1534
1535 EmbeddedVector<char, 128> filename_; 1535 EmbeddedVector<char, 128> filename_;
1536 FILE* file_; 1536 FILE* file_;
1537 int scope_depth_; 1537 int scope_depth_;
1538 }; 1538 };
1539 1539
1540 } } // namespace v8::internal 1540 } } // namespace v8::internal
1541 1541
1542 #endif // V8_ISOLATE_H_ 1542 #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