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 #ifndef V8_RUNTIME_PROFILER_H_ | 5 #ifndef V8_RUNTIME_PROFILER_H_ |
6 #define V8_RUNTIME_PROFILER_H_ | 6 #define V8_RUNTIME_PROFILER_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 21 matching lines...) Expand all Loading... |
32 private: | 32 private: |
33 void Optimize(JSFunction* function, const char* reason); | 33 void Optimize(JSFunction* function, const char* reason); |
34 | 34 |
35 bool CodeSizeOKForOSR(Code* shared_code); | 35 bool CodeSizeOKForOSR(Code* shared_code); |
36 | 36 |
37 Isolate* isolate_; | 37 Isolate* isolate_; |
38 | 38 |
39 bool any_ic_changed_; | 39 bool any_ic_changed_; |
40 }; | 40 }; |
41 | 41 |
42 } } // namespace v8::internal | 42 } // namespace internal |
| 43 } // namespace v8 |
43 | 44 |
44 #endif // V8_RUNTIME_PROFILER_H_ | 45 #endif // V8_RUNTIME_PROFILER_H_ |
OLD | NEW |