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

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

Issue 6462029: Direct call accessor getter callbacks (arm implementation). (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 10 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
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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 // garbage collection, since that might move the code and invalidate the 664 // garbage collection, since that might move the code and invalidate the
665 // return address (unless this is somehow accounted for by the called 665 // return address (unless this is somehow accounted for by the called
666 // function). 666 // function).
667 void CallCFunction(ExternalReference function, int num_arguments); 667 void CallCFunction(ExternalReference function, int num_arguments);
668 void CallCFunction(Register function, int num_arguments); 668 void CallCFunction(Register function, int num_arguments);
669 669
670 // Calls an API function. Allocates HandleScope, extracts returned value 670 // Calls an API function. Allocates HandleScope, extracts returned value
671 // from handle and propagates exceptions. Restores context. 671 // from handle and propagates exceptions. Restores context.
672 // stack_space - space to be unwound on exit (includes the call js 672 // stack_space - space to be unwound on exit (includes the call js
673 // arguments space and the additional space allocated for the fast call). 673 // arguments space and the additional space allocated for the fast call).
674 MaybeObject* TryCallApiFunctionAndReturn(ApiFunction* function, 674 MaybeObject* TryCallApiFunctionAndReturn(ExternalReference function,
675 int stack_space); 675 int stack_space);
676 676
677 // Jump to a runtime routine. 677 // Jump to a runtime routine.
678 void JumpToExternalReference(const ExternalReference& builtin); 678 void JumpToExternalReference(const ExternalReference& builtin);
679 679
680 MaybeObject* TryJumpToExternalReference(const ExternalReference& ext); 680 MaybeObject* TryJumpToExternalReference(const ExternalReference& ext);
681 681
682 // Invoke specified builtin JavaScript function. Adds an entry to 682 // Invoke specified builtin JavaScript function. Adds an entry to
683 // the unresolved list if the name does not resolve. 683 // the unresolved list if the name does not resolve.
684 void InvokeBuiltin(Builtins::JavaScript id, 684 void InvokeBuiltin(Builtins::JavaScript id,
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 930 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
931 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 931 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
932 #else 932 #else
933 #define ACCESS_MASM(masm) masm-> 933 #define ACCESS_MASM(masm) masm->
934 #endif 934 #endif
935 935
936 936
937 } } // namespace v8::internal 937 } } // namespace v8::internal
938 938
939 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 939 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698