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

Side by Side Diff: src/serialize.cc

Issue 115756: Split nested namespaces declaration in two lines in accordance with C++ Style Guide. (Closed)
Patch Set: Created 11 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 21 matching lines...) Expand all
32 #include "execution.h" 32 #include "execution.h"
33 #include "global-handles.h" 33 #include "global-handles.h"
34 #include "ic-inl.h" 34 #include "ic-inl.h"
35 #include "natives.h" 35 #include "natives.h"
36 #include "platform.h" 36 #include "platform.h"
37 #include "runtime.h" 37 #include "runtime.h"
38 #include "serialize.h" 38 #include "serialize.h"
39 #include "stub-cache.h" 39 #include "stub-cache.h"
40 #include "v8threads.h" 40 #include "v8threads.h"
41 41
42 namespace v8 { namespace internal { 42 namespace v8 {
43 namespace internal {
43 44
44 // Encoding: a RelativeAddress must be able to fit in a pointer: 45 // Encoding: a RelativeAddress must be able to fit in a pointer:
45 // it is encoded as an Address with (from MS to LS bits): 46 // it is encoded as an Address with (from MS to LS bits):
46 // 27 bits identifying a word in the space, in one of three formats: 47 // 27 bits identifying a word in the space, in one of three formats:
47 // - MAP and OLD spaces: 16 bits of page number, 11 bits of word offset in page 48 // - MAP and OLD spaces: 16 bits of page number, 11 bits of word offset in page
48 // - NEW space: 27 bits of word offset 49 // - NEW space: 27 bits of word offset
49 // - LO space: 27 bits of page number 50 // - LO space: 27 bits of page number
50 // 3 bits to encode the AllocationSpace (special values for code in LO space) 51 // 3 bits to encode the AllocationSpace (special values for code in LO space)
51 // 2 bits identifying this as a HeapObject 52 // 2 bits identifying this as a HeapObject
52 53
(...skipping 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after
1612 ASSERT(index < large_objects_.length()); 1613 ASSERT(index < large_objects_.length());
1613 } 1614 }
1614 return large_objects_[index]; // s.page_offset() is ignored. 1615 return large_objects_[index]; // s.page_offset() is ignored.
1615 } 1616 }
1616 UNREACHABLE(); 1617 UNREACHABLE();
1617 return NULL; 1618 return NULL;
1618 } 1619 }
1619 1620
1620 1621
1621 } } // namespace v8::internal 1622 } } // namespace v8::internal
OLDNEW
« src/accessors.h ('K') | « src/serialize.h ('k') | src/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698