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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 V(kUnsupportedCountOperationWithConst, \ | 248 V(kUnsupportedCountOperationWithConst, \ |
249 "Unsupported count operation with const") \ | 249 "Unsupported count operation with const") \ |
250 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \ | 250 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \ |
251 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \ | 251 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \ |
252 V(kUnsupportedLookupSlotInDeclaration, \ | 252 V(kUnsupportedLookupSlotInDeclaration, \ |
253 "Unsupported lookup slot in declaration") \ | 253 "Unsupported lookup slot in declaration") \ |
254 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \ | 254 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \ |
255 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ | 255 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ |
256 V(kUnsupportedPhiUseOfConstVariable, \ | 256 V(kUnsupportedPhiUseOfConstVariable, \ |
257 "Unsupported phi use of const or let variable") \ | 257 "Unsupported phi use of const or let variable") \ |
| 258 V(kUnexpectedCallToMarkBaselineOnReturn, \ |
| 259 "Unexpectedly called InterpreterMarkBaselineOnReturnStub") \ |
258 V(kUnexpectedReturnFromBytecodeHandler, \ | 260 V(kUnexpectedReturnFromBytecodeHandler, \ |
259 "Unexpectedly returned from a bytecode handler") \ | 261 "Unexpectedly returned from a bytecode handler") \ |
260 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \ | 262 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \ |
261 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \ | 263 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \ |
262 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \ | 264 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \ |
263 V(kVariableResolvedToWithContext, "Variable resolved to with context") \ | 265 V(kVariableResolvedToWithContext, "Variable resolved to with context") \ |
264 V(kWeShouldNotHaveAnEmptyLexicalContext, \ | 266 V(kWeShouldNotHaveAnEmptyLexicalContext, \ |
265 "We should not have an empty lexical context") \ | 267 "We should not have an empty lexical context") \ |
266 V(kWithStatement, "WithStatement") \ | 268 V(kWithStatement, "WithStatement") \ |
267 V(kWrongFunctionContext, "Wrong context passed to function") \ | 269 V(kWrongFunctionContext, "Wrong context passed to function") \ |
(...skipping 11 matching lines...) Expand all Loading... |
279 }; | 281 }; |
280 #undef ERROR_MESSAGES_CONSTANTS | 282 #undef ERROR_MESSAGES_CONSTANTS |
281 | 283 |
282 | 284 |
283 const char* GetBailoutReason(BailoutReason reason); | 285 const char* GetBailoutReason(BailoutReason reason); |
284 | 286 |
285 } // namespace internal | 287 } // namespace internal |
286 } // namespace v8 | 288 } // namespace v8 |
287 | 289 |
288 #endif // V8_BAILOUT_REASON_H_ | 290 #endif // V8_BAILOUT_REASON_H_ |
OLD | NEW |