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

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

Issue 17162002: Version 3.19.17. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 years, 6 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-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 // 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 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 // Arguments must be stored in ApiParameterOperand(0), ApiParameterOperand(1) 777 // Arguments must be stored in ApiParameterOperand(0), ApiParameterOperand(1)
778 // etc. Saves context (esi). If space was reserved for return value then 778 // etc. Saves context (esi). If space was reserved for return value then
779 // stores the pointer to the reserved slot into esi. 779 // stores the pointer to the reserved slot into esi.
780 void PrepareCallApiFunction(int argc, bool returns_handle); 780 void PrepareCallApiFunction(int argc, bool returns_handle);
781 781
782 // Calls an API function. Allocates HandleScope, extracts returned value 782 // Calls an API function. Allocates HandleScope, extracts returned value
783 // from handle and propagates exceptions. Clobbers ebx, edi and 783 // from handle and propagates exceptions. Clobbers ebx, edi and
784 // caller-save registers. Restores context. On return removes 784 // caller-save registers. Restores context. On return removes
785 // stack_space * kPointerSize (GCed). 785 // stack_space * kPointerSize (GCed).
786 void CallApiFunctionAndReturn(Address function_address, 786 void CallApiFunctionAndReturn(Address function_address,
787 Address thunk_address,
788 Operand thunk_last_arg,
789 int stack_space, 787 int stack_space,
790 bool returns_handle, 788 bool returns_handle,
791 int return_value_offset_from_ebp); 789 int return_value_offset_from_ebp);
792 790
793 // Jump to a runtime routine. 791 // Jump to a runtime routine.
794 void JumpToExternalReference(const ExternalReference& ext); 792 void JumpToExternalReference(const ExternalReference& ext);
795 793
796 // --------------------------------------------------------------------------- 794 // ---------------------------------------------------------------------------
797 // Utilities 795 // Utilities
798 796
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 } \ 1042 } \
1045 masm-> 1043 masm->
1046 #else 1044 #else
1047 #define ACCESS_MASM(masm) masm-> 1045 #define ACCESS_MASM(masm) masm->
1048 #endif 1046 #endif
1049 1047
1050 1048
1051 } } // namespace v8::internal 1049 } } // namespace v8::internal
1052 1050
1053 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1051 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698