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

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

Issue 1191283003: [date] Use explicit control flow to replace %_ThrowIfNotADate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/ppc/full-codegen-ppc.cc ('k') | src/runtime/runtime-date.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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 F(NotifyDeoptimized, 1, 1) \ 127 F(NotifyDeoptimized, 1, 1) \
128 F(CompileForOnStackReplacement, 1, 1) \ 128 F(CompileForOnStackReplacement, 1, 1) \
129 F(TryInstallOptimizedCode, 1, 1) \ 129 F(TryInstallOptimizedCode, 1, 1) \
130 F(CompileString, 2, 1) \ 130 F(CompileString, 2, 1) \
131 F(ResolvePossiblyDirectEval, 5, 1) 131 F(ResolvePossiblyDirectEval, 5, 1)
132 132
133 133
134 #define FOR_EACH_INTRINSIC_DATE(F) \ 134 #define FOR_EACH_INTRINSIC_DATE(F) \
135 F(DateMakeDay, 2, 1) \ 135 F(DateMakeDay, 2, 1) \
136 F(DateSetValue, 3, 1) \ 136 F(DateSetValue, 3, 1) \
137 F(ThrowIfNotADate, 1, 1) \ 137 F(IsDate, 1, 1) \
138 F(ThrowNotDateError, 0, 1) \ 138 F(ThrowNotDateError, 0, 1) \
139 F(DateCurrentTime, 0, 1) \ 139 F(DateCurrentTime, 0, 1) \
140 F(DateParseString, 2, 1) \ 140 F(DateParseString, 2, 1) \
141 F(DateLocalTimezone, 1, 1) \ 141 F(DateLocalTimezone, 1, 1) \
142 F(DateToUTC, 1, 1) \ 142 F(DateToUTC, 1, 1) \
143 F(DateCacheVersion, 0, 1) \ 143 F(DateCacheVersion, 0, 1) \
144 F(DateField, 2 /* date object, field index */, 1) 144 F(DateField, 2 /* date object, field index */, 1)
145 145
146 146
147 #define FOR_EACH_INTRINSIC_DEBUG(F) \ 147 #define FOR_EACH_INTRINSIC_DEBUG(F) \
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 inline bool Runtime::AtomicIsLockFree(uint32_t size) { 924 inline bool Runtime::AtomicIsLockFree(uint32_t size) {
925 return size == 1 || size == 2 || size == 4; 925 return size == 1 || size == 2 || size == 4;
926 } 926 }
927 927
928 #endif 928 #endif
929 929
930 } // namespace internal 930 } // namespace internal
931 } // namespace v8 931 } // namespace v8
932 932
933 #endif // V8_RUNTIME_RUNTIME_H_ 933 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ppc/full-codegen-ppc.cc ('k') | src/runtime/runtime-date.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698