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

Side by Side Diff: src/lookup.cc

Issue 2758563002: [gn] Enable stricter build flags (Closed)
Patch Set: Fix one last unused variable error Created 3 years, 9 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
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/lookup.h" 5 #include "src/lookup.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/elements.h" 9 #include "src/elements.h"
10 #include "src/field-type.h" 10 #include "src/field-type.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 state_ = LookupInHolder<is_element>(map, holder); 101 state_ = LookupInHolder<is_element>(map, holder);
102 } while (!IsFound()); 102 } while (!IsFound());
103 103
104 holder_ = handle(holder, isolate_); 104 holder_ = handle(holder, isolate_);
105 } 105 }
106 106
107 template <bool is_element> 107 template <bool is_element>
108 void LookupIterator::RestartInternal(InterceptorState interceptor_state) { 108 void LookupIterator::RestartInternal(InterceptorState interceptor_state) {
109 interceptor_state_ = interceptor_state; 109 interceptor_state_ = interceptor_state;
110 property_details_ = PropertyDetails::Empty(); 110 property_details_ = PropertyDetails::Empty();
111 number_ = DescriptorArray::kNotFound; 111 number_ = static_cast<uint32_t>(DescriptorArray::kNotFound);
112 Start<is_element>(); 112 Start<is_element>();
113 } 113 }
114 114
115 template void LookupIterator::RestartInternal<true>(InterceptorState); 115 template void LookupIterator::RestartInternal<true>(InterceptorState);
116 template void LookupIterator::RestartInternal<false>(InterceptorState); 116 template void LookupIterator::RestartInternal<false>(InterceptorState);
117 117
118 // static 118 // static
119 Handle<JSReceiver> LookupIterator::GetRootForNonJSReceiver( 119 Handle<JSReceiver> LookupIterator::GetRootForNonJSReceiver(
120 Isolate* isolate, Handle<Object> receiver, uint32_t index) { 120 Isolate* isolate, Handle<Object> receiver, uint32_t index) {
121 // Strings are the only objects with properties (only elements) directly on 121 // Strings are the only objects with properties (only elements) directly on
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 936
937 // We have found a cached property! Modify the iterator accordingly. 937 // We have found a cached property! Modify the iterator accordingly.
938 name_ = maybe_name.ToHandleChecked(); 938 name_ = maybe_name.ToHandleChecked();
939 Restart(); 939 Restart();
940 CHECK_EQ(state(), LookupIterator::DATA); 940 CHECK_EQ(state(), LookupIterator::DATA);
941 return true; 941 return true;
942 } 942 }
943 943
944 } // namespace internal 944 } // namespace internal
945 } // namespace v8 945 } // namespace v8
OLDNEW
« src/compiler/gap-resolver.cc ('K') | « src/lookup.h ('k') | src/mips/constants-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698