| 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 | 361 |
| 362 int block_id() const { return block_id_; } | 362 int block_id() const { return block_id_; } |
| 363 | 363 |
| 364 private: | 364 private: |
| 365 int block_id_; | 365 int block_id_; |
| 366 }; | 366 }; |
| 367 | 367 |
| 368 | 368 |
| 369 class LLazyBailout: public LTemplateInstruction<0, 0, 0> { | 369 class LLazyBailout: public LTemplateInstruction<0, 0, 0> { |
| 370 public: | 370 public: |
| 371 LLazyBailout() : gap_instructions_size_(0) { } | |
| 372 | |
| 373 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") | 371 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") |
| 374 | |
| 375 void set_gap_instructions_size(int gap_instructions_size) { | |
| 376 gap_instructions_size_ = gap_instructions_size; | |
| 377 } | |
| 378 int gap_instructions_size() { return gap_instructions_size_; } | |
| 379 | |
| 380 private: | |
| 381 int gap_instructions_size_; | |
| 382 }; | 372 }; |
| 383 | 373 |
| 384 | 374 |
| 385 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { | 375 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { |
| 386 public: | 376 public: |
| 387 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") | 377 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") |
| 388 }; | 378 }; |
| 389 | 379 |
| 390 | 380 |
| 391 class LLabel: public LGap { | 381 class LLabel: public LGap { |
| (...skipping 1894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2286 | 2276 |
| 2287 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2277 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2288 }; | 2278 }; |
| 2289 | 2279 |
| 2290 #undef DECLARE_HYDROGEN_ACCESSOR | 2280 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2291 #undef DECLARE_CONCRETE_INSTRUCTION | 2281 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2292 | 2282 |
| 2293 } } // namespace v8::internal | 2283 } } // namespace v8::internal |
| 2294 | 2284 |
| 2295 #endif // V8_IA32_LITHIUM_IA32_H_ | 2285 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |