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

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

Issue 16925008: Generate StoreGlobal stubs with Hydrogen (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address feedback 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/lithium-gap-resolver-arm.cc » ('j') | src/x64/lithium-gap-resolver-x64.cc » ('J')
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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 Isolate* isolate, 230 Isolate* isolate,
231 CodeStubInterfaceDescriptor* descriptor) { 231 CodeStubInterfaceDescriptor* descriptor) {
232 static Register registers[] = { r0 }; 232 static Register registers[] = { r0 };
233 descriptor->register_param_count_ = 1; 233 descriptor->register_param_count_ = 1;
234 descriptor->register_params_ = registers; 234 descriptor->register_params_ = registers;
235 descriptor->deoptimization_handler_ = 235 descriptor->deoptimization_handler_ =
236 FUNCTION_ADDR(UnaryOpIC_Miss); 236 FUNCTION_ADDR(UnaryOpIC_Miss);
237 } 237 }
238 238
239 239
240 void StoreGlobalStub::InitializeInterfaceDescriptor(
241 Isolate* isolate,
242 CodeStubInterfaceDescriptor* descriptor) {
243 static Register registers[] = { r1, r2, r0 };
244 descriptor->register_param_count_ = 3;
245 descriptor->register_params_ = registers;
246 descriptor->deoptimization_handler_ =
247 FUNCTION_ADDR(StoreIC_MissFromStubFailure);
248 }
249
250
240 #define __ ACCESS_MASM(masm) 251 #define __ ACCESS_MASM(masm)
241 252
242 253
243 static void EmitIdenticalObjectComparison(MacroAssembler* masm, 254 static void EmitIdenticalObjectComparison(MacroAssembler* masm,
244 Label* slow, 255 Label* slow,
245 Condition cond); 256 Condition cond);
246 static void EmitSmiNonsmiComparison(MacroAssembler* masm, 257 static void EmitSmiNonsmiComparison(MacroAssembler* masm,
247 Register lhs, 258 Register lhs,
248 Register rhs, 259 Register rhs,
249 Label* lhs_not_nan, 260 Label* lhs_not_nan,
(...skipping 6916 matching lines...) Expand 10 before | Expand all | Expand 10 after
7166 __ bind(&fast_elements_case); 7177 __ bind(&fast_elements_case);
7167 GenerateCase(masm, FAST_ELEMENTS); 7178 GenerateCase(masm, FAST_ELEMENTS);
7168 } 7179 }
7169 7180
7170 7181
7171 #undef __ 7182 #undef __
7172 7183
7173 } } // namespace v8::internal 7184 } } // namespace v8::internal
7174 7185
7175 #endif // V8_TARGET_ARCH_ARM 7186 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-gap-resolver-arm.cc » ('j') | src/x64/lithium-gap-resolver-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698