| 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 enum InlineCacheState { | 253 enum InlineCacheState { |
| 254 // Has never been executed. | 254 // Has never been executed. |
| 255 UNINITIALIZED, | 255 UNINITIALIZED, |
| 256 // Has been executed but monomorhic state has been delayed. | 256 // Has been executed but monomorhic state has been delayed. |
| 257 PREMONOMORPHIC, | 257 PREMONOMORPHIC, |
| 258 // Has been executed and only one receiver type has been seen. | 258 // Has been executed and only one receiver type has been seen. |
| 259 MONOMORPHIC, | 259 MONOMORPHIC, |
| 260 // Like MONOMORPHIC but check failed due to prototype. | 260 // Like MONOMORPHIC but check failed due to prototype. |
| 261 MONOMORPHIC_PROTOTYPE_FAILURE, | 261 MONOMORPHIC_PROTOTYPE_FAILURE, |
| 262 // Multiple receiver types have been seen. | 262 // Multiple receiver types have been seen. |
| 263 POLYMORPHIC, |
| 264 // Many receiver types have been seen. |
| 263 MEGAMORPHIC, | 265 MEGAMORPHIC, |
| 264 // Special states for debug break or step in prepare stubs. | 266 // Special states for debug break or step in prepare stubs. |
| 265 DEBUG_BREAK, | 267 DEBUG_BREAK, |
| 266 DEBUG_PREPARE_STEP_IN | 268 DEBUG_PREPARE_STEP_IN |
| 267 }; | 269 }; |
| 268 | 270 |
| 269 | 271 |
| 270 enum CheckType { | 272 enum CheckType { |
| 271 RECEIVER_MAP_CHECK, | 273 RECEIVER_MAP_CHECK, |
| 272 STRING_CHECK, | 274 STRING_CHECK, |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 | 564 |
| 563 enum ClearExceptionFlag { | 565 enum ClearExceptionFlag { |
| 564 KEEP_EXCEPTION, | 566 KEEP_EXCEPTION, |
| 565 CLEAR_EXCEPTION | 567 CLEAR_EXCEPTION |
| 566 }; | 568 }; |
| 567 | 569 |
| 568 | 570 |
| 569 } } // namespace v8::internal | 571 } } // namespace v8::internal |
| 570 | 572 |
| 571 #endif // V8_V8GLOBALS_H_ | 573 #endif // V8_V8GLOBALS_H_ |
| OLD | NEW |