| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ | 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ |
| 6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ | 6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "src/ast/scopes.h" | 10 #include "src/ast/scopes.h" |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 LCodeGen* codegen_; | 443 LCodeGen* codegen_; |
| 444 }; | 444 }; |
| 445 | 445 |
| 446 friend class LDeferredCode; | 446 friend class LDeferredCode; |
| 447 friend class LEnvironment; | 447 friend class LEnvironment; |
| 448 friend class SafepointGenerator; | 448 friend class SafepointGenerator; |
| 449 friend class X87Stack; | 449 friend class X87Stack; |
| 450 DISALLOW_COPY_AND_ASSIGN(LCodeGen); | 450 DISALLOW_COPY_AND_ASSIGN(LCodeGen); |
| 451 }; | 451 }; |
| 452 | 452 |
| 453 | |
| 454 class LDeferredCode : public ZoneObject { | 453 class LDeferredCode : public ZoneObject { |
| 455 public: | 454 public: |
| 456 explicit LDeferredCode(LCodeGen* codegen, const LCodeGen::X87Stack& x87_stack) | 455 explicit LDeferredCode(LCodeGen* codegen, const LCodeGen::X87Stack& x87_stack) |
| 457 : codegen_(codegen), | 456 : codegen_(codegen), |
| 458 external_exit_(NULL), | 457 external_exit_(NULL), |
| 459 instruction_index_(codegen->current_instruction_), | 458 instruction_index_(codegen->current_instruction_), |
| 460 x87_stack_(x87_stack) { | 459 x87_stack_(x87_stack) { |
| 461 codegen->AddDeferredCode(this); | 460 codegen->AddDeferredCode(this); |
| 462 } | 461 } |
| 463 | 462 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 483 Label* external_exit_; | 482 Label* external_exit_; |
| 484 Label done_; | 483 Label done_; |
| 485 int instruction_index_; | 484 int instruction_index_; |
| 486 LCodeGen::X87Stack x87_stack_; | 485 LCodeGen::X87Stack x87_stack_; |
| 487 }; | 486 }; |
| 488 | 487 |
| 489 } // namespace internal | 488 } // namespace internal |
| 490 } // namespace v8 | 489 } // namespace v8 |
| 491 | 490 |
| 492 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ | 491 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ |
| OLD | NEW |