| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 12 matching lines...) Expand all Loading... |
| 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | 27 |
| 28 #include "v8.h" | 28 #include "v8.h" |
| 29 | 29 |
| 30 #include "profile-generator-inl.h" | 30 #include "profile-generator-inl.h" |
| 31 | 31 |
| 32 #include "compiler.h" | 32 #include "compiler.h" |
| 33 #include "debug.h" |
| 34 #include "sampler.h" |
| 33 #include "global-handles.h" | 35 #include "global-handles.h" |
| 34 #include "scopeinfo.h" | 36 #include "scopeinfo.h" |
| 35 #include "unicode.h" | 37 #include "unicode.h" |
| 36 #include "zone-inl.h" | 38 #include "zone-inl.h" |
| 37 #include "debug.h" | |
| 38 | 39 |
| 39 namespace v8 { | 40 namespace v8 { |
| 40 namespace internal { | 41 namespace internal { |
| 41 | 42 |
| 42 | 43 |
| 43 TokenEnumerator::TokenEnumerator() | 44 TokenEnumerator::TokenEnumerator() |
| 44 : token_locations_(4), | 45 : token_locations_(4), |
| 45 token_removed_(4) { | 46 token_removed_(4) { |
| 46 } | 47 } |
| 47 | 48 |
| (...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 940 if (no_symbolized_entries) { | 941 if (no_symbolized_entries) { |
| 941 *entry++ = EntryForVMState(sample.state); | 942 *entry++ = EntryForVMState(sample.state); |
| 942 } | 943 } |
| 943 } | 944 } |
| 944 | 945 |
| 945 profiles_->AddPathToCurrentProfiles(entries); | 946 profiles_->AddPathToCurrentProfiles(entries); |
| 946 } | 947 } |
| 947 | 948 |
| 948 | 949 |
| 949 } } // namespace v8::internal | 950 } } // namespace v8::internal |
| OLD | NEW |