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

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

Issue 12702012: MIPS: Implement many KeyedStoreStubs using Crankshaft (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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/mips/lithium-codegen-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 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 Isolate* isolate, 55 Isolate* isolate,
56 CodeStubInterfaceDescriptor* descriptor) { 56 CodeStubInterfaceDescriptor* descriptor) {
57 static Register registers[] = { a1, a0 }; 57 static Register registers[] = { a1, a0 };
58 descriptor->register_param_count_ = 2; 58 descriptor->register_param_count_ = 2;
59 descriptor->register_params_ = registers; 59 descriptor->register_params_ = registers;
60 descriptor->deoptimization_handler_ = 60 descriptor->deoptimization_handler_ =
61 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); 61 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure);
62 } 62 }
63 63
64 64
65 void KeyedStoreFastElementStub::InitializeInterfaceDescriptor(
66 Isolate* isolate,
67 CodeStubInterfaceDescriptor* descriptor) {
68 static Register registers[] = { a2, a1, a0 };
69 descriptor->register_param_count_ = 3;
70 descriptor->register_params_ = registers;
71 descriptor->deoptimization_handler_ =
72 FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure);
73 }
74
75
65 void TransitionElementsKindStub::InitializeInterfaceDescriptor( 76 void TransitionElementsKindStub::InitializeInterfaceDescriptor(
66 Isolate* isolate, 77 Isolate* isolate,
67 CodeStubInterfaceDescriptor* descriptor) { 78 CodeStubInterfaceDescriptor* descriptor) {
68 static Register registers[] = { a0, a1 }; 79 static Register registers[] = { a0, a1 };
69 descriptor->register_param_count_ = 2; 80 descriptor->register_param_count_ = 2;
70 descriptor->register_params_ = registers; 81 descriptor->register_params_ = registers;
71 Address entry = 82 Address entry =
72 Runtime::FunctionForId(Runtime::kTransitionElementsKind)->entry; 83 Runtime::FunctionForId(Runtime::kTransitionElementsKind)->entry;
73 descriptor->deoptimization_handler_ = FUNCTION_ADDR(entry); 84 descriptor->deoptimization_handler_ = FUNCTION_ADDR(entry);
74 } 85 }
(...skipping 8117 matching lines...) Expand 10 before | Expand all | Expand 10 after
8192 __ Pop(ra, t1, a1); 8203 __ Pop(ra, t1, a1);
8193 __ Ret(); 8204 __ Ret();
8194 } 8205 }
8195 8206
8196 8207
8197 #undef __ 8208 #undef __
8198 8209
8199 } } // namespace v8::internal 8210 } } // namespace v8::internal
8200 8211
8201 #endif // V8_TARGET_ARCH_MIPS 8212 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips/lithium-codegen-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698