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

Side by Side Diff: src/x64/lithium-codegen-x64.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/scopeinfo.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 265
266 void EmitLoadField(Register result, 266 void EmitLoadField(Register result,
267 Register object, 267 Register object,
268 Handle<Map> type, 268 Handle<Map> type,
269 Handle<String> name); 269 Handle<String> name);
270 270
271 // Emits code for pushing a constant operand. 271 // Emits code for pushing a constant operand.
272 void EmitPushConstantOperand(LOperand* operand); 272 void EmitPushConstantOperand(LOperand* operand);
273 273
274 struct JumpTableEntry { 274 struct JumpTableEntry {
275 inline JumpTableEntry(Address entry) 275 explicit inline JumpTableEntry(Address entry)
276 : label(), 276 : label(),
277 address(entry) { } 277 address(entry) { }
278 Label label; 278 Label label;
279 Address address; 279 Address address;
280 }; 280 };
281 281
282 LChunk* const chunk_; 282 LChunk* const chunk_;
283 MacroAssembler* const masm_; 283 MacroAssembler* const masm_;
284 CompilationInfo* const info_; 284 CompilationInfo* const info_;
285 285
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 private: 352 private:
353 LCodeGen* codegen_; 353 LCodeGen* codegen_;
354 Label entry_; 354 Label entry_;
355 Label exit_; 355 Label exit_;
356 Label* external_exit_; 356 Label* external_exit_;
357 }; 357 };
358 358
359 } } // namespace v8::internal 359 } } // namespace v8::internal
360 360
361 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 361 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/scopeinfo.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698