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

Unified Diff: src/objects-inl.h

Issue 1633633002: [Interpreter] Fix deopting from inline functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.h ('k') | src/ppc/builtins-ppc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index a824b3b25479fe911bd9afb7ee528cc4ac40a564..9771dcf729a788e108aa851e04146119acca93dc 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -4901,6 +4901,13 @@ inline bool Code::is_interpreter_entry_trampoline() {
return interpreter_entry.location() != nullptr && *interpreter_entry == this;
}
+inline bool Code::is_interpreter_enter_bytecode_dispatch() {
+ Handle<Code> interpreter_handler =
+ GetIsolate()->builtins()->InterpreterEnterBytecodeDispatch();
+ return interpreter_handler.location() != nullptr &&
+ *interpreter_handler == this;
+}
+
inline void Code::set_is_crankshafted(bool value) {
int previous = READ_UINT32_FIELD(this, kKindSpecificFlags2Offset);
int updated = IsCrankshaftedField::update(previous, value);
« no previous file with comments | « src/objects.h ('k') | src/ppc/builtins-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698