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

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

Issue 1642063002: [interpreter] Add a safety-net for interpreter entry. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comment. Created 4 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 | « src/arm64/builtins-arm64.cc ('k') | src/ia32/builtins-ia32.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 V(kUnsupportedCountOperationWithConst, \ 243 V(kUnsupportedCountOperationWithConst, \
244 "Unsupported count operation with const") \ 244 "Unsupported count operation with const") \
245 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \ 245 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \
246 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \ 246 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \
247 V(kUnsupportedLookupSlotInDeclaration, \ 247 V(kUnsupportedLookupSlotInDeclaration, \
248 "Unsupported lookup slot in declaration") \ 248 "Unsupported lookup slot in declaration") \
249 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \ 249 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \
250 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ 250 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \
251 V(kUnsupportedPhiUseOfConstVariable, \ 251 V(kUnsupportedPhiUseOfConstVariable, \
252 "Unsupported phi use of const variable") \ 252 "Unsupported phi use of const variable") \
253 V(kUnexpectedReturnFromBytecodeHandler, \
254 "Unexpectedly returned from a bytecode handler") \
253 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \ 255 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \
254 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \ 256 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \
255 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \ 257 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \
256 V(kVariableResolvedToWithContext, "Variable resolved to with context") \ 258 V(kVariableResolvedToWithContext, "Variable resolved to with context") \
257 V(kWeShouldNotHaveAnEmptyLexicalContext, \ 259 V(kWeShouldNotHaveAnEmptyLexicalContext, \
258 "We should not have an empty lexical context") \ 260 "We should not have an empty lexical context") \
259 V(kWithStatement, "WithStatement") \ 261 V(kWithStatement, "WithStatement") \
260 V(kWrongFunctionContext, "Wrong context passed to function") \ 262 V(kWrongFunctionContext, "Wrong context passed to function") \
261 V(kWrongAddressOrValuePassedToRecordWrite, \ 263 V(kWrongAddressOrValuePassedToRecordWrite, \
262 "Wrong address or value passed to RecordWrite") \ 264 "Wrong address or value passed to RecordWrite") \
263 V(kShouldNotDirectlyEnterOsrFunction, \ 265 V(kShouldNotDirectlyEnterOsrFunction, \
264 "Should not directly enter OSR-compiled function") \ 266 "Should not directly enter OSR-compiled function") \
265 V(kYield, "Yield") 267 V(kYield, "Yield")
266 268
267
268 #define ERROR_MESSAGES_CONSTANTS(C, T) C, 269 #define ERROR_MESSAGES_CONSTANTS(C, T) C,
269 enum BailoutReason { 270 enum BailoutReason {
270 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage 271 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage
271 }; 272 };
272 #undef ERROR_MESSAGES_CONSTANTS 273 #undef ERROR_MESSAGES_CONSTANTS
273 274
274 275
275 const char* GetBailoutReason(BailoutReason reason); 276 const char* GetBailoutReason(BailoutReason reason);
276 277
277 } // namespace internal 278 } // namespace internal
278 } // namespace v8 279 } // namespace v8
279 280
280 #endif // V8_BAILOUT_REASON_H_ 281 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698