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

Side by Side Diff: src/ic/handler-compiler.h

Issue 1376933006: Vector ICs: Get rid of stack arguments on ia32 transitioning stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Code comments. Created 5 years, 2 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 | « src/ic/arm64/handler-compiler-arm64.cc ('k') | src/ic/handler-compiler.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_IC_HANDLER_COMPILER_H_ 5 #ifndef V8_IC_HANDLER_COMPILER_H_
6 #define V8_IC_HANDLER_COMPILER_H_ 6 #define V8_IC_HANDLER_COMPILER_H_
7 7
8 #include "src/ic/access-compiler.h" 8 #include "src/ic/access-compiler.h"
9 #include "src/ic/ic-state.h" 9 #include "src/ic/ic-state.h"
10 10
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 } 244 }
245 245
246 static void GenerateSlow(MacroAssembler* masm); 246 static void GenerateSlow(MacroAssembler* masm);
247 247
248 protected: 248 protected:
249 virtual Register FrontendHeader(Register object_reg, Handle<Name> name, 249 virtual Register FrontendHeader(Register object_reg, Handle<Name> name,
250 Label* miss, ReturnHolder return_what); 250 Label* miss, ReturnHolder return_what);
251 251
252 virtual void FrontendFooter(Handle<Name> name, Label* miss); 252 virtual void FrontendFooter(Handle<Name> name, Label* miss);
253 void GenerateRestoreName(Label* label, Handle<Name> name); 253 void GenerateRestoreName(Label* label, Handle<Name> name);
254 void GeneratePushMap(Register map_reg, Register scratch); 254
255 // Pop the vector and slot into appropriate registers, moving the map in
256 // the process. (This is an accomodation for register pressure on ia32).
257 void RearrangeVectorAndSlot(Register current_map, Register destination_map);
255 258
256 private: 259 private:
257 void GenerateRestoreName(Handle<Name> name); 260 void GenerateRestoreName(Handle<Name> name);
258 void GenerateRestoreMap(Handle<Map> transition, Register map_reg, 261 void GenerateRestoreMap(Handle<Map> transition, Register map_reg,
259 Register scratch, Label* miss); 262 Register scratch, Label* miss);
260 263
261 void GenerateConstantCheck(Register map_reg, int descriptor, 264 void GenerateConstantCheck(Register map_reg, int descriptor,
262 Register value_reg, Register scratch, 265 Register value_reg, Register scratch,
263 Label* miss_label); 266 Label* miss_label);
264 267
(...skipping 29 matching lines...) Expand all
294 void CompileElementHandlers(MapHandleList* receiver_maps, 297 void CompileElementHandlers(MapHandleList* receiver_maps,
295 CodeHandleList* handlers, 298 CodeHandleList* handlers,
296 LanguageMode language_mode); 299 LanguageMode language_mode);
297 300
298 static void GenerateStoreSlow(MacroAssembler* masm); 301 static void GenerateStoreSlow(MacroAssembler* masm);
299 }; 302 };
300 } // namespace internal 303 } // namespace internal
301 } // namespace v8 304 } // namespace v8
302 305
303 #endif // V8_IC_HANDLER_COMPILER_H_ 306 #endif // V8_IC_HANDLER_COMPILER_H_
OLDNEW
« no previous file with comments | « src/ic/arm64/handler-compiler-arm64.cc ('k') | src/ic/handler-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698