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

Side by Side Diff: src/x64/assembler-x64.cc

Issue 6791011: Fix presubmit error. (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 | « no previous file | 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 last_pc_ = NULL; 391 last_pc_ = NULL;
392 392
393 #ifdef GENERATED_CODE_COVERAGE 393 #ifdef GENERATED_CODE_COVERAGE
394 InitCoverageLog(); 394 InitCoverageLog();
395 #endif 395 #endif
396 } 396 }
397 397
398 398
399 Assembler::~Assembler() { 399 Assembler::~Assembler() {
400 if (own_buffer_) { 400 if (own_buffer_) {
401 if (isolate() != NULL && 401 if (isolate() != NULL &&
402 isolate()->assembler_spare_buffer() == NULL && 402 isolate()->assembler_spare_buffer() == NULL &&
403 buffer_size_ == kMinimalBufferSize) { 403 buffer_size_ == kMinimalBufferSize) {
404 isolate()->set_assembler_spare_buffer(buffer_); 404 isolate()->set_assembler_spare_buffer(buffer_);
405 } else { 405 } else {
406 DeleteArray(buffer_); 406 DeleteArray(buffer_);
407 } 407 }
408 } 408 }
409 } 409 }
410 410
411 411
(...skipping 2759 matching lines...) Expand 10 before | Expand all | Expand 10 after
3171 // specially coded on x64 means that it is a relative 32 bit address, as used 3171 // specially coded on x64 means that it is a relative 32 bit address, as used
3172 // by branch instructions. 3172 // by branch instructions.
3173 return (1 << rmode_) & kApplyMask; 3173 return (1 << rmode_) & kApplyMask;
3174 } 3174 }
3175 3175
3176 3176
3177 3177
3178 } } // namespace v8::internal 3178 } } // namespace v8::internal
3179 3179
3180 #endif // V8_TARGET_ARCH_X64 3180 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698