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

Side by Side Diff: src/x64/virtual-frame-x64.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/virtual-frame-inl.h ('k') | src/x64/virtual-frame-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 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 MacroAssembler* masm() { return cgen()->masm(); } 82 MacroAssembler* masm() { return cgen()->masm(); }
83 83
84 // Create a duplicate of an existing valid frame element. 84 // Create a duplicate of an existing valid frame element.
85 FrameElement CopyElementAt(int index, 85 FrameElement CopyElementAt(int index,
86 NumberInfo::Type info = NumberInfo::kUninitialized); 86 NumberInfo::Type info = NumberInfo::kUninitialized);
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 561
562 // Classes that need raw access to the elements_ array. 562 // Classes that need raw access to the elements_ array.
563 friend class DeferredCode; 563 friend class DeferredCode;
564 friend class JumpTarget; 564 friend class JumpTarget;
565 }; 565 };
566 566
567 567
568 } } // namespace v8::internal 568 } } // namespace v8::internal
569 569
570 #endif // V8_X64_VIRTUAL_FRAME_X64_H_ 570 #endif // V8_X64_VIRTUAL_FRAME_X64_H_
OLDNEW
« no previous file with comments | « src/virtual-frame-inl.h ('k') | src/x64/virtual-frame-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698