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

Side by Side Diff: src/assembler.h

Issue 668248: Small simplification of #include dependencies. (Closed)
Patch Set: Removed zone.h from .cc files where unused. Created 10 years, 9 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
« no previous file with comments | « src/api.cc ('k') | src/debug.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 19 matching lines...) Expand all
30 30
31 // The original source code covered by the above license above has been 31 // The original source code covered by the above license above has been
32 // modified significantly by Google Inc. 32 // modified significantly by Google Inc.
33 // Copyright 2006-2009 the V8 project authors. All rights reserved. 33 // Copyright 2006-2009 the V8 project authors. All rights reserved.
34 34
35 #ifndef V8_ASSEMBLER_H_ 35 #ifndef V8_ASSEMBLER_H_
36 #define V8_ASSEMBLER_H_ 36 #define V8_ASSEMBLER_H_
37 37
38 #include "runtime.h" 38 #include "runtime.h"
39 #include "top.h" 39 #include "top.h"
40 #include "zone-inl.h"
41 #include "token.h" 40 #include "token.h"
42 41
43 namespace v8 { 42 namespace v8 {
44 namespace internal { 43 namespace internal {
45 44
46 45
47 // ----------------------------------------------------------------------------- 46 // -----------------------------------------------------------------------------
48 // Labels represent pc locations; they are typically jump or call targets. 47 // Labels represent pc locations; they are typically jump or call targets.
49 // After declaration, a label can be freely used to denote known or (yet) 48 // After declaration, a label can be freely used to denote known or (yet)
50 // unknown pc location. Assembler::bind() is used to bind a label to the 49 // unknown pc location. Assembler::bind() is used to bind a label to the
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 unsigned int num_bits_set; 534 unsigned int num_bits_set;
536 for (num_bits_set = 0; x; x >>= 1) { 535 for (num_bits_set = 0; x; x >>= 1) {
537 num_bits_set += x & 1; 536 num_bits_set += x & 1;
538 } 537 }
539 return num_bits_set; 538 return num_bits_set;
540 } 539 }
541 540
542 } } // namespace v8::internal 541 } } // namespace v8::internal
543 542
544 #endif // V8_ASSEMBLER_H_ 543 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698