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

Side by Side Diff: src/runtime/runtime.h

Issue 1216463003: [strong] Implement strong mode semantics for the count operation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cl feedback + eliminate runtime check Created 5 years, 5 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 | « src/runtime.js ('k') | src/runtime/runtime-internal.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 // 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 #ifndef V8_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 F(CheckIsBootstrapping, 0, 1) \ 293 F(CheckIsBootstrapping, 0, 1) \
294 F(Throw, 1, 1) \ 294 F(Throw, 1, 1) \
295 F(ReThrow, 1, 1) \ 295 F(ReThrow, 1, 1) \
296 F(UnwindAndFindExceptionHandler, 0, 1) \ 296 F(UnwindAndFindExceptionHandler, 0, 1) \
297 F(PromoteScheduledException, 0, 1) \ 297 F(PromoteScheduledException, 0, 1) \
298 F(ThrowReferenceError, 1, 1) \ 298 F(ThrowReferenceError, 1, 1) \
299 F(NewTypeError, 2, 1) \ 299 F(NewTypeError, 2, 1) \
300 F(NewSyntaxError, 2, 1) \ 300 F(NewSyntaxError, 2, 1) \
301 F(NewReferenceError, 2, 1) \ 301 F(NewReferenceError, 2, 1) \
302 F(ThrowIteratorResultNotAnObject, 1, 1) \ 302 F(ThrowIteratorResultNotAnObject, 1, 1) \
303 F(ThrowStrongModeImplicitConversion, 0, 1) \
303 F(PromiseRejectEvent, 3, 1) \ 304 F(PromiseRejectEvent, 3, 1) \
304 F(PromiseRevokeReject, 1, 1) \ 305 F(PromiseRevokeReject, 1, 1) \
305 F(PromiseHasHandlerSymbol, 0, 1) \ 306 F(PromiseHasHandlerSymbol, 0, 1) \
306 F(StackGuard, 0, 1) \ 307 F(StackGuard, 0, 1) \
307 F(Interrupt, 0, 1) \ 308 F(Interrupt, 0, 1) \
308 F(AllocateInNewSpace, 1, 1) \ 309 F(AllocateInNewSpace, 1, 1) \
309 F(AllocateInTargetSpace, 2, 1) \ 310 F(AllocateInTargetSpace, 2, 1) \
310 F(CollectStackTrace, 2, 1) \ 311 F(CollectStackTrace, 2, 1) \
311 F(RenderCallSite, 0, 1) \ 312 F(RenderCallSite, 0, 1) \
312 F(GetFromCacheRT, 2, 1) \ 313 F(GetFromCacheRT, 2, 1) \
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 930 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
930 return size == 1 || size == 2 || size == 4; 931 return size == 1 || size == 2 || size == 4;
931 } 932 }
932 933
933 #endif 934 #endif
934 935
935 } // namespace internal 936 } // namespace internal
936 } // namespace v8 937 } // namespace v8
937 938
938 #endif // V8_RUNTIME_RUNTIME_H_ 939 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698