| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 V(kMapBecameDeprecated, "Map became deprecated") \ | 157 V(kMapBecameDeprecated, "Map became deprecated") \ |
| 158 V(kMapBecameUnstable, "Map became unstable") \ | 158 V(kMapBecameUnstable, "Map became unstable") \ |
| 159 V(kMapIsNoLongerInEax, "Map is no longer in eax") \ | 159 V(kMapIsNoLongerInEax, "Map is no longer in eax") \ |
| 160 V(kModuleDeclaration, "Module declaration") \ | 160 V(kModuleDeclaration, "Module declaration") \ |
| 161 V(kModuleLiteral, "Module literal") \ | 161 V(kModuleLiteral, "Module literal") \ |
| 162 V(kModulePath, "Module path") \ | 162 V(kModulePath, "Module path") \ |
| 163 V(kModuleStatement, "Module statement") \ | 163 V(kModuleStatement, "Module statement") \ |
| 164 V(kModuleVariable, "Module variable") \ | 164 V(kModuleVariable, "Module variable") \ |
| 165 V(kModuleUrl, "Module url") \ | 165 V(kModuleUrl, "Module url") \ |
| 166 V(kNativeFunctionLiteral, "Native function literal") \ | 166 V(kNativeFunctionLiteral, "Native function literal") \ |
| 167 V(kSuperReference, "Super reference") \ | |
| 168 V(kNeedSmiLiteral, "Need a Smi literal here") \ | 167 V(kNeedSmiLiteral, "Need a Smi literal here") \ |
| 169 V(kNoCasesLeft, "No cases left") \ | 168 V(kNoCasesLeft, "No cases left") \ |
| 170 V(kNoEmptyArraysHereInEmitFastOneByteArrayJoin, \ | 169 V(kNoEmptyArraysHereInEmitFastOneByteArrayJoin, \ |
| 171 "No empty arrays here in EmitFastOneByteArrayJoin") \ | 170 "No empty arrays here in EmitFastOneByteArrayJoin") \ |
| 172 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ | 171 V(kNonInitializerAssignmentToConst, "Non-initializer assignment to const") \ |
| 173 V(kNonSmiIndex, "Non-smi index") \ | 172 V(kNonSmiIndex, "Non-smi index") \ |
| 174 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ | 173 V(kNonSmiKeyInArrayLiteral, "Non-smi key in array literal") \ |
| 175 V(kNonSmiValue, "Non-smi value") \ | 174 V(kNonSmiValue, "Non-smi value") \ |
| 176 V(kNonObject, "Non-object value") \ | 175 V(kNonObject, "Non-object value") \ |
| 177 V(kNotEnoughVirtualRegistersForValues, \ | 176 V(kNotEnoughVirtualRegistersForValues, \ |
| (...skipping 30 matching lines...) Expand all Loading... |
| 208 "Reference to a variable which requires dynamic lookup") \ | 207 "Reference to a variable which requires dynamic lookup") \ |
| 209 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ | 208 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ |
| 210 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ | 209 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ |
| 211 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ | 210 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ |
| 212 V(kRegisterWasClobbered, "Register was clobbered") \ | 211 V(kRegisterWasClobbered, "Register was clobbered") \ |
| 213 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ | 212 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ |
| 214 V(kRestParameter, "Rest parameters") \ | 213 V(kRestParameter, "Rest parameters") \ |
| 215 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 214 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
| 216 V(kRhsHasBeenClobbered, "Rhs has been clobbered") \ | 215 V(kRhsHasBeenClobbered, "Rhs has been clobbered") \ |
| 217 V(kScopedBlock, "ScopedBlock") \ | 216 V(kScopedBlock, "ScopedBlock") \ |
| 217 V(kScriptContext, "Allocation of script context") \ |
| 218 V(kSmiAdditionOverflow, "Smi addition overflow") \ | 218 V(kSmiAdditionOverflow, "Smi addition overflow") \ |
| 219 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ | 219 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ |
| 220 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ | 220 V(kStackAccessBelowStackPointer, "Stack access below stack pointer") \ |
| 221 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ | 221 V(kStackFrameTypesMustMatch, "Stack frame types must match") \ |
| 222 V(kSuperReference, "Super reference") \ |
| 222 V(kTheCurrentStackPointerIsBelowCsp, \ | 223 V(kTheCurrentStackPointerIsBelowCsp, \ |
| 223 "The current stack pointer is below csp") \ | 224 "The current stack pointer is below csp") \ |
| 224 V(kTheInstructionShouldBeALis, "The instruction should be a lis") \ | 225 V(kTheInstructionShouldBeALis, "The instruction should be a lis") \ |
| 225 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ | 226 V(kTheInstructionShouldBeALui, "The instruction should be a lui") \ |
| 226 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ | 227 V(kTheInstructionShouldBeAnOri, "The instruction should be an ori") \ |
| 227 V(kTheInstructionShouldBeAnOris, "The instruction should be an oris") \ | 228 V(kTheInstructionShouldBeAnOris, "The instruction should be an oris") \ |
| 228 V(kTheInstructionShouldBeALi, "The instruction should be a li") \ | 229 V(kTheInstructionShouldBeALi, "The instruction should be a li") \ |
| 229 V(kTheInstructionShouldBeASldi, "The instruction should be a sldi") \ | 230 V(kTheInstructionShouldBeASldi, "The instruction should be a sldi") \ |
| 230 V(kTheInstructionToPatchShouldBeALoadFromConstantPool, \ | 231 V(kTheInstructionToPatchShouldBeALoadFromConstantPool, \ |
| 231 "The instruction to patch should be a load from the constant pool") \ | 232 "The instruction to patch should be a load from the constant pool") \ |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 }; | 334 }; |
| 334 #undef ERROR_MESSAGES_CONSTANTS | 335 #undef ERROR_MESSAGES_CONSTANTS |
| 335 | 336 |
| 336 | 337 |
| 337 const char* GetBailoutReason(BailoutReason reason); | 338 const char* GetBailoutReason(BailoutReason reason); |
| 338 | 339 |
| 339 } // namespace internal | 340 } // namespace internal |
| 340 } // namespace v8 | 341 } // namespace v8 |
| 341 | 342 |
| 342 #endif // V8_BAILOUT_REASON_H_ | 343 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |