OLD | NEW |
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 18 matching lines...) Expand all Loading... |
29 #ifndef V8_MIPS_CODEGEN_MIPS_H_ | 29 #ifndef V8_MIPS_CODEGEN_MIPS_H_ |
30 #define V8_MIPS_CODEGEN_MIPS_H_ | 30 #define V8_MIPS_CODEGEN_MIPS_H_ |
31 | 31 |
32 | 32 |
33 #include "ast.h" | 33 #include "ast.h" |
34 #include "ic-inl.h" | 34 #include "ic-inl.h" |
35 | 35 |
36 namespace v8 { | 36 namespace v8 { |
37 namespace internal { | 37 namespace internal { |
38 | 38 |
39 static const int kSizeOfFullCodegenStrictModePrologue = 16; | |
40 static const int kSizeOfOptimizedStrictModePrologue = 16; | |
41 | |
42 // Forward declarations | 39 // Forward declarations |
43 class CompilationInfo; | 40 class CompilationInfo; |
44 | 41 |
45 enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; | 42 enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; |
46 | 43 |
47 // ------------------------------------------------------------------------- | 44 // ------------------------------------------------------------------------- |
48 // CodeGenerator | 45 // CodeGenerator |
49 | 46 |
50 class CodeGenerator: public AstVisitor { | 47 class CodeGenerator: public AstVisitor { |
51 public: | 48 public: |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 Register result, | 86 Register result, |
90 Label* call_runtime); | 87 Label* call_runtime); |
91 | 88 |
92 private: | 89 private: |
93 DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator); | 90 DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator); |
94 }; | 91 }; |
95 | 92 |
96 } } // namespace v8::internal | 93 } } // namespace v8::internal |
97 | 94 |
98 #endif // V8_MIPS_CODEGEN_MIPS_H_ | 95 #endif // V8_MIPS_CODEGEN_MIPS_H_ |
OLD | NEW |