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

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

Issue 2126453002: [intrinsic] Drop the %_ValueOf intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix noi18n build (narf) 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) \
296 F(ThrowGeneratorRunning, 0, 1) \ 297 F(ThrowGeneratorRunning, 0, 1) \
297 F(ThrowStackOverflow, 0, 1) \ 298 F(ThrowStackOverflow, 0, 1) \
298 F(ThrowWasmError, 2, 1) \ 299 F(ThrowWasmError, 2, 1) \
299 F(PromiseRejectEvent, 3, 1) \ 300 F(PromiseRejectEvent, 3, 1) \
300 F(PromiseRevokeReject, 1, 1) \ 301 F(PromiseRevokeReject, 1, 1) \
301 F(StackGuard, 0, 1) \ 302 F(StackGuard, 0, 1) \
302 F(Interrupt, 0, 1) \ 303 F(Interrupt, 0, 1) \
303 F(AllocateInNewSpace, 1, 1) \ 304 F(AllocateInNewSpace, 1, 1) \
304 F(AllocateInTargetSpace, 2, 1) \ 305 F(AllocateInTargetSpace, 2, 1) \
305 F(AllocateSeqOneByteString, 1, 1) \ 306 F(AllocateSeqOneByteString, 1, 1) \
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 F(LiveEditFunctionSetScript, 2, 1) \ 348 F(LiveEditFunctionSetScript, 2, 1) \
348 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ 349 F(LiveEditReplaceRefToNestedFunction, 3, 1) \
349 F(LiveEditPatchFunctionPositions, 2, 1) \ 350 F(LiveEditPatchFunctionPositions, 2, 1) \
350 F(LiveEditCheckAndDropActivations, 3, 1) \ 351 F(LiveEditCheckAndDropActivations, 3, 1) \
351 F(LiveEditCompareStrings, 2, 1) \ 352 F(LiveEditCompareStrings, 2, 1) \
352 F(LiveEditRestartFrame, 2, 1) 353 F(LiveEditRestartFrame, 2, 1)
353 354
354 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 1, 1) 355 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 1, 1)
355 356
356 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ 357 #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) \
361 F(IsValidSmi, 1, 1) \ 358 F(IsValidSmi, 1, 1) \
362 F(StringToNumber, 1, 1) \ 359 F(StringToNumber, 1, 1) \
363 F(StringParseInt, 2, 1) \ 360 F(StringParseInt, 2, 1) \
364 F(StringParseFloat, 1, 1) \ 361 F(StringParseFloat, 1, 1) \
365 F(NumberToString, 1, 1) \ 362 F(NumberToString, 1, 1) \
366 F(NumberToStringSkipCache, 1, 1) \ 363 F(NumberToStringSkipCache, 1, 1) \
367 F(NumberToSmi, 1, 1) \ 364 F(NumberToSmi, 1, 1) \
368 F(SmiLexicographicCompare, 2, 1) \ 365 F(SmiLexicographicCompare, 2, 1) \
369 F(MaxSmi, 0, 1) \ 366 F(MaxSmi, 0, 1) \
370 F(IsSmi, 1, 1) \ 367 F(IsSmi, 1, 1) \
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 1136
1140 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1137 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1141 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1138 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1142 STATIC_ASSERT(LANGUAGE_END == 3); 1139 STATIC_ASSERT(LANGUAGE_END == 3);
1143 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1140 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1144 1141
1145 } // namespace internal 1142 } // namespace internal
1146 } // namespace v8 1143 } // namespace v8
1147 1144
1148 #endif // V8_RUNTIME_RUNTIME_H_ 1145 #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