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

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

Issue 2117273002: Revert of [intrinsic] Drop the %_ValueOf intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/js/v8natives.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/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 F(UnwindAndFindExceptionHandler, 0, 1) \ 286 F(UnwindAndFindExceptionHandler, 0, 1) \
287 F(PromoteScheduledException, 0, 1) \ 287 F(PromoteScheduledException, 0, 1) \
288 F(ThrowReferenceError, 1, 1) \ 288 F(ThrowReferenceError, 1, 1) \
289 F(ThrowApplyNonFunction, 1, 1) \ 289 F(ThrowApplyNonFunction, 1, 1) \
290 F(NewTypeError, 2, 1) \ 290 F(NewTypeError, 2, 1) \
291 F(NewSyntaxError, 2, 1) \ 291 F(NewSyntaxError, 2, 1) \
292 F(NewReferenceError, 2, 1) \ 292 F(NewReferenceError, 2, 1) \
293 F(ThrowIllegalInvocation, 0, 1) \ 293 F(ThrowIllegalInvocation, 0, 1) \
294 F(ThrowIncompatibleMethodReceiver, 2, 1) \ 294 F(ThrowIncompatibleMethodReceiver, 2, 1) \
295 F(ThrowIteratorResultNotAnObject, 1, 1) \ 295 F(ThrowIteratorResultNotAnObject, 1, 1) \
296 F(ThrowNotGeneric, 1, 1) \
297 F(ThrowGeneratorRunning, 0, 1) \ 296 F(ThrowGeneratorRunning, 0, 1) \
298 F(ThrowStackOverflow, 0, 1) \ 297 F(ThrowStackOverflow, 0, 1) \
299 F(ThrowWasmError, 2, 1) \ 298 F(ThrowWasmError, 2, 1) \
300 F(PromiseRejectEvent, 3, 1) \ 299 F(PromiseRejectEvent, 3, 1) \
301 F(PromiseRevokeReject, 1, 1) \ 300 F(PromiseRevokeReject, 1, 1) \
302 F(StackGuard, 0, 1) \ 301 F(StackGuard, 0, 1) \
303 F(Interrupt, 0, 1) \ 302 F(Interrupt, 0, 1) \
304 F(AllocateInNewSpace, 1, 1) \ 303 F(AllocateInNewSpace, 1, 1) \
305 F(AllocateInTargetSpace, 2, 1) \ 304 F(AllocateInTargetSpace, 2, 1) \
306 F(AllocateSeqOneByteString, 1, 1) \ 305 F(AllocateSeqOneByteString, 1, 1) \
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 F(LiveEditFunctionSetScript, 2, 1) \ 347 F(LiveEditFunctionSetScript, 2, 1) \
349 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ 348 F(LiveEditReplaceRefToNestedFunction, 3, 1) \
350 F(LiveEditPatchFunctionPositions, 2, 1) \ 349 F(LiveEditPatchFunctionPositions, 2, 1) \
351 F(LiveEditCheckAndDropActivations, 3, 1) \ 350 F(LiveEditCheckAndDropActivations, 3, 1) \
352 F(LiveEditCompareStrings, 2, 1) \ 351 F(LiveEditCompareStrings, 2, 1) \
353 F(LiveEditRestartFrame, 2, 1) 352 F(LiveEditRestartFrame, 2, 1)
354 353
355 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 1, 1) 354 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 1, 1)
356 355
357 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ 356 #define FOR_EACH_INTRINSIC_NUMBERS(F) \
357 F(NumberToRadixString, 2, 1) \
358 F(NumberToFixed, 2, 1) \
359 F(NumberToExponential, 2, 1) \
360 F(NumberToPrecision, 2, 1) \
358 F(IsValidSmi, 1, 1) \ 361 F(IsValidSmi, 1, 1) \
359 F(StringToNumber, 1, 1) \ 362 F(StringToNumber, 1, 1) \
360 F(StringParseInt, 2, 1) \ 363 F(StringParseInt, 2, 1) \
361 F(StringParseFloat, 1, 1) \ 364 F(StringParseFloat, 1, 1) \
362 F(NumberToString, 1, 1) \ 365 F(NumberToString, 1, 1) \
363 F(NumberToStringSkipCache, 1, 1) \ 366 F(NumberToStringSkipCache, 1, 1) \
364 F(NumberToSmi, 1, 1) \ 367 F(NumberToSmi, 1, 1) \
365 F(SmiLexicographicCompare, 2, 1) \ 368 F(SmiLexicographicCompare, 2, 1) \
366 F(MaxSmi, 0, 1) \ 369 F(MaxSmi, 0, 1) \
367 F(IsSmi, 1, 1) \ 370 F(IsSmi, 1, 1) \
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 1138
1136 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1139 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1137 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1140 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1138 STATIC_ASSERT(LANGUAGE_END == 3); 1141 STATIC_ASSERT(LANGUAGE_END == 3);
1139 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1142 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1140 1143
1141 } // namespace internal 1144 } // namespace internal
1142 } // namespace v8 1145 } // namespace v8
1143 1146
1144 #endif // V8_RUNTIME_RUNTIME_H_ 1147 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/js/v8natives.js ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698