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

Side by Side Diff: src/compiler.h

Issue 23480031: Enable preaging of code objects when --optimize-for-size. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Rebase and add MIPS support Created 7 years, 2 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 17 matching lines...) Expand all
28 #ifndef V8_COMPILER_H_ 28 #ifndef V8_COMPILER_H_
29 #define V8_COMPILER_H_ 29 #define V8_COMPILER_H_
30 30
31 #include "allocation.h" 31 #include "allocation.h"
32 #include "ast.h" 32 #include "ast.h"
33 #include "zone.h" 33 #include "zone.h"
34 34
35 namespace v8 { 35 namespace v8 {
36 namespace internal { 36 namespace internal {
37 37
38 static const int kPrologueOffsetNotSet = -1;
39
40 class ScriptDataImpl; 38 class ScriptDataImpl;
41 class HydrogenCodeStub; 39 class HydrogenCodeStub;
42 40
43 // ParseRestriction is used to restrict the set of valid statements in a 41 // ParseRestriction is used to restrict the set of valid statements in a
44 // unit of compilation. Restriction violations cause a syntax error. 42 // unit of compilation. Restriction violations cause a syntax error.
45 enum ParseRestriction { 43 enum ParseRestriction {
46 NO_PARSE_RESTRICTION, // All expressions are allowed. 44 NO_PARSE_RESTRICTION, // All expressions are allowed.
47 ONLY_SINGLE_FUNCTION_LITERAL // Only a single FunctionLiteral expression. 45 ONLY_SINGLE_FUNCTION_LITERAL // Only a single FunctionLiteral expression.
48 }; 46 };
49 47
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 unsigned info_zone_start_allocation_size_; 664 unsigned info_zone_start_allocation_size_;
667 ElapsedTimer timer_; 665 ElapsedTimer timer_;
668 666
669 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); 667 DISALLOW_COPY_AND_ASSIGN(CompilationPhase);
670 }; 668 };
671 669
672 670
673 } } // namespace v8::internal 671 } } // namespace v8::internal
674 672
675 #endif // V8_COMPILER_H_ 673 #endif // V8_COMPILER_H_
OLDNEW
« src/arm/full-codegen-arm.cc ('K') | « src/codegen.cc ('k') | src/factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698