| 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_MIPS64_LITHIUM_CODEGEN_MIPS_H_ | 5 #ifndef V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_ |
| 6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_ | 6 #define V8_CRANKSHAFT_MIPS64_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/mips64/lithium-gap-resolver-mips64.h" | 10 #include "src/crankshaft/mips64/lithium-gap-resolver-mips64.h" |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 private: | 382 private: |
| 383 LCodeGen* codegen_; | 383 LCodeGen* codegen_; |
| 384 }; | 384 }; |
| 385 | 385 |
| 386 friend class LDeferredCode; | 386 friend class LDeferredCode; |
| 387 friend class LEnvironment; | 387 friend class LEnvironment; |
| 388 friend class SafepointGenerator; | 388 friend class SafepointGenerator; |
| 389 DISALLOW_COPY_AND_ASSIGN(LCodeGen); | 389 DISALLOW_COPY_AND_ASSIGN(LCodeGen); |
| 390 }; | 390 }; |
| 391 | 391 |
| 392 | |
| 393 class LDeferredCode : public ZoneObject { | 392 class LDeferredCode : public ZoneObject { |
| 394 public: | 393 public: |
| 395 explicit LDeferredCode(LCodeGen* codegen) | 394 explicit LDeferredCode(LCodeGen* codegen) |
| 396 : codegen_(codegen), | 395 : codegen_(codegen), |
| 397 external_exit_(NULL), | 396 external_exit_(NULL), |
| 398 instruction_index_(codegen->current_instruction_) { | 397 instruction_index_(codegen->current_instruction_) { |
| 399 codegen->AddDeferredCode(this); | 398 codegen->AddDeferredCode(this); |
| 400 } | 399 } |
| 401 | 400 |
| 402 virtual ~LDeferredCode() {} | 401 virtual ~LDeferredCode() {} |
| (...skipping 14 matching lines...) Expand all Loading... |
| 417 Label entry_; | 416 Label entry_; |
| 418 Label exit_; | 417 Label exit_; |
| 419 Label* external_exit_; | 418 Label* external_exit_; |
| 420 int instruction_index_; | 419 int instruction_index_; |
| 421 }; | 420 }; |
| 422 | 421 |
| 423 } // namespace internal | 422 } // namespace internal |
| 424 } // namespace v8 | 423 } // namespace v8 |
| 425 | 424 |
| 426 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_ | 425 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |