| 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_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 5 #ifndef V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| 6 #define V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 6 #define V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| 7 | 7 |
| 8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
| 9 #include "src/crankshaft/lithium-codegen.h" | 9 #include "src/crankshaft/lithium-codegen.h" |
| 10 #include "src/crankshaft/mips/lithium-gap-resolver-mips.h" | 10 #include "src/crankshaft/mips/lithium-gap-resolver-mips.h" |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 private: | 379 private: |
| 380 LCodeGen* codegen_; | 380 LCodeGen* codegen_; |
| 381 }; | 381 }; |
| 382 | 382 |
| 383 friend class LDeferredCode; | 383 friend class LDeferredCode; |
| 384 friend class LEnvironment; | 384 friend class LEnvironment; |
| 385 friend class SafepointGenerator; | 385 friend class SafepointGenerator; |
| 386 DISALLOW_COPY_AND_ASSIGN(LCodeGen); | 386 DISALLOW_COPY_AND_ASSIGN(LCodeGen); |
| 387 }; | 387 }; |
| 388 | 388 |
| 389 | |
| 390 class LDeferredCode : public ZoneObject { | 389 class LDeferredCode : public ZoneObject { |
| 391 public: | 390 public: |
| 392 explicit LDeferredCode(LCodeGen* codegen) | 391 explicit LDeferredCode(LCodeGen* codegen) |
| 393 : codegen_(codegen), | 392 : codegen_(codegen), |
| 394 external_exit_(NULL), | 393 external_exit_(NULL), |
| 395 instruction_index_(codegen->current_instruction_) { | 394 instruction_index_(codegen->current_instruction_) { |
| 396 codegen->AddDeferredCode(this); | 395 codegen->AddDeferredCode(this); |
| 397 } | 396 } |
| 398 | 397 |
| 399 virtual ~LDeferredCode() {} | 398 virtual ~LDeferredCode() {} |
| (...skipping 14 matching lines...) Expand all Loading... |
| 414 Label entry_; | 413 Label entry_; |
| 415 Label exit_; | 414 Label exit_; |
| 416 Label* external_exit_; | 415 Label* external_exit_; |
| 417 int instruction_index_; | 416 int instruction_index_; |
| 418 }; | 417 }; |
| 419 | 418 |
| 420 } // namespace internal | 419 } // namespace internal |
| 421 } // namespace v8 | 420 } // namespace v8 |
| 422 | 421 |
| 423 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 422 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |