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

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

Issue 10878047: Revert to code state of 3.13.1 plus r12350 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 8 years, 4 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/mips/lithium-codegen-mips.cc ('k') | src/mips/macro-assembler-mips.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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 // ----------------------------------------------------------------------------- 102 // -----------------------------------------------------------------------------
103 // Static helper functions. 103 // Static helper functions.
104 104
105 inline MemOperand ContextOperand(Register context, int index) { 105 inline MemOperand ContextOperand(Register context, int index) {
106 return MemOperand(context, Context::SlotOffset(index)); 106 return MemOperand(context, Context::SlotOffset(index));
107 } 107 }
108 108
109 109
110 inline MemOperand GlobalObjectOperand() { 110 inline MemOperand GlobalObjectOperand() {
111 return ContextOperand(cp, Context::GLOBAL_OBJECT_INDEX); 111 return ContextOperand(cp, Context::GLOBAL_INDEX);
112 } 112 }
113 113
114 114
115 // Generate a MemOperand for loading a field from an object. 115 // Generate a MemOperand for loading a field from an object.
116 inline MemOperand FieldMemOperand(Register object, int offset) { 116 inline MemOperand FieldMemOperand(Register object, int offset) {
117 return MemOperand(object, offset - kHeapObjectTag); 117 return MemOperand(object, offset - kHeapObjectTag);
118 } 118 }
119 119
120 120
121 // Generate a MemOperand for storing arguments 5..N on the stack 121 // Generate a MemOperand for storing arguments 5..N on the stack
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 799
800 // Get the actual activation frame alignment for target environment. 800 // Get the actual activation frame alignment for target environment.
801 static int ActivationFrameAlignment(); 801 static int ActivationFrameAlignment();
802 802
803 // Make sure the stack is aligned. Only emits code in debug mode. 803 // Make sure the stack is aligned. Only emits code in debug mode.
804 void AssertStackIsAligned(); 804 void AssertStackIsAligned();
805 805
806 void LoadContext(Register dst, int context_chain_length); 806 void LoadContext(Register dst, int context_chain_length);
807 807
808 // Conditionally load the cached Array transitioned map of type 808 // Conditionally load the cached Array transitioned map of type
809 // transitioned_kind from the native context if the map in register 809 // transitioned_kind from the global context if the map in register
810 // map_in_out is the cached Array map in the native context of 810 // map_in_out is the cached Array map in the global context of
811 // expected_kind. 811 // expected_kind.
812 void LoadTransitionedArrayMapConditional( 812 void LoadTransitionedArrayMapConditional(
813 ElementsKind expected_kind, 813 ElementsKind expected_kind,
814 ElementsKind transitioned_kind, 814 ElementsKind transitioned_kind,
815 Register map_in_out, 815 Register map_in_out,
816 Register scratch, 816 Register scratch,
817 Label* no_map_match); 817 Label* no_map_match);
818 818
819 // Load the initial map for new Arrays from a JSFunction. 819 // Load the initial map for new Arrays from a JSFunction.
820 void LoadInitialArrayMap(Register function_in, 820 void LoadInitialArrayMap(Register function_in,
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
1535 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1535 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1536 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1536 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1537 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1537 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1538 #else 1538 #else
1539 #define ACCESS_MASM(masm) masm-> 1539 #define ACCESS_MASM(masm) masm->
1540 #endif 1540 #endif
1541 1541
1542 } } // namespace v8::internal 1542 } } // namespace v8::internal
1543 1543
1544 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1544 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698