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

Side by Side Diff: src/runtime.h

Issue 17153011: DataView implementation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixes Created 7 years, 6 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
« no previous file with comments | « src/objects-visiting-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »
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 // 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 F(ArrayBufferGetByteLength, 1, 1)\ 362 F(ArrayBufferGetByteLength, 1, 1)\
363 F(ArrayBufferSliceImpl, 3, 1) \ 363 F(ArrayBufferSliceImpl, 3, 1) \
364 \ 364 \
365 F(TypedArrayInitialize, 5, 1) \ 365 F(TypedArrayInitialize, 5, 1) \
366 F(TypedArrayGetBuffer, 1, 1) \ 366 F(TypedArrayGetBuffer, 1, 1) \
367 F(TypedArrayGetByteLength, 1, 1) \ 367 F(TypedArrayGetByteLength, 1, 1) \
368 F(TypedArrayGetByteOffset, 1, 1) \ 368 F(TypedArrayGetByteOffset, 1, 1) \
369 F(TypedArrayGetLength, 1, 1) \ 369 F(TypedArrayGetLength, 1, 1) \
370 F(TypedArraySetFastCases, 3, 1) \ 370 F(TypedArraySetFastCases, 3, 1) \
371 \ 371 \
372 F(DataViewInitialize, 4, 1) \
373 F(DataViewGetBuffer, 1, 1) \
374 F(DataViewGetByteLength, 1, 1) \
375 F(DataViewGetByteOffset, 1, 1) \
376 F(DataViewGetInt8, 3, 1) \
377 F(DataViewGetUint8, 3, 1) \
378 F(DataViewGetInt16, 3, 1) \
379 F(DataViewGetUint16, 3, 1) \
380 F(DataViewGetInt32, 3, 1) \
381 F(DataViewGetUint32, 3, 1) \
382 F(DataViewGetFloat32, 3, 1) \
383 F(DataViewGetFloat64, 3, 1) \
384 \
385 F(DataViewSetInt8, 4, 1) \
386 F(DataViewSetUint8, 4, 1) \
387 F(DataViewSetInt16, 4, 1) \
388 F(DataViewSetUint16, 4, 1) \
389 F(DataViewSetInt32, 4, 1) \
390 F(DataViewSetUint32, 4, 1) \
391 F(DataViewSetFloat32, 4, 1) \
392 F(DataViewSetFloat64, 4, 1) \
393 \
372 /* Statements */ \ 394 /* Statements */ \
373 F(NewClosure, 3, 1) \ 395 F(NewClosure, 3, 1) \
374 F(NewObject, 1, 1) \ 396 F(NewObject, 1, 1) \
375 F(NewObjectFromBound, 1, 1) \ 397 F(NewObjectFromBound, 1, 1) \
376 F(FinalizeInstanceSize, 1, 1) \ 398 F(FinalizeInstanceSize, 1, 1) \
377 F(Throw, 1, 1) \ 399 F(Throw, 1, 1) \
378 F(ReThrow, 1, 1) \ 400 F(ReThrow, 1, 1) \
379 F(ThrowReferenceError, 1, 1) \ 401 F(ThrowReferenceError, 1, 1) \
380 F(ThrowNotDateError, 0, 1) \ 402 F(ThrowNotDateError, 0, 1) \
381 F(StackGuard, 0, 1) \ 403 F(StackGuard, 0, 1) \
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 //--------------------------------------------------------------------------- 809 //---------------------------------------------------------------------------
788 // Constants used by interface to runtime functions. 810 // Constants used by interface to runtime functions.
789 811
790 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 812 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
791 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 813 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
792 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 814 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
793 815
794 } } // namespace v8::internal 816 } } // namespace v8::internal
795 817
796 #endif // V8_RUNTIME_H_ 818 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-visiting-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698