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

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

Issue 3965004: Fixing build failure - added a missed file. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 2 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 ApiGetterEntryStub(Handle<AccessorInfo> info, 529 ApiGetterEntryStub(Handle<AccessorInfo> info,
530 ApiFunction* fun) 530 ApiFunction* fun)
531 : info_(info), 531 : info_(info),
532 fun_(fun) { } 532 fun_(fun) { }
533 void Generate(MacroAssembler* masm); 533 void Generate(MacroAssembler* masm);
534 virtual bool has_custom_cache() { return true; } 534 virtual bool has_custom_cache() { return true; }
535 virtual bool GetCustomCache(Code** code_out); 535 virtual bool GetCustomCache(Code** code_out);
536 virtual void SetCustomCache(Code* value); 536 virtual void SetCustomCache(Code* value);
537 537
538 static const int kStackSpace = 5; 538 static const int kStackSpace = 5;
539 static const int kArgc = 4; 539 static const int kArgc = 2;
540 private: 540 private:
541 Handle<AccessorInfo> info() { return info_; } 541 Handle<AccessorInfo> info() { return info_; }
542 ApiFunction* fun() { return fun_; } 542 ApiFunction* fun() { return fun_; }
543 Major MajorKey() { return NoCache; } 543 Major MajorKey() { return NoCache; }
544 int MinorKey() { return 0; } 544 int MinorKey() { return 0; }
545 const char* GetName() { return "ApiEntryStub"; } 545 const char* GetName() { return "ApiEntryStub"; }
546 // The accessor info associated with the function. 546 // The accessor info associated with the function.
547 Handle<AccessorInfo> info_; 547 Handle<AccessorInfo> info_;
548 // The function to be called. 548 // The function to be called.
549 ApiFunction* fun_; 549 ApiFunction* fun_;
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 private: 827 private:
828 StringCharCodeAtGenerator char_code_at_generator_; 828 StringCharCodeAtGenerator char_code_at_generator_;
829 StringCharFromCodeGenerator char_from_code_generator_; 829 StringCharFromCodeGenerator char_from_code_generator_;
830 830
831 DISALLOW_COPY_AND_ASSIGN(StringCharAtGenerator); 831 DISALLOW_COPY_AND_ASSIGN(StringCharAtGenerator);
832 }; 832 };
833 833
834 } } // namespace v8::internal 834 } } // namespace v8::internal
835 835
836 #endif // V8_CODE_STUBS_H_ 836 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698