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

Side by Side Diff: src/runtime.h

Issue 5274002: Version 2.5.8... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 10 years 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 | Annotate | Revision Log
« no previous file with comments | « src/profile-generator-inl.h ('k') | src/runtime.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 F(CloneShallowLiteralBoilerplate, 1, 1) \ 255 F(CloneShallowLiteralBoilerplate, 1, 1) \
256 F(CreateObjectLiteral, 4, 1) \ 256 F(CreateObjectLiteral, 4, 1) \
257 F(CreateObjectLiteralShallow, 4, 1) \ 257 F(CreateObjectLiteralShallow, 4, 1) \
258 F(CreateArrayLiteral, 3, 1) \ 258 F(CreateArrayLiteral, 3, 1) \
259 F(CreateArrayLiteralShallow, 3, 1) \ 259 F(CreateArrayLiteralShallow, 3, 1) \
260 \ 260 \
261 /* Catch context extension objects */ \ 261 /* Catch context extension objects */ \
262 F(CreateCatchExtensionObject, 2, 1) \ 262 F(CreateCatchExtensionObject, 2, 1) \
263 \ 263 \
264 /* Statements */ \ 264 /* Statements */ \
265 F(NewClosure, 2, 1) \ 265 F(NewClosure, 3, 1) \
266 F(NewObject, 1, 1) \ 266 F(NewObject, 1, 1) \
267 F(NewObjectFromBound, 2, 1) \ 267 F(NewObjectFromBound, 2, 1) \
268 F(FinalizeInstanceSize, 1, 1) \ 268 F(FinalizeInstanceSize, 1, 1) \
269 F(Throw, 1, 1) \ 269 F(Throw, 1, 1) \
270 F(ReThrow, 1, 1) \ 270 F(ReThrow, 1, 1) \
271 F(ThrowReferenceError, 1, 1) \ 271 F(ThrowReferenceError, 1, 1) \
272 F(StackGuard, 0, 1) \ 272 F(StackGuard, 0, 1) \
273 F(PromoteScheduledException, 0, 1) \ 273 F(PromoteScheduledException, 0, 1) \
274 \ 274 \
275 /* Contexts */ \ 275 /* Contexts */ \
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 F(IsFunction, 1, 1) \ 411 F(IsFunction, 1, 1) \
412 F(IsUndetectableObject, 1, 1) \ 412 F(IsUndetectableObject, 1, 1) \
413 F(IsSpecObject, 1, 1) \ 413 F(IsSpecObject, 1, 1) \
414 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ 414 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \
415 F(MathPow, 2, 1) \ 415 F(MathPow, 2, 1) \
416 F(MathSin, 1, 1) \ 416 F(MathSin, 1, 1) \
417 F(MathCos, 1, 1) \ 417 F(MathCos, 1, 1) \
418 F(MathSqrt, 1, 1) \ 418 F(MathSqrt, 1, 1) \
419 F(IsRegExpEquivalent, 2, 1) \ 419 F(IsRegExpEquivalent, 2, 1) \
420 F(HasCachedArrayIndex, 1, 1) \ 420 F(HasCachedArrayIndex, 1, 1) \
421 F(GetCachedArrayIndex, 1, 1) 421 F(GetCachedArrayIndex, 1, 1) \
422 F(FastAsciiArrayJoin, 2, 1)
422 423
423 424
424 // ---------------------------------------------------------------------------- 425 // ----------------------------------------------------------------------------
425 // INLINE_AND_RUNTIME_FUNCTION_LIST defines all inlined functions accessed 426 // INLINE_AND_RUNTIME_FUNCTION_LIST defines all inlined functions accessed
426 // with a native call of the form %_name from within JS code that also have 427 // with a native call of the form %_name from within JS code that also have
427 // a corresponding runtime function, that is called for slow cases. 428 // a corresponding runtime function, that is called for slow cases.
428 // Entries have the form F(name, number of arguments, number of return values). 429 // Entries have the form F(name, number of arguments, number of return values).
429 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ 430 #define INLINE_RUNTIME_FUNCTION_LIST(F) \
430 F(IsConstructCall, 0, 1) \ 431 F(IsConstructCall, 0, 1) \
431 F(ClassOf, 1, 1) \ 432 F(ClassOf, 1, 1) \
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 int position); 535 int position);
535 536
536 // Helper functions used stubs. 537 // Helper functions used stubs.
537 static void PerformGC(Object* result); 538 static void PerformGC(Object* result);
538 }; 539 };
539 540
540 541
541 } } // namespace v8::internal 542 } } // namespace v8::internal
542 543
543 #endif // V8_RUNTIME_H_ 544 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/profile-generator-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698