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

Side by Side Diff: src/code-stubs.h

Issue 143003013: Initial patch for a64. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 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/checks.h ('k') | src/codegen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 V(StoreArrayLiteralElement) \ 88 V(StoreArrayLiteralElement) \
89 V(StubFailureTrampoline) \ 89 V(StubFailureTrampoline) \
90 V(ArrayConstructor) \ 90 V(ArrayConstructor) \
91 V(InternalArrayConstructor) \ 91 V(InternalArrayConstructor) \
92 V(ProfileEntryHook) \ 92 V(ProfileEntryHook) \
93 /* IC Handler stubs */ \ 93 /* IC Handler stubs */ \
94 V(LoadField) \ 94 V(LoadField) \
95 V(KeyedLoadField) 95 V(KeyedLoadField)
96 96
97 // List of code stubs only used on ARM platforms. 97 // List of code stubs only used on ARM platforms.
98 #ifdef V8_TARGET_ARCH_ARM 98 #if defined(V8_TARGET_ARCH_ARM)
99 #define CODE_STUB_LIST_ARM(V) \ 99 #define CODE_STUB_LIST_ARM(V) \
100 V(GetProperty) \ 100 V(GetProperty) \
101 V(SetProperty) \ 101 V(SetProperty) \
102 V(InvokeBuiltin) \ 102 V(InvokeBuiltin) \
103 V(RegExpCEntry) \ 103 V(RegExpCEntry) \
104 V(DirectCEntry) 104 V(DirectCEntry)
105 #elif defined(V8_TARGET_ARCH_A64)
106 #define CODE_STUB_LIST_ARM(V) \
107 V(GetProperty) \
108 V(SetProperty) \
109 V(InvokeBuiltin) \
110 V(DirectCEntry)
105 #else 111 #else
106 #define CODE_STUB_LIST_ARM(V) 112 #define CODE_STUB_LIST_ARM(V)
107 #endif 113 #endif
108 114
109 // List of code stubs only used on MIPS platforms. 115 // List of code stubs only used on MIPS platforms.
110 #ifdef V8_TARGET_ARCH_MIPS 116 #ifdef V8_TARGET_ARCH_MIPS
111 #define CODE_STUB_LIST_MIPS(V) \ 117 #define CODE_STUB_LIST_MIPS(V) \
112 V(RegExpCEntry) \ 118 V(RegExpCEntry) \
113 V(DirectCEntry) 119 V(DirectCEntry)
114 #else 120 #else
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 private: 389 private:
384 DISALLOW_COPY_AND_ASSIGN(RuntimeCallHelper); 390 DISALLOW_COPY_AND_ASSIGN(RuntimeCallHelper);
385 }; 391 };
386 392
387 } } // namespace v8::internal 393 } } // namespace v8::internal
388 394
389 #if V8_TARGET_ARCH_IA32 395 #if V8_TARGET_ARCH_IA32
390 #include "ia32/code-stubs-ia32.h" 396 #include "ia32/code-stubs-ia32.h"
391 #elif V8_TARGET_ARCH_X64 397 #elif V8_TARGET_ARCH_X64
392 #include "x64/code-stubs-x64.h" 398 #include "x64/code-stubs-x64.h"
399 #elif V8_TARGET_ARCH_A64
400 #include "a64/code-stubs-a64.h"
393 #elif V8_TARGET_ARCH_ARM 401 #elif V8_TARGET_ARCH_ARM
394 #include "arm/code-stubs-arm.h" 402 #include "arm/code-stubs-arm.h"
395 #elif V8_TARGET_ARCH_MIPS 403 #elif V8_TARGET_ARCH_MIPS
396 #include "mips/code-stubs-mips.h" 404 #include "mips/code-stubs-mips.h"
397 #else 405 #else
398 #error Unsupported target architecture. 406 #error Unsupported target architecture.
399 #endif 407 #endif
400 408
401 namespace v8 { 409 namespace v8 {
402 namespace internal { 410 namespace internal {
(...skipping 1750 matching lines...) Expand 10 before | Expand all | Expand 10 after
2153 2161
2154 // The current function entry hook. 2162 // The current function entry hook.
2155 static FunctionEntryHook entry_hook_; 2163 static FunctionEntryHook entry_hook_;
2156 2164
2157 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); 2165 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub);
2158 }; 2166 };
2159 2167
2160 } } // namespace v8::internal 2168 } } // namespace v8::internal
2161 2169
2162 #endif // V8_CODE_STUBS_H_ 2170 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/checks.h ('k') | src/codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698