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

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

Issue 799803003: Fix ArrayConcat for JSValues/JSFunctions/JSRegExps with @@isConcatSpreadable (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | src/runtime/runtime-array.cc » ('j') | src/runtime/runtime-array.cc » ('J')
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 833 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 static bool SetupArrayBufferAllocatingData(Isolate* isolate, 844 static bool SetupArrayBufferAllocatingData(Isolate* isolate,
845 Handle<JSArrayBuffer> array_buffer, 845 Handle<JSArrayBuffer> array_buffer,
846 size_t allocated_length, 846 size_t allocated_length,
847 bool initialize = true); 847 bool initialize = true);
848 848
849 static void NeuterArrayBuffer(Handle<JSArrayBuffer> array_buffer); 849 static void NeuterArrayBuffer(Handle<JSArrayBuffer> array_buffer);
850 850
851 static void FreeArrayBuffer(Isolate* isolate, 851 static void FreeArrayBuffer(Isolate* isolate,
852 JSArrayBuffer* phantom_array_buffer); 852 JSArrayBuffer* phantom_array_buffer);
853 853
854 static Handle<JSArray> StringToArray(Isolate* isolate, Handle<String> string,
855 uint32_t limit = 0xFFFFFFFF);
856
854 static int FindIndexedNonNativeFrame(JavaScriptFrameIterator* it, int index); 857 static int FindIndexedNonNativeFrame(JavaScriptFrameIterator* it, int index);
855 858
856 enum TypedArrayId { 859 enum TypedArrayId {
857 // arrayIds below should be synchromized with typedarray.js natives. 860 // arrayIds below should be synchromized with typedarray.js natives.
858 ARRAY_ID_UINT8 = 1, 861 ARRAY_ID_UINT8 = 1,
859 ARRAY_ID_INT8 = 2, 862 ARRAY_ID_INT8 = 2,
860 ARRAY_ID_UINT16 = 3, 863 ARRAY_ID_UINT16 = 3,
861 ARRAY_ID_INT16 = 4, 864 ARRAY_ID_INT16 = 4,
862 ARRAY_ID_UINT32 = 5, 865 ARRAY_ID_UINT32 = 5,
863 ARRAY_ID_INT32 = 6, 866 ARRAY_ID_INT32 = 6,
(...skipping 25 matching lines...) Expand all
889 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; 892 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};
890 893
891 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 894 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
892 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 895 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
893 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; 896 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {};
894 897
895 } // namespace internal 898 } // namespace internal
896 } // namespace v8 899 } // namespace v8
897 900
898 #endif // V8_RUNTIME_RUNTIME_H_ 901 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « no previous file | src/runtime/runtime-array.cc » ('j') | src/runtime/runtime-array.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698