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

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 1533004: Inline %_ArgumentsLength. (Closed)
Patch Set: Created 10 years, 8 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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 Register map, 496 Register map,
497 Register instance_type); 497 Register instance_type);
498 498
499 // FCmp is similar to integer cmp, but requires unsigned 499 // FCmp is similar to integer cmp, but requires unsigned
500 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). 500 // jcc instructions (je, ja, jae, jb, jbe, je, and jz).
501 void FCmp(); 501 void FCmp();
502 502
503 // Abort execution if argument is not a number. Used in debug code. 503 // Abort execution if argument is not a number. Used in debug code.
504 void AbortIfNotNumber(Register object, const char* msg); 504 void AbortIfNotNumber(Register object, const char* msg);
505 505
506 // Abort execution if argument is not a smi. Used in debug code.
507 void AbortIfNotSmi(Register object, const char* msg);
508
506 // --------------------------------------------------------------------------- 509 // ---------------------------------------------------------------------------
507 // Exception handling 510 // Exception handling
508 511
509 // Push a new try handler and link into try handler chain. The return 512 // Push a new try handler and link into try handler chain. The return
510 // address must be pushed before calling this helper. 513 // address must be pushed before calling this helper.
511 void PushTryHandler(CodeLocation try_location, HandlerType type); 514 void PushTryHandler(CodeLocation try_location, HandlerType type);
512 515
513 // Unlink the stack handler on top of the stack from the try handler chain. 516 // Unlink the stack handler on top of the stack from the try handler chain.
514 void PopTryHandler(); 517 void PopTryHandler();
515 518
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 } \ 825 } \
823 masm-> 826 masm->
824 #else 827 #else
825 #define ACCESS_MASM(masm) masm-> 828 #define ACCESS_MASM(masm) masm->
826 #endif 829 #endif
827 830
828 831
829 } } // namespace v8::internal 832 } } // namespace v8::internal
830 833
831 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 834 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698