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 |
39 // Forward declarations | 42 // Forward declarations |
40 class CompilationInfo; | 43 class CompilationInfo; |
41 | 44 |
42 enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; | 45 enum TypeofState { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; |
43 | 46 |
44 // ------------------------------------------------------------------------- | 47 // ------------------------------------------------------------------------- |
45 // CodeGenerator | 48 // CodeGenerator |
46 | 49 |
47 class CodeGenerator: public AstVisitor { | 50 class CodeGenerator: public AstVisitor { |
48 public: | 51 public: |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 Register result, | 89 Register result, |
87 Label* call_runtime); | 90 Label* call_runtime); |
88 | 91 |
89 private: | 92 private: |
90 DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator); | 93 DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator); |
91 }; | 94 }; |
92 | 95 |
93 } } // namespace v8::internal | 96 } } // namespace v8::internal |
94 | 97 |
95 #endif // V8_MIPS_CODEGEN_MIPS_H_ | 98 #endif // V8_MIPS_CODEGEN_MIPS_H_ |
OLD | NEW |