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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 V(KEYED_EXTERNAL_ARRAY_LOAD_IC_TAG, "KeyedExternalArrayLoadIC") \ | 132 V(KEYED_EXTERNAL_ARRAY_LOAD_IC_TAG, "KeyedExternalArrayLoadIC") \ |
133 V(KEYED_STORE_IC_TAG, "KeyedStoreIC") \ | 133 V(KEYED_STORE_IC_TAG, "KeyedStoreIC") \ |
134 V(KEYED_STORE_POLYMORPHIC_IC_TAG, "KeyedStorePolymorphicIC") \ | 134 V(KEYED_STORE_POLYMORPHIC_IC_TAG, "KeyedStorePolymorphicIC") \ |
135 V(KEYED_EXTERNAL_ARRAY_STORE_IC_TAG, "KeyedExternalArrayStoreIC") \ | 135 V(KEYED_EXTERNAL_ARRAY_STORE_IC_TAG, "KeyedExternalArrayStoreIC") \ |
136 V(LAZY_COMPILE_TAG, "LazyCompile") \ | 136 V(LAZY_COMPILE_TAG, "LazyCompile") \ |
137 V(LOAD_IC_TAG, "LoadIC") \ | 137 V(LOAD_IC_TAG, "LoadIC") \ |
138 V(LOAD_POLYMORPHIC_IC_TAG, "LoadPolymorphicIC") \ | 138 V(LOAD_POLYMORPHIC_IC_TAG, "LoadPolymorphicIC") \ |
139 V(REG_EXP_TAG, "RegExp") \ | 139 V(REG_EXP_TAG, "RegExp") \ |
140 V(SCRIPT_TAG, "Script") \ | 140 V(SCRIPT_TAG, "Script") \ |
141 V(STORE_IC_TAG, "StoreIC") \ | 141 V(STORE_IC_TAG, "StoreIC") \ |
| 142 V(STORE_POLYMORPHIC_IC_TAG, "StorePolymorphicIC") \ |
142 V(STUB_TAG, "Stub") \ | 143 V(STUB_TAG, "Stub") \ |
143 V(NATIVE_FUNCTION_TAG, "Function") \ | 144 V(NATIVE_FUNCTION_TAG, "Function") \ |
144 V(NATIVE_LAZY_COMPILE_TAG, "LazyCompile") \ | 145 V(NATIVE_LAZY_COMPILE_TAG, "LazyCompile") \ |
145 V(NATIVE_SCRIPT_TAG, "Script") | 146 V(NATIVE_SCRIPT_TAG, "Script") |
146 // Note that 'NATIVE_' cases for functions and scripts are mapped onto | 147 // Note that 'NATIVE_' cases for functions and scripts are mapped onto |
147 // original tags when writing to the log. | 148 // original tags when writing to the log. |
148 | 149 |
149 | 150 |
150 class Sampler; | 151 class Sampler; |
151 | 152 |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 // Class that extracts stack trace, used for profiling. | 546 // Class that extracts stack trace, used for profiling. |
546 class StackTracer : public AllStatic { | 547 class StackTracer : public AllStatic { |
547 public: | 548 public: |
548 static void Trace(Isolate* isolate, TickSample* sample); | 549 static void Trace(Isolate* isolate, TickSample* sample); |
549 }; | 550 }; |
550 | 551 |
551 } } // namespace v8::internal | 552 } } // namespace v8::internal |
552 | 553 |
553 | 554 |
554 #endif // V8_LOG_H_ | 555 #endif // V8_LOG_H_ |
OLD | NEW |