OLD | NEW |
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 Loading... |
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 |
OLD | NEW |