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

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

Issue 11316218: Simplify and fix code aging. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed comment and rebased. Created 8 years 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/objects-inl.h ('k') | src/x64/codegen-x64.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 21 matching lines...) Expand all
32 #include "ic-inl.h" 32 #include "ic-inl.h"
33 33
34 namespace v8 { 34 namespace v8 {
35 namespace internal { 35 namespace internal {
36 36
37 // Forward declarations 37 // Forward declarations
38 class CompilationInfo; 38 class CompilationInfo;
39 39
40 enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; 40 enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF };
41 41
42 static const int kSizeOfFullCodegenStrictModePrologue = 14;
43 static const int kSizeOfOptimizedStrictModePrologue = 14;
44
45 // ------------------------------------------------------------------------- 42 // -------------------------------------------------------------------------
46 // CodeGenerator 43 // CodeGenerator
47 44
48 class CodeGenerator: public AstVisitor { 45 class CodeGenerator: public AstVisitor {
49 public: 46 public:
50 static bool MakeCode(CompilationInfo* info); 47 static bool MakeCode(CompilationInfo* info);
51 48
52 // Printing of AST, etc. as requested by flags. 49 // Printing of AST, etc. as requested by flags.
53 static void MakeCodePrologue(CompilationInfo* info); 50 static void MakeCodePrologue(CompilationInfo* info);
54 51
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 Register temp1, 93 Register temp1,
97 Register temp2); 94 Register temp2);
98 95
99 private: 96 private:
100 DISALLOW_COPY_AND_ASSIGN(MathExpGenerator); 97 DISALLOW_COPY_AND_ASSIGN(MathExpGenerator);
101 }; 98 };
102 99
103 } } // namespace v8::internal 100 } } // namespace v8::internal
104 101
105 #endif // V8_X64_CODEGEN_X64_H_ 102 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698