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

Side by Side Diff: src/runtime/runtime.h

Issue 1172683003: Use the LookupIterator for SetElement and friends (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years, 6 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/runtime.js ('k') | src/runtime/runtime-array.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 F(IsExtensible, 1, 1) \ 427 F(IsExtensible, 1, 1) \
428 F(DisableAccessChecks, 1, 1) \ 428 F(DisableAccessChecks, 1, 1) \
429 F(EnableAccessChecks, 1, 1) \ 429 F(EnableAccessChecks, 1, 1) \
430 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ 430 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \
431 F(ObjectFreeze, 1, 1) \ 431 F(ObjectFreeze, 1, 1) \
432 F(ObjectSeal, 1, 1) \ 432 F(ObjectSeal, 1, 1) \
433 F(GetProperty, 2, 1) \ 433 F(GetProperty, 2, 1) \
434 F(KeyedGetProperty, 2, 1) \ 434 F(KeyedGetProperty, 2, 1) \
435 F(AddNamedProperty, 4, 1) \ 435 F(AddNamedProperty, 4, 1) \
436 F(SetProperty, 4, 1) \ 436 F(SetProperty, 4, 1) \
437 F(AddElement, 4, 1) \ 437 F(AddElement, 3, 1) \
438 F(AppendElement, 2, 1) \ 438 F(AppendElement, 2, 1) \
439 F(DeleteProperty, 3, 1) \ 439 F(DeleteProperty, 3, 1) \
440 F(HasOwnProperty, 2, 1) \ 440 F(HasOwnProperty, 2, 1) \
441 F(HasProperty, 2, 1) \ 441 F(HasProperty, 2, 1) \
442 F(HasElement, 2, 1) \ 442 F(HasElement, 2, 1) \
443 F(IsPropertyEnumerable, 2, 1) \ 443 F(IsPropertyEnumerable, 2, 1) \
444 F(GetPropertyNames, 1, 1) \ 444 F(GetPropertyNames, 1, 1) \
445 F(GetPropertyNamesFast, 1, 1) \ 445 F(GetPropertyNamesFast, 1, 1) \
446 F(GetOwnPropertyNames, 2, 1) \ 446 F(GetOwnPropertyNames, 2, 1) \
447 F(GetOwnElementNames, 1, 1) \ 447 F(GetOwnElementNames, 1, 1) \
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 929 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
930 return size == 1 || size == 2 || size == 4; 930 return size == 1 || size == 2 || size == 4;
931 } 931 }
932 932
933 #endif 933 #endif
934 934
935 } // namespace internal 935 } // namespace internal
936 } // namespace v8 936 } // namespace v8
937 937
938 #endif // V8_RUNTIME_RUNTIME_H_ 938 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698