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

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

Issue 1224793002: Loads and stores to global vars are now made via property cell shortcuts installed into parent scri… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressing comments Created 5 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/ppc/interface-descriptors-ppc.cc ('k') | src/runtime/runtime-object.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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 F(GetOwnProperty, 2, 1) \ 431 F(GetOwnProperty, 2, 1) \
432 F(PreventExtensions, 1, 1) \ 432 F(PreventExtensions, 1, 1) \
433 F(IsExtensible, 1, 1) \ 433 F(IsExtensible, 1, 1) \
434 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ 434 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \
435 F(ObjectFreeze, 1, 1) \ 435 F(ObjectFreeze, 1, 1) \
436 F(ObjectSeal, 1, 1) \ 436 F(ObjectSeal, 1, 1) \
437 F(GetProperty, 2, 1) \ 437 F(GetProperty, 2, 1) \
438 F(GetPropertyStrong, 2, 1) \ 438 F(GetPropertyStrong, 2, 1) \
439 F(KeyedGetProperty, 2, 1) \ 439 F(KeyedGetProperty, 2, 1) \
440 F(KeyedGetPropertyStrong, 2, 1) \ 440 F(KeyedGetPropertyStrong, 2, 1) \
441 F(LoadGlobalViaContext, 3, 1) \
442 F(StoreGlobalViaContext, 5, 1) \
441 F(AddNamedProperty, 4, 1) \ 443 F(AddNamedProperty, 4, 1) \
442 F(SetProperty, 4, 1) \ 444 F(SetProperty, 4, 1) \
443 F(AddElement, 3, 1) \ 445 F(AddElement, 3, 1) \
444 F(AppendElement, 2, 1) \ 446 F(AppendElement, 2, 1) \
445 F(DeleteProperty, 3, 1) \ 447 F(DeleteProperty, 3, 1) \
446 F(HasOwnProperty, 2, 1) \ 448 F(HasOwnProperty, 2, 1) \
447 F(HasProperty, 2, 1) \ 449 F(HasProperty, 2, 1) \
448 F(HasElement, 2, 1) \ 450 F(HasElement, 2, 1) \
449 F(IsPropertyEnumerable, 2, 1) \ 451 F(IsPropertyEnumerable, 2, 1) \
450 F(GetPropertyNames, 1, 1) \ 452 F(GetPropertyNames, 1, 1) \
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 943 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
942 return size == 1 || size == 2 || size == 4; 944 return size == 1 || size == 2 || size == 4;
943 } 945 }
944 946
945 #endif 947 #endif
946 948
947 } // namespace internal 949 } // namespace internal
948 } // namespace v8 950 } // namespace v8
949 951
950 #endif // V8_RUNTIME_RUNTIME_H_ 952 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ppc/interface-descriptors-ppc.cc ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698