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

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

Issue 1985423003: Invalidate defaultObjects if timezone changes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: added unit test for function DateCacheVersion Created 4 years, 7 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
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/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 F(CompileOptimized_NotConcurrent, 1, 1) \ 126 F(CompileOptimized_NotConcurrent, 1, 1) \
127 F(NotifyStubFailure, 0, 1) \ 127 F(NotifyStubFailure, 0, 1) \
128 F(NotifyDeoptimized, 1, 1) \ 128 F(NotifyDeoptimized, 1, 1) \
129 F(CompileForOnStackReplacement, 1, 1) \ 129 F(CompileForOnStackReplacement, 1, 1) \
130 F(TryInstallOptimizedCode, 1, 1) \ 130 F(TryInstallOptimizedCode, 1, 1) \
131 F(ResolvePossiblyDirectEval, 6, 1) 131 F(ResolvePossiblyDirectEval, 6, 1)
132 132
133 #define FOR_EACH_INTRINSIC_DATE(F) \ 133 #define FOR_EACH_INTRINSIC_DATE(F) \
134 F(IsDate, 1, 1) \ 134 F(IsDate, 1, 1) \
135 F(DateCurrentTime, 0, 1) \ 135 F(DateCurrentTime, 0, 1) \
136 F(DateCacheVersion, 0, 1) \
136 F(ThrowNotDateError, 0, 1) 137 F(ThrowNotDateError, 0, 1)
137 138
138 #define FOR_EACH_INTRINSIC_DEBUG(F) \ 139 #define FOR_EACH_INTRINSIC_DEBUG(F) \
139 F(HandleDebuggerStatement, 0, 1) \ 140 F(HandleDebuggerStatement, 0, 1) \
140 F(DebugBreak, 1, 1) \ 141 F(DebugBreak, 1, 1) \
141 F(DebugBreakOnBytecode, 1, 1) \ 142 F(DebugBreakOnBytecode, 1, 1) \
142 F(SetDebugEventListener, 2, 1) \ 143 F(SetDebugEventListener, 2, 1) \
143 F(ScheduleBreak, 0, 1) \ 144 F(ScheduleBreak, 0, 1) \
144 F(DebugGetInternalProperties, 1, 1) \ 145 F(DebugGetInternalProperties, 1, 1) \
145 F(DebugGetPropertyDetails, 2, 1) \ 146 F(DebugGetPropertyDetails, 2, 1) \
(...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after
1167 1168
1168 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1169 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1169 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1170 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1170 STATIC_ASSERT(LANGUAGE_END == 3); 1171 STATIC_ASSERT(LANGUAGE_END == 3);
1171 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1172 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1172 1173
1173 } // namespace internal 1174 } // namespace internal
1174 } // namespace v8 1175 } // namespace v8
1175 1176
1176 #endif // V8_RUNTIME_RUNTIME_H_ 1177 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/js/i18n.js ('k') | src/runtime/runtime-date.cc » ('j') | src/runtime/runtime-date.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698