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

Side by Side Diff: src/runtime.h

Issue 25700010: Implement ArrayBuffer.isView. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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/arraybuffer.js ('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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 F(SetObserverDeliveryPending, 0, 1) \ 355 F(SetObserverDeliveryPending, 0, 1) \
356 F(GetObservationState, 0, 1) \ 356 F(GetObservationState, 0, 1) \
357 F(ObservationWeakMapCreate, 0, 1) \ 357 F(ObservationWeakMapCreate, 0, 1) \
358 F(UnwrapGlobalProxy, 1, 1) \ 358 F(UnwrapGlobalProxy, 1, 1) \
359 F(IsAccessAllowedForObserver, 3, 1) \ 359 F(IsAccessAllowedForObserver, 3, 1) \
360 \ 360 \
361 /* Harmony typed arrays */ \ 361 /* Harmony typed arrays */ \
362 F(ArrayBufferInitialize, 2, 1)\ 362 F(ArrayBufferInitialize, 2, 1)\
363 F(ArrayBufferGetByteLength, 1, 1)\ 363 F(ArrayBufferGetByteLength, 1, 1)\
364 F(ArrayBufferSliceImpl, 3, 1) \ 364 F(ArrayBufferSliceImpl, 3, 1) \
365 F(ArrayBufferIsView, 1, 1) \
365 \ 366 \
366 F(TypedArrayInitialize, 5, 1) \ 367 F(TypedArrayInitialize, 5, 1) \
367 F(TypedArrayInitializeFromArrayLike, 4, 1) \ 368 F(TypedArrayInitializeFromArrayLike, 4, 1) \
368 F(TypedArrayGetBuffer, 1, 1) \ 369 F(TypedArrayGetBuffer, 1, 1) \
369 F(TypedArrayGetByteLength, 1, 1) \ 370 F(TypedArrayGetByteLength, 1, 1) \
370 F(TypedArrayGetByteOffset, 1, 1) \ 371 F(TypedArrayGetByteOffset, 1, 1) \
371 F(TypedArrayGetLength, 1, 1) \ 372 F(TypedArrayGetLength, 1, 1) \
372 F(TypedArraySetFastCases, 3, 1) \ 373 F(TypedArraySetFastCases, 3, 1) \
373 \ 374 \
374 F(DataViewInitialize, 4, 1) \ 375 F(DataViewInitialize, 4, 1) \
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 //--------------------------------------------------------------------------- 850 //---------------------------------------------------------------------------
850 // Constants used by interface to runtime functions. 851 // Constants used by interface to runtime functions.
851 852
852 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 853 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
853 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 854 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
854 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 855 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
855 856
856 } } // namespace v8::internal 857 } } // namespace v8::internal
857 858
858 #endif // V8_RUNTIME_H_ 859 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/arraybuffer.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698