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

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

Issue 19492007: Generate KeyedLoadDictionaryElementStub with Hydrogen (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Better formatting 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 | « src/hydrogen.cc ('k') | src/ia32/macro-assembler-ia32.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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 Isolate* isolate, 111 Isolate* isolate,
112 CodeStubInterfaceDescriptor* descriptor) { 112 CodeStubInterfaceDescriptor* descriptor) {
113 static Register registers[] = { edx, ecx }; 113 static Register registers[] = { edx, ecx };
114 descriptor->register_param_count_ = 2; 114 descriptor->register_param_count_ = 2;
115 descriptor->register_params_ = registers; 115 descriptor->register_params_ = registers;
116 descriptor->deoptimization_handler_ = 116 descriptor->deoptimization_handler_ =
117 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); 117 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure);
118 } 118 }
119 119
120 120
121 void KeyedLoadDictionaryElementStub::InitializeInterfaceDescriptor(
122 Isolate* isolate,
123 CodeStubInterfaceDescriptor* descriptor) {
124 static Register registers[] = { edx, ecx };
125 descriptor->register_param_count_ = 2;
126 descriptor->register_params_ = registers;
127 descriptor->deoptimization_handler_ =
128 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure);
129 }
130
131
121 void LoadFieldStub::InitializeInterfaceDescriptor( 132 void LoadFieldStub::InitializeInterfaceDescriptor(
122 Isolate* isolate, 133 Isolate* isolate,
123 CodeStubInterfaceDescriptor* descriptor) { 134 CodeStubInterfaceDescriptor* descriptor) {
124 static Register registers[] = { edx }; 135 static Register registers[] = { edx };
125 descriptor->register_param_count_ = 1; 136 descriptor->register_param_count_ = 1;
126 descriptor->register_params_ = registers; 137 descriptor->register_params_ = registers;
127 descriptor->deoptimization_handler_ = NULL; 138 descriptor->deoptimization_handler_ = NULL;
128 } 139 }
129 140
130 141
(...skipping 5929 matching lines...) Expand 10 before | Expand all | Expand 10 after
6060 __ bind(&fast_elements_case); 6071 __ bind(&fast_elements_case);
6061 GenerateCase(masm, FAST_ELEMENTS); 6072 GenerateCase(masm, FAST_ELEMENTS);
6062 } 6073 }
6063 6074
6064 6075
6065 #undef __ 6076 #undef __
6066 6077
6067 } } // namespace v8::internal 6078 } } // namespace v8::internal
6068 6079
6069 #endif // V8_TARGET_ARCH_IA32 6080 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698