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

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

Issue 2640793004: Revert remove dead hole check logic (Closed)
Patch Set: Revert "[crankshaft] Fix mips/mips64 build: remove unused variable" and "[crankshaft] Remove dead Variable hole-checking code" Created 3 years, 11 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/ast-graph-builder.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
11 // TODO(svenpanne) introduce an AbortReason and partition this list 11 // TODO(svenpanne) introduce an AbortReason and partition this list
12 #define ERROR_MESSAGES_LIST(V) \ 12 #define ERROR_MESSAGES_LIST(V) \
13 V(kNoReason, "no reason") \ 13 V(kNoReason, "no reason") \
14 \ 14 \
15 V(k32BitValueInRegisterIsNotZeroExtended, \ 15 V(k32BitValueInRegisterIsNotZeroExtended, \
16 "32 bit value in register is not zero-extended") \ 16 "32 bit value in register is not zero-extended") \
17 V(kAllocatingNonEmptyPackedArray, "Allocating non-empty packed array") \ 17 V(kAllocatingNonEmptyPackedArray, "Allocating non-empty packed array") \
18 V(kAllocationIsNotDoubleAligned, "Allocation is not double aligned") \ 18 V(kAllocationIsNotDoubleAligned, "Allocation is not double aligned") \
19 V(kAPICallReturnedInvalidObject, "API call returned invalid object") \ 19 V(kAPICallReturnedInvalidObject, "API call returned invalid object") \
20 V(kArgumentsObjectValueInATestContext, \ 20 V(kArgumentsObjectValueInATestContext, \
21 "Arguments object value in a test context") \ 21 "Arguments object value in a test context") \
22 V(kArrayIndexConstantValueTooBig, "Array index constant value too big") \ 22 V(kArrayIndexConstantValueTooBig, "Array index constant value too big") \
23 V(kAssignmentToLetVariableBeforeInitialization, \
24 "Assignment to let variable before initialization") \
23 V(kAssignmentToLOOKUPVariable, "Assignment to LOOKUP variable") \ 25 V(kAssignmentToLOOKUPVariable, "Assignment to LOOKUP variable") \
24 V(kAssignmentToParameterFunctionUsesArgumentsObject, \ 26 V(kAssignmentToParameterFunctionUsesArgumentsObject, \
25 "Assignment to parameter, function uses arguments object") \ 27 "Assignment to parameter, function uses arguments object") \
26 V(kAssignmentToParameterInArgumentsObject, \ 28 V(kAssignmentToParameterInArgumentsObject, \
27 "Assignment to parameter in arguments object") \ 29 "Assignment to parameter in arguments object") \
28 V(kBadValueContextForArgumentsObjectValue, \ 30 V(kBadValueContextForArgumentsObjectValue, \
29 "Bad value context for arguments object value") \ 31 "Bad value context for arguments object value") \
30 V(kBadValueContextForArgumentsValue, \ 32 V(kBadValueContextForArgumentsValue, \
31 "Bad value context for arguments value") \ 33 "Bad value context for arguments value") \
32 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \ 34 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 "Unexpected runtime function id for the InvokeIntrinsic bytecode") \ 239 "Unexpected runtime function id for the InvokeIntrinsic bytecode") \
238 V(kUnexpectedFPCRMode, "Unexpected FPCR mode.") \ 240 V(kUnexpectedFPCRMode, "Unexpected FPCR mode.") \
239 V(kUnexpectedSmi, "Unexpected smi value") \ 241 V(kUnexpectedSmi, "Unexpected smi value") \
240 V(kUnexpectedStackDepth, "Unexpected operand stack depth in full-codegen") \ 242 V(kUnexpectedStackDepth, "Unexpected operand stack depth in full-codegen") \
241 V(kUnexpectedStackPointer, "The stack pointer is not the expected value") \ 243 V(kUnexpectedStackPointer, "The stack pointer is not the expected value") \
242 V(kUnexpectedStringType, "Unexpected string type") \ 244 V(kUnexpectedStringType, "Unexpected string type") \
243 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \ 245 V(kUnexpectedTypeForRegExpDataFixedArrayExpected, \
244 "Unexpected type for RegExp data, FixedArray expected") \ 246 "Unexpected type for RegExp data, FixedArray expected") \
245 V(kUnexpectedValue, "Unexpected value") \ 247 V(kUnexpectedValue, "Unexpected value") \
246 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \ 248 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \
249 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \
247 V(kUnsupportedLookupSlotInDeclaration, \ 250 V(kUnsupportedLookupSlotInDeclaration, \
248 "Unsupported lookup slot in declaration") \ 251 "Unsupported lookup slot in declaration") \
249 V(kUnsupportedModuleOperation, "Unsupported module operation") \ 252 V(kUnsupportedModuleOperation, "Unsupported module operation") \
250 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \ 253 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \
251 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ 254 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \
252 V(kUnsupportedPhiUseOfConstVariable, \ 255 V(kUnsupportedPhiUseOfConstVariable, \
253 "Unsupported phi use of const or let variable") \ 256 "Unsupported phi use of const or let variable") \
254 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \ 257 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \
255 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \ 258 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \
256 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \ 259 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \
(...skipping 16 matching lines...) Expand all
273 }; 276 };
274 #undef ERROR_MESSAGES_CONSTANTS 277 #undef ERROR_MESSAGES_CONSTANTS
275 278
276 279
277 const char* GetBailoutReason(BailoutReason reason); 280 const char* GetBailoutReason(BailoutReason reason);
278 281
279 } // namespace internal 282 } // namespace internal
280 } // namespace v8 283 } // namespace v8
281 284
282 #endif // V8_BAILOUT_REASON_H_ 285 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/ast-graph-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698