| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "src/runtime/runtime.h" | 45 #include "src/runtime/runtime.h" |
| 46 | 46 |
| 47 namespace v8 { | 47 namespace v8 { |
| 48 | 48 |
| 49 // Forward declarations. | 49 // Forward declarations. |
| 50 class ApiFunction; | 50 class ApiFunction; |
| 51 | 51 |
| 52 namespace internal { | 52 namespace internal { |
| 53 | 53 |
| 54 // Forward declarations. | 54 // Forward declarations. |
| 55 class SourcePosition; |
| 55 class StatsCounter; | 56 class StatsCounter; |
| 56 | 57 |
| 57 // ----------------------------------------------------------------------------- | 58 // ----------------------------------------------------------------------------- |
| 58 // Platform independent assembler base class. | 59 // Platform independent assembler base class. |
| 59 | 60 |
| 60 enum class CodeObjectRequired { kNo, kYes }; | 61 enum class CodeObjectRequired { kNo, kYes }; |
| 61 | 62 |
| 62 | 63 |
| 63 class AssemblerBase: public Malloced { | 64 class AssemblerBase: public Malloced { |
| 64 public: | 65 public: |
| (...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1280 std::vector<ConstantPoolEntry> shared_entries; | 1281 std::vector<ConstantPoolEntry> shared_entries; |
| 1281 }; | 1282 }; |
| 1282 | 1283 |
| 1283 Label emitted_label_; // Records pc_offset of emitted pool | 1284 Label emitted_label_; // Records pc_offset of emitted pool |
| 1284 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1285 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
| 1285 }; | 1286 }; |
| 1286 | 1287 |
| 1287 } // namespace internal | 1288 } // namespace internal |
| 1288 } // namespace v8 | 1289 } // namespace v8 |
| 1289 #endif // V8_ASSEMBLER_H_ | 1290 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |