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

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

Issue 2853003: Port KeyedCallIC implementation to x64 and ARM.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 6 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 | « src/x64/stub-cache-x64.cc ('k') | src/x64/virtual-frame-x64.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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 Result key = Pop(); 362 Result key = Pop();
363 Result receiver = Pop(); 363 Result receiver = Pop();
364 return CallCommonStoreIC(ic, &value, &key, &receiver); 364 return CallCommonStoreIC(ic, &value, &key, &receiver);
365 } 365 }
366 366
367 // Call call IC. Function name, arguments, and receiver are found on top 367 // Call call IC. Function name, arguments, and receiver are found on top
368 // of the frame and dropped by the call. 368 // of the frame and dropped by the call.
369 // The argument count does not include the receiver. 369 // The argument count does not include the receiver.
370 Result CallCallIC(RelocInfo::Mode mode, int arg_count, int loop_nesting); 370 Result CallCallIC(RelocInfo::Mode mode, int arg_count, int loop_nesting);
371 371
372 Result CallKeyedCallIC(RelocInfo::Mode mode, int arg_count, int loop_nesting);
373
372 // Allocate and call JS function as constructor. Arguments, 374 // Allocate and call JS function as constructor. Arguments,
373 // receiver (global object), and function are found on top of the 375 // receiver (global object), and function are found on top of the
374 // frame. Function is not dropped. The argument count does not 376 // frame. Function is not dropped. The argument count does not
375 // include the receiver. 377 // include the receiver.
376 Result CallConstructor(int arg_count); 378 Result CallConstructor(int arg_count);
377 379
378 // Drop a number of elements from the top of the expression stack. May 380 // Drop a number of elements from the top of the expression stack. May
379 // emit code to affect the physical frame. Does not clobber any registers 381 // emit code to affect the physical frame. Does not clobber any registers
380 // excepting possibly the stack pointer. 382 // excepting possibly the stack pointer.
381 void Drop(int count); 383 void Drop(int count);
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 593
592 // Classes that need raw access to the elements_ array. 594 // Classes that need raw access to the elements_ array.
593 friend class FrameRegisterState; 595 friend class FrameRegisterState;
594 friend class JumpTarget; 596 friend class JumpTarget;
595 }; 597 };
596 598
597 599
598 } } // namespace v8::internal 600 } } // namespace v8::internal
599 601
600 #endif // V8_X64_VIRTUAL_FRAME_X64_H_ 602 #endif // V8_X64_VIRTUAL_FRAME_X64_H_
OLDNEW
« no previous file with comments | « src/x64/stub-cache-x64.cc ('k') | src/x64/virtual-frame-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698