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

Side by Side Diff: src/deoptimizer.h

Issue 88043002: Out-of-line constant pool on Arm: Stage 3 - Set Constant Pool Pointer on Function Entry (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Sync and Rebase Created 6 years, 11 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/arm/macro-assembler-arm.cc ('k') | src/deoptimizer.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 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 536
537 intptr_t GetPc() const { return pc_; } 537 intptr_t GetPc() const { return pc_; }
538 void SetPc(intptr_t pc) { pc_ = pc; } 538 void SetPc(intptr_t pc) { pc_ = pc; }
539 539
540 intptr_t GetFp() const { return fp_; } 540 intptr_t GetFp() const { return fp_; }
541 void SetFp(intptr_t fp) { fp_ = fp; } 541 void SetFp(intptr_t fp) { fp_ = fp; }
542 542
543 intptr_t GetContext() const { return context_; } 543 intptr_t GetContext() const { return context_; }
544 void SetContext(intptr_t context) { context_ = context; } 544 void SetContext(intptr_t context) { context_ = context; }
545 545
546 intptr_t GetConstantPool() const { return constant_pool_; }
547 void SetConstantPool(intptr_t constant_pool) {
548 constant_pool_ = constant_pool;
549 }
550
546 Smi* GetState() const { return state_; } 551 Smi* GetState() const { return state_; }
547 void SetState(Smi* state) { state_ = state; } 552 void SetState(Smi* state) { state_ = state; }
548 553
549 void SetContinuation(intptr_t pc) { continuation_ = pc; } 554 void SetContinuation(intptr_t pc) { continuation_ = pc; }
550 555
551 StackFrame::Type GetFrameType() const { return type_; } 556 StackFrame::Type GetFrameType() const { return type_; }
552 void SetFrameType(StackFrame::Type type) { type_ = type; } 557 void SetFrameType(StackFrame::Type type) { type_ = type; }
553 558
554 // Get the incoming arguments count. 559 // Get the incoming arguments count.
555 int ComputeParametersCount(); 560 int ComputeParametersCount();
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 // keep the variable-size array frame_content_ of type intptr_t at 603 // keep the variable-size array frame_content_ of type intptr_t at
599 // the end of the structure aligned. 604 // the end of the structure aligned.
600 uintptr_t frame_size_; // Number of bytes. 605 uintptr_t frame_size_; // Number of bytes.
601 JSFunction* function_; 606 JSFunction* function_;
602 intptr_t registers_[Register::kNumRegisters]; 607 intptr_t registers_[Register::kNumRegisters];
603 double double_registers_[DoubleRegister::kMaxNumRegisters]; 608 double double_registers_[DoubleRegister::kMaxNumRegisters];
604 intptr_t top_; 609 intptr_t top_;
605 intptr_t pc_; 610 intptr_t pc_;
606 intptr_t fp_; 611 intptr_t fp_;
607 intptr_t context_; 612 intptr_t context_;
613 intptr_t constant_pool_;
608 StackFrame::Type type_; 614 StackFrame::Type type_;
609 Smi* state_; 615 Smi* state_;
610 616
611 // Continuation is the PC where the execution continues after 617 // Continuation is the PC where the execution continues after
612 // deoptimizing. 618 // deoptimizing.
613 intptr_t continuation_; 619 intptr_t continuation_;
614 620
615 // This must be at the end of the object as the object is allocated larger 621 // This must be at the end of the object as the object is allocated larger
616 // than it's definition indicate to extend this array. 622 // than it's definition indicate to extend this array.
617 intptr_t frame_content_[1]; 623 intptr_t frame_content_[1];
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 Object** expression_stack_; 936 Object** expression_stack_;
931 int source_position_; 937 int source_position_;
932 938
933 friend class Deoptimizer; 939 friend class Deoptimizer;
934 }; 940 };
935 #endif 941 #endif
936 942
937 } } // namespace v8::internal 943 } } // namespace v8::internal
938 944
939 #endif // V8_DEOPTIMIZER_H_ 945 #endif // V8_DEOPTIMIZER_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698