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

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

Issue 6576035: Landing for Zaheer. (Closed) Base URL: https://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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 585
586 // Trampoline stub to call into native code. To call safely into native code 586 // Trampoline stub to call into native code. To call safely into native code
587 // in the presence of compacting GC (which can move code objects) we need to 587 // in the presence of compacting GC (which can move code objects) we need to
588 // keep the code which called into native pinned in the memory. Currently the 588 // keep the code which called into native pinned in the memory. Currently the
589 // simplest approach is to generate such stub early enough so it can never be 589 // simplest approach is to generate such stub early enough so it can never be
590 // moved by GC 590 // moved by GC
591 class DirectCEntryStub: public CodeStub { 591 class DirectCEntryStub: public CodeStub {
592 public: 592 public:
593 DirectCEntryStub() {} 593 DirectCEntryStub() {}
594 void Generate(MacroAssembler* masm); 594 void Generate(MacroAssembler* masm);
595 void GenerateCall(MacroAssembler* masm, ApiFunction *function); 595 void GenerateCall(MacroAssembler* masm, ExternalReference function);
596 void GenerateCall(MacroAssembler* masm, Register target); 596 void GenerateCall(MacroAssembler* masm, Register target);
597 597
598 private: 598 private:
599 Major MajorKey() { return DirectCEntry; } 599 Major MajorKey() { return DirectCEntry; }
600 int MinorKey() { return 0; } 600 int MinorKey() { return 0; }
601 const char* GetName() { return "DirectCEntryStub"; } 601 const char* GetName() { return "DirectCEntryStub"; }
602 }; 602 };
603 603
604 604
605 // Generate code to load an element from a pixel array. The receiver is assumed 605 // 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
648 bool load_elements_from_receiver, 648 bool load_elements_from_receiver,
649 bool load_elements_map_from_elements, 649 bool load_elements_map_from_elements,
650 Label* key_not_smi, 650 Label* key_not_smi,
651 Label* value_not_smi, 651 Label* value_not_smi,
652 Label* not_pixel_array, 652 Label* not_pixel_array,
653 Label* out_of_range); 653 Label* out_of_range);
654 654
655 } } // namespace v8::internal 655 } } // namespace v8::internal
656 656
657 #endif // V8_ARM_CODE_STUBS_ARM_H_ 657 #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