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

Unified Diff: src/objects-inl.h

Issue 935033003: Move LookupResult into crankshaft as that's now the only place where it's still used (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.cc ('k') | src/property.h » ('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 bc79580ac38674914cc219804c75d348f56f6546..dca7004a4fefee92439e482ce2da26ee2b3c2b76 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -3026,22 +3026,6 @@ PropertyDetails Map::GetLastDescriptorDetails() {
}
-void Map::LookupDescriptor(Name* name, LookupResult* result) {
- DescriptorArray* descriptors = this->instance_descriptors();
- int number = descriptors->SearchWithCache(name, this);
- if (number == DescriptorArray::kNotFound) return result->NotFound();
- result->DescriptorResult(descriptors->GetDetails(number), number);
-}
-
-
-void Map::LookupTransition(Name* name, PropertyAttributes attributes,
- LookupResult* result) {
- int transition_index = this->SearchTransition(kData, name, attributes);
- if (transition_index == TransitionArray::kNotFound) return result->NotFound();
- result->TransitionResult(this->GetTransition(transition_index));
-}
-
-
FixedArrayBase* Map::GetInitialElements() {
if (has_fast_smi_or_object_elements() ||
has_fast_double_elements()) {
« no previous file with comments | « src/objects.cc ('k') | src/property.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698