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

Unified Diff: src/assembler.h

Issue 1235603002: Debugger: make debug code on-stack replacement more robust. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix arm64 Created 5 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 side-by-side diff with in-line comments
Download patch
Index: src/assembler.h
diff --git a/src/assembler.h b/src/assembler.h
index f5349038dac0335c088da76771c2ffd20ef22aec..7109d403f7653ff3f3d3a8c96f700db7dd1287c9 100644
--- a/src/assembler.h
+++ b/src/assembler.h
@@ -381,6 +381,9 @@ class RelocInfo {
// Encoded internal reference, used only on MIPS, MIPS64 and PPC.
INTERNAL_REFERENCE_ENCODED,
+ // Continuation points for a generator yield.
+ GENERATOR_CONTINUATION,
+
// Marks constant and veneer pools. Only used on ARM and ARM64.
// They use a custom noncompact encoding.
CONST_POOL,
@@ -474,6 +477,9 @@ class RelocInfo {
static inline bool IsCodeAgeSequence(Mode mode) {
return mode == CODE_AGE_SEQUENCE;
}
+ static inline bool IsGeneratorContinuation(Mode mode) {
+ return mode == GENERATOR_CONTINUATION;
+ }
static inline int ModeMask(Mode mode) { return 1 << mode; }
// Accessors
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/assembler.cc » ('j') | src/debug.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698