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

Side by Side Diff: src/ia32/virtual-frame-ia32.h

Issue 502028: Streamline the calling convention of the call ICs by passing the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years 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/ia32/stub-cache-ia32.cc ('k') | src/ia32/virtual-frame-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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 Result CallKeyedLoadIC(RelocInfo::Mode mode); 334 Result CallKeyedLoadIC(RelocInfo::Mode mode);
335 335
336 // Call store IC. Name, value, and receiver are found on top of the 336 // Call store IC. Name, value, and receiver are found on top of the
337 // frame. Receiver is not dropped. 337 // frame. Receiver is not dropped.
338 Result CallStoreIC(); 338 Result CallStoreIC();
339 339
340 // Call keyed store IC. Value, key, and receiver are found on top 340 // Call keyed store IC. Value, key, and receiver are found on top
341 // of the frame. Key and receiver are not dropped. 341 // of the frame. Key and receiver are not dropped.
342 Result CallKeyedStoreIC(); 342 Result CallKeyedStoreIC();
343 343
344 // Call call IC. Arguments, reciever, and function name are found 344 // Call call IC. Function name, arguments, and receiver are found on top
345 // on top of the frame. Function name slot is not dropped. The 345 // of the frame and dropped by the call. The argument count does not
346 // argument count does not include the receiver. 346 // include the receiver.
347 Result CallCallIC(RelocInfo::Mode mode, int arg_count, int loop_nesting); 347 Result CallCallIC(RelocInfo::Mode mode, int arg_count, int loop_nesting);
348 348
349 // Allocate and call JS function as constructor. Arguments, 349 // Allocate and call JS function as constructor. Arguments,
350 // receiver (global object), and function are found on top of the 350 // receiver (global object), and function are found on top of the
351 // frame. Function is not dropped. The argument count does not 351 // frame. Function is not dropped. The argument count does not
352 // include the receiver. 352 // include the receiver.
353 Result CallConstructor(int arg_count); 353 Result CallConstructor(int arg_count);
354 354
355 // Drop a number of elements from the top of the expression stack. May 355 // Drop a number of elements from the top of the expression stack. May
356 // emit code to affect the physical frame. Does not clobber any registers 356 // emit code to affect the physical frame. Does not clobber any registers
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 bool Equals(VirtualFrame* other); 566 bool Equals(VirtualFrame* other);
567 567
568 // Classes that need raw access to the elements_ array. 568 // Classes that need raw access to the elements_ array.
569 friend class DeferredCode; 569 friend class DeferredCode;
570 friend class JumpTarget; 570 friend class JumpTarget;
571 }; 571 };
572 572
573 } } // namespace v8::internal 573 } } // namespace v8::internal
574 574
575 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ 575 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/ia32/virtual-frame-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698