Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: src/bailout-reason.h

Issue 1483373002: [crankshaft] Fix crash when case labels inline endless loops (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 "Unsupported count operation with const") \ 243 "Unsupported count operation with const") \
244 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \ 244 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \
245 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \ 245 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \
246 V(kUnsupportedLookupSlotInDeclaration, \ 246 V(kUnsupportedLookupSlotInDeclaration, \
247 "Unsupported lookup slot in declaration") \ 247 "Unsupported lookup slot in declaration") \
248 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \ 248 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \
249 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ 249 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \
250 V(kUnsupportedPhiUseOfConstVariable, \ 250 V(kUnsupportedPhiUseOfConstVariable, \
251 "Unsupported phi use of const variable") \ 251 "Unsupported phi use of const variable") \
252 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \ 252 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \
253 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \
253 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \ 254 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \
254 V(kVariableResolvedToWithContext, "Variable resolved to with context") \ 255 V(kVariableResolvedToWithContext, "Variable resolved to with context") \
255 V(kWeShouldNotHaveAnEmptyLexicalContext, \ 256 V(kWeShouldNotHaveAnEmptyLexicalContext, \
256 "We should not have an empty lexical context") \ 257 "We should not have an empty lexical context") \
257 V(kWithStatement, "WithStatement") \ 258 V(kWithStatement, "WithStatement") \
258 V(kWrongFunctionContext, "Wrong context passed to function") \ 259 V(kWrongFunctionContext, "Wrong context passed to function") \
259 V(kWrongAddressOrValuePassedToRecordWrite, \ 260 V(kWrongAddressOrValuePassedToRecordWrite, \
260 "Wrong address or value passed to RecordWrite") \ 261 "Wrong address or value passed to RecordWrite") \
261 V(kShouldNotDirectlyEnterOsrFunction, \ 262 V(kShouldNotDirectlyEnterOsrFunction, \
262 "Should not directly enter OSR-compiled function") \ 263 "Should not directly enter OSR-compiled function") \
263 V(kYield, "Yield") 264 V(kYield, "Yield")
264 265
265 266
266 #define ERROR_MESSAGES_CONSTANTS(C, T) C, 267 #define ERROR_MESSAGES_CONSTANTS(C, T) C,
267 enum BailoutReason { 268 enum BailoutReason {
268 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage 269 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage
269 }; 270 };
270 #undef ERROR_MESSAGES_CONSTANTS 271 #undef ERROR_MESSAGES_CONSTANTS
271 272
272 273
273 const char* GetBailoutReason(BailoutReason reason); 274 const char* GetBailoutReason(BailoutReason reason);
274 275
275 } // namespace internal 276 } // namespace internal
276 } // namespace v8 277 } // namespace v8
277 278
278 #endif // V8_BAILOUT_REASON_H_ 279 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « no previous file | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698