| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 V(kParseScopeError, "Parse/scope error") \ | 167 V(kParseScopeError, "Parse/scope error") \ |
| 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(kRestParameter, "Rest parameters") \ |
| 177 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 178 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
| 178 V(kSloppyFunctionExpectsJSReceiverReceiver, \ | 179 V(kSloppyFunctionExpectsJSReceiverReceiver, \ |
| 179 "Sloppy function expects JSReceiver as receiver.") \ | 180 "Sloppy function expects JSReceiver as receiver.") \ |
| 180 V(kSmiAdditionOverflow, "Smi addition overflow") \ | 181 V(kSmiAdditionOverflow, "Smi addition overflow") \ |
| 181 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ | 182 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ |
| 182 V(kSpread, "Spread in array literal") \ | 183 V(kSpread, "Spread in array literal") \ |
| 183 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ | 184 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ |
| 184 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ | 185 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ |
| 185 V(kSuperReference, "Super reference") \ | 186 V(kSuperReference, "Super reference") \ |
| 186 V(kTheCurrentStackPointerIsBelowCsp, \ | 187 V(kTheCurrentStackPointerIsBelowCsp, \ |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 }; | 271 }; |
| 271 #undef ERROR_MESSAGES_CONSTANTS | 272 #undef ERROR_MESSAGES_CONSTANTS |
| 272 | 273 |
| 273 | 274 |
| 274 const char* GetBailoutReason(BailoutReason reason); | 275 const char* GetBailoutReason(BailoutReason reason); |
| 275 | 276 |
| 276 } // namespace internal | 277 } // namespace internal |
| 277 } // namespace v8 | 278 } // namespace v8 |
| 278 | 279 |
| 279 #endif // V8_BAILOUT_REASON_H_ | 280 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |