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

Side by Side Diff: src/objects.h

Issue 2126603003: [builtins] Migrate ArrayBufferPrototypeByteLength to C++. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add comment with ES6 section 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/arraybuffer.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 6756 matching lines...) Expand 10 before | Expand all | Expand 10 after
6767 kArrayCode, 6767 kArrayCode,
6768 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ 6768 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \
6769 k##name, 6769 k##name,
6770 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) 6770 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID)
6771 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) 6771 ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID)
6772 #undef DECLARE_FUNCTION_ID 6772 #undef DECLARE_FUNCTION_ID
6773 // Fake id for a special case of Math.pow. Note, it continues the 6773 // Fake id for a special case of Math.pow. Note, it continues the
6774 // list of math functions. 6774 // list of math functions.
6775 kMathPowHalf, 6775 kMathPowHalf,
6776 // These are manually assigned to special getters during bootstrapping. 6776 // These are manually assigned to special getters during bootstrapping.
6777 kArrayBufferByteLength,
6777 kDataViewBuffer, 6778 kDataViewBuffer,
6778 kDataViewByteLength, 6779 kDataViewByteLength,
6779 kDataViewByteOffset, 6780 kDataViewByteOffset,
6780 kTypedArrayByteLength, 6781 kTypedArrayByteLength,
6781 kTypedArrayByteOffset, 6782 kTypedArrayByteOffset,
6782 kTypedArrayLength, 6783 kTypedArrayLength,
6783 }; 6784 };
6784 6785
6785 6786
6786 // Result of searching in an optimized code map of a SharedFunctionInfo. Note 6787 // Result of searching in an optimized code map of a SharedFunctionInfo. Note
(...skipping 4182 matching lines...) Expand 10 before | Expand all | Expand 10 after
10969 } 10970 }
10970 return value; 10971 return value;
10971 } 10972 }
10972 }; 10973 };
10973 10974
10974 10975
10975 } // NOLINT, false-positive due to second-order macros. 10976 } // NOLINT, false-positive due to second-order macros.
10976 } // NOLINT, false-positive due to second-order macros. 10977 } // NOLINT, false-positive due to second-order macros.
10977 10978
10978 #endif // V8_OBJECTS_H_ 10979 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/js/arraybuffer.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698