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

Side by Side Diff: src/lookup.cc

Issue 504183002: Remove dead code from LookupResult (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Install the LoadFastElementStub descriptor and addressed comments Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/isolate.cc ('k') | src/mirror-debugger.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/deoptimizer.h" 8 #include "src/deoptimizer.h"
9 #include "src/lookup.h" 9 #include "src/lookup.h"
10 #include "src/lookup-inl.h" 10 #include "src/lookup-inl.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 void LookupIterator::LoadPropertyKind() { 112 void LookupIterator::LoadPropertyKind() {
113 switch (property_details_.type()) { 113 switch (property_details_.type()) {
114 case v8::internal::FIELD: 114 case v8::internal::FIELD:
115 case v8::internal::NORMAL: 115 case v8::internal::NORMAL:
116 case v8::internal::CONSTANT: 116 case v8::internal::CONSTANT:
117 property_kind_ = DATA; 117 property_kind_ = DATA;
118 break; 118 break;
119 case v8::internal::CALLBACKS: 119 case v8::internal::CALLBACKS:
120 property_kind_ = ACCESSOR; 120 property_kind_ = ACCESSOR;
121 break; 121 break;
122 case v8::internal::HANDLER:
123 case v8::internal::INTERCEPTOR:
124 UNREACHABLE();
125 } 122 }
126 } 123 }
127 124
128 125
129 void LookupIterator::ReloadPropertyInformation() { 126 void LookupIterator::ReloadPropertyInformation() {
130 state_ = BEFORE_PROPERTY; 127 state_ = BEFORE_PROPERTY;
131 state_ = LookupInHolder(*holder_map_); 128 state_ = LookupInHolder(*holder_map_);
132 DCHECK(IsFound()); 129 DCHECK(IsFound());
133 HasProperty(); 130 HasProperty();
134 } 131 }
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 DCHECK_EQ(v8::internal::CONSTANT, property_details_.type()); 364 DCHECK_EQ(v8::internal::CONSTANT, property_details_.type());
368 } 365 }
369 } 366 }
370 367
371 368
372 void LookupIterator::InternalizeName() { 369 void LookupIterator::InternalizeName() {
373 if (name_->IsUniqueName()) return; 370 if (name_->IsUniqueName()) return;
374 name_ = factory()->InternalizeString(Handle<String>::cast(name_)); 371 name_ = factory()->InternalizeString(Handle<String>::cast(name_));
375 } 372 }
376 } } // namespace v8::internal 373 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/mirror-debugger.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698