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

Side by Side Diff: src/execution.cc

Issue 99186: Create build structure for X64. (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 14 matching lines...) Expand all
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #include <stdlib.h> 28 #include <stdlib.h>
29 29
30 #include "v8.h" 30 #include "v8.h"
31 31
32 #include "api.h" 32 #include "api.h"
33 #include "codegen-inl.h" 33 #include "codegen-inl.h"
34 34
35 #ifdef ARM 35 #ifdef V8_ARCH_ARM
36 #include "arm/simulator-arm.h" 36 #include "arm/simulator-arm.h"
37 #else // ia32 37 #endif
38
39 #ifdef V8_ARCH_X64
40 #include "x64/simulator-x64.h"
41 #endif
42
43 #ifdef V8_ARCH_IA32
38 #include "ia32/simulator-ia32.h" 44 #include "ia32/simulator-ia32.h"
39 #endif 45 #endif
40 46
41 #include "debug.h" 47 #include "debug.h"
42 #include "v8threads.h" 48 #include "v8threads.h"
43 49
44 namespace v8 { namespace internal { 50 namespace v8 { namespace internal {
45 51
46 52
47 static Handle<Object> Invoke(bool construct, 53 static Handle<Object> Invoke(bool construct,
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 // All allocation spaces other than NEW_SPACE have the same effect. 644 // All allocation spaces other than NEW_SPACE have the same effect.
639 Heap::CollectAllGarbage(); 645 Heap::CollectAllGarbage();
640 return v8::Undefined(); 646 return v8::Undefined();
641 } 647 }
642 648
643 649
644 static GCExtension kGCExtension; 650 static GCExtension kGCExtension;
645 v8::DeclareExtension kGCExtensionDeclaration(&kGCExtension); 651 v8::DeclareExtension kGCExtensionDeclaration(&kGCExtension);
646 652
647 } } // namespace v8::internal 653 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698