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

Side by Side Diff: src/isolate.cc

Issue 148913008: A64: Fix some compile errors when building for Android. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Address comments Created 6 years, 10 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/isolate.h ('k') | src/platform-freebsd.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 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 1789 matching lines...) Expand 10 before | Expand all | Expand 10 after
1800 1800
1801 heap_.isolate_ = this; 1801 heap_.isolate_ = this;
1802 stack_guard_.isolate_ = this; 1802 stack_guard_.isolate_ = this;
1803 1803
1804 // ThreadManager is initialized early to support locking an isolate 1804 // ThreadManager is initialized early to support locking an isolate
1805 // before it is entered. 1805 // before it is entered.
1806 thread_manager_ = new ThreadManager(); 1806 thread_manager_ = new ThreadManager();
1807 thread_manager_->isolate_ = this; 1807 thread_manager_->isolate_ = this;
1808 1808
1809 #if V8_TARGET_ARCH_ARM && !defined(__arm__) || \ 1809 #if V8_TARGET_ARCH_ARM && !defined(__arm__) || \
1810 V8_TARGET_ARCH_A64 && !defined(__arm__) || \ 1810 V8_TARGET_ARCH_A64 && !defined(__aarch64__) || \
1811 V8_TARGET_ARCH_MIPS && !defined(__mips__) 1811 V8_TARGET_ARCH_MIPS && !defined(__mips__)
1812 simulator_initialized_ = false; 1812 simulator_initialized_ = false;
1813 simulator_i_cache_ = NULL; 1813 simulator_i_cache_ = NULL;
1814 simulator_redirection_ = NULL; 1814 simulator_redirection_ = NULL;
1815 #endif 1815 #endif
1816 1816
1817 #ifdef DEBUG 1817 #ifdef DEBUG
1818 // heap_histograms_ initializes itself. 1818 // heap_histograms_ initializes itself.
1819 memset(&js_spill_information_, 0, sizeof(js_spill_information_)); 1819 memset(&js_spill_information_, 0, sizeof(js_spill_information_));
1820 memset(code_kind_statistics_, 0, 1820 memset(code_kind_statistics_, 0,
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
2522 2522
2523 #ifdef DEBUG 2523 #ifdef DEBUG
2524 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2524 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2525 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2525 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2526 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2526 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2527 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2527 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2528 #undef ISOLATE_FIELD_OFFSET 2528 #undef ISOLATE_FIELD_OFFSET
2529 #endif 2529 #endif
2530 2530
2531 } } // namespace v8::internal 2531 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/platform-freebsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698