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

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

Issue 2814683002: [builtins] Implement %TypedArray%.prototype.map in the CSA (Closed)
Patch Set: switched to BIND macro 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
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 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 F(DisallowCodegenFromStrings, 0, 1) \ 612 F(DisallowCodegenFromStrings, 0, 1) \
613 F(ValidateWasmInstancesChain, 2, 1) \ 613 F(ValidateWasmInstancesChain, 2, 1) \
614 F(ValidateWasmModuleState, 1, 1) \ 614 F(ValidateWasmModuleState, 1, 1) \
615 F(ValidateWasmOrphanedInstance, 1, 1) \ 615 F(ValidateWasmOrphanedInstance, 1, 1) \
616 F(SetWasmCompileControls, 2, 1) \ 616 F(SetWasmCompileControls, 2, 1) \
617 F(SetWasmInstantiateControls, 0, 1) \ 617 F(SetWasmInstantiateControls, 0, 1) \
618 F(HeapObjectVerify, 1, 1) \ 618 F(HeapObjectVerify, 1, 1) \
619 F(WasmNumInterpretedCalls, 1, 1) \ 619 F(WasmNumInterpretedCalls, 1, 1) \
620 F(RedirectToWasmInterpreter, 2, 1) 620 F(RedirectToWasmInterpreter, 2, 1)
621 621
622 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ 622 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
623 F(ArrayBufferGetByteLength, 1, 1) \ 623 F(ArrayBufferGetByteLength, 1, 1) \
624 F(ArrayBufferNeuter, 1, 1) \ 624 F(ArrayBufferNeuter, 1, 1) \
625 F(ArrayBufferViewGetByteLength, 1, 1) \ 625 F(ArrayBufferViewGetByteLength, 1, 1) \
626 F(ArrayBufferViewGetByteOffset, 1, 1) \ 626 F(ArrayBufferViewGetByteOffset, 1, 1) \
627 F(TypedArrayGetLength, 1, 1) \ 627 F(TypedArrayGetLength, 1, 1) \
628 F(TypedArrayGetBuffer, 1, 1) \ 628 F(TypedArrayGetBuffer, 1, 1) \
629 F(TypedArraySetFastCases, 3, 1) \ 629 F(TypedArraySetFastCases, 3, 1) \
630 F(TypedArraySortFast, 1, 1) \ 630 F(TypedArraySortFast, 1, 1) \
631 F(TypedArrayMaxSizeInHeap, 0, 1) \ 631 F(TypedArrayMaxSizeInHeap, 0, 1) \
632 F(IsTypedArray, 1, 1) \ 632 F(IsTypedArray, 1, 1) \
633 F(IsSharedTypedArray, 1, 1) \ 633 F(IsSharedTypedArray, 1, 1) \
634 F(IsSharedIntegerTypedArray, 1, 1) \ 634 F(IsSharedIntegerTypedArray, 1, 1) \
635 F(IsSharedInteger32TypedArray, 1, 1) 635 F(IsSharedInteger32TypedArray, 1, 1) \
636 F(TypedArraySpeciesCreateByLength, 2, 1)
636 637
637 #define FOR_EACH_INTRINSIC_WASM(F) \ 638 #define FOR_EACH_INTRINSIC_WASM(F) \
638 F(WasmGrowMemory, 1, 1) \ 639 F(WasmGrowMemory, 1, 1) \
639 F(WasmMemorySize, 0, 1) \ 640 F(WasmMemorySize, 0, 1) \
640 F(ThrowWasmError, 2, 1) \ 641 F(ThrowWasmError, 2, 1) \
641 F(ThrowWasmErrorFromTrapIf, 1, 1) \ 642 F(ThrowWasmErrorFromTrapIf, 1, 1) \
642 F(ThrowWasmStackOverflow, 0, 1) \ 643 F(ThrowWasmStackOverflow, 0, 1) \
643 F(WasmThrowTypeError, 0, 1) \ 644 F(WasmThrowTypeError, 0, 1) \
644 F(WasmThrow, 2, 1) \ 645 F(WasmThrow, 2, 1) \
645 F(WasmGetCaughtExceptionValue, 1, 1) \ 646 F(WasmGetCaughtExceptionValue, 1, 1) \
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 kMaybeDeopted = 1 << 3, 842 kMaybeDeopted = 1 << 3,
842 kOptimized = 1 << 4, 843 kOptimized = 1 << 4,
843 kTurboFanned = 1 << 5, 844 kTurboFanned = 1 << 5,
844 kInterpreted = 1 << 6, 845 kInterpreted = 1 << 6,
845 }; 846 };
846 847
847 } // namespace internal 848 } // namespace internal
848 } // namespace v8 849 } // namespace v8
849 850
850 #endif // V8_RUNTIME_RUNTIME_H_ 851 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« src/objects-inl.h ('K') | « 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