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

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

Issue 754863002: Optimize testing for an index's existence in packed Arrays (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: All fixed Created 6 years 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-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 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 F(DebugBreakInOptimizedCode, 0, 1) \ 697 F(DebugBreakInOptimizedCode, 0, 1) \
698 F(ClassOf, 1, 1) \ 698 F(ClassOf, 1, 1) \
699 F(StringCharCodeAt, 2, 1) \ 699 F(StringCharCodeAt, 2, 1) \
700 F(StringAdd, 2, 1) \ 700 F(StringAdd, 2, 1) \
701 F(SubString, 3, 1) \ 701 F(SubString, 3, 1) \
702 F(StringCompare, 2, 1) \ 702 F(StringCompare, 2, 1) \
703 F(RegExpExec, 4, 1) \ 703 F(RegExpExec, 4, 1) \
704 F(RegExpConstructResult, 3, 1) \ 704 F(RegExpConstructResult, 3, 1) \
705 F(GetFromCache, 2, 1) \ 705 F(GetFromCache, 2, 1) \
706 F(NumberToString, 1, 1) \ 706 F(NumberToString, 1, 1) \
707 F(DebugIsActive, 0, 1) 707 F(DebugIsActive, 0, 1) \
708 F(HasFastPackedElements, 1, 1)
Dmitry Lomov (no reviews) 2014/11/27 07:17:54 Is it critical for HasFastPackedElements to be INL
adamk 2014/12/02 19:36:20 Not sure what counts as "critical". Sure, the impl
708 709
709 710
710 // ---------------------------------------------------------------------------- 711 // ----------------------------------------------------------------------------
711 // INLINE_OPTIMIZED_FUNCTION_LIST defines all inlined functions accessed 712 // INLINE_OPTIMIZED_FUNCTION_LIST defines all inlined functions accessed
712 // with a native call of the form %_name from within JS code that also have 713 // with a native call of the form %_name from within JS code that also have
713 // a corresponding runtime function, that is called from non-optimized code. 714 // a corresponding runtime function, that is called from non-optimized code.
714 // For the benefit of (fuzz) tests, the runtime version can also be called 715 // For the benefit of (fuzz) tests, the runtime version can also be called
715 // directly as %name (i.e. without the leading underscore). 716 // directly as %name (i.e. without the leading underscore).
716 // Entries have the form F(name, number of arguments, number of return values). 717 // Entries have the form F(name, number of arguments, number of return values).
717 #define INLINE_OPTIMIZED_FUNCTION_LIST(F) \ 718 #define INLINE_OPTIMIZED_FUNCTION_LIST(F) \
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; 890 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};
890 891
891 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 892 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
892 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 893 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
893 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; 894 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {};
894 895
895 } // namespace internal 896 } // namespace internal
896 } // namespace v8 897 } // namespace v8
897 898
898 #endif // V8_RUNTIME_RUNTIME_H_ 899 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698