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/isolate.h" | 5 #include "src/isolate.h" |
6 | 6 |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 | 8 |
9 #include <fstream> // NOLINT(readability/streams) | 9 #include <fstream> // NOLINT(readability/streams) |
10 #include <sstream> | 10 #include <sstream> |
(...skipping 2463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2474 | 2474 |
2475 | 2475 |
2476 HStatistics* Isolate::GetHStatistics() { | 2476 HStatistics* Isolate::GetHStatistics() { |
2477 if (hstatistics() == NULL) set_hstatistics(new HStatistics()); | 2477 if (hstatistics() == NULL) set_hstatistics(new HStatistics()); |
2478 return hstatistics(); | 2478 return hstatistics(); |
2479 } | 2479 } |
2480 | 2480 |
2481 | 2481 |
2482 CompilationStatistics* Isolate::GetTurboStatistics() { | 2482 CompilationStatistics* Isolate::GetTurboStatistics() { |
2483 if (turbo_statistics() == NULL) | 2483 if (turbo_statistics() == NULL) |
2484 set_turbo_statistics(new CompilationStatistics()); | 2484 set_turbo_statistics(new CompilationStatistics(FLAG_turbo_stats_nvp)); |
2485 return turbo_statistics(); | 2485 return turbo_statistics(); |
2486 } | 2486 } |
2487 | 2487 |
2488 | 2488 |
2489 HTracer* Isolate::GetHTracer() { | 2489 HTracer* Isolate::GetHTracer() { |
2490 if (htracer() == NULL) set_htracer(new HTracer(id())); | 2490 if (htracer() == NULL) set_htracer(new HTracer(id())); |
2491 return htracer(); | 2491 return htracer(); |
2492 } | 2492 } |
2493 | 2493 |
2494 | 2494 |
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3054 // Then check whether this scope intercepts. | 3054 // Then check whether this scope intercepts. |
3055 if ((flag & intercept_mask_)) { | 3055 if ((flag & intercept_mask_)) { |
3056 intercepted_flags_ |= flag; | 3056 intercepted_flags_ |= flag; |
3057 return true; | 3057 return true; |
3058 } | 3058 } |
3059 return false; | 3059 return false; |
3060 } | 3060 } |
3061 | 3061 |
3062 } // namespace internal | 3062 } // namespace internal |
3063 } // namespace v8 | 3063 } // namespace v8 |
OLD | NEW |