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

Side by Side Diff: src/profile-generator.cc

Issue 2811033: [Isolates] Remove even more statics. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: rebase and address comments Created 10 years, 6 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/profile-generator.h ('k') | src/profile-generator-inl.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } else { 114 } else {
115 DeleteArray(c_name); 115 DeleteArray(c_name);
116 } 116 }
117 return reinterpret_cast<const char*>(cache_entry->value); 117 return reinterpret_cast<const char*>(cache_entry->value);
118 } 118 }
119 return ""; 119 return "";
120 } 120 }
121 121
122 122
123 const char* CodeEntry::kEmptyNamePrefix = ""; 123 const char* CodeEntry::kEmptyNamePrefix = "";
124 unsigned CodeEntry::next_call_uid_ = 1;
125 124
126 125
127 void CodeEntry::CopyData(const CodeEntry& source) { 126 void CodeEntry::CopyData(const CodeEntry& source) {
128 call_uid_ = source.call_uid_; 127 call_uid_ = source.call_uid_;
129 tag_ = source.tag_; 128 tag_ = source.tag_;
130 name_prefix_ = source.name_prefix_; 129 name_prefix_ = source.name_prefix_;
131 name_ = source.name_; 130 name_ = source.name_;
132 resource_name_ = source.resource_name_; 131 resource_name_ = source.resource_name_;
133 line_number_ = source.line_number_; 132 line_number_ = source.line_number_;
134 } 133 }
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after
1608 uint32_t index = static_cast<uint32_t>(k->Number()); 1607 uint32_t index = static_cast<uint32_t>(k->Number());
1609 snapshot_->SetElementReference(entry, index, dictionary->ValueAt(i)); 1608 snapshot_->SetElementReference(entry, index, dictionary->ValueAt(i));
1610 } 1609 }
1611 } 1610 }
1612 } 1611 }
1613 } 1612 }
1614 1613
1615 } } // namespace v8::internal 1614 } } // namespace v8::internal
1616 1615
1617 #endif // ENABLE_LOGGING_AND_PROFILING 1616 #endif // ENABLE_LOGGING_AND_PROFILING
OLDNEW
« no previous file with comments | « src/profile-generator.h ('k') | src/profile-generator-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698