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

Side by Side Diff: src/x64/codegen-x64.h

Issue 160446: X64: enable stack sampling in profiler. (Closed)
Patch Set: Created 11 years, 4 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
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 void GenerateSetValueOf(ZoneList<Expression*>* args); 527 void GenerateSetValueOf(ZoneList<Expression*>* args);
528 528
529 // Fast support for charCodeAt(n). 529 // Fast support for charCodeAt(n).
530 void GenerateFastCharCodeAt(ZoneList<Expression*>* args); 530 void GenerateFastCharCodeAt(ZoneList<Expression*>* args);
531 531
532 // Fast support for object equality testing. 532 // Fast support for object equality testing.
533 void GenerateObjectEquals(ZoneList<Expression*>* args); 533 void GenerateObjectEquals(ZoneList<Expression*>* args);
534 534
535 void GenerateLog(ZoneList<Expression*>* args); 535 void GenerateLog(ZoneList<Expression*>* args);
536 536
537 void GenerateGetFramePointer(ZoneList<Expression*>* args);
538
537 // Fast support for Math.random(). 539 // Fast support for Math.random().
538 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args); 540 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args);
539 541
540 // Fast support for Math.sin and Math.cos. 542 // Fast support for Math.sin and Math.cos.
541 enum MathOp { SIN, COS }; 543 enum MathOp { SIN, COS };
542 void GenerateFastMathOp(MathOp op, ZoneList<Expression*>* args); 544 void GenerateFastMathOp(MathOp op, ZoneList<Expression*>* args);
543 inline void GenerateMathSin(ZoneList<Expression*>* args); 545 inline void GenerateMathSin(ZoneList<Expression*>* args);
544 inline void GenerateMathCos(ZoneList<Expression*>* args); 546 inline void GenerateMathCos(ZoneList<Expression*>* args);
545 547
546 // Methods used to indicate which source code is generated for. Source 548 // Methods used to indicate which source code is generated for. Source
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 // in a spilled state. 588 // in a spilled state.
587 bool in_spilled_code_; 589 bool in_spilled_code_;
588 590
589 static InlineRuntimeLUT kInlineRuntimeLUT[]; 591 static InlineRuntimeLUT kInlineRuntimeLUT[];
590 592
591 friend class VirtualFrame; 593 friend class VirtualFrame;
592 friend class JumpTarget; 594 friend class JumpTarget;
593 friend class Reference; 595 friend class Reference;
594 friend class Result; 596 friend class Result;
595 597
598 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc
599
596 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 600 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
597 }; 601 };
598 602
599 603
600 } } // namespace v8::internal 604 } } // namespace v8::internal
601 605
602 #endif // V8_X64_CODEGEN_X64_H_ 606 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/x64/codegen-x64.cc » ('j') | src/x64/codegen-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698