| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ | 168 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ |
| 169 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ | 169 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ |
| 170 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ | 170 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ |
| 171 "Reference to a variable which requires dynamic lookup") \ | 171 "Reference to a variable which requires dynamic lookup") \ |
| 172 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ | 172 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ |
| 173 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ | 173 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ |
| 174 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ | 174 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ |
| 175 V(kRegisterWasClobbered, "Register was clobbered") \ | 175 V(kRegisterWasClobbered, "Register was clobbered") \ |
| 176 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ | 176 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ |
| 177 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 177 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
| 178 V(kSloppyFunctionExpectsJSReceiverReceiver, \ |
| 179 "Sloppy function expects JSReceiver as receiver.") \ |
| 178 V(kSmiAdditionOverflow, "Smi addition overflow") \ | 180 V(kSmiAdditionOverflow, "Smi addition overflow") \ |
| 179 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ | 181 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ |
| 180 V(kSpread, "Spread in array literal") \ | 182 V(kSpread, "Spread in array literal") \ |
| 181 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ | 183 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ |
| 182 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ | 184 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ |
| 183 V(kSuperReference, "Super reference") \ | 185 V(kSuperReference, "Super reference") \ |
| 184 V(kTheCurrentStackPointerIsBelowCsp, \ | 186 V(kTheCurrentStackPointerIsBelowCsp, \ |
| 185 "The current stack pointer is below csp") \ | 187 "The current stack pointer is below csp") \ |
| 186 V(kTheSourceAndDestinationAreTheSame, \ | 188 V(kTheSourceAndDestinationAreTheSame, \ |
| 187 "The source and destination are the same") \ | 189 "The source and destination are the same") \ |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 }; | 269 }; |
| 268 #undef ERROR_MESSAGES_CONSTANTS | 270 #undef ERROR_MESSAGES_CONSTANTS |
| 269 | 271 |
| 270 | 272 |
| 271 const char* GetBailoutReason(BailoutReason reason); | 273 const char* GetBailoutReason(BailoutReason reason); |
| 272 | 274 |
| 273 } // namespace internal | 275 } // namespace internal |
| 274 } // namespace v8 | 276 } // namespace v8 |
| 275 | 277 |
| 276 #endif // V8_BAILOUT_REASON_H_ | 278 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |