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

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

Issue 6170001: Direct call api functions (arm implementation) (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 11 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
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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 RegExpCEntryStub() {} 449 RegExpCEntryStub() {}
450 virtual ~RegExpCEntryStub() {} 450 virtual ~RegExpCEntryStub() {}
451 void Generate(MacroAssembler* masm); 451 void Generate(MacroAssembler* masm);
452 452
453 private: 453 private:
454 Major MajorKey() { return RegExpCEntry; } 454 Major MajorKey() { return RegExpCEntry; }
455 int MinorKey() { return 0; } 455 int MinorKey() { return 0; }
456 const char* GetName() { return "RegExpCEntryStub"; } 456 const char* GetName() { return "RegExpCEntryStub"; }
457 }; 457 };
458 458
459 // Stub used when returning from direct native call to generated code.
antonm 2011/01/21 17:56:36 English is not native to me, so feel free to ignor
Zaheer 2011/01/24 09:43:31 Thanks. I think your description is more accurate
460 // Allows the code stub to move in case of a GC from the native call.
461 // The stub itself is assumed to be unmovable.
462 class DirectCEntryStub: public CodeStub {
463 public:
464 DirectCEntryStub() {}
465 void Generate(MacroAssembler* masm);
466
467 private:
468 Major MajorKey() { return DirectCEntry; }
469 int MinorKey() { return 0; }
470 const char* GetName() { return "DirectCEntryStub"; }
471 };
472
459 473
460 } } // namespace v8::internal 474 } } // namespace v8::internal
461 475
462 #endif // V8_ARM_CODE_STUBS_ARM_H_ 476 #endif // V8_ARM_CODE_STUBS_ARM_H_
OLDNEW
« no previous file with comments | « AUTHORS ('k') | src/arm/code-stubs-arm.cc » ('j') | src/arm/code-stubs-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698