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

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

Issue 2177483002: [turbofan] Handle impossible types (Type::None()) in the backend. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix?? Created 4 years, 5 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
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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 V(kVariableResolvedToWithContext, "Variable resolved to with context") \ 259 V(kVariableResolvedToWithContext, "Variable resolved to with context") \
260 V(kWeShouldNotHaveAnEmptyLexicalContext, \ 260 V(kWeShouldNotHaveAnEmptyLexicalContext, \
261 "We should not have an empty lexical context") \ 261 "We should not have an empty lexical context") \
262 V(kWithStatement, "WithStatement") \ 262 V(kWithStatement, "WithStatement") \
263 V(kWrongFunctionContext, "Wrong context passed to function") \ 263 V(kWrongFunctionContext, "Wrong context passed to function") \
264 V(kWrongAddressOrValuePassedToRecordWrite, \ 264 V(kWrongAddressOrValuePassedToRecordWrite, \
265 "Wrong address or value passed to RecordWrite") \ 265 "Wrong address or value passed to RecordWrite") \
266 V(kWrongArgumentCountForInvokeIntrinsic, \ 266 V(kWrongArgumentCountForInvokeIntrinsic, \
267 "Wrong number of arguments for intrinsic") \ 267 "Wrong number of arguments for intrinsic") \
268 V(kShouldNotDirectlyEnterOsrFunction, \ 268 V(kShouldNotDirectlyEnterOsrFunction, \
269 "Should not directly enter OSR-compiled function") 269 "Should not directly enter OSR-compiled function") \
270 V(kConversionFromImpossibleValue, \
271 "Reached conversion from value with empty type (i.e., impossible type)")
270 272
271 #define ERROR_MESSAGES_CONSTANTS(C, T) C, 273 #define ERROR_MESSAGES_CONSTANTS(C, T) C,
272 enum BailoutReason { 274 enum BailoutReason {
273 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage 275 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage
274 }; 276 };
275 #undef ERROR_MESSAGES_CONSTANTS 277 #undef ERROR_MESSAGES_CONSTANTS
276 278
277 279
278 const char* GetBailoutReason(BailoutReason reason); 280 const char* GetBailoutReason(BailoutReason reason);
279 281
280 } // namespace internal 282 } // namespace internal
281 } // namespace v8 283 } // namespace v8
282 284
283 #endif // V8_BAILOUT_REASON_H_ 285 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm/code-generator-arm.cc » ('j') | src/compiler/instruction-selector.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698