OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "src/runtime/runtime.h" | 42 #include "src/runtime/runtime.h" |
43 | 43 |
44 namespace v8 { | 44 namespace v8 { |
45 | 45 |
46 // Forward declarations. | 46 // Forward declarations. |
47 class ApiFunction; | 47 class ApiFunction; |
48 | 48 |
49 namespace internal { | 49 namespace internal { |
50 | 50 |
51 // Forward declarations. | 51 // Forward declarations. |
52 class SourcePosition; | |
53 class StatsCounter; | 52 class StatsCounter; |
54 | 53 |
55 // ----------------------------------------------------------------------------- | 54 // ----------------------------------------------------------------------------- |
56 // Platform independent assembler base class. | 55 // Platform independent assembler base class. |
57 | 56 |
58 enum class CodeObjectRequired { kNo, kYes }; | 57 enum class CodeObjectRequired { kNo, kYes }; |
59 | 58 |
60 | 59 |
61 class AssemblerBase: public Malloced { | 60 class AssemblerBase: public Malloced { |
62 public: | 61 public: |
(...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1278 std::vector<ConstantPoolEntry> shared_entries; | 1277 std::vector<ConstantPoolEntry> shared_entries; |
1279 }; | 1278 }; |
1280 | 1279 |
1281 Label emitted_label_; // Records pc_offset of emitted pool | 1280 Label emitted_label_; // Records pc_offset of emitted pool |
1282 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1281 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
1283 }; | 1282 }; |
1284 | 1283 |
1285 } // namespace internal | 1284 } // namespace internal |
1286 } // namespace v8 | 1285 } // namespace v8 |
1287 #endif // V8_ASSEMBLER_H_ | 1286 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |