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

Side by Side Diff: include/v8.h

Issue 2784543004: Expose %IteratorPrototype% as an intrinsic in the public API. (Closed)
Patch Set: Do not use deprecated API calls in the tests 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 | « no previous file | test/cctest/test-api.cc » ('j') | test/cctest/test-api.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 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 4664 matching lines...) Expand 10 before | Expand all | Expand 10 after
4675 V8_INLINE static External* Cast(Value* obj); 4675 V8_INLINE static External* Cast(Value* obj);
4676 void* Value() const; 4676 void* Value() const;
4677 private: 4677 private:
4678 static void CheckCast(v8::Value* obj); 4678 static void CheckCast(v8::Value* obj);
4679 }; 4679 };
4680 4680
4681 #define V8_INTRINSICS_LIST(F) \ 4681 #define V8_INTRINSICS_LIST(F) \
4682 F(ArrayProto_entries, array_entries_iterator) \ 4682 F(ArrayProto_entries, array_entries_iterator) \
4683 F(ArrayProto_forEach, array_for_each_iterator) \ 4683 F(ArrayProto_forEach, array_for_each_iterator) \
4684 F(ArrayProto_keys, array_keys_iterator) \ 4684 F(ArrayProto_keys, array_keys_iterator) \
4685 F(ArrayProto_values, array_values_iterator) 4685 F(ArrayProto_values, array_values_iterator) \
4686 F(IteratorPrototype, initial_iterator_prototype)
4686 4687
4687 enum Intrinsic { 4688 enum Intrinsic {
4688 #define V8_DECL_INTRINSIC(name, iname) k##name, 4689 #define V8_DECL_INTRINSIC(name, iname) k##name,
4689 V8_INTRINSICS_LIST(V8_DECL_INTRINSIC) 4690 V8_INTRINSICS_LIST(V8_DECL_INTRINSIC)
4690 #undef V8_DECL_INTRINSIC 4691 #undef V8_DECL_INTRINSIC
4691 }; 4692 };
4692 4693
4693 4694
4694 // --- Templates --- 4695 // --- Templates ---
4695 4696
(...skipping 5206 matching lines...) Expand 10 before | Expand all | Expand 10 after
9902 */ 9903 */
9903 9904
9904 9905
9905 } // namespace v8 9906 } // namespace v8
9906 9907
9907 9908
9908 #undef TYPE_CHECK 9909 #undef TYPE_CHECK
9909 9910
9910 9911
9911 #endif // INCLUDE_V8_H_ 9912 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | test/cctest/test-api.cc » ('j') | test/cctest/test-api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698