Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: src/mips/lithium-mips.h

Issue 16381006: Change PC for OSR entries to point to something more sensible (i.e. the first UnknownOsrValue), rem… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 2481 matching lines...) Expand 10 before | Expand all | Expand 10 after
2492 2492
2493 LOperand* object() { return inputs_[0]; } 2493 LOperand* object() { return inputs_[0]; }
2494 LOperand* key() { return inputs_[1]; } 2494 LOperand* key() { return inputs_[1]; }
2495 2495
2496 DECLARE_CONCRETE_INSTRUCTION(DeleteProperty, "delete-property") 2496 DECLARE_CONCRETE_INSTRUCTION(DeleteProperty, "delete-property")
2497 }; 2497 };
2498 2498
2499 2499
2500 class LOsrEntry: public LTemplateInstruction<0, 0, 0> { 2500 class LOsrEntry: public LTemplateInstruction<0, 0, 0> {
2501 public: 2501 public:
2502 LOsrEntry(); 2502 LOsrEntry() {}
2503 2503
2504 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } 2504 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; }
2505 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") 2505 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry")
2506
2507 LOperand** SpilledRegisterArray() { return register_spills_; }
2508 LOperand** SpilledDoubleRegisterArray() { return double_register_spills_; }
2509
2510 void MarkSpilledRegister(int allocation_index, LOperand* spill_operand);
2511 void MarkSpilledDoubleRegister(int allocation_index,
2512 LOperand* spill_operand);
2513
2514 private:
2515 // Arrays of spill slot operands for registers with an assigned spill
2516 // slot, i.e., that must also be restored to the spill slot on OSR entry.
2517 // NULL if the register has no assigned spill slot. Indexed by allocation
2518 // index.
2519 LOperand* register_spills_[Register::kMaxNumAllocatableRegisters];
2520 LOperand* double_register_spills_[
2521 DoubleRegister::kMaxNumAllocatableRegisters];
2522 }; 2506 };
2523 2507
2524 2508
2525 class LStackCheck: public LTemplateInstruction<0, 0, 0> { 2509 class LStackCheck: public LTemplateInstruction<0, 0, 0> {
2526 public: 2510 public:
2527 DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check") 2511 DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check")
2528 DECLARE_HYDROGEN_ACCESSOR(StackCheck) 2512 DECLARE_HYDROGEN_ACCESSOR(StackCheck)
2529 2513
2530 Label* done_label() { return &done_label_; } 2514 Label* done_label() { return &done_label_; }
2531 2515
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
2781 2765
2782 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2766 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2783 }; 2767 };
2784 2768
2785 #undef DECLARE_HYDROGEN_ACCESSOR 2769 #undef DECLARE_HYDROGEN_ACCESSOR
2786 #undef DECLARE_CONCRETE_INSTRUCTION 2770 #undef DECLARE_CONCRETE_INSTRUCTION
2787 2771
2788 } } // namespace v8::internal 2772 } } // namespace v8::internal
2789 2773
2790 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2774 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698