| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 V(kExpectedBooleanValue, "Expected boolean value") \ | 65 V(kExpectedBooleanValue, "Expected boolean value") \ |
| 66 V(kExpectedFunctionObject, "Expected function object in register") \ | 66 V(kExpectedFunctionObject, "Expected function object in register") \ |
| 67 V(kExpectedHeapNumber, "Expected HeapNumber") \ | 67 V(kExpectedHeapNumber, "Expected HeapNumber") \ |
| 68 V(kExpectedNativeContext, "Expected native context") \ | 68 V(kExpectedNativeContext, "Expected native context") \ |
| 69 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \ | 69 V(kExpectedNonIdenticalObjects, "Expected non-identical objects") \ |
| 70 V(kExpectedNonNullContext, "Expected non-null context") \ | 70 V(kExpectedNonNullContext, "Expected non-null context") \ |
| 71 V(kExpectedPositiveZero, "Expected +0.0") \ | 71 V(kExpectedPositiveZero, "Expected +0.0") \ |
| 72 V(kExpectedNewSpaceObject, "Expected new space object") \ | 72 V(kExpectedNewSpaceObject, "Expected new space object") \ |
| 73 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ | 73 V(kExpectedUndefinedOrCell, "Expected undefined or cell in register") \ |
| 74 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ | 74 V(kExpectingAlignmentForCopyBytes, "Expecting alignment for CopyBytes") \ |
| 75 V(kExportDeclaration, "Export declaration") \ | |
| 76 V(kExternalStringExpectedButNotFound, \ | 75 V(kExternalStringExpectedButNotFound, \ |
| 77 "External string expected, but not found") \ | 76 "External string expected, but not found") \ |
| 78 V(kForInStatementWithNonLocalEachVariable, \ | 77 V(kForInStatementWithNonLocalEachVariable, \ |
| 79 "ForInStatement with non-local each variable") \ | 78 "ForInStatement with non-local each variable") \ |
| 80 V(kForOfStatement, "ForOfStatement") \ | 79 V(kForOfStatement, "ForOfStatement") \ |
| 81 V(kFunctionBeingDebugged, "Function is being debugged") \ | 80 V(kFunctionBeingDebugged, "Function is being debugged") \ |
| 82 V(kFunctionCallsEval, "Function calls eval") \ | 81 V(kFunctionCallsEval, "Function calls eval") \ |
| 83 V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ | 82 V(kFunctionDataShouldBeBytecodeArrayOnInterpreterEntry, \ |
| 84 "The function_data field should be a BytecodeArray on interpreter entry") \ | 83 "The function_data field should be a BytecodeArray on interpreter entry") \ |
| 85 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ | 84 V(kGeneratedCodeIsTooLarge, "Generated code is too large") \ |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 }; | 274 }; |
| 276 #undef ERROR_MESSAGES_CONSTANTS | 275 #undef ERROR_MESSAGES_CONSTANTS |
| 277 | 276 |
| 278 | 277 |
| 279 const char* GetBailoutReason(BailoutReason reason); | 278 const char* GetBailoutReason(BailoutReason reason); |
| 280 | 279 |
| 281 } // namespace internal | 280 } // namespace internal |
| 282 } // namespace v8 | 281 } // namespace v8 |
| 283 | 282 |
| 284 #endif // V8_BAILOUT_REASON_H_ | 283 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |