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

Side by Side Diff: src/lookup.h

Issue 2096933002: Remove all harmony runtime flags which shipped in M51 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review comments Created 4 years, 5 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
« no previous file with comments | « src/js/typedarray.js ('k') | src/messages.cc » ('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 #ifndef V8_LOOKUP_H_ 5 #ifndef V8_LOOKUP_H_
6 #define V8_LOOKUP_H_ 6 #define V8_LOOKUP_H_
7 7
8 #include "src/factory.h" 8 #include "src/factory.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 InterceptorInfo* result = 255 InterceptorInfo* result =
256 IsElement() ? GetInterceptor<true>(JSObject::cast(*holder_)) 256 IsElement() ? GetInterceptor<true>(JSObject::cast(*holder_))
257 : GetInterceptor<false>(JSObject::cast(*holder_)); 257 : GetInterceptor<false>(JSObject::cast(*holder_));
258 return handle(result, isolate_); 258 return handle(result, isolate_);
259 } 259 }
260 Handle<Object> GetDataValue() const; 260 Handle<Object> GetDataValue() const;
261 void WriteDataValue(Handle<Object> value); 261 void WriteDataValue(Handle<Object> value);
262 inline void UpdateProtector() { 262 inline void UpdateProtector() {
263 if (IsElement()) return; 263 if (IsElement()) return;
264 if (*name_ == heap()->is_concat_spreadable_symbol() || 264 if (*name_ == heap()->is_concat_spreadable_symbol() ||
265 (FLAG_harmony_species && (*name_ == heap()->constructor_string() || 265 *name_ == heap()->constructor_string() ||
266 *name_ == heap()->species_symbol())) || 266 *name_ == heap()->species_symbol() ||
267 (FLAG_harmony_instanceof && 267 *name_ == heap()->has_instance_symbol()) {
268 (*name_ == heap()->has_instance_symbol()))) {
269 InternalUpdateProtector(); 268 InternalUpdateProtector();
270 } 269 }
271 } 270 }
272 271
273 private: 272 private:
274 void InternalUpdateProtector(); 273 void InternalUpdateProtector();
275 274
276 enum class InterceptorState { 275 enum class InterceptorState {
277 kUninitialized, 276 kUninitialized,
278 kSkipNonMasking, 277 kSkipNonMasking,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 const Handle<JSReceiver> initial_holder_; 361 const Handle<JSReceiver> initial_holder_;
363 const uint32_t index_; 362 const uint32_t index_;
364 uint32_t number_; 363 uint32_t number_;
365 }; 364 };
366 365
367 366
368 } // namespace internal 367 } // namespace internal
369 } // namespace v8 368 } // namespace v8
370 369
371 #endif // V8_LOOKUP_H_ 370 #endif // V8_LOOKUP_H_
OLDNEW
« no previous file with comments | « src/js/typedarray.js ('k') | src/messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698