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

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

Issue 6119004: ARM: Implement delete operation in lithium codegen.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 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/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.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 15 matching lines...) Expand all
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ 28 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
29 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 29 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_
30 30
31 #include "assembler.h" 31 #include "assembler.h"
32 32
33 namespace v8 { 33 namespace v8 {
34 namespace internal { 34 namespace internal {
35 35
36 // Forward declaration.
37 class PostCallGenerator;
38
39
36 // ---------------------------------------------------------------------------- 40 // ----------------------------------------------------------------------------
37 // Static helper functions 41 // Static helper functions
38 42
39 // Generate a MemOperand for loading a field from an object. 43 // Generate a MemOperand for loading a field from an object.
40 static inline MemOperand FieldMemOperand(Register object, int offset) { 44 static inline MemOperand FieldMemOperand(Register object, int offset) {
41 return MemOperand(object, offset - kHeapObjectTag); 45 return MemOperand(object, offset - kHeapObjectTag);
42 } 46 }
43 47
44 48
45 // Give alias names to registers 49 // Give alias names to registers
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 // return address (unless this is somehow accounted for by the called 634 // return address (unless this is somehow accounted for by the called
631 // function). 635 // function).
632 void CallCFunction(ExternalReference function, int num_arguments); 636 void CallCFunction(ExternalReference function, int num_arguments);
633 void CallCFunction(Register function, int num_arguments); 637 void CallCFunction(Register function, int num_arguments);
634 638
635 // Jump to a runtime routine. 639 // Jump to a runtime routine.
636 void JumpToExternalReference(const ExternalReference& builtin); 640 void JumpToExternalReference(const ExternalReference& builtin);
637 641
638 // Invoke specified builtin JavaScript function. Adds an entry to 642 // Invoke specified builtin JavaScript function. Adds an entry to
639 // the unresolved list if the name does not resolve. 643 // the unresolved list if the name does not resolve.
640 void InvokeBuiltin(Builtins::JavaScript id, InvokeJSFlags flags); 644 void InvokeBuiltin(Builtins::JavaScript id,
645 InvokeJSFlags flags,
646 PostCallGenerator* post_call_generator = NULL);
641 647
642 // Store the code object for the given builtin in the target register and 648 // Store the code object for the given builtin in the target register and
643 // setup the function in r1. 649 // setup the function in r1.
644 void GetBuiltinEntry(Register target, Builtins::JavaScript id); 650 void GetBuiltinEntry(Register target, Builtins::JavaScript id);
645 651
646 // Store the function for the given builtin in the target register. 652 // Store the function for the given builtin in the target register.
647 void GetBuiltinFunction(Register target, Builtins::JavaScript id); 653 void GetBuiltinFunction(Register target, Builtins::JavaScript id);
648 654
649 Handle<Object> CodeObject() { return code_object_; } 655 Handle<Object> CodeObject() { return code_object_; }
650 656
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 829 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
824 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 830 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
825 #else 831 #else
826 #define ACCESS_MASM(masm) masm-> 832 #define ACCESS_MASM(masm) masm->
827 #endif 833 #endif
828 834
829 835
830 } } // namespace v8::internal 836 } } // namespace v8::internal
831 837
832 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 838 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698