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

Side by Side Diff: src/x64/lithium-x64.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: Add --always-osr flag. 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
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2478 matching lines...) Expand 10 before | Expand all | Expand 10 after
2489 2489
2490 LOperand* object() { return inputs_[0]; } 2490 LOperand* object() { return inputs_[0]; }
2491 LOperand* key() { return inputs_[1]; } 2491 LOperand* key() { return inputs_[1]; }
2492 2492
2493 DECLARE_CONCRETE_INSTRUCTION(DeleteProperty, "delete-property") 2493 DECLARE_CONCRETE_INSTRUCTION(DeleteProperty, "delete-property")
2494 }; 2494 };
2495 2495
2496 2496
2497 class LOsrEntry: public LTemplateInstruction<0, 0, 0> { 2497 class LOsrEntry: public LTemplateInstruction<0, 0, 0> {
2498 public: 2498 public:
2499 LOsrEntry(); 2499 LOsrEntry() {}
2500 2500
2501 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; } 2501 virtual bool HasInterestingComment(LCodeGen* gen) const { return false; }
2502 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") 2502 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry")
2503
2504 LOperand** SpilledRegisterArray() { return register_spills_; }
2505 LOperand** SpilledDoubleRegisterArray() { return double_register_spills_; }
2506
2507 void MarkSpilledRegister(int allocation_index, LOperand* spill_operand);
2508 void MarkSpilledDoubleRegister(int allocation_index,
2509 LOperand* spill_operand);
2510
2511 private:
2512 // Arrays of spill slot operands for registers with an assigned spill
2513 // slot, i.e., that must also be restored to the spill slot on OSR entry.
2514 // NULL if the register has no assigned spill slot. Indexed by allocation
2515 // index.
2516 LOperand* register_spills_[Register::kMaxNumAllocatableRegisters];
2517 LOperand* double_register_spills_[
2518 DoubleRegister::kMaxNumAllocatableRegisters];
2519 }; 2503 };
2520 2504
2521 2505
2522 class LStackCheck: public LTemplateInstruction<0, 0, 0> { 2506 class LStackCheck: public LTemplateInstruction<0, 0, 0> {
2523 public: 2507 public:
2524 DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check") 2508 DECLARE_CONCRETE_INSTRUCTION(StackCheck, "stack-check")
2525 DECLARE_HYDROGEN_ACCESSOR(StackCheck) 2509 DECLARE_HYDROGEN_ACCESSOR(StackCheck)
2526 2510
2527 Label* done_label() { return &done_label_; } 2511 Label* done_label() { return &done_label_; }
2528 2512
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
2767 2751
2768 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2752 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2769 }; 2753 };
2770 2754
2771 #undef DECLARE_HYDROGEN_ACCESSOR 2755 #undef DECLARE_HYDROGEN_ACCESSOR
2772 #undef DECLARE_CONCRETE_INSTRUCTION 2756 #undef DECLARE_CONCRETE_INSTRUCTION
2773 2757
2774 } } // namespace v8::int 2758 } } // namespace v8::int
2775 2759
2776 #endif // V8_X64_LITHIUM_X64_H_ 2760 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698