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

Side by Side Diff: src/assembler.h

Issue 902863004: Move DEOPT_REASON enum value out of long encoding modes range. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | src/assembler.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 CODE_TARGET_WITH_ID, 366 CODE_TARGET_WITH_ID,
367 CONSTRUCT_CALL, // code target that is a call to a JavaScript constructor. 367 CONSTRUCT_CALL, // code target that is a call to a JavaScript constructor.
368 DEBUG_BREAK, // Code target for the debugger statement. 368 DEBUG_BREAK, // Code target for the debugger statement.
369 EMBEDDED_OBJECT, 369 EMBEDDED_OBJECT,
370 CELL, 370 CELL,
371 371
372 // Everything after runtime_entry (inclusive) is not GC'ed. 372 // Everything after runtime_entry (inclusive) is not GC'ed.
373 RUNTIME_ENTRY, 373 RUNTIME_ENTRY,
374 JS_RETURN, // Marks start of the ExitJSFrame code. 374 JS_RETURN, // Marks start of the ExitJSFrame code.
375 COMMENT, 375 COMMENT,
376 DEOPT_REASON, // Deoptimization reason index.
377 POSITION, // See comment for kNoPosition above. 376 POSITION, // See comment for kNoPosition above.
378 STATEMENT_POSITION, // See comment for kNoPosition above. 377 STATEMENT_POSITION, // See comment for kNoPosition above.
379 DEBUG_BREAK_SLOT, // Additional code inserted for debug break slot. 378 DEBUG_BREAK_SLOT, // Additional code inserted for debug break slot.
380 EXTERNAL_REFERENCE, // The address of an external C++ function. 379 EXTERNAL_REFERENCE, // The address of an external C++ function.
381 INTERNAL_REFERENCE, // An address inside the same function. 380 INTERNAL_REFERENCE, // An address inside the same function.
382 381
383 // Marks constant and veneer pools. Only used on ARM and ARM64. 382 // Marks constant and veneer pools. Only used on ARM and ARM64.
384 // They use a custom noncompact encoding. 383 // They use a custom noncompact encoding.
385 CONST_POOL, 384 CONST_POOL,
386 VENEER_POOL, 385 VENEER_POOL,
387 386
387 DEOPT_REASON, // Deoptimization reason index.
388
388 // add more as needed 389 // add more as needed
389 // Pseudo-types 390 // Pseudo-types
390 NUMBER_OF_MODES, // There are at most 15 modes with noncompact encoding. 391 NUMBER_OF_MODES, // There are at most 15 modes with noncompact encoding.
391 NONE32, // never recorded 32-bit value 392 NONE32, // never recorded 32-bit value
392 NONE64, // never recorded 64-bit value 393 NONE64, // never recorded 64-bit value
393 CODE_AGE_SEQUENCE, // Not stored in RelocInfo array, used explictly by 394 CODE_AGE_SEQUENCE, // Not stored in RelocInfo array, used explictly by
394 // code aging. 395 // code aging.
395 FIRST_REAL_RELOC_MODE = CODE_TARGET, 396 FIRST_REAL_RELOC_MODE = CODE_TARGET,
396 LAST_REAL_RELOC_MODE = VENEER_POOL, 397 LAST_REAL_RELOC_MODE = VENEER_POOL,
397 FIRST_PSEUDO_RELOC_MODE = CODE_AGE_SEQUENCE, 398 FIRST_PSEUDO_RELOC_MODE = CODE_AGE_SEQUENCE,
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
1131 NullCallWrapper() { } 1132 NullCallWrapper() { }
1132 virtual ~NullCallWrapper() { } 1133 virtual ~NullCallWrapper() { }
1133 virtual void BeforeCall(int call_size) const { } 1134 virtual void BeforeCall(int call_size) const { }
1134 virtual void AfterCall() const { } 1135 virtual void AfterCall() const { }
1135 }; 1136 };
1136 1137
1137 1138
1138 } } // namespace v8::internal 1139 } } // namespace v8::internal
1139 1140
1140 #endif // V8_ASSEMBLER_H_ 1141 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698