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

Unified Diff: src/objects-inl.h

Issue 1665833002: [interpreter] Switch context during stack unwinding. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.h ('k') | test/cctest/interpreter/test-bytecode-generator.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 1278c2a50d8acb4e406920852b409d874a3770f4..18a96b8a1503259d7644463c702de27ce1243ac9 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -3415,6 +3415,10 @@ int HandlerTable::GetRangeHandler(int index) const {
Smi::cast(get(index * kRangeEntrySize + kRangeHandlerIndex))->value());
}
+int HandlerTable::GetRangeDepth(int index) const {
+ return Smi::cast(get(index * kRangeEntrySize + kRangeDepthIndex))->value();
+}
+
void HandlerTable::SetRangeStart(int index, int value) {
set(index * kRangeEntrySize + kRangeStartIndex, Smi::FromInt(value));
}
« no previous file with comments | « src/objects.h ('k') | test/cctest/interpreter/test-bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698