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/token.h" | 42 #include "src/token.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; |
52 class StatsCounter; | 53 class StatsCounter; |
53 | 54 |
54 // ----------------------------------------------------------------------------- | 55 // ----------------------------------------------------------------------------- |
55 // Platform independent assembler base class. | 56 // Platform independent assembler base class. |
56 | 57 |
57 class AssemblerBase: public Malloced { | 58 class AssemblerBase: public Malloced { |
58 public: | 59 public: |
59 AssemblerBase(Isolate* isolate, void* buffer, int buffer_size); | 60 AssemblerBase(Isolate* isolate, void* buffer, int buffer_size); |
60 virtual ~AssemblerBase(); | 61 virtual ~AssemblerBase(); |
61 | 62 |
(...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1276 std::vector<ConstantPoolEntry> shared_entries; | 1277 std::vector<ConstantPoolEntry> shared_entries; |
1277 }; | 1278 }; |
1278 | 1279 |
1279 Label emitted_label_; // Records pc_offset of emitted pool | 1280 Label emitted_label_; // Records pc_offset of emitted pool |
1280 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1281 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
1281 }; | 1282 }; |
1282 | 1283 |
1283 } // namespace internal | 1284 } // namespace internal |
1284 } // namespace v8 | 1285 } // namespace v8 |
1285 #endif // V8_ASSEMBLER_H_ | 1286 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |