| 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 | 359 |
| 360 int block_id() const { return block_id_; } | 360 int block_id() const { return block_id_; } |
| 361 | 361 |
| 362 private: | 362 private: |
| 363 int block_id_; | 363 int block_id_; |
| 364 }; | 364 }; |
| 365 | 365 |
| 366 | 366 |
| 367 class LLazyBailout: public LTemplateInstruction<0, 0, 0> { | 367 class LLazyBailout: public LTemplateInstruction<0, 0, 0> { |
| 368 public: | 368 public: |
| 369 LLazyBailout() : gap_instructions_size_(0) { } | |
| 370 | |
| 371 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") | 369 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") |
| 372 | |
| 373 void set_gap_instructions_size(int gap_instructions_size) { | |
| 374 gap_instructions_size_ = gap_instructions_size; | |
| 375 } | |
| 376 int gap_instructions_size() { return gap_instructions_size_; } | |
| 377 | |
| 378 private: | |
| 379 int gap_instructions_size_; | |
| 380 }; | 370 }; |
| 381 | 371 |
| 382 | 372 |
| 383 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { | 373 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { |
| 384 public: | 374 public: |
| 385 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") | 375 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") |
| 386 }; | 376 }; |
| 387 | 377 |
| 388 | 378 |
| 389 class LLabel: public LGap { | 379 class LLabel: public LGap { |
| (...skipping 1928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2318 | 2308 |
| 2319 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2309 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2320 }; | 2310 }; |
| 2321 | 2311 |
| 2322 #undef DECLARE_HYDROGEN_ACCESSOR | 2312 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2323 #undef DECLARE_CONCRETE_INSTRUCTION | 2313 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2324 | 2314 |
| 2325 } } // namespace v8::internal | 2315 } } // namespace v8::internal |
| 2326 | 2316 |
| 2327 #endif // V8_IA32_LITHIUM_IA32_H_ | 2317 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |