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

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

Issue 1969423002: [Interpreter] Remove InterpreterExitTrampoline and replace with returning to the entry trampoline. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review comments Created 4 years, 7 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/builtins.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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 V(kUnsupportedCountOperationWithConst, \ 255 V(kUnsupportedCountOperationWithConst, \
256 "Unsupported count operation with const") \ 256 "Unsupported count operation with const") \
257 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \ 257 V(kUnsupportedDoubleImmediate, "Unsupported double immediate") \
258 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \ 258 V(kUnsupportedLetCompoundAssignment, "Unsupported let compound assignment") \
259 V(kUnsupportedLookupSlotInDeclaration, \ 259 V(kUnsupportedLookupSlotInDeclaration, \
260 "Unsupported lookup slot in declaration") \ 260 "Unsupported lookup slot in declaration") \
261 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \ 261 V(kUnsupportedNonPrimitiveCompare, "Unsupported non-primitive compare") \
262 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \ 262 V(kUnsupportedPhiUseOfArguments, "Unsupported phi use of arguments") \
263 V(kUnsupportedPhiUseOfConstVariable, \ 263 V(kUnsupportedPhiUseOfConstVariable, \
264 "Unsupported phi use of const or let variable") \ 264 "Unsupported phi use of const or let variable") \
265 V(kUnexpectedReturnFromBytecodeHandler, \
266 "Unexpectedly returned from a bytecode handler") \
267 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \ 265 V(kUnexpectedReturnFromThrow, "Unexpectedly returned from a throw") \
268 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \ 266 V(kUnsupportedSwitchStatement, "Unsupported switch statement") \
269 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \ 267 V(kUnsupportedTaggedImmediate, "Unsupported tagged immediate") \
270 V(kVariableResolvedToWithContext, "Variable resolved to with context") \ 268 V(kVariableResolvedToWithContext, "Variable resolved to with context") \
271 V(kWeShouldNotHaveAnEmptyLexicalContext, \ 269 V(kWeShouldNotHaveAnEmptyLexicalContext, \
272 "We should not have an empty lexical context") \ 270 "We should not have an empty lexical context") \
273 V(kWithStatement, "WithStatement") \ 271 V(kWithStatement, "WithStatement") \
274 V(kWrongFunctionContext, "Wrong context passed to function") \ 272 V(kWrongFunctionContext, "Wrong context passed to function") \
275 V(kWrongAddressOrValuePassedToRecordWrite, \ 273 V(kWrongAddressOrValuePassedToRecordWrite, \
276 "Wrong address or value passed to RecordWrite") \ 274 "Wrong address or value passed to RecordWrite") \
277 V(kWrongArgumentCountForInvokeIntrinsic, \ 275 V(kWrongArgumentCountForInvokeIntrinsic, \
278 "Wrong number of arguments for intrinsic") \ 276 "Wrong number of arguments for intrinsic") \
279 V(kShouldNotDirectlyEnterOsrFunction, \ 277 V(kShouldNotDirectlyEnterOsrFunction, \
280 "Should not directly enter OSR-compiled function") \ 278 "Should not directly enter OSR-compiled function") \
281 V(kYield, "Yield") 279 V(kYield, "Yield")
282 280
283 #define ERROR_MESSAGES_CONSTANTS(C, T) C, 281 #define ERROR_MESSAGES_CONSTANTS(C, T) C,
284 enum BailoutReason { 282 enum BailoutReason {
285 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage 283 ERROR_MESSAGES_LIST(ERROR_MESSAGES_CONSTANTS) kLastErrorMessage
286 }; 284 };
287 #undef ERROR_MESSAGES_CONSTANTS 285 #undef ERROR_MESSAGES_CONSTANTS
288 286
289 287
290 const char* GetBailoutReason(BailoutReason reason); 288 const char* GetBailoutReason(BailoutReason reason);
291 289
292 } // namespace internal 290 } // namespace internal
293 } // namespace v8 291 } // namespace v8
294 292
295 #endif // V8_BAILOUT_REASON_H_ 293 #endif // V8_BAILOUT_REASON_H_
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698