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

Side by Side Diff: src/elements.h

Issue 1247243003: The ArrayConcat builtin didn't respect @@isConcatSp (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix builtin rather than removing it Created 5 years, 4 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_ELEMENTS_H_ 5 #ifndef V8_ELEMENTS_H_
6 #define V8_ELEMENTS_H_ 6 #define V8_ELEMENTS_H_
7 7
8 #include "src/elements-kind.h" 8 #include "src/elements-kind.h"
9 #include "src/heap/heap.h" 9 #include "src/heap/heap.h"
10 #include "src/isolate.h" 10 #include "src/isolate.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 DISALLOW_COPY_AND_ASSIGN(ElementsAccessor); 149 DISALLOW_COPY_AND_ASSIGN(ElementsAccessor);
150 }; 150 };
151 151
152 void CheckArrayAbuse(Handle<JSObject> obj, const char* op, uint32_t index, 152 void CheckArrayAbuse(Handle<JSObject> obj, const char* op, uint32_t index,
153 bool allow_appending = false); 153 bool allow_appending = false);
154 154
155 MUST_USE_RESULT MaybeHandle<Object> ArrayConstructInitializeElements( 155 MUST_USE_RESULT MaybeHandle<Object> ArrayConstructInitializeElements(
156 Handle<JSArray> array, 156 Handle<JSArray> array,
157 Arguments* args); 157 Arguments* args);
158 158
159 bool IsConcatSpreadable(Isolate* isolate, Handle<Object> obj);
160
159 } } // namespace v8::internal 161 } } // namespace v8::internal
160 162
161 #endif // V8_ELEMENTS_H_ 163 #endif // V8_ELEMENTS_H_
OLDNEW
« src/builtins.cc ('K') | « src/builtins.cc ('k') | src/elements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698