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

Side by Side Diff: src/assembler.cc

Issue 9288011: Include what you use for allocation, api, assembler, and ast. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 11 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/assembler.h ('k') | src/ast.h » ('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 12 matching lines...) Expand all
23 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 23 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 24 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 25 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
26 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 26 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
27 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 27 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
28 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 28 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
29 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
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 2011 the V8 project authors. All rights reserved. 33 // Copyright 2012 the V8 project authors. All rights reserved.
34 34
35 #include "v8.h" 35 #include "assembler.h"
36 36
37 #include "arguments.h" 37 #include <math.h> // For cos, log, pow, sin, tan, etc.
38 #include "api.h"
39 #include "builtins.h"
40 #include "counters.h"
41 #include "cpu.h"
42 #include "debug.h"
38 #include "deoptimizer.h" 43 #include "deoptimizer.h"
39 #include "execution.h" 44 #include "execution.h"
40 #include "ic-inl.h" 45 #include "ic.h"
41 #include "incremental-marking.h" 46 #include "isolate.h"
42 #include "factory.h" 47 #include "jsregexp.h"
48 #include "platform.h"
49 #include "regexp-macro-assembler.h"
50 #include "regexp-stack.h"
43 #include "runtime.h" 51 #include "runtime.h"
44 #include "runtime-profiler.h"
45 #include "serialize.h" 52 #include "serialize.h"
53 #include "store-buffer-inl.h"
46 #include "stub-cache.h" 54 #include "stub-cache.h"
47 #include "regexp-stack.h" 55 #include "token.h"
48 #include "ast.h" 56
49 #include "regexp-macro-assembler.h" 57 #if V8_TARGET_ARCH_IA32
50 #include "platform.h" 58 #include "ia32/assembler-ia32-inl.h"
51 #include "store-buffer.h" 59 #elif V8_TARGET_ARCH_X64
60 #include "x64/assembler-x64-inl.h"
61 #elif V8_TARGET_ARCH_ARM
62 #include "arm/assembler-arm-inl.h"
63 #elif V8_TARGET_ARCH_MIPS
64 #include "mips/assembler-mips-inl.h"
65 #else
66 #error "Unknown architecture."
67 #endif
68
52 // Include native regexp-macro-assembler. 69 // Include native regexp-macro-assembler.
53 #ifndef V8_INTERPRETED_REGEXP 70 #ifndef V8_INTERPRETED_REGEXP
54 #if V8_TARGET_ARCH_IA32 71 #if V8_TARGET_ARCH_IA32
55 #include "ia32/regexp-macro-assembler-ia32.h" 72 #include "ia32/regexp-macro-assembler-ia32.h"
56 #elif V8_TARGET_ARCH_X64 73 #elif V8_TARGET_ARCH_X64
57 #include "x64/regexp-macro-assembler-x64.h" 74 #include "x64/regexp-macro-assembler-x64.h"
58 #elif V8_TARGET_ARCH_ARM 75 #elif V8_TARGET_ARCH_ARM
59 #include "arm/regexp-macro-assembler-arm.h" 76 #include "arm/regexp-macro-assembler-arm.h"
60 #elif V8_TARGET_ARCH_MIPS 77 #elif V8_TARGET_ARCH_MIPS
61 #include "mips/regexp-macro-assembler-mips.h" 78 #include "mips/regexp-macro-assembler-mips.h"
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1265 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1249 state_.written_position = state_.current_position; 1266 state_.written_position = state_.current_position;
1250 written = true; 1267 written = true;
1251 } 1268 }
1252 1269
1253 // Return whether something was written. 1270 // Return whether something was written.
1254 return written; 1271 return written;
1255 } 1272 }
1256 1273
1257 } } // namespace v8::internal 1274 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/ast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698