| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 V(kOptimizationDisabledForTest, "Optimization disabled for test") \ | 165 V(kOptimizationDisabledForTest, "Optimization disabled for test") \ |
| 166 V(kOptimizedTooManyTimes, "Optimized too many times") \ | 166 V(kOptimizedTooManyTimes, "Optimized too many times") \ |
| 167 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ | 167 V(kOutOfVirtualRegistersWhileTryingToAllocateTempRegister, \ |
| 168 "Out of virtual registers while trying to allocate temp register") \ | 168 "Out of virtual registers while trying to allocate temp register") \ |
| 169 V(kParseScopeError, "Parse/scope error") \ | 169 V(kParseScopeError, "Parse/scope error") \ |
| 170 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ | 170 V(kPossibleDirectCallToEval, "Possible direct call to eval") \ |
| 171 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ | 171 V(kReceivedInvalidReturnAddress, "Received invalid return address") \ |
| 172 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ | 172 V(kReferenceToAVariableWhichRequiresDynamicLookup, \ |
| 173 "Reference to a variable which requires dynamic lookup") \ | 173 "Reference to a variable which requires dynamic lookup") \ |
| 174 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ | 174 V(kReferenceToGlobalLexicalVariable, "Reference to global lexical variable") \ |
| 175 V(kReferenceToModuleVariable, "Reference to module-allocated variable") \ |
| 175 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ | 176 V(kReferenceToUninitializedVariable, "Reference to uninitialized variable") \ |
| 176 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ | 177 V(kRegisterDidNotMatchExpectedRoot, "Register did not match expected root") \ |
| 177 V(kRegisterWasClobbered, "Register was clobbered") \ | 178 V(kRegisterWasClobbered, "Register was clobbered") \ |
| 178 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ | 179 V(kRememberedSetPointerInNewSpace, "Remembered set pointer is in new space") \ |
| 179 V(kRestParameter, "Rest parameters") \ | 180 V(kRestParameter, "Rest parameters") \ |
| 180 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ | 181 V(kReturnAddressNotFoundInFrame, "Return address not found in frame") \ |
| 181 V(kSloppyFunctionExpectsJSReceiverReceiver, \ | 182 V(kSloppyFunctionExpectsJSReceiverReceiver, \ |
| 182 "Sloppy function expects JSReceiver as receiver.") \ | 183 "Sloppy function expects JSReceiver as receiver.") \ |
| 183 V(kSmiAdditionOverflow, "Smi addition overflow") \ | 184 V(kSmiAdditionOverflow, "Smi addition overflow") \ |
| 184 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ | 185 V(kSmiSubtractionOverflow, "Smi subtraction overflow") \ |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 }; | 268 }; |
| 268 #undef ERROR_MESSAGES_CONSTANTS | 269 #undef ERROR_MESSAGES_CONSTANTS |
| 269 | 270 |
| 270 | 271 |
| 271 const char* GetBailoutReason(BailoutReason reason); | 272 const char* GetBailoutReason(BailoutReason reason); |
| 272 | 273 |
| 273 } // namespace internal | 274 } // namespace internal |
| 274 } // namespace v8 | 275 } // namespace v8 |
| 275 | 276 |
| 276 #endif // V8_BAILOUT_REASON_H_ | 277 #endif // V8_BAILOUT_REASON_H_ |
| OLD | NEW |