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

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

Issue 877553007: [turbofan] Gracefully bail out if OSR encounters a loop too deeply nested. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 months 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/compiler/osr.h » ('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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \ 325 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \
326 V(kVariableResolvedToWithContext, "Variable resolved to with context") \ 326 V(kVariableResolvedToWithContext, "Variable resolved to with context") \
327 V(kWeShouldNotHaveAnEmptyLexicalContext, \ 327 V(kWeShouldNotHaveAnEmptyLexicalContext, \
328 "We should not have an empty lexical context") \ 328 "We should not have an empty lexical context") \
329 V(kWithStatement, "WithStatement") \ 329 V(kWithStatement, "WithStatement") \
330 V(kWrongFunctionContext, "Wrong context passed to function") \ 330 V(kWrongFunctionContext, "Wrong context passed to function") \
331 V(kWrongAddressOrValuePassedToRecordWrite, \ 331 V(kWrongAddressOrValuePassedToRecordWrite, \
332 "Wrong address or value passed to RecordWrite") \ 332 "Wrong address or value passed to RecordWrite") \
333 V(kShouldNotDirectlyEnterOsrFunction, \ 333 V(kShouldNotDirectlyEnterOsrFunction, \
334 "Should not directly enter OSR-compiled function") \ 334 "Should not directly enter OSR-compiled function") \
335 V(kOsrCompileFailed, "OSR compilation failed") \
335 V(kYield, "Yield") 336 V(kYield, "Yield")
336 337
337 338
338 #define ERROR_MESSAGES_CONSTANTS(C, T) C, 339 #define ERROR_MESSAGES_CONSTANTS(C, T) C,
339 enum BailoutReason { 340 enum BailoutReason {
340 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage 341 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage
341 }; 342 };
342 #undef ERROR_MESSAGES_CONSTANTS 343 #undef ERROR_MESSAGES_CONSTANTS
343 344
344 345
345 const char* GetBailoutReason(BailoutReason reason); 346 const char* GetBailoutReason(BailoutReason reason);
346 } 347 }
347 } // namespace v8::internal 348 } // namespace v8::internal
348 349
349 #endif // V8_BAILOUT_REASON_H_ 350 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/osr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698