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

Side by Side Diff: src/ia32/virtual-frame-ia32.h

Issue 660175: Make another small virtual frame function inlined.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 10 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/virtual-frame-arm.cc ('k') | src/ia32/virtual-frame-ia32.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 private: 66 private:
67 bool previous_state_; 67 bool previous_state_;
68 68
69 CodeGenerator* cgen() {return CodeGeneratorScope::Current();} 69 CodeGenerator* cgen() {return CodeGeneratorScope::Current();}
70 }; 70 };
71 71
72 // An illegal index into the virtual frame. 72 // An illegal index into the virtual frame.
73 static const int kIllegalIndex = -1; 73 static const int kIllegalIndex = -1;
74 74
75 // Construct an initial virtual frame on entry to a JS function. 75 // Construct an initial virtual frame on entry to a JS function.
76 VirtualFrame(); 76 inline VirtualFrame();
77 77
78 // Construct a virtual frame as a clone of an existing one. 78 // Construct a virtual frame as a clone of an existing one.
79 explicit inline VirtualFrame(VirtualFrame* original); 79 explicit inline VirtualFrame(VirtualFrame* original);
80 80
81 CodeGenerator* cgen() { return CodeGeneratorScope::Current(); } 81 CodeGenerator* cgen() { return CodeGeneratorScope::Current(); }
82 82
83 MacroAssembler* masm() { return cgen()->masm(); } 83 MacroAssembler* masm() { return cgen()->masm(); }
84 84
85 // Create a duplicate of an existing valid frame element. 85 // Create a duplicate of an existing valid frame element.
86 FrameElement CopyElementAt(int index, 86 FrameElement CopyElementAt(int index,
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 inline bool Equals(VirtualFrame* other); 590 inline bool Equals(VirtualFrame* other);
591 591
592 // Classes that need raw access to the elements_ array. 592 // Classes that need raw access to the elements_ array.
593 friend class DeferredCode; 593 friend class DeferredCode;
594 friend class JumpTarget; 594 friend class JumpTarget;
595 }; 595 };
596 596
597 } } // namespace v8::internal 597 } } // namespace v8::internal
598 598
599 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ 599 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/virtual-frame-arm.cc ('k') | src/ia32/virtual-frame-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698