| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_BAILOUT_REASON_H_ | 5 #ifndef V8_BAILOUT_REASON_H_ |
| 6 #define V8_BAILOUT_REASON_H_ | 6 #define V8_BAILOUT_REASON_H_ |
| 7 | 7 |
| 8 namespace v8 { | 8 namespace v8 { |
| 9 namespace internal { | 9 namespace internal { |
| 10 | 10 |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ | 176 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ |
| 177 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ | 177 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ |
| 178 V(kRegisterWasClobbered, "Register was clobbered") \ | 178 V(kRegisterWasClobbered, "Register was clobbered") \ |
| 179 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ | 179 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ |
| 180 V(kRestParameter, "Rest parameters") \ | 180 V(kRestParameter, "Rest parameters") \ |
| 181 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 181 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
| 182 V(kSloppyFunctionExpectsJSReceiverReceiver, \ | 182 V(kSloppyFunctionExpectsJSReceiverReceiver, \ |
| 183 "Sloppy function expects JSReceiver as receiver.") \ | 183 "Sloppy function expects JSReceiver as receiver.") \ |
| 184 V(kSmiAdditionOverflow, "Smi addition overflow") \ | 184 V(kSmiAdditionOverflow, "Smi addition overflow") \ |
| 185 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ | 185 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ |
| 186 V(kSpread, "Spread in array literal") \ | |
| 187 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ | 186 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ |
| 188 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ | 187 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ |
| 189 V(kSuperReference, "Super reference") \ | 188 V(kSuperReference, "Super reference") \ |
| 190 V(kTheCurrentStackPointerIsBelowCsp, \ | 189 V(kTheCurrentStackPointerIsBelowCsp, \ |
| 191 "The current stack pointer is below csp") \ | 190 "The current stack pointer is below csp") \ |
| 192 V(kTheSourceAndDestinationAreTheSame, \ | 191 V(kTheSourceAndDestinationAreTheSame, \ |
| 193 "The source and destination are the same") \ | 192 "The source and destination are the same") \ |
| 194 V(kTheStackWasCorruptedByMacroAssemblerCall, \ | 193 V(kTheStackWasCorruptedByMacroAssemblerCall, \ |
| 195 "The stack was corrupted by MacroAssembler::Call()") \ | 194 "The stack was corrupted by MacroAssembler::Call()") \ |
| 196 V(kTooManyParametersLocals, "Too many parameters/locals") \ | 195 V(kTooManyParametersLocals, "Too many parameters/locals") \ |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 }; | 273 }; |
| 275 #undef ERROR_MESSAGES_CONSTANTS | 274 #undef ERROR_MESSAGES_CONSTANTS |
| 276 | 275 |
| 277 | 276 |
| 278 const char* GetBailoutReason(BailoutReason reason); | 277 const char* GetBailoutReason(BailoutReason reason); |
| 279 | 278 |
| 280 } // namespace internal | 279 } // namespace internal |
| 281 } // namespace v8 | 280 } // namespace v8 |
| 282 | 281 |
| 283 #endif // V8_BAILOUT_REASON_H_ | 282 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |