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

Side by Side Diff: src/runtime.h

Issue 13064003: First steps towards implementing ArrayBuffer &co in V8 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added forgotten tests Created 7 years, 9 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.cc ('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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 F(StringToLowerCase, 1, 1) \ 122 F(StringToLowerCase, 1, 1) \
123 F(StringToUpperCase, 1, 1) \ 123 F(StringToUpperCase, 1, 1) \
124 F(StringSplit, 3, 1) \ 124 F(StringSplit, 3, 1) \
125 F(CharFromCode, 1, 1) \ 125 F(CharFromCode, 1, 1) \
126 F(URIEscape, 1, 1) \ 126 F(URIEscape, 1, 1) \
127 F(URIUnescape, 1, 1) \ 127 F(URIUnescape, 1, 1) \
128 \ 128 \
129 F(NumberToString, 1, 1) \ 129 F(NumberToString, 1, 1) \
130 F(NumberToStringSkipCache, 1, 1) \ 130 F(NumberToStringSkipCache, 1, 1) \
131 F(NumberToInteger, 1, 1) \ 131 F(NumberToInteger, 1, 1) \
132 F(NumberToPositiveInteger, 1, 1) \
132 F(NumberToIntegerMapMinusZero, 1, 1) \ 133 F(NumberToIntegerMapMinusZero, 1, 1) \
133 F(NumberToJSUint32, 1, 1) \ 134 F(NumberToJSUint32, 1, 1) \
134 F(NumberToJSInt32, 1, 1) \ 135 F(NumberToJSInt32, 1, 1) \
135 F(NumberToSmi, 1, 1) \ 136 F(NumberToSmi, 1, 1) \
136 F(AllocateHeapNumber, 0, 1) \ 137 F(AllocateHeapNumber, 0, 1) \
137 \ 138 \
138 /* Arithmetic operations */ \ 139 /* Arithmetic operations */ \
139 F(NumberAdd, 2, 1) \ 140 F(NumberAdd, 2, 1) \
140 F(NumberSub, 2, 1) \ 141 F(NumberSub, 2, 1) \
141 F(NumberMul, 2, 1) \ 142 F(NumberMul, 2, 1) \
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 F(WeakMapSet, 3, 1) \ 334 F(WeakMapSet, 3, 1) \
334 \ 335 \
335 /* Harmony observe */ \ 336 /* Harmony observe */ \
336 F(IsObserved, 1, 1) \ 337 F(IsObserved, 1, 1) \
337 F(SetIsObserved, 2, 1) \ 338 F(SetIsObserved, 2, 1) \
338 F(SetObserverDeliveryPending, 0, 1) \ 339 F(SetObserverDeliveryPending, 0, 1) \
339 F(GetObservationState, 0, 1) \ 340 F(GetObservationState, 0, 1) \
340 F(ObservationWeakMapCreate, 0, 1) \ 341 F(ObservationWeakMapCreate, 0, 1) \
341 F(UnwrapGlobalProxy, 1, 1) \ 342 F(UnwrapGlobalProxy, 1, 1) \
342 \ 343 \
344 /* Harmony typed arrays */ \
345 F(ArrayBufferInitialize, 2, 1)\
346 F(ArrayBufferGetByteLength, 1, 1)\
347 F(ArrayBufferSliceImpl, 3, 1) \
348 \
343 /* Statements */ \ 349 /* Statements */ \
344 F(NewClosure, 3, 1) \ 350 F(NewClosure, 3, 1) \
345 F(NewObject, 1, 1) \ 351 F(NewObject, 1, 1) \
346 F(NewObjectFromBound, 1, 1) \ 352 F(NewObjectFromBound, 1, 1) \
347 F(FinalizeInstanceSize, 1, 1) \ 353 F(FinalizeInstanceSize, 1, 1) \
348 F(Throw, 1, 1) \ 354 F(Throw, 1, 1) \
349 F(ReThrow, 1, 1) \ 355 F(ReThrow, 1, 1) \
350 F(ThrowReferenceError, 1, 1) \ 356 F(ThrowReferenceError, 1, 1) \
351 F(ThrowNotDateError, 0, 1) \ 357 F(ThrowNotDateError, 0, 1) \
352 F(StackGuard, 0, 1) \ 358 F(StackGuard, 0, 1) \
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 //--------------------------------------------------------------------------- 722 //---------------------------------------------------------------------------
717 // Constants used by interface to runtime functions. 723 // Constants used by interface to runtime functions.
718 724
719 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 725 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
720 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 726 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
721 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 727 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
722 728
723 } } // namespace v8::internal 729 } } // namespace v8::internal
724 730
725 #endif // V8_RUNTIME_H_ 731 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-visiting.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698