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

Side by Side Diff: src/codegen.h

Issue 561049: Using RelocInfo instead of DebuggerStatementStub (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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 | « src/assembler.cc ('k') | src/codegen.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 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 Major MajorKey() { return NoCache; } 385 Major MajorKey() { return NoCache; }
386 int MinorKey() { return 0; } 386 int MinorKey() { return 0; }
387 const char* GetName() { return "ApiEntryStub"; } 387 const char* GetName() { return "ApiEntryStub"; }
388 // The accessor info associated with the function. 388 // The accessor info associated with the function.
389 Handle<AccessorInfo> info_; 389 Handle<AccessorInfo> info_;
390 // The function to be called. 390 // The function to be called.
391 ApiFunction* fun_; 391 ApiFunction* fun_;
392 }; 392 };
393 393
394 394
395 // Mark the debugger statement to be recognized by debugger (by the MajorKey)
396 class DebuggerStatementStub : public CodeStub {
397 public:
398 DebuggerStatementStub() { }
399
400 void Generate(MacroAssembler* masm);
401
402 private:
403 Major MajorKey() { return DebuggerStatement; }
404 int MinorKey() { return 0; }
405
406 const char* GetName() { return "DebuggerStatementStub"; }
407 };
408
409
410 class JSEntryStub : public CodeStub { 395 class JSEntryStub : public CodeStub {
411 public: 396 public:
412 JSEntryStub() { } 397 JSEntryStub() { }
413 398
414 void Generate(MacroAssembler* masm) { GenerateBody(masm, false); } 399 void Generate(MacroAssembler* masm) { GenerateBody(masm, false); }
415 400
416 protected: 401 protected:
417 void GenerateBody(MacroAssembler* masm, bool is_construct); 402 void GenerateBody(MacroAssembler* masm, bool is_construct);
418 403
419 private: 404 private:
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 private: 528 private:
544 Major MajorKey() { return ToBoolean; } 529 Major MajorKey() { return ToBoolean; }
545 int MinorKey() { return 0; } 530 int MinorKey() { return 0; }
546 }; 531 };
547 532
548 533
549 } // namespace internal 534 } // namespace internal
550 } // namespace v8 535 } // namespace v8
551 536
552 #endif // V8_CODEGEN_H_ 537 #endif // V8_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698