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

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

Issue 10837037: Age code to allow reclaiming old unexecuted functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 8 years, 1 month 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/x64/builtins-x64.cc ('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;
42 44
43 // ------------------------------------------------------------------------- 45 // -------------------------------------------------------------------------
44 // CodeGenerator 46 // CodeGenerator
45 47
46 class CodeGenerator: public AstVisitor { 48 class CodeGenerator: public AstVisitor {
47 public: 49 public:
48 static bool MakeCode(CompilationInfo* info); 50 static bool MakeCode(CompilationInfo* info);
49 51
50 // Printing of AST, etc. as requested by flags. 52 // Printing of AST, etc. as requested by flags.
51 static void MakeCodePrologue(CompilationInfo* info); 53 static void MakeCodePrologue(CompilationInfo* info);
(...skipping 28 matching lines...) Expand all
80 Register result, 82 Register result,
81 Label* call_runtime); 83 Label* call_runtime);
82 84
83 private: 85 private:
84 DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator); 86 DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator);
85 }; 87 };
86 88
87 } } // namespace v8::internal 89 } } // namespace v8::internal
88 90
89 #endif // V8_X64_CODEGEN_X64_H_ 91 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698