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

Side by Side Diff: src/runtime.h

Issue 14581005: Implement TypedArray.set function. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: CR feedback Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 /* Harmony typed arrays */ \ 354 /* Harmony typed arrays */ \
355 F(ArrayBufferInitialize, 2, 1)\ 355 F(ArrayBufferInitialize, 2, 1)\
356 F(ArrayBufferGetByteLength, 1, 1)\ 356 F(ArrayBufferGetByteLength, 1, 1)\
357 F(ArrayBufferSliceImpl, 3, 1) \ 357 F(ArrayBufferSliceImpl, 3, 1) \
358 \ 358 \
359 F(TypedArrayInitialize, 5, 1) \ 359 F(TypedArrayInitialize, 5, 1) \
360 F(TypedArrayGetBuffer, 1, 1) \ 360 F(TypedArrayGetBuffer, 1, 1) \
361 F(TypedArrayGetByteLength, 1, 1) \ 361 F(TypedArrayGetByteLength, 1, 1) \
362 F(TypedArrayGetByteOffset, 1, 1) \ 362 F(TypedArrayGetByteOffset, 1, 1) \
363 F(TypedArrayGetLength, 1, 1) \ 363 F(TypedArrayGetLength, 1, 1) \
364 F(TypedArraySetFastCases, 3, 1) \
364 \ 365 \
365 /* Statements */ \ 366 /* Statements */ \
366 F(NewClosure, 3, 1) \ 367 F(NewClosure, 3, 1) \
367 F(NewObject, 1, 1) \ 368 F(NewObject, 1, 1) \
368 F(NewObjectFromBound, 1, 1) \ 369 F(NewObjectFromBound, 1, 1) \
369 F(FinalizeInstanceSize, 1, 1) \ 370 F(FinalizeInstanceSize, 1, 1) \
370 F(Throw, 1, 1) \ 371 F(Throw, 1, 1) \
371 F(ReThrow, 1, 1) \ 372 F(ReThrow, 1, 1) \
372 F(ThrowReferenceError, 1, 1) \ 373 F(ThrowReferenceError, 1, 1) \
373 F(ThrowNotDateError, 0, 1) \ 374 F(ThrowNotDateError, 0, 1) \
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 //--------------------------------------------------------------------------- 775 //---------------------------------------------------------------------------
775 // Constants used by interface to runtime functions. 776 // Constants used by interface to runtime functions.
776 777
777 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 778 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
778 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 779 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
779 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 780 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
780 781
781 } } // namespace v8::internal 782 } } // namespace v8::internal
782 783
783 #endif // V8_RUNTIME_H_ 784 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | test/mjsunit/harmony/typedarrays.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698