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

Side by Side Diff: src/mips/stub-cache-mips.cc

Issue 660244: Support for MIPS architecture. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 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
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/mips/virtual-frame-mips.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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 66
67 void StubCompiler::GenerateLoadArrayLength(MacroAssembler* masm, 67 void StubCompiler::GenerateLoadArrayLength(MacroAssembler* masm,
68 Register receiver, 68 Register receiver,
69 Register scratch, 69 Register scratch,
70 Label* miss_label) { 70 Label* miss_label) {
71 UNIMPLEMENTED_MIPS(); 71 UNIMPLEMENTED_MIPS();
72 } 72 }
73 73
74 74
75 // Generate code to load the length from a string object and return the length.
76 // If the receiver object is not a string or a wrapped string object the
77 // execution continues at the miss label. The register containing the
78 // receiver is potentially clobbered.
79 void StubCompiler::GenerateLoadStringLength2(MacroAssembler* masm,
80 Register receiver,
81 Register scratch1,
82 Register scratch2,
83 Label* miss) {
84 UNIMPLEMENTED_MIPS();
85 __ break_(0x249);
86 }
87
88
89 void StubCompiler::GenerateLoadFunctionPrototype(MacroAssembler* masm, 75 void StubCompiler::GenerateLoadFunctionPrototype(MacroAssembler* masm,
90 Register receiver, 76 Register receiver,
91 Register scratch1, 77 Register scratch1,
92 Register scratch2, 78 Register scratch2,
93 Label* miss_label) { 79 Label* miss_label) {
94 UNIMPLEMENTED_MIPS(); 80 UNIMPLEMENTED_MIPS();
95 } 81 }
96 82
97 83
98 // Generate StoreField code, value is passed in r0 register. 84 // Generate StoreField code, value is passed in r0 register.
99 // After executing generated code, the receiver_reg and name_reg 85 // After executing generated code, the receiver_reg and name_reg
100 // may be clobbered. 86 // may be clobbered.
101 void StubCompiler::GenerateStoreField(MacroAssembler* masm, 87 void StubCompiler::GenerateStoreField(MacroAssembler* masm,
102 Builtins::Name storage_extend,
103 JSObject* object, 88 JSObject* object,
104 int index, 89 int index,
105 Map* transition, 90 Map* transition,
106 Register receiver_reg, 91 Register receiver_reg,
107 Register name_reg, 92 Register name_reg,
108 Register scratch, 93 Register scratch,
109 Label* miss_label) { 94 Label* miss_label) {
110 UNIMPLEMENTED_MIPS(); 95 UNIMPLEMENTED_MIPS();
111 } 96 }
112 97
113 98
114 void StubCompiler::GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind) { 99 void StubCompiler::GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind) {
115 UNIMPLEMENTED_MIPS(); 100 UNIMPLEMENTED_MIPS();
116 } 101 }
117 102
118 103
119 #undef __ 104 #undef __
120 #define __ ACCESS_MASM(masm()) 105 #define __ ACCESS_MASM(masm())
121 106
122 107
123 Register StubCompiler::CheckPrototypes(JSObject* object,
124 Register object_reg,
125 JSObject* holder,
126 Register holder_reg,
127 Register scratch,
128 String* name,
129 Label* miss) {
130 UNIMPLEMENTED_MIPS();
131 return at; // UNIMPLEMENTED RETURN
132 }
133
134
135 void StubCompiler::GenerateLoadField(JSObject* object, 108 void StubCompiler::GenerateLoadField(JSObject* object,
136 JSObject* holder, 109 JSObject* holder,
137 Register receiver, 110 Register receiver,
138 Register scratch1, 111 Register scratch1,
139 Register scratch2, 112 Register scratch2,
140 int index, 113 int index,
141 String* name, 114 String* name,
142 Label* miss) { 115 Label* miss) {
143 UNIMPLEMENTED_MIPS(); 116 UNIMPLEMENTED_MIPS();
144 } 117 }
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 __ break_(0x505); 158 __ break_(0x505);
186 } 159 }
187 160
188 161
189 Object* StubCompiler::CompileLazyCompile(Code::Flags flags) { 162 Object* StubCompiler::CompileLazyCompile(Code::Flags flags) {
190 UNIMPLEMENTED_MIPS(); 163 UNIMPLEMENTED_MIPS();
191 return reinterpret_cast<Object*>(NULL); // UNIMPLEMENTED RETURN 164 return reinterpret_cast<Object*>(NULL); // UNIMPLEMENTED RETURN
192 } 165 }
193 166
194 167
195 Object* CallStubCompiler::CompileCallField(Object* object, 168 Object* CallStubCompiler::CompileCallField(JSObject* object,
196 JSObject* holder, 169 JSObject* holder,
197 int index, 170 int index,
198 String* name) { 171 String* name) {
199 UNIMPLEMENTED_MIPS(); 172 UNIMPLEMENTED_MIPS();
200 return reinterpret_cast<Object*>(NULL); // UNIMPLEMENTED RETURN 173 return reinterpret_cast<Object*>(NULL); // UNIMPLEMENTED RETURN
201 } 174 }
202 175
203 176
204 Object* CallStubCompiler::CompileCallConstant(Object* object, 177 Object* CallStubCompiler::CompileCallConstant(Object* object,
205 JSObject* holder, 178 JSObject* holder,
206 JSFunction* function, 179 JSFunction* function,
207 String* name, 180 String* name,
208 CheckType check) { 181 CheckType check) {
209 UNIMPLEMENTED_MIPS(); 182 UNIMPLEMENTED_MIPS();
210 return reinterpret_cast<Object*>(NULL); // UNIMPLEMENTED RETURN 183 return reinterpret_cast<Object*>(NULL); // UNIMPLEMENTED RETURN
211 } 184 }
212 185
213 186
214 Object* CallStubCompiler::CompileCallInterceptor(Object* object, 187 Object* CallStubCompiler::CompileCallInterceptor(JSObject* object,
215 JSObject* holder, 188 JSObject* holder,
216 String* name) { 189 String* name) {
217 UNIMPLEMENTED_MIPS(); 190 UNIMPLEMENTED_MIPS();
218 __ break_(0x782); 191 __ break_(0x782);
219 return GetCode(INTERCEPTOR, name); 192 return GetCode(INTERCEPTOR, name);
220 } 193 }
221 194
222 195
223 Object* CallStubCompiler::CompileCallGlobal(JSObject* object, 196 Object* CallStubCompiler::CompileCallGlobal(JSObject* object,
224 GlobalObject* holder, 197 GlobalObject* holder,
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 SharedFunctionInfo* shared) { 348 SharedFunctionInfo* shared) {
376 UNIMPLEMENTED_MIPS(); 349 UNIMPLEMENTED_MIPS();
377 return reinterpret_cast<Object*>(NULL); // UNIMPLEMENTED RETURN 350 return reinterpret_cast<Object*>(NULL); // UNIMPLEMENTED RETURN
378 } 351 }
379 352
380 353
381 #undef __ 354 #undef __
382 355
383 } } // namespace v8::internal 356 } } // namespace v8::internal
384 357
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/mips/virtual-frame-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698