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

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

Issue 74363002: MIPS: Generate KeyedLoadDictionaryElementStub with Hydrogen (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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/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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 Isolate* isolate, 107 Isolate* isolate,
108 CodeStubInterfaceDescriptor* descriptor) { 108 CodeStubInterfaceDescriptor* descriptor) {
109 static Register registers[] = { a1, a0 }; 109 static Register registers[] = { a1, a0 };
110 descriptor->register_param_count_ = 2; 110 descriptor->register_param_count_ = 2;
111 descriptor->register_params_ = registers; 111 descriptor->register_params_ = registers;
112 descriptor->deoptimization_handler_ = 112 descriptor->deoptimization_handler_ =
113 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); 113 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure);
114 } 114 }
115 115
116 116
117 void KeyedLoadDictionaryElementStub::InitializeInterfaceDescriptor(
118 Isolate* isolate,
119 CodeStubInterfaceDescriptor* descriptor) {
120 static Register registers[] = {a1, a0 };
121 descriptor->register_param_count_ = 2;
122 descriptor->register_params_ = registers;
123 descriptor->deoptimization_handler_ =
124 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure);
125 }
126
127
117 void LoadFieldStub::InitializeInterfaceDescriptor( 128 void LoadFieldStub::InitializeInterfaceDescriptor(
118 Isolate* isolate, 129 Isolate* isolate,
119 CodeStubInterfaceDescriptor* descriptor) { 130 CodeStubInterfaceDescriptor* descriptor) {
120 static Register registers[] = { a0 }; 131 static Register registers[] = { a0 };
121 descriptor->register_param_count_ = 1; 132 descriptor->register_param_count_ = 1;
122 descriptor->register_params_ = registers; 133 descriptor->register_params_ = registers;
123 descriptor->deoptimization_handler_ = NULL; 134 descriptor->deoptimization_handler_ = NULL;
124 } 135 }
125 136
126 137
(...skipping 6148 matching lines...) Expand 10 before | Expand all | Expand 10 after
6275 __ bind(&fast_elements_case); 6286 __ bind(&fast_elements_case);
6276 GenerateCase(masm, FAST_ELEMENTS); 6287 GenerateCase(masm, FAST_ELEMENTS);
6277 } 6288 }
6278 6289
6279 6290
6280 #undef __ 6291 #undef __
6281 6292
6282 } } // namespace v8::internal 6293 } } // namespace v8::internal
6283 6294
6284 #endif // V8_TARGET_ARCH_MIPS 6295 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698