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

Unified Diff: src/profile-generator-inl.h

Issue 1356223004: Move heap and CPU profilers into a dedicated directory. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebaseline Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/profile-generator.cc ('k') | src/profiler/allocation-tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/profile-generator-inl.h
diff --git a/src/profile-generator-inl.h b/src/profile-generator-inl.h
deleted file mode 100644
index 966578ab26428f6137422f24b0e6c6d689575013..0000000000000000000000000000000000000000
--- a/src/profile-generator-inl.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2010 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef V8_PROFILE_GENERATOR_INL_H_
-#define V8_PROFILE_GENERATOR_INL_H_
-
-#include "src/profile-generator.h"
-
-namespace v8 {
-namespace internal {
-
-CodeEntry::CodeEntry(Logger::LogEventsAndTags tag, const char* name,
- const char* name_prefix, const char* resource_name,
- int line_number, int column_number,
- JITLineInfoTable* line_info, Address instruction_start)
- : bit_field_(TagField::encode(tag) |
- BuiltinIdField::encode(Builtins::builtin_count)),
- name_prefix_(name_prefix),
- name_(name),
- resource_name_(resource_name),
- line_number_(line_number),
- column_number_(column_number),
- script_id_(v8::UnboundScript::kNoScriptId),
- position_(0),
- no_frame_ranges_(NULL),
- bailout_reason_(kEmptyBailoutReason),
- deopt_reason_(kNoDeoptReason),
- deopt_position_(SourcePosition::Unknown()),
- line_info_(line_info),
- instruction_start_(instruction_start) {}
-
-
-ProfileNode::ProfileNode(ProfileTree* tree, CodeEntry* entry)
- : tree_(tree),
- entry_(entry),
- self_ticks_(0),
- children_(CodeEntriesMatch),
- id_(tree->next_node_id()),
- line_ticks_(LineTickMatch) {}
-
-
-inline unsigned ProfileNode::function_id() const {
- return tree_->GetFunctionId(this);
-}
-} } // namespace v8::internal
-
-#endif // V8_PROFILE_GENERATOR_INL_H_
« no previous file with comments | « src/profile-generator.cc ('k') | src/profiler/allocation-tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698