| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 "Call to a JavaScript runtime function") \ | 42 "Call to a JavaScript runtime function") \ |
| 43 V(kClassLiteral, "Class literal") \ | 43 V(kClassLiteral, "Class literal") \ |
| 44 V(kCodeGenerationFailed, "Code generation failed") \ | 44 V(kCodeGenerationFailed, "Code generation failed") \ |
| 45 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \ | 45 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \ |
| 46 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \ | 46 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \ |
| 47 V(kComputedPropertyName, "Computed property name") \ | 47 V(kComputedPropertyName, "Computed property name") \ |
| 48 V(kContextAllocatedArguments, "Context-allocated arguments") \ | 48 V(kContextAllocatedArguments, "Context-allocated arguments") \ |
| 49 V(kCopyBuffersOverlap, "Copy buffers overlap") \ | 49 V(kCopyBuffersOverlap, "Copy buffers overlap") \ |
| 50 V(kCouldNotGenerateZero, "Could not generate +0.0") \ | 50 V(kCouldNotGenerateZero, "Could not generate +0.0") \ |
| 51 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ | 51 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ |
| 52 V(kDebuggerHasBreakPoints, "Debugger has break points") \ | |
| 53 V(kDebuggerStatement, "DebuggerStatement") \ | 52 V(kDebuggerStatement, "DebuggerStatement") \ |
| 54 V(kDeclarationInCatchContext, "Declaration in catch context") \ | 53 V(kDeclarationInCatchContext, "Declaration in catch context") \ |
| 55 V(kDeclarationInWithContext, "Declaration in with context") \ | 54 V(kDeclarationInWithContext, "Declaration in with context") \ |
| 56 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \ | 55 V(kDefaultNaNModeNotSet, "Default NaN mode not set") \ |
| 57 V(kDeleteWithGlobalVariable, "Delete with global variable") \ | 56 V(kDeleteWithGlobalVariable, "Delete with global variable") \ |
| 58 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \ | 57 V(kDeleteWithNonGlobalVariable, "Delete with non-global variable") \ |
| 59 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \ | 58 V(kDestinationOfCopyNotAligned, "Destination of copy not aligned") \ |
| 60 V(kDontDeleteCellsCannotContainTheHole, \ | 59 V(kDontDeleteCellsCannotContainTheHole, \ |
| 61 "DontDelete cells can't contain the hole") \ | 60 "DontDelete cells can't contain the hole") \ |
| 62 V(kDoPushArgumentNotImplementedForDoubleType, \ | 61 V(kDoPushArgumentNotImplementedForDoubleType, \ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 78 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ | 77 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ |
| 79 V(kExportDeclaration, "Export declaration") \ | 78 V(kExportDeclaration, "Export declaration") \ |
| 80 V(kExternalStringExpectedButNotFound, \ | 79 V(kExternalStringExpectedButNotFound, \ |
| 81 "External string expected, but not found") \ | 80 "External string expected, but not found") \ |
| 82 V(kForInStatementOptimizationIsDisabled, \ | 81 V(kForInStatementOptimizationIsDisabled, \ |
| 83 "ForInStatement optimization is disabled") \ | 82 "ForInStatement optimization is disabled") \ |
| 84 V(kForInStatementWithNonLocalEachVariable, \ | 83 V(kForInStatementWithNonLocalEachVariable, \ |
| 85 "ForInStatement with non-local each variable") \ | 84 "ForInStatement with non-local each variable") \ |
| 86 V(kForOfStatement, "ForOfStatement") \ | 85 V(kForOfStatement, "ForOfStatement") \ |
| 87 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ | 86 V(kFrameIsExpectedToBeAligned, "Frame is expected to be aligned") \ |
| 87 V(kFunctionBeingDebugged, "Function is being debugged") \ |
| 88 V(kFunctionCallsEval, "Function calls eval") \ | 88 V(kFunctionCallsEval, "Function calls eval") \ |
| 89 V(kFunctionWithIllegalRedeclaration, "Function with illegal redeclaration") \ | 89 V(kFunctionWithIllegalRedeclaration, "Function with illegal redeclaration") \ |
| 90 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ | 90 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ |
| 91 V(kGeneratorFailedToResume, "Generator failed to resume") \ | 91 V(kGeneratorFailedToResume, "Generator failed to resume") \ |
| 92 V(kGenerator, "Generator") \ | 92 V(kGenerator, "Generator") \ |
| 93 V(kGlobalFunctionsMustHaveInitialMap, \ | 93 V(kGlobalFunctionsMustHaveInitialMap, \ |
| 94 "Global functions must have initial map") \ | 94 "Global functions must have initial map") \ |
| 95 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ | 95 V(kHeapNumberMapRegisterClobbered, "HeapNumberMap register clobbered") \ |
| 96 V(kHydrogenFilter, "Optimization disabled by filter") \ | 96 V(kHydrogenFilter, "Optimization disabled by filter") \ |
| 97 V(kImportDeclaration, "Import declaration") \ | 97 V(kImportDeclaration, "Import declaration") \ |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 }; | 295 }; |
| 296 #undef ERROR_MESSAGES_CONSTANTS | 296 #undef ERROR_MESSAGES_CONSTANTS |
| 297 | 297 |
| 298 | 298 |
| 299 const char* GetBailoutReason(BailoutReason reason); | 299 const char* GetBailoutReason(BailoutReason reason); |
| 300 | 300 |
| 301 } // namespace internal | 301 } // namespace internal |
| 302 } // namespace v8 | 302 } // namespace v8 |
| 303 | 303 |
| 304 #endif // V8_BAILOUT_REASON_H_ | 304 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |