Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / v8 / src / profile-generator-inl.h
index 102cc84..58c124f 100644 (file)
@@ -15,8 +15,7 @@ CodeEntry::CodeEntry(Logger::LogEventsAndTags tag,
                      const char* name_prefix,
                      const char* resource_name,
                      int line_number,
-                     int column_number,
-                     JITLineInfoTable* line_info)
+                     int column_number)
     : tag_(tag),
       builtin_id_(Builtins::builtin_count),
       name_prefix_(name_prefix),
@@ -27,11 +26,7 @@ CodeEntry::CodeEntry(Logger::LogEventsAndTags tag,
       shared_id_(0),
       script_id_(v8::UnboundScript::kNoScriptId),
       no_frame_ranges_(NULL),
-      bailout_reason_(kEmptyBailoutReason) {
-    if (NULL != line_info) {
-      line_info_ = *line_info;
-    }
-}
+      bailout_reason_(kEmptyBailoutReason) { }
 
 
 bool CodeEntry::is_js_function_tag(Logger::LogEventsAndTags tag) {
@@ -44,18 +39,12 @@ bool CodeEntry::is_js_function_tag(Logger::LogEventsAndTags tag) {
 }
 
 
-static bool LineTickMatch(void* a, void* b) {
-    return a == b;
-}
-
-
 ProfileNode::ProfileNode(ProfileTree* tree, CodeEntry* entry)
     : tree_(tree),
       entry_(entry),
       self_ticks_(0),
       children_(CodeEntriesMatch),
-      id_(tree->next_node_id()),
-      line_ticks_(LineTickMatch) { }
+      id_(tree->next_node_id()) { }
 
 } }  // namespace v8::internal