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

Side by Side Diff: src/mips/code-stubs-mips.cc

Issue 18277005: MIPS: Generate StoreGlobal stubs with Hydrogen. (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: Created 7 years, 5 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
« no previous file with comments | « no previous file | src/mips/lithium-gap-resolver-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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 Isolate* isolate, 231 Isolate* isolate,
232 CodeStubInterfaceDescriptor* descriptor) { 232 CodeStubInterfaceDescriptor* descriptor) {
233 static Register registers[] = { a0 }; 233 static Register registers[] = { a0 };
234 descriptor->register_param_count_ = 1; 234 descriptor->register_param_count_ = 1;
235 descriptor->register_params_ = registers; 235 descriptor->register_params_ = registers;
236 descriptor->deoptimization_handler_ = 236 descriptor->deoptimization_handler_ =
237 FUNCTION_ADDR(UnaryOpIC_Miss); 237 FUNCTION_ADDR(UnaryOpIC_Miss);
238 } 238 }
239 239
240 240
241 void StoreGlobalStub::InitializeInterfaceDescriptor(
242 Isolate* isolate,
243 CodeStubInterfaceDescriptor* descriptor) {
244 static Register registers[] = { a1, a2, a0 };
245 descriptor->register_param_count_ = 3;
246 descriptor->register_params_ = registers;
247 descriptor->deoptimization_handler_ =
248 FUNCTION_ADDR(StoreIC_MissFromStubFailure);
249 }
250
251
241 #define __ ACCESS_MASM(masm) 252 #define __ ACCESS_MASM(masm)
242 253
243 254
244 static void EmitIdenticalObjectComparison(MacroAssembler* masm, 255 static void EmitIdenticalObjectComparison(MacroAssembler* masm,
245 Label* slow, 256 Label* slow,
246 Condition cc); 257 Condition cc);
247 static void EmitSmiNonsmiComparison(MacroAssembler* masm, 258 static void EmitSmiNonsmiComparison(MacroAssembler* masm,
248 Register lhs, 259 Register lhs,
249 Register rhs, 260 Register rhs,
250 Label* rhs_not_nan, 261 Label* rhs_not_nan,
(...skipping 7324 matching lines...) Expand 10 before | Expand all | Expand 10 after
7575 __ bind(&fast_elements_case); 7586 __ bind(&fast_elements_case);
7576 GenerateCase(masm, FAST_ELEMENTS); 7587 GenerateCase(masm, FAST_ELEMENTS);
7577 } 7588 }
7578 7589
7579 7590
7580 #undef __ 7591 #undef __
7581 7592
7582 } } // namespace v8::internal 7593 } } // namespace v8::internal
7583 7594
7584 #endif // V8_TARGET_ARCH_MIPS 7595 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips/lithium-gap-resolver-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698