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

Side by Side Diff: src/profiler/profile-generator.h

Issue 2138643003: Revert three commits due to cpu-profiler failures (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « src/profiler/cpu-profiler.cc ('k') | src/profiler/tick-sample.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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_PROFILER_PROFILE_GENERATOR_H_ 5 #ifndef V8_PROFILER_PROFILE_GENERATOR_H_
6 #define V8_PROFILER_PROFILE_GENERATOR_H_ 6 #define V8_PROFILER_PROFILE_GENERATOR_H_
7 7
8 #include <map> 8 #include <map>
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/base/hashmap.h" 10 #include "src/base/hashmap.h"
11 #include "src/compiler.h" 11 #include "src/compiler.h"
12 #include "src/profiler/strings-storage.h" 12 #include "src/profiler/strings-storage.h"
13 13
14 namespace v8 { 14 namespace v8 {
15 namespace internal {
16 15
17 struct TickSample; 16 struct TickSample;
18 17
18 namespace internal {
19
19 // Provides a mapping from the offsets within generated code to 20 // Provides a mapping from the offsets within generated code to
20 // the source line. 21 // the source line.
21 class JITLineInfoTable : public Malloced { 22 class JITLineInfoTable : public Malloced {
22 public: 23 public:
23 JITLineInfoTable(); 24 JITLineInfoTable();
24 ~JITLineInfoTable(); 25 ~JITLineInfoTable();
25 26
26 void SetPosition(int pc_offset, int line); 27 void SetPosition(int pc_offset, int line);
27 int GetSourceLineNumber(int pc_offset) const; 28 int GetSourceLineNumber(int pc_offset) const;
28 29
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 CodeMap code_map_; 380 CodeMap code_map_;
380 381
381 DISALLOW_COPY_AND_ASSIGN(ProfileGenerator); 382 DISALLOW_COPY_AND_ASSIGN(ProfileGenerator);
382 }; 383 };
383 384
384 385
385 } // namespace internal 386 } // namespace internal
386 } // namespace v8 387 } // namespace v8
387 388
388 #endif // V8_PROFILER_PROFILE_GENERATOR_H_ 389 #endif // V8_PROFILER_PROFILE_GENERATOR_H_
OLDNEW
« no previous file with comments | « src/profiler/cpu-profiler.cc ('k') | src/profiler/tick-sample.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698