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

Unified Diff: src/property.cc

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/property.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/property.cc
diff --git a/src/property.cc b/src/property.cc
index 961b04342053fe2f245e1affd572b97298221028..3b4ddafd82c4450dbe44a3ca640724ba47115dee 100644
--- a/src/property.cc
+++ b/src/property.cc
@@ -10,26 +10,6 @@
namespace v8 {
namespace internal {
-void LookupResult::Iterate(ObjectVisitor* visitor) {
- LookupResult* current = this; // Could be NULL.
- while (current != NULL) {
- visitor->VisitPointer(bit_cast<Object**>(&current->transition_));
- current = current->next_;
- }
-}
-
-
-std::ostream& operator<<(std::ostream& os, const LookupResult& r) {
- if (!r.IsFound()) return os << "Not Found\n";
-
- os << "LookupResult:\n";
- if (r.IsTransition()) {
- os << " -transition target:\n" << Brief(r.GetTransitionTarget()) << "\n";
- }
- return os;
-}
-
-
std::ostream& operator<<(std::ostream& os,
const PropertyAttributes& attributes) {
os << "[";
« no previous file with comments | « src/property.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698