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

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

Issue 2827443002: Reland [typedarrays] Check detached buffer at start of typed array methods (Closed)
Patch Set: rebase Created 3 years, 8 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/objects-inl.h ('k') | src/runtime/runtime-typedarray.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 <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 F(HeapObjectVerify, 1, 1) \ 621 F(HeapObjectVerify, 1, 1) \
622 F(WasmNumInterpretedCalls, 1, 1) \ 622 F(WasmNumInterpretedCalls, 1, 1) \
623 F(RedirectToWasmInterpreter, 2, 1) 623 F(RedirectToWasmInterpreter, 2, 1)
624 624
625 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ 625 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
626 F(ArrayBufferGetByteLength, 1, 1) \ 626 F(ArrayBufferGetByteLength, 1, 1) \
627 F(ArrayBufferNeuter, 1, 1) \ 627 F(ArrayBufferNeuter, 1, 1) \
628 F(TypedArrayCopyElements, 3, 1) \ 628 F(TypedArrayCopyElements, 3, 1) \
629 F(ArrayBufferViewGetByteLength, 1, 1) \ 629 F(ArrayBufferViewGetByteLength, 1, 1) \
630 F(ArrayBufferViewGetByteOffset, 1, 1) \ 630 F(ArrayBufferViewGetByteOffset, 1, 1) \
631 F(ArrayBufferViewWasNeutered, 1, 1) \
631 F(TypedArrayGetLength, 1, 1) \ 632 F(TypedArrayGetLength, 1, 1) \
632 F(TypedArrayGetBuffer, 1, 1) \ 633 F(TypedArrayGetBuffer, 1, 1) \
633 F(TypedArraySetFastCases, 3, 1) \ 634 F(TypedArraySetFastCases, 3, 1) \
634 F(TypedArraySortFast, 1, 1) \ 635 F(TypedArraySortFast, 1, 1) \
635 F(TypedArrayMaxSizeInHeap, 0, 1) \ 636 F(TypedArrayMaxSizeInHeap, 0, 1) \
636 F(IsTypedArray, 1, 1) \ 637 F(IsTypedArray, 1, 1) \
637 F(IsSharedTypedArray, 1, 1) \ 638 F(IsSharedTypedArray, 1, 1) \
638 F(IsSharedIntegerTypedArray, 1, 1) \ 639 F(IsSharedIntegerTypedArray, 1, 1) \
639 F(IsSharedInteger32TypedArray, 1, 1) 640 F(IsSharedInteger32TypedArray, 1, 1)
640 641
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 kMaybeDeopted = 1 << 3, 846 kMaybeDeopted = 1 << 3,
846 kOptimized = 1 << 4, 847 kOptimized = 1 << 4,
847 kTurboFanned = 1 << 5, 848 kTurboFanned = 1 << 5,
848 kInterpreted = 1 << 6, 849 kInterpreted = 1 << 6,
849 }; 850 };
850 851
851 } // namespace internal 852 } // namespace internal
852 } // namespace v8 853 } // namespace v8
853 854
854 #endif // V8_RUNTIME_RUNTIME_H_ 855 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime-typedarray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698