| 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_ARM_LITHIUM_CODEGEN_ARM_H_ | 5 #ifndef V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ |
| 6 #define V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ | 6 #define V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ |
| 7 | 7 |
| 8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
| 9 #include "src/crankshaft/arm/lithium-arm.h" | 9 #include "src/crankshaft/arm/lithium-arm.h" |
| 10 #include "src/crankshaft/arm/lithium-gap-resolver-arm.h" | 10 #include "src/crankshaft/arm/lithium-gap-resolver-arm.h" |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 private: | 345 private: |
| 346 LCodeGen* codegen_; | 346 LCodeGen* codegen_; |
| 347 }; | 347 }; |
| 348 | 348 |
| 349 friend class LDeferredCode; | 349 friend class LDeferredCode; |
| 350 friend class LEnvironment; | 350 friend class LEnvironment; |
| 351 friend class SafepointGenerator; | 351 friend class SafepointGenerator; |
| 352 DISALLOW_COPY_AND_ASSIGN(LCodeGen); | 352 DISALLOW_COPY_AND_ASSIGN(LCodeGen); |
| 353 }; | 353 }; |
| 354 | 354 |
| 355 | |
| 356 class LDeferredCode : public ZoneObject { | 355 class LDeferredCode : public ZoneObject { |
| 357 public: | 356 public: |
| 358 explicit LDeferredCode(LCodeGen* codegen) | 357 explicit LDeferredCode(LCodeGen* codegen) |
| 359 : codegen_(codegen), | 358 : codegen_(codegen), |
| 360 external_exit_(NULL), | 359 external_exit_(NULL), |
| 361 instruction_index_(codegen->current_instruction_) { | 360 instruction_index_(codegen->current_instruction_) { |
| 362 codegen->AddDeferredCode(this); | 361 codegen->AddDeferredCode(this); |
| 363 } | 362 } |
| 364 | 363 |
| 365 virtual ~LDeferredCode() {} | 364 virtual ~LDeferredCode() {} |
| (...skipping 14 matching lines...) Expand all Loading... |
| 380 Label entry_; | 379 Label entry_; |
| 381 Label exit_; | 380 Label exit_; |
| 382 Label* external_exit_; | 381 Label* external_exit_; |
| 383 int instruction_index_; | 382 int instruction_index_; |
| 384 }; | 383 }; |
| 385 | 384 |
| 386 } // namespace internal | 385 } // namespace internal |
| 387 } // namespace v8 | 386 } // namespace v8 |
| 388 | 387 |
| 389 #endif // V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ | 388 #endif // V8_CRANKSHAFT_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |