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

Unified Diff: src/objects-inl.h

Issue 1670983003: [interpreter] Rename HandlerTable::depth field. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_interpreter-test-enable
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.cc ('k') | no next file » | 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 18a96b8a1503259d7644463c702de27ce1243ac9..40fe23b3e0e13f55182feb20201aa7a92e026c36 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -3415,8 +3415,8 @@ 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();
+int HandlerTable::GetRangeData(int index) const {
+ return Smi::cast(get(index * kRangeEntrySize + kRangeDataIndex))->value();
}
void HandlerTable::SetRangeStart(int index, int value) {
@@ -3436,9 +3436,8 @@ void HandlerTable::SetRangeHandler(int index, int offset,
set(index * kRangeEntrySize + kRangeHandlerIndex, Smi::FromInt(value));
}
-
-void HandlerTable::SetRangeDepth(int index, int value) {
- set(index * kRangeEntrySize + kRangeDepthIndex, Smi::FromInt(value));
+void HandlerTable::SetRangeData(int index, int value) {
+ set(index * kRangeEntrySize + kRangeDataIndex, Smi::FromInt(value));
}
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698