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

Side by Side Diff: src/arm/code-stubs-arm.h

Issue 6462029: Direct call accessor getter callbacks (arm implementation). (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 10 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 | « no previous file | src/arm/code-stubs-arm.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 573
574 // Trampoline stub to call into native code. To call safely into native code 574 // Trampoline stub to call into native code. To call safely into native code
575 // in the presence of compacting GC (which can move code objects) we need to 575 // in the presence of compacting GC (which can move code objects) we need to
576 // keep the code which called into native pinned in the memory. Currently the 576 // keep the code which called into native pinned in the memory. Currently the
577 // simplest approach is to generate such stub early enough so it can never be 577 // simplest approach is to generate such stub early enough so it can never be
578 // moved by GC 578 // moved by GC
579 class DirectCEntryStub: public CodeStub { 579 class DirectCEntryStub: public CodeStub {
580 public: 580 public:
581 DirectCEntryStub() {} 581 DirectCEntryStub() {}
582 void Generate(MacroAssembler* masm); 582 void Generate(MacroAssembler* masm);
583 void GenerateCall(MacroAssembler* masm, ApiFunction *function); 583 void GenerateCall(MacroAssembler* masm, ExternalReference function);
584 void GenerateCall(MacroAssembler* masm, Register target); 584 void GenerateCall(MacroAssembler* masm, Register target);
585 585
586 private: 586 private:
587 Major MajorKey() { return DirectCEntry; } 587 Major MajorKey() { return DirectCEntry; }
588 int MinorKey() { return 0; } 588 int MinorKey() { return 0; }
589 const char* GetName() { return "DirectCEntryStub"; } 589 const char* GetName() { return "DirectCEntryStub"; }
590 }; 590 };
591 591
592 592
593 // Generate code to load an element from a pixel array. The receiver is assumed 593 // Generate code to load an element from a pixel array. The receiver is assumed
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 bool load_elements_from_receiver, 636 bool load_elements_from_receiver,
637 bool load_elements_map_from_elements, 637 bool load_elements_map_from_elements,
638 Label* key_not_smi, 638 Label* key_not_smi,
639 Label* value_not_smi, 639 Label* value_not_smi,
640 Label* not_pixel_array, 640 Label* not_pixel_array,
641 Label* out_of_range); 641 Label* out_of_range);
642 642
643 } } // namespace v8::internal 643 } } // namespace v8::internal
644 644
645 #endif // V8_ARM_CODE_STUBS_ARM_H_ 645 #endif // V8_ARM_CODE_STUBS_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698