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

Side by Side Diff: src/x64/assembler-x64-inl.h

Issue 2044004: Mark a function in a header as inline.... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 10 years, 7 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 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 16 matching lines...) Expand all
27 27
28 #ifndef V8_X64_ASSEMBLER_X64_INL_H_ 28 #ifndef V8_X64_ASSEMBLER_X64_INL_H_
29 #define V8_X64_ASSEMBLER_X64_INL_H_ 29 #define V8_X64_ASSEMBLER_X64_INL_H_
30 30
31 #include "cpu.h" 31 #include "cpu.h"
32 #include "memory.h" 32 #include "memory.h"
33 33
34 namespace v8 { 34 namespace v8 {
35 namespace internal { 35 namespace internal {
36 36
37 Condition NegateCondition(Condition cc) { 37 inline Condition NegateCondition(Condition cc) {
38 return static_cast<Condition>(cc ^ 1); 38 return static_cast<Condition>(cc ^ 1);
39 } 39 }
40 40
41 41
42 // ----------------------------------------------------------------------------- 42 // -----------------------------------------------------------------------------
43 // Implementation of Assembler 43 // Implementation of Assembler
44 44
45 45
46 46
47 void Assembler::emitl(uint32_t x) { 47 void Assembler::emitl(uint32_t x) {
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 ASSERT(len_ == 1 || len_ == 2); 354 ASSERT(len_ == 1 || len_ == 2);
355 int32_t* p = reinterpret_cast<int32_t*>(&buf_[len_]); 355 int32_t* p = reinterpret_cast<int32_t*>(&buf_[len_]);
356 *p = disp; 356 *p = disp;
357 len_ += sizeof(int32_t); 357 len_ += sizeof(int32_t);
358 } 358 }
359 359
360 360
361 } } // namespace v8::internal 361 } } // namespace v8::internal
362 362
363 #endif // V8_X64_ASSEMBLER_X64_INL_H_ 363 #endif // V8_X64_ASSEMBLER_X64_INL_H_
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