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

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

Issue 702243003: Basic array capacity feedback via allocation sites. Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update. Created 6 years, 1 month 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/objects-inl.h ('k') | src/runtime/runtime.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_H_ 5 #ifndef V8_RUNTIME_H_
6 #define V8_RUNTIME_H_ 6 #define V8_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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 F(HasFixedInt16Elements, 1, 1) \ 420 F(HasFixedInt16Elements, 1, 1) \
421 F(HasFixedUint16Elements, 1, 1) \ 421 F(HasFixedUint16Elements, 1, 1) \
422 F(HasFixedInt32Elements, 1, 1) \ 422 F(HasFixedInt32Elements, 1, 1) \
423 F(HasFixedUint32Elements, 1, 1) \ 423 F(HasFixedUint32Elements, 1, 1) \
424 F(HasFixedFloat32Elements, 1, 1) \ 424 F(HasFixedFloat32Elements, 1, 1) \
425 F(HasFixedFloat64Elements, 1, 1) \ 425 F(HasFixedFloat64Elements, 1, 1) \
426 F(HasFastProperties, 1, 1) \ 426 F(HasFastProperties, 1, 1) \
427 F(TransitionElementsKind, 2, 1) \ 427 F(TransitionElementsKind, 2, 1) \
428 F(HaveSameMap, 2, 1) \ 428 F(HaveSameMap, 2, 1) \
429 F(IsJSGlobalProxy, 1, 1) \ 429 F(IsJSGlobalProxy, 1, 1) \
430 F(GetElementsCapacity, 1, 1) \
430 F(ForInCacheArrayLength, 2, 1) /* TODO(turbofan): Only temporary */ 431 F(ForInCacheArrayLength, 2, 1) /* TODO(turbofan): Only temporary */
431 432
432 433
433 #define RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ 434 #define RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \
434 /* String and Regexp */ \ 435 /* String and Regexp */ \
435 F(NumberToStringRT, 1, 1) \ 436 F(NumberToStringRT, 1, 1) \
436 F(RegExpConstructResult, 3, 1) \ 437 F(RegExpConstructResult, 3, 1) \
437 F(RegExpExecRT, 4, 1) \ 438 F(RegExpExecRT, 4, 1) \
438 F(StringAdd, 2, 1) \ 439 F(StringAdd, 2, 1) \
439 F(SubString, 3, 1) \ 440 F(SubString, 3, 1) \
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 class AllocateDoubleAlignFlag : public BitField<bool, 0, 1> {}; 905 class AllocateDoubleAlignFlag : public BitField<bool, 0, 1> {};
905 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; 906 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};
906 907
907 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 908 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
908 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 909 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
909 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; 910 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {};
910 } 911 }
911 } // namespace v8::internal 912 } // namespace v8::internal
912 913
913 #endif // V8_RUNTIME_H_ 914 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698