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

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

Issue 6820028: Mark single-argument inline constructors as 'explicit'. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 8 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/jsregexp.h ('k') | src/objects.h » ('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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 RegisterAllocationScope() {} 99 RegisterAllocationScope() {}
100 }; 100 };
101 101
102 // An illegal index into the virtual frame. 102 // An illegal index into the virtual frame.
103 static const int kIllegalIndex = -1; 103 static const int kIllegalIndex = -1;
104 104
105 // Construct an initial virtual frame on entry to a JS function. 105 // Construct an initial virtual frame on entry to a JS function.
106 inline VirtualFrame(); 106 inline VirtualFrame();
107 107
108 // Construct an invalid virtual frame, used by JumpTargets. 108 // Construct an invalid virtual frame, used by JumpTargets.
109 inline VirtualFrame(InvalidVirtualFrameInitializer* dummy); 109 explicit inline VirtualFrame(InvalidVirtualFrameInitializer* dummy);
110 110
111 // Construct a virtual frame as a clone of an existing one. 111 // Construct a virtual frame as a clone of an existing one.
112 explicit inline VirtualFrame(VirtualFrame* original); 112 explicit inline VirtualFrame(VirtualFrame* original);
113 113
114 inline CodeGenerator* cgen() const; 114 inline CodeGenerator* cgen() const;
115 inline MacroAssembler* masm(); 115 inline MacroAssembler* masm();
116 116
117 // The number of elements on the virtual frame. 117 // The number of elements on the virtual frame.
118 int element_count() const { return element_count_; } 118 int element_count() const { return element_count_; }
119 119
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 } 521 }
522 } 522 }
523 friend class JumpTarget; 523 friend class JumpTarget;
524 }; 524 };
525 525
526 526
527 } } // namespace v8::internal 527 } } // namespace v8::internal
528 528
529 #endif // V8_MIPS_VIRTUAL_FRAME_MIPS_H_ 529 #endif // V8_MIPS_VIRTUAL_FRAME_MIPS_H_
530 530
OLDNEW
« no previous file with comments | « src/jsregexp.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698