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

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

Issue 6708014: Fix compilation on Windows post-7252 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 9 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/heap.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 void GenerateReadElement(MacroAssembler* masm); 675 void GenerateReadElement(MacroAssembler* masm);
676 void GenerateNewObject(MacroAssembler* masm); 676 void GenerateNewObject(MacroAssembler* masm);
677 677
678 int GetArgumentsBoilerplateIndex() const { 678 int GetArgumentsBoilerplateIndex() const {
679 return (type_ == NEW_STRICT) 679 return (type_ == NEW_STRICT)
680 ? Context::STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX 680 ? Context::STRICT_MODE_ARGUMENTS_BOILERPLATE_INDEX
681 : Context::ARGUMENTS_BOILERPLATE_INDEX; 681 : Context::ARGUMENTS_BOILERPLATE_INDEX;
682 } 682 }
683 683
684 int GetArgumentsObjectSize() const { 684 int GetArgumentsObjectSize() const {
685 return (type_ == NEW_STRICT) 685 if (type_ == NEW_STRICT)
686 ? Heap::kArgumentsObjectSizeStrict 686 return Heap::kArgumentsObjectSizeStrict;
687 : Heap::kArgumentsObjectSize; 687 else
688 return Heap::kArgumentsObjectSize;
688 } 689 }
689 690
690 const char* GetName() { return "ArgumentsAccessStub"; } 691 const char* GetName() { return "ArgumentsAccessStub"; }
691 692
692 #ifdef DEBUG 693 #ifdef DEBUG
693 void Print() { 694 void Print() {
694 PrintF("ArgumentsAccessStub (type %d)\n", type_); 695 PrintF("ArgumentsAccessStub (type %d)\n", type_);
695 } 696 }
696 #endif 697 #endif
697 }; 698 };
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 private: 953 private:
953 MacroAssembler* masm_; 954 MacroAssembler* masm_;
954 bool previous_allow_; 955 bool previous_allow_;
955 956
956 DISALLOW_COPY_AND_ASSIGN(AllowStubCallsScope); 957 DISALLOW_COPY_AND_ASSIGN(AllowStubCallsScope);
957 }; 958 };
958 959
959 } } // namespace v8::internal 960 } } // namespace v8::internal
960 961
961 #endif // V8_CODE_STUBS_H_ 962 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698