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

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

Issue 6815010: Merge r7516, r7541 into 3.1 branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.1/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/regexp-macro-assembler-irregexp-inl.h » ('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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 Label* on_not_flat_ascii_string); 628 Label* on_not_flat_ascii_string);
629 629
630 // Checks if both objects are sequential ASCII strings, and jumps to label 630 // Checks if both objects are sequential ASCII strings, and jumps to label
631 // if either is not. 631 // if either is not.
632 void JumpIfNotBothSequentialAsciiStrings(Register object1, 632 void JumpIfNotBothSequentialAsciiStrings(Register object1,
633 Register object2, 633 Register object2,
634 Register scratch1, 634 Register scratch1,
635 Register scratch2, 635 Register scratch2,
636 Label* on_not_flat_ascii_strings); 636 Label* on_not_flat_ascii_strings);
637 637
638 static int SafepointRegisterStackIndex(Register reg) {
639 return SafepointRegisterStackIndex(reg.code());
640 }
641
638 private: 642 private:
639 bool generating_stub_; 643 bool generating_stub_;
640 bool allow_stub_calls_; 644 bool allow_stub_calls_;
641 // This handle will be patched with the code object on installation. 645 // This handle will be patched with the code object on installation.
642 Handle<Object> code_object_; 646 Handle<Object> code_object_;
643 647
644 // Helper functions for generating invokes. 648 // Helper functions for generating invokes.
645 void InvokePrologue(const ParameterCount& expected, 649 void InvokePrologue(const ParameterCount& expected,
646 const ParameterCount& actual, 650 const ParameterCount& actual,
647 Handle<Code> code_constant, 651 Handle<Code> code_constant,
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 } \ 793 } \
790 masm-> 794 masm->
791 #else 795 #else
792 #define ACCESS_MASM(masm) masm-> 796 #define ACCESS_MASM(masm) masm->
793 #endif 797 #endif
794 798
795 799
796 } } // namespace v8::internal 800 } } // namespace v8::internal
797 801
798 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 802 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/regexp-macro-assembler-irregexp-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698