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

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

Issue 1105133002: Remove kOsrCompileFailed bailout. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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.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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \ 316 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \
317 V(kVariableResolvedToWithContext, "Variable resolved to with context") \ 317 V(kVariableResolvedToWithContext, "Variable resolved to with context") \
318 V(kWeShouldNotHaveAnEmptyLexicalContext, \ 318 V(kWeShouldNotHaveAnEmptyLexicalContext, \
319 "We should not have an empty lexical context") \ 319 "We should not have an empty lexical context") \
320 V(kWithStatement, "WithStatement") \ 320 V(kWithStatement, "WithStatement") \
321 V(kWrongFunctionContext, "Wrong context passed to function") \ 321 V(kWrongFunctionContext, "Wrong context passed to function") \
322 V(kWrongAddressOrValuePassedToRecordWrite, \ 322 V(kWrongAddressOrValuePassedToRecordWrite, \
323 "Wrong address or value passed to RecordWrite") \ 323 "Wrong address or value passed to RecordWrite") \
324 V(kShouldNotDirectlyEnterOsrFunction, \ 324 V(kShouldNotDirectlyEnterOsrFunction, \
325 "Should not directly enter OSR-compiled function") \ 325 "Should not directly enter OSR-compiled function") \
326 V(kOsrCompileFailed, "OSR compilation failed") \
327 V(kYield, "Yield") 326 V(kYield, "Yield")
328 327
329 328
330 #define ERROR_MESSAGES_CONSTANTS(C, T) C, 329 #define ERROR_MESSAGES_CONSTANTS(C, T) C,
331 enum BailoutReason { 330 enum BailoutReason {
332 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage 331 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage
333 }; 332 };
334 #undef ERROR_MESSAGES_CONSTANTS 333 #undef ERROR_MESSAGES_CONSTANTS
335 334
336 335
337 const char* GetBailoutReason(BailoutReason reason); 336 const char* GetBailoutReason(BailoutReason reason);
338 337
339 } // namespace internal 338 } // namespace internal
340 } // namespace v8 339 } // namespace v8
341 340
342 #endif // V8_BAILOUT_REASON_H_ 341 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698