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

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

Issue 885813002: Minor refactoring for Zone class and friends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/jsregexp.h ('k') | src/safepoint-table.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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/profile-generator-inl.h" 7 #include "src/profile-generator-inl.h"
8 8
9 #include "src/compiler.h" 9 #include "src/compiler.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
11 #include "src/global-handles.h" 11 #include "src/global-handles.h"
12 #include "src/sampler.h" 12 #include "src/sampler.h"
13 #include "src/scopeinfo.h" 13 #include "src/scopeinfo.h"
14 #include "src/unicode.h" 14 #include "src/unicode.h"
15 #include "src/zone-inl.h"
16 15
17 namespace v8 { 16 namespace v8 {
18 namespace internal { 17 namespace internal {
19 18
20 19
21 bool StringsStorage::StringsMatch(void* key1, void* key2) { 20 bool StringsStorage::StringsMatch(void* key1, void* key2) {
22 return strcmp(reinterpret_cast<char*>(key1), 21 return strcmp(reinterpret_cast<char*>(key1),
23 reinterpret_cast<char*>(key2)) == 0; 22 reinterpret_cast<char*>(key2)) == 0;
24 } 23 }
25 24
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 case OTHER: 755 case OTHER:
757 case EXTERNAL: 756 case EXTERNAL:
758 return program_entry_; 757 return program_entry_;
759 case IDLE: 758 case IDLE:
760 return idle_entry_; 759 return idle_entry_;
761 default: return NULL; 760 default: return NULL;
762 } 761 }
763 } 762 }
764 763
765 } } // namespace v8::internal 764 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/jsregexp.h ('k') | src/safepoint-table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698