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

Side by Side Diff: src/preparser.cc

Issue 20734002: Implement correct OS and CC detection. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Reverted changes to atomicops*.h Created 7 years, 4 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/platform-win32.cc ('k') | src/sampler.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 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 24 matching lines...) Expand all
35 #include "conversions-inl.h" 35 #include "conversions-inl.h"
36 #include "globals.h" 36 #include "globals.h"
37 #include "hashmap.h" 37 #include "hashmap.h"
38 #include "list.h" 38 #include "list.h"
39 #include "preparse-data-format.h" 39 #include "preparse-data-format.h"
40 #include "preparse-data.h" 40 #include "preparse-data.h"
41 #include "preparser.h" 41 #include "preparser.h"
42 #include "unicode.h" 42 #include "unicode.h"
43 #include "utils.h" 43 #include "utils.h"
44 44
45 #ifdef _MSC_VER 45 #if V8_CC_MSVC
46 namespace std { 46 namespace std {
47 47
48 // Usually defined in math.h, but not in MSVC. 48 // Usually defined in math.h, but not in MSVC.
49 // Abstracted to work 49 // Abstracted to work
50 int isfinite(double value); 50 int isfinite(double value);
51 51
52 } // namespace std 52 } // namespace std
53 #endif 53 #endif
54 54
55 namespace v8 { 55 namespace v8 {
(...skipping 1767 matching lines...) Expand 10 before | Expand all | Expand 10 after
1823 backing_store_.Add(static_cast<byte>((ascii_length >> 14) | 0x80u)); 1823 backing_store_.Add(static_cast<byte>((ascii_length >> 14) | 0x80u));
1824 } 1824 }
1825 backing_store_.Add(static_cast<byte>((ascii_length >> 7) | 0x80u)); 1825 backing_store_.Add(static_cast<byte>((ascii_length >> 7) | 0x80u));
1826 } 1826 }
1827 backing_store_.Add(static_cast<byte>(ascii_length & 0x7f)); 1827 backing_store_.Add(static_cast<byte>(ascii_length & 0x7f));
1828 1828
1829 backing_store_.AddBlock(bytes); 1829 backing_store_.AddBlock(bytes);
1830 return backing_store_.EndSequence().start(); 1830 return backing_store_.EndSequence().start();
1831 } 1831 }
1832 } } // v8::preparser 1832 } } // v8::preparser
OLDNEW
« no previous file with comments | « src/platform-win32.cc ('k') | src/sampler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698