2
include/v8-debug.h | 2 ++
4
src/accessors.h | 4 ++++
5
src/allocation.h | 4 ++++
7
src/apiutils.h | 4 ++++
8
src/arguments.h | 4 ++++
9
src/arm/assembler-arm-inl.h | 4 ++++
10
src/arm/assembler-arm.h | 4 ++++
11
src/arm/codegen-arm-inl.h | 4 ++++
12
src/arm/codegen-arm.h | 4 ++++
13
src/arm/constants-arm.h | 4 ++++
14
src/arm/frames-arm.h | 4 ++++
15
src/arm/macro-assembler-arm.h | 4 ++++
16
src/arm/regexp-macro-assembler-arm.h | 4 ++++
17
src/arm/register-allocator-arm-inl.h | 4 ++++
18
src/arm/register-allocator-arm.h | 4 ++++
19
src/arm/simulator-arm.h | 4 ++++
20
src/arm/virtual-frame-arm.h | 4 ++++
21
src/assembler.h | 4 ++++
24
src/bootstrapper.h | 4 ++++
25
src/builtins.h | 4 ++++
26
src/bytecodes-irregexp.h | 2 ++
27
src/char-predicates-inl.h | 4 ++++
28
src/char-predicates.h | 4 ++++
30
src/code-stubs.h | 4 ++++
32
src/codegen-inl.h | 4 ++++
33
src/codegen.h | 4 ++++
34
src/compilation-cache.cc | 3 +++
35
src/compilation-cache.h | 4 ++++
36
src/compiler.h | 4 ++++
37
src/contexts.h | 4 ++++
38
src/conversions-inl.h | 4 ++++
39
src/conversions.h | 4 ++++
40
src/counters.h | 4 ++++
42
src/d8-debug.h | 4 ++++
44
src/dateparser-inl.h | 4 ++++
45
src/dateparser.h | 4 ++++
46
src/debug-agent.h | 4 ++++
49
src/disassembler.h | 4 ++++
50
src/execution.h | 4 ++++
51
src/factory.h | 4 ++++
53
src/frame-element.h | 4 ++++
54
src/frames-inl.h | 4 ++++
56
src/func-name-inferrer.h | 4 ++++
57
src/global-handles.h | 4 ++++
58
src/globals.h | 4 ++++
59
src/handles-inl.h | 4 ++++
60
src/handles.h | 4 ++++
61
src/hashmap.h | 4 ++++
62
src/heap-inl.h | 4 ++++
64
src/ia32/assembler-ia32-inl.h | 4 ++++
65
src/ia32/assembler-ia32.h | 4 ++++
66
src/ia32/codegen-ia32-inl.h | 4 ++++
67
src/ia32/codegen-ia32.h | 4 ++++
68
src/ia32/disasm-ia32.cc | 2 ++
69
src/ia32/frames-ia32.h | 4 ++++
70
src/ia32/macro-assembler-ia32.h | 4 ++++
71
src/ia32/regexp-macro-assembler-ia32.h | 4 ++++
72
src/ia32/register-allocator-ia32-inl.h | 4 ++++
73
src/ia32/register-allocator-ia32.h | 4 ++++
74
src/ia32/virtual-frame-ia32.h | 4 ++++
77
src/interpreter-irregexp.h | 4 ++++
78
src/jsregexp-inl.h | 4 ++++
79
src/jsregexp.cc | 3 +++
80
src/jsregexp.h | 4 ++++
81
src/jump-target-inl.h | 4 ++++
82
src/jump-target.h | 4 ++++
83
src/list-inl.h | 4 ++++
85
src/log-inl.h | 4 ++++
86
src/log-utils.h | 4 ++++
89
src/mark-compact.h | 4 ++++
91
src/messages.h | 4 ++++
92
src/natives.h | 4 ++++
93
src/objects-inl.h | 4 ++++
94
src/objects.h | 4 ++++
95
src/oprofile-agent.h | 4 ++++
98
src/platform-linux.cc | 3 +++
99
src/platform-posix.cc | 3 +++
100
src/platform.h | 4 ++++
101
src/prettyprinter.h | 4 ++++
102
src/property.h | 4 ++++
103
src/regexp-macro-assembler-irregexp-inl.h | 4 ++++
104
src/regexp-macro-assembler-irregexp.h | 4 ++++
105
src/regexp-macro-assembler-tracer.h | 4 ++++
106
src/regexp-macro-assembler.h | 4 ++++
107
src/regexp-stack.h | 4 ++++
108
src/register-allocator-inl.h | 4 ++++
109
src/register-allocator.h | 4 ++++
110
src/rewriter.cc | 4 ++++
111
src/rewriter.h | 4 ++++
112
src/runtime.h | 4 ++++
113
src/scanner.h | 4 ++++
114
src/scopeinfo.h | 4 ++++
115
src/scopes.cc | 3 +++
116
src/scopes.h | 4 ++++
117
src/serialize.h | 4 ++++
119
src/smart-pointer.h | 4 ++++
120
src/snapshot.h | 4 ++++
121
src/spaces-inl.h | 4 ++++
122
src/spaces.h | 4 ++++
123
src/string-stream.h | 4 ++++
124
src/stub-cache.h | 4 ++++
127
src/unicode-inl.h | 4 ++++
128
src/unicode.h | 4 ++++
129
src/usage-analyzer.cc | 3 +++
130
src/usage-analyzer.h | 4 ++++
132
src/v8-counters.h | 4 ++++
134
src/v8threads.h | 4 ++++
135
src/variables.h | 4 ++++
136
src/version.h | 4 ++++
137
src/x64/assembler-x64-inl.h | 4 ++++
138
src/x64/assembler-x64.h | 4 ++++
139
src/x64/codegen-x64-inl.h | 4 ++++
140
src/x64/codegen-x64.h | 4 ++++
141
src/x64/frames-x64.h | 4 ++++
142
src/x64/macro-assembler-x64.h | 4 ++++
143
src/x64/register-allocator-x64-inl.h | 4 ++++
144
src/x64/register-allocator-x64.h | 4 ++++
145
src/x64/simulator-x64.h | 2 ++
146
src/x64/virtual-frame-x64.h | 4 ++++
147
src/zone-inl.h | 4 ++++
149
147 files changed, 568 insertions(+), 1 deletion(-)
151
Index: chromium-v8-1.2.14~svn20090716r2483/include/v8-debug.h
152
===================================================================
153
--- chromium-v8-1.2.14~svn20090716r2483.orig/include/v8-debug.h
154
+++ chromium-v8-1.2.14~svn20090716r2483/include/v8-debug.h
156
#endif // defined(__GNUC__) && (__GNUC__ >= 4)
162
* Debugger support for the V8 JavaScript engine.
164
+#pragma GCC visibility push(hidden)
168
// Debug events which can occur in the V8 JavaScript engine.
174
Index: chromium-v8-1.2.14~svn20090716r2483/include/v8.h
175
===================================================================
176
--- chromium-v8-1.2.14~svn20090716r2483.orig/include/v8.h
177
+++ chromium-v8-1.2.14~svn20090716r2483/include/v8.h
178
@@ -169,16 +169,17 @@
181
* It is safe to extract the object stored in the handle by
182
* dereferencing the handle (for instance, to extract the Object* from
183
* an Handle<Object>); the value will still be governed by a handle
184
* behind the scenes and the same rules apply to these values as to
188
template <class T> class V8EXPORT_INLINE Handle {
192
* Creates an empty handle.
196
@@ -2606,15 +2607,14 @@
199
* \example process.cc
207
#undef V8EXPORT_INLINE
212
Index: chromium-v8-1.2.14~svn20090716r2483/src/accessors.h
213
===================================================================
214
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/accessors.h
215
+++ chromium-v8-1.2.14~svn20090716r2483/src/accessors.h
217
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
218
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
219
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
220
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
222
#ifndef V8_ACCESSORS_H_
223
#define V8_ACCESSORS_H_
225
+#pragma GCC visibility push(hidden)
230
// The list of accessor descriptors. This is a second-order macro
231
// taking a macro to be applied to all accessor descriptor names.
232
#define ACCESSOR_DESCRIPTOR_LIST(V) \
233
V(FunctionPrototype) \
236
static Object* FlattenNumber(Object* value);
237
static Object* IllegalSetter(JSObject*, Object*, void*);
238
static Object* IllegalGetAccessor(Object* object, void*);
239
static Object* ReadOnlySetAccessor(JSObject*, Object* value, void*);
242
} } // namespace v8::internal
244
+#pragma GCC visibility pop
246
#endif // V8_ACCESSORS_H_
247
Index: chromium-v8-1.2.14~svn20090716r2483/src/allocation.h
248
===================================================================
249
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/allocation.h
250
+++ chromium-v8-1.2.14~svn20090716r2483/src/allocation.h
252
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
253
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
254
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
255
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
257
#ifndef V8_ALLOCATION_H_
258
#define V8_ALLOCATION_H_
260
+#pragma GCC visibility push(hidden)
266
// A class that controls whether allocation is allowed. This is for
267
// the C++ heap only!
268
class NativeAllocationChecker {
271
void LinkTo(PreallocatedStorage* other);
273
DISALLOW_IMPLICIT_CONSTRUCTORS(PreallocatedStorage);
277
} } // namespace v8::internal
279
+#pragma GCC visibility pop
281
#endif // V8_ALLOCATION_H_
282
Index: chromium-v8-1.2.14~svn20090716r2483/src/api.h
283
===================================================================
284
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/api.h
285
+++ chromium-v8-1.2.14~svn20090716r2483/src/api.h
287
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
292
#include "apiutils.h"
295
+#pragma GCC visibility push(hidden)
299
// Constants used in the implementation of the API. The most natural thing
300
// would usually be to place these with the classes that use them, but
301
// we want to keep them out of v8.h because it is an externally
306
v8::ImplementationUtilities::ZapHandleRange(
307
reinterpret_cast<void**>(spare),
308
reinterpret_cast<void**>(&spare[kHandleBlockSize]));
312
} } // namespace v8::internal
314
+#pragma GCC visibility pop
317
Index: chromium-v8-1.2.14~svn20090716r2483/src/apiutils.h
318
===================================================================
319
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/apiutils.h
320
+++ chromium-v8-1.2.14~svn20090716r2483/src/apiutils.h
322
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
323
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
324
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
325
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
327
#ifndef V8_APIUTILS_H_
328
#define V8_APIUTILS_H_
330
+#pragma GCC visibility push(hidden)
334
class ImplementationUtilities {
336
static v8::Handle<v8::Primitive> Undefined();
337
static v8::Handle<v8::Primitive> Null();
338
static v8::Handle<v8::Boolean> True();
339
static v8::Handle<v8::Boolean> False();
343
static void ZapHandleRange(void** begin, void** end);
349
+#pragma GCC visibility pop
351
#endif // V8_APIUTILS_H_
352
Index: chromium-v8-1.2.14~svn20090716r2483/src/arguments.h
353
===================================================================
354
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/arguments.h
355
+++ chromium-v8-1.2.14~svn20090716r2483/src/arguments.h
357
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
358
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
359
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
360
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
362
#ifndef V8_ARGUMENTS_H_
363
#define V8_ARGUMENTS_H_
365
+#pragma GCC visibility push(hidden)
370
// Arguments provides access to runtime call parameters.
372
// It uses the fact that the instance fields of Arguments
373
// (length_, arguments_) are "overlayed" with the parameters
374
// (no. of parameters, and the parameter pointer) passed so
382
} } // namespace v8::internal
384
+#pragma GCC visibility pop
386
#endif // V8_ARGUMENTS_H_
387
Index: chromium-v8-1.2.14~svn20090716r2483/src/arm/assembler-arm.h
388
===================================================================
389
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/arm/assembler-arm.h
390
+++ chromium-v8-1.2.14~svn20090716r2483/src/arm/assembler-arm.h
392
// A light-weight ARM Assembler
393
// Generates user mode instructions for the ARM architecture up to version 5
395
#ifndef V8_ARM_ASSEMBLER_ARM_H_
396
#define V8_ARM_ASSEMBLER_ARM_H_
398
#include "assembler.h"
400
+#pragma GCC visibility push(hidden)
407
// 1) We would prefer to use an enum, but enum values are assignment-
408
// compatible with int, which has caused code-generation bugs.
413
// Record reloc info for current pc_
414
void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0);
417
} } // namespace v8::internal
419
+#pragma GCC visibility pop
421
#endif // V8_ARM_ASSEMBLER_ARM_H_
422
Index: chromium-v8-1.2.14~svn20090716r2483/src/arm/assembler-arm-inl.h
423
===================================================================
424
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/arm/assembler-arm-inl.h
425
+++ chromium-v8-1.2.14~svn20090716r2483/src/arm/assembler-arm-inl.h
428
#ifndef V8_ARM_ASSEMBLER_ARM_INL_H_
429
#define V8_ARM_ASSEMBLER_ARM_INL_H_
431
#include "arm/assembler-arm.h"
435
+#pragma GCC visibility push(hidden)
440
Condition NegateCondition(Condition cc) {
442
return static_cast<Condition>(cc ^ ne);
446
// However, on ARM, no instruction was actually patched by the assignment
447
// above; the target address is not part of an instruction, it is patched in
448
// the constant pool and is read via a data access; the instruction accessing
449
// this address in the constant pool remains unchanged.
452
} } // namespace v8::internal
454
+#pragma GCC visibility pop
456
#endif // V8_ARM_ASSEMBLER_ARM_INL_H_
457
Index: chromium-v8-1.2.14~svn20090716r2483/src/arm/codegen-arm.h
458
===================================================================
459
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/arm/codegen-arm.h
460
+++ chromium-v8-1.2.14~svn20090716r2483/src/arm/codegen-arm.h
462
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
463
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
464
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
465
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
467
#ifndef V8_ARM_CODEGEN_ARM_H_
468
#define V8_ARM_CODEGEN_ARM_H_
470
+#pragma GCC visibility push(hidden)
475
// Forward declarations
477
class RegisterAllocator;
481
friend class Reference;
483
DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
487
} } // namespace v8::internal
489
+#pragma GCC visibility pop
491
#endif // V8_ARM_CODEGEN_ARM_H_
492
Index: chromium-v8-1.2.14~svn20090716r2483/src/arm/codegen-arm-inl.h
493
===================================================================
494
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/arm/codegen-arm-inl.h
495
+++ chromium-v8-1.2.14~svn20090716r2483/src/arm/codegen-arm-inl.h
497
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
498
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
499
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
502
#ifndef V8_ARM_CODEGEN_ARM_INL_H_
503
#define V8_ARM_CODEGEN_ARM_INL_H_
505
+#pragma GCC visibility push(hidden)
510
#define __ ACCESS_MASM(masm_)
512
// Platform-specific inline functions.
514
void DeferredCode::Jump() { __ jmp(&entry_label_); }
516
GenerateFastMathOp(COS, args);
522
} } // namespace v8::internal
524
+#pragma GCC visibility pop
526
#endif // V8_ARM_CODEGEN_ARM_INL_H_
527
Index: chromium-v8-1.2.14~svn20090716r2483/src/arm/constants-arm.h
528
===================================================================
529
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/arm/constants-arm.h
530
+++ chromium-v8-1.2.14~svn20090716r2483/src/arm/constants-arm.h
534
// Simulator should support ARM5 instructions.
535
#if !defined(__arm__)
536
# define __ARM_ARCH_5__ 1
537
# define __ARM_ARCH_5T__ 1
540
+#pragma GCC visibility push(hidden)
542
namespace assembler {
545
// Defines constants and accessor classes to assemble, disassemble and
546
// simulate ARM instructions.
548
// Section references in the code refer to the "ARM Architecture Reference
549
// Manual" from July 2005 (available at http://www.arm.com/miscPDFs/14128.pdf)
552
// We need to prevent the creation of instances of class Instr.
553
DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
557
} } // namespace assembler::arm
559
+#pragma GCC visibility pop
561
#endif // V8_ARM_CONSTANTS_ARM_H_
562
Index: chromium-v8-1.2.14~svn20090716r2483/src/arm/frames-arm.h
563
===================================================================
564
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/arm/frames-arm.h
565
+++ chromium-v8-1.2.14~svn20090716r2483/src/arm/frames-arm.h
567
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
568
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
569
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
570
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
572
#ifndef V8_ARM_FRAMES_ARM_H_
573
#define V8_ARM_FRAMES_ARM_H_
575
+#pragma GCC visibility push(hidden)
581
// The ARM ABI does not specify the usage of register r9, which may be reserved
582
// as the static base or thread register on some platforms, in which case we
583
// leave it alone. Adjust the value of kR9Available accordingly:
584
static const int kR9Available = 1; // 1 if available to us, 0 if reserved
586
inline Object* JavaScriptFrame::function_slot_object() const {
587
const int offset = JavaScriptFrameConstants::kFunctionOffset;
588
return Memory::Object_at(fp() + offset);
592
} } // namespace v8::internal
594
+#pragma GCC visibility pop
596
#endif // V8_ARM_FRAMES_ARM_H_
597
Index: chromium-v8-1.2.14~svn20090716r2483/src/arm/macro-assembler-arm.h
598
===================================================================
599
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/arm/macro-assembler-arm.h
600
+++ chromium-v8-1.2.14~svn20090716r2483/src/arm/macro-assembler-arm.h
602
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
603
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
605
#ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
606
#define V8_ARM_MACRO_ASSEMBLER_ARM_H_
608
#include "assembler.h"
610
+#pragma GCC visibility push(hidden)
616
// Give alias names to registers
617
const Register cp = { 8 }; // JavaScript context pointer
621
#define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
623
#define ACCESS_MASM(masm) masm->
627
} } // namespace v8::internal
629
+#pragma GCC visibility pop
631
#endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
632
Index: chromium-v8-1.2.14~svn20090716r2483/src/arm/regexp-macro-assembler-arm.h
633
===================================================================
634
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/arm/regexp-macro-assembler-arm.h
635
+++ chromium-v8-1.2.14~svn20090716r2483/src/arm/regexp-macro-assembler-arm.h
637
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
638
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
639
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
640
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
642
#ifndef V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_
643
#define V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_
645
+#pragma GCC visibility push(hidden)
650
class RegExpMacroAssemblerARM: public RegExpMacroAssembler {
652
RegExpMacroAssemblerARM();
653
virtual ~RegExpMacroAssemblerARM();
656
}} // namespace v8::internal
658
+#pragma GCC visibility pop
660
#endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_
661
Index: chromium-v8-1.2.14~svn20090716r2483/src/arm/register-allocator-arm.h
662
===================================================================
663
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/arm/register-allocator-arm.h
664
+++ chromium-v8-1.2.14~svn20090716r2483/src/arm/register-allocator-arm.h
666
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
667
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
668
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
669
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
671
#ifndef V8_ARM_REGISTER_ALLOCATOR_ARM_H_
672
#define V8_ARM_REGISTER_ALLOCATOR_ARM_H_
674
+#pragma GCC visibility push(hidden)
679
class RegisterAllocatorConstants : public AllStatic {
681
static const int kNumRegisters = 12;
682
static const int kInvalidRegister = -1;
686
} } // namespace v8::internal
688
+#pragma GCC visibility pop
690
#endif // V8_ARM_REGISTER_ALLOCATOR_ARM_H_
691
Index: chromium-v8-1.2.14~svn20090716r2483/src/arm/register-allocator-arm-inl.h
692
===================================================================
693
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/arm/register-allocator-arm-inl.h
694
+++ chromium-v8-1.2.14~svn20090716r2483/src/arm/register-allocator-arm-inl.h
696
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
697
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
699
#ifndef V8_ARM_REGISTER_ALLOCATOR_ARM_INL_H_
700
#define V8_ARM_REGISTER_ALLOCATOR_ARM_INL_H_
704
+#pragma GCC visibility push(hidden)
709
// -------------------------------------------------------------------------
710
// RegisterAllocator implementation.
712
bool RegisterAllocator::IsReserved(Register reg) {
713
return reg.is(cp) || reg.is(fp) || reg.is(sp) || reg.is(pc);
715
// The non-reserved r1 and lr registers are live on JS function entry.
716
Use(r1); // JS function.
717
Use(lr); // Return address.
721
} } // namespace v8::internal
723
+#pragma GCC visibility pop
725
#endif // V8_ARM_REGISTER_ALLOCATOR_ARM_INL_H_
726
Index: chromium-v8-1.2.14~svn20090716r2483/src/arm/simulator-arm.h
727
===================================================================
728
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/arm/simulator-arm.h
729
+++ chromium-v8-1.2.14~svn20090716r2483/src/arm/simulator-arm.h
731
// the C-based native code.
732
#define GENERATED_CODE_STACK_LIMIT(limit) \
733
(assembler::arm::Simulator::current()->StackLimit())
736
#include "constants-arm.h"
739
+#pragma GCC visibility push(hidden)
741
namespace assembler {
746
friend class Debugger;
751
instr_t break_instr_;
754
} } // namespace assembler::arm
756
#endif // defined(__arm__)
758
+#pragma GCC visibility pop
760
#endif // V8_ARM_SIMULATOR_ARM_H_
761
Index: chromium-v8-1.2.14~svn20090716r2483/src/arm/virtual-frame-arm.h
762
===================================================================
763
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/arm/virtual-frame-arm.h
764
+++ chromium-v8-1.2.14~svn20090716r2483/src/arm/virtual-frame-arm.h
766
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
768
#ifndef V8_ARM_VIRTUAL_FRAME_ARM_H_
769
#define V8_ARM_VIRTUAL_FRAME_ARM_H_
771
#include "register-allocator.h"
774
+#pragma GCC visibility push(hidden)
779
// -------------------------------------------------------------------------
782
// The virtual frame is an abstraction of the physical stack frame. It
783
// encapsulates the parameters, frame-allocated locals, and the expression
785
// Classes that need raw access to the elements_ array.
786
friend class DeferredCode;
787
friend class JumpTarget;
791
} } // namespace v8::internal
793
+#pragma GCC visibility pop
795
#endif // V8_ARM_VIRTUAL_FRAME_ARM_H_
796
Index: chromium-v8-1.2.14~svn20090716r2483/src/assembler.h
797
===================================================================
798
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/assembler.h
799
+++ chromium-v8-1.2.14~svn20090716r2483/src/assembler.h
801
#ifndef V8_ASSEMBLER_H_
802
#define V8_ASSEMBLER_H_
806
#include "zone-inl.h"
809
+#pragma GCC visibility push(hidden)
815
// -----------------------------------------------------------------------------
816
// Labels represent pc locations; they are typically jump or call targets.
817
// After declaration, a label can be freely used to denote known or (yet)
818
// unknown pc location. Assembler::bind() is used to bind a label to the
820
static inline bool is_uint6(int x) { return is_uintn(x, 6); }
821
static inline bool is_uint8(int x) { return is_uintn(x, 8); }
822
static inline bool is_uint12(int x) { return is_uintn(x, 12); }
823
static inline bool is_uint16(int x) { return is_uintn(x, 16); }
824
static inline bool is_uint24(int x) { return is_uintn(x, 24); }
826
} } // namespace v8::internal
828
+#pragma GCC visibility pop
830
#endif // V8_ASSEMBLER_H_
831
Index: chromium-v8-1.2.14~svn20090716r2483/src/ast.cc
832
===================================================================
833
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ast.cc
834
+++ chromium-v8-1.2.14~svn20090716r2483/src/ast.cc
836
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
842
#include "string-stream.h"
844
+#pragma GCC visibility push(hidden)
849
VariableProxySentinel VariableProxySentinel::this_proxy_(true);
850
VariableProxySentinel VariableProxySentinel::identifier_proxy_(false);
851
ValidLeftHandSideSentinel ValidLeftHandSideSentinel::instance_;
852
Property Property::this_property_(VariableProxySentinel::this_proxy(), NULL, 0);
855
max_match_ += node->max_match();
861
} } // namespace v8::internal
863
+#pragma GCC visibility pop
864
Index: chromium-v8-1.2.14~svn20090716r2483/src/ast.h
865
===================================================================
866
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ast.h
867
+++ chromium-v8-1.2.14~svn20090716r2483/src/ast.h
872
#include "variables.h"
873
#include "macro-assembler.h"
874
#include "jsregexp.h"
875
#include "jump-target.h"
877
+#pragma GCC visibility push(hidden)
882
// The abstract syntax tree is an intermediate, light-weight
883
// representation of the parsed JavaScript code suitable for
884
// compilation to native code.
886
// Nodes are allocated in a separate zone, which allows faster
887
@@ -1707,9 +1709,11 @@
890
bool stack_overflow_;
894
} } // namespace v8::internal
896
+#pragma GCC visibility pop
899
Index: chromium-v8-1.2.14~svn20090716r2483/src/bootstrapper.h
900
===================================================================
901
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/bootstrapper.h
902
+++ chromium-v8-1.2.14~svn20090716r2483/src/bootstrapper.h
904
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
905
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
906
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
909
#ifndef V8_BOOTSTRAPPER_H_
910
#define V8_BOOTSTRAPPER_H_
912
+#pragma GCC visibility push(hidden)
917
// The Boostrapper is the public interface for creating a JavaScript global
919
class Bootstrapper : public AllStatic {
921
// Requires: Heap::Setup has been called.
923
// Support for thread preemption.
924
static int ArchiveSpacePerThread();
925
static char* ArchiveState(char* to);
926
static char* RestoreState(char* from);
929
}} // namespace v8::internal
931
+#pragma GCC visibility pop
933
#endif // V8_BOOTSTRAPPER_H_
934
Index: chromium-v8-1.2.14~svn20090716r2483/src/builtins.h
935
===================================================================
936
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/builtins.h
937
+++ chromium-v8-1.2.14~svn20090716r2483/src/builtins.h
939
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
940
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
941
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
942
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
944
#ifndef V8_BUILTINS_H_
945
#define V8_BUILTINS_H_
947
+#pragma GCC visibility push(hidden)
952
// Define list of builtins implemented in C.
953
#define BUILTIN_LIST_C(V) \
958
static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm);
960
static void Generate_FunctionCall(MacroAssembler* masm);
961
static void Generate_FunctionApply(MacroAssembler* masm);
964
} } // namespace v8::internal
966
+#pragma GCC visibility pop
968
#endif // V8_BUILTINS_H_
969
Index: chromium-v8-1.2.14~svn20090716r2483/src/bytecodes-irregexp.h
970
===================================================================
971
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/bytecodes-irregexp.h
972
+++ chromium-v8-1.2.14~svn20090716r2483/src/bytecodes-irregexp.h
974
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
975
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
976
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
979
#ifndef V8_BYTECODES_IRREGEXP_H_
980
#define V8_BYTECODES_IRREGEXP_H_
982
+#pragma GCC visibility push(hidden)
988
static const int BYTECODE_MASK = 0xff;
989
// The first argument is packed in with the byte code in one word, but so it
990
// has 24 bits, but it can be positive and negative so only use 23 bits for
992
Index: chromium-v8-1.2.14~svn20090716r2483/src/char-predicates.h
993
===================================================================
994
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/char-predicates.h
995
+++ chromium-v8-1.2.14~svn20090716r2483/src/char-predicates.h
997
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
998
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
999
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1000
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1002
#ifndef V8_CHAR_PREDICATES_H_
1003
#define V8_CHAR_PREDICATES_H_
1005
+#pragma GCC visibility push(hidden)
1008
namespace internal {
1010
// Unicode character predicates as defined by ECMA-262, 3rd,
1011
// used for lexical analysis.
1013
inline bool IsCarriageReturn(uc32 c);
1014
inline bool IsLineFeed(uc32 c);
1016
|| unibrow::Number::Is(c)
1017
|| unibrow::CombiningMark::Is(c)
1018
|| unibrow::ConnectorPunctuation::Is(c);
1022
} } // namespace v8::internal
1024
+#pragma GCC visibility pop
1026
#endif // V8_CHAR_PREDICATES_H_
1027
Index: chromium-v8-1.2.14~svn20090716r2483/src/char-predicates-inl.h
1028
===================================================================
1029
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/char-predicates-inl.h
1030
+++ chromium-v8-1.2.14~svn20090716r2483/src/char-predicates-inl.h
1032
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1033
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1035
#ifndef V8_CHAR_PREDICATES_INL_H_
1036
#define V8_CHAR_PREDICATES_INL_H_
1038
#include "char-predicates.h"
1040
+#pragma GCC visibility push(hidden)
1043
namespace internal {
1046
inline bool IsCarriageReturn(uc32 c) {
1057
} } // namespace v8::internal
1059
+#pragma GCC visibility pop
1061
#endif // V8_CHAR_PREDICATES_INL_H_
1062
Index: chromium-v8-1.2.14~svn20090716r2483/src/checks.h
1063
===================================================================
1064
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/checks.h
1065
+++ chromium-v8-1.2.14~svn20090716r2483/src/checks.h
1066
@@ -174,16 +174,18 @@
1067
"CHECK_EQ(%s, %s) failed\n# Expected: %f\n# Found: %f",
1068
expected_source, value_source, *exp, *val);
1075
+#pragma GCC visibility push(hidden)
1079
template <class T> class Handle;
1083
void CheckNonEqualsHelper(const char* file,
1085
@@ -255,9 +257,11 @@
1087
#define ASSERT_TAG_ALIGNED(address) \
1088
ASSERT((reinterpret_cast<intptr_t>(address) & kHeapObjectTagMask) == 0)
1090
#define ASSERT_SIZE_TAG_ALIGNED(size) ASSERT((size & kHeapObjectTagMask) == 0)
1092
#define ASSERT_NOT_NULL(p) ASSERT_NE(NULL, p)
1094
+#pragma GCC visibility pop
1096
#endif // V8_CHECKS_H_
1097
Index: chromium-v8-1.2.14~svn20090716r2483/src/codegen.h
1098
===================================================================
1099
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/codegen.h
1100
+++ chromium-v8-1.2.14~svn20090716r2483/src/codegen.h
1102
#elif V8_TARGET_ARCH_ARM
1103
#include "arm/codegen-arm.h"
1105
#error Unsupported target architecture.
1108
#include "register-allocator.h"
1110
+#pragma GCC visibility push(hidden)
1113
namespace internal {
1116
// Code generation can be nested. Code generation scopes form a stack
1117
// of active code generators.
1118
class CodeGeneratorScope BASE_EMBEDDED {
1120
@@ -378,9 +380,11 @@
1126
} // namespace internal
1129
+#pragma GCC visibility pop
1131
#endif // V8_CODEGEN_H_
1132
Index: chromium-v8-1.2.14~svn20090716r2483/src/codegen-inl.h
1133
===================================================================
1134
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/codegen-inl.h
1135
+++ chromium-v8-1.2.14~svn20090716r2483/src/codegen-inl.h
1137
#include "x64/codegen-x64-inl.h"
1138
#elif V8_TARGET_ARCH_ARM
1139
#include "arm/codegen-arm-inl.h"
1141
#error Unsupported target architecture.
1145
+#pragma GCC visibility push(hidden)
1148
namespace internal {
1150
#define __ ACCESS_MASM(masm_)
1152
// -----------------------------------------------------------------------------
1153
// Support for "structured" code comments.
1162
} } // namespace v8::internal
1164
+#pragma GCC visibility pop
1166
#endif // V8_CODEGEN_INL_H_
1167
Index: chromium-v8-1.2.14~svn20090716r2483/src/code.h
1168
===================================================================
1169
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/code.h
1170
+++ chromium-v8-1.2.14~svn20090716r2483/src/code.h
1172
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1173
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1174
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1175
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1180
+#pragma GCC visibility push(hidden)
1183
namespace internal {
1186
// Wrapper class for passing expected and actual parameter counts as
1187
// either registers or immediate values. Used to make sure that the
1188
// caller provides exactly the expected number of parameters to the
1191
const int immediate_;
1193
DISALLOW_IMPLICIT_CONSTRUCTORS(ParameterCount);
1197
} } // namespace v8::internal
1199
+#pragma GCC visibility pop
1201
#endif // V8_CODE_H_
1202
Index: chromium-v8-1.2.14~svn20090716r2483/src/code-stubs.h
1203
===================================================================
1204
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/code-stubs.h
1205
+++ chromium-v8-1.2.14~svn20090716r2483/src/code-stubs.h
1207
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1208
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1209
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1210
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1212
#ifndef V8_CODE_STUBS_H_
1213
#define V8_CODE_STUBS_H_
1215
+#pragma GCC visibility push(hidden)
1218
namespace internal {
1221
// Stub is base classes of all stubs.
1222
class CodeStub BASE_EMBEDDED {
1225
@@ -108,9 +110,11 @@
1226
class MajorKeyBits: public BitField<uint32_t, 0, kMajorBits> {};
1227
class MinorKeyBits: public BitField<uint32_t, kMajorBits, kMinorBits> {};
1229
friend class BreakPointIterator;
1232
} } // namespace v8::internal
1234
+#pragma GCC visibility pop
1236
#endif // V8_CODE_STUBS_H_
1237
Index: chromium-v8-1.2.14~svn20090716r2483/src/compilation-cache.cc
1238
===================================================================
1239
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/compilation-cache.cc
1240
+++ chromium-v8-1.2.14~svn20090716r2483/src/compilation-cache.cc
1242
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1243
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1244
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1248
#include "compilation-cache.h"
1250
+#pragma GCC visibility push(hidden)
1253
namespace internal {
1256
// The number of sub caches covering the different types to cache.
1257
static const int kSubCacheCount = 4;
1259
// The number of generations for each sub cache.
1262
void CompilationCache::Disable() {
1268
} } // namespace v8::internal
1269
+#pragma GCC visibility pop
1270
Index: chromium-v8-1.2.14~svn20090716r2483/src/compilation-cache.h
1271
===================================================================
1272
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/compilation-cache.h
1273
+++ chromium-v8-1.2.14~svn20090716r2483/src/compilation-cache.h
1275
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1276
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1277
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1278
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1280
#ifndef V8_COMPILATION_CACHE_H_
1281
#define V8_COMPILATION_CACHE_H_
1283
+#pragma GCC visibility push(hidden)
1286
namespace internal {
1289
// The compilation cache keeps function boilerplates for compiled
1290
// scripts and evals. The boilerplates are looked up using the source
1291
// string as the key. For regular expressions the compilation data is cached.
1292
class CompilationCache {
1294
// cache during debugging to make sure new scripts are always compiled.
1295
static void Enable();
1296
static void Disable();
1300
} } // namespace v8::internal
1302
+#pragma GCC visibility pop
1304
#endif // V8_COMPILATION_CACHE_H_
1305
Index: chromium-v8-1.2.14~svn20090716r2483/src/compiler.h
1306
===================================================================
1307
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/compiler.h
1308
+++ chromium-v8-1.2.14~svn20090716r2483/src/compiler.h
1311
#ifndef V8_COMPILER_H_
1312
#define V8_COMPILER_H_
1314
#include "frame-element.h"
1318
+#pragma GCC visibility push(hidden)
1321
namespace internal {
1325
// General strategy: Source code is translated into an anonymous function w/o
1326
// parameters which then can be executed. If the source code contains other
1327
// functions, they will be compiled and allocated as part of the compilation
1329
Result::ClearConstantList();
1335
} } // namespace v8::internal
1337
+#pragma GCC visibility pop
1339
#endif // V8_COMPILER_H_
1340
Index: chromium-v8-1.2.14~svn20090716r2483/src/contexts.h
1341
===================================================================
1342
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/contexts.h
1343
+++ chromium-v8-1.2.14~svn20090716r2483/src/contexts.h
1345
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1346
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1347
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1348
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1350
#ifndef V8_CONTEXTS_H_
1351
#define V8_CONTEXTS_H_
1353
+#pragma GCC visibility push(hidden)
1356
namespace internal {
1359
enum ContextLookupFlags {
1360
FOLLOW_CONTEXT_CHAIN = 1,
1361
FOLLOW_PROTOTYPE_CHAIN = 2,
1363
@@ -335,9 +337,11 @@
1364
// Bootstrapping-aware type checks.
1365
static bool IsBootstrappingOrContext(Object* object);
1366
static bool IsBootstrappingOrGlobalObject(Object* object);
1370
} } // namespace v8::internal
1372
+#pragma GCC visibility pop
1374
#endif // V8_CONTEXTS_H_
1375
Index: chromium-v8-1.2.14~svn20090716r2483/src/conversions.h
1376
===================================================================
1377
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/conversions.h
1378
+++ chromium-v8-1.2.14~svn20090716r2483/src/conversions.h
1380
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1381
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1382
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1383
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1385
#ifndef V8_CONVERSIONS_H_
1386
#define V8_CONVERSIONS_H_
1388
+#pragma GCC visibility push(hidden)
1391
namespace internal {
1393
// The fast double-to-int conversion routine does not guarantee
1394
// rounding towards zero.
1395
// The result is unspecified if x is infinite or NaN, or if the rounded
1396
// integer value is outside the range of type int.
1397
static inline int FastD2I(double x);
1398
@@ -109,9 +111,11 @@
1399
// The caller is responsible for calling free on the returned pointer.
1400
char* DoubleToFixedCString(double value, int f);
1401
char* DoubleToExponentialCString(double value, int f);
1402
char* DoubleToPrecisionCString(double value, int f);
1403
char* DoubleToRadixCString(double value, int radix);
1405
} } // namespace v8::internal
1407
+#pragma GCC visibility pop
1409
#endif // V8_CONVERSIONS_H_
1410
Index: chromium-v8-1.2.14~svn20090716r2483/src/conversions-inl.h
1411
===================================================================
1412
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/conversions-inl.h
1413
+++ chromium-v8-1.2.14~svn20090716r2483/src/conversions-inl.h
1417
// ----------------------------------------------------------------------------
1418
// Extra POSIX/ANSI functions for Win32/MSVC.
1420
#include "conversions.h"
1421
#include "platform.h"
1423
+#pragma GCC visibility push(hidden)
1426
namespace internal {
1428
// The fast double-to-int conversion routine does not guarantee
1429
// rounding towards zero.
1430
static inline int FastD2I(double x) {
1432
// The ISO C99 standard defines the lrint() function which rounds a
1434
if (x < 0 || x >= two32) x = fmod(x, two32);
1435
x = (x >= 0) ? floor(x) : ceil(x) + two32;
1436
return (int32_t) ((x >= two31) ? x - two32 : x);
1440
} } // namespace v8::internal
1442
+#pragma GCC visibility pop
1444
#endif // V8_CONVERSIONS_INL_H_
1445
Index: chromium-v8-1.2.14~svn20090716r2483/src/counters.h
1446
===================================================================
1447
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/counters.h
1448
+++ chromium-v8-1.2.14~svn20090716r2483/src/counters.h
1450
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1451
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1452
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1453
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1455
#ifndef V8_COUNTERS_H_
1456
#define V8_COUNTERS_H_
1458
+#pragma GCC visibility push(hidden)
1461
namespace internal {
1463
// StatsCounters is an interface for plugging into external
1464
// counters for monitoring. Counters can be looked up and
1465
// manipulated by name.
1467
class StatsTable : public AllStatic {
1468
@@ -231,9 +233,11 @@
1471
HistogramTimer* timer_;
1475
} } // namespace v8::internal
1477
+#pragma GCC visibility pop
1479
#endif // V8_COUNTERS_H_
1480
Index: chromium-v8-1.2.14~svn20090716r2483/src/cpu.h
1481
===================================================================
1482
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/cpu.h
1483
+++ chromium-v8-1.2.14~svn20090716r2483/src/cpu.h
1485
// The classes have the same definition for all architectures. The
1486
// implementation for a particular architecture is put in cpu_<arch>.cc.
1487
// The build system then uses the implementation for the target architecture.
1493
+#pragma GCC visibility push(hidden)
1496
namespace internal {
1498
// ----------------------------------------------------------------------------
1501
// This class has static methods for the architecture specific functions. Add
1502
// methods here to cope with differences between the supported architectures.
1504
static void FlushICache(void* start, size_t size);
1506
// Try to activate a system level debugger.
1507
static void DebugBreak();
1510
} } // namespace v8::internal
1512
+#pragma GCC visibility pop
1515
Index: chromium-v8-1.2.14~svn20090716r2483/src/d8-debug.h
1516
===================================================================
1517
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/d8-debug.h
1518
+++ chromium-v8-1.2.14~svn20090716r2483/src/d8-debug.h
1520
#ifndef V8_D8_DEBUG_H_
1521
#define V8_D8_DEBUG_H_
1528
+#pragma GCC visibility push(hidden)
1533
void HandleDebugEvent(DebugEvent event,
1534
Handle<Object> exec_state,
1535
Handle<Object> event_data,
1536
Handle<Value> data);
1538
@@ -147,9 +149,11 @@
1540
friend class RemoteDebugger;
1547
+#pragma GCC visibility pop
1549
#endif // V8_D8_DEBUG_H_
1550
Index: chromium-v8-1.2.14~svn20090716r2483/src/d8.h
1551
===================================================================
1552
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/d8.h
1553
+++ chromium-v8-1.2.14~svn20090716r2483/src/d8.h
1560
#include "hashmap.h"
1563
+#pragma GCC visibility push(hidden)
1568
namespace i = v8::internal;
1571
// A single counter in a counter collection.
1573
@@ -215,9 +217,11 @@
1575
static LineEditor* first_;
1582
+#pragma GCC visibility pop
1585
Index: chromium-v8-1.2.14~svn20090716r2483/src/dateparser.h
1586
===================================================================
1587
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/dateparser.h
1588
+++ chromium-v8-1.2.14~svn20090716r2483/src/dateparser.h
1590
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1591
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1593
#ifndef V8_DATEPARSER_H_
1594
#define V8_DATEPARSER_H_
1596
#include "scanner.h"
1598
+#pragma GCC visibility push(hidden)
1601
namespace internal {
1603
class DateParser : public AllStatic {
1606
// Parse the string as a date. If parsing succeeds, return true after
1607
// filling out the output array as follows (all integers are Smis):
1608
@@ -232,9 +234,11 @@
1615
} } // namespace v8::internal
1617
+#pragma GCC visibility pop
1619
#endif // V8_DATEPARSER_H_
1620
Index: chromium-v8-1.2.14~svn20090716r2483/src/dateparser-inl.h
1621
===================================================================
1622
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/dateparser-inl.h
1623
+++ chromium-v8-1.2.14~svn20090716r2483/src/dateparser-inl.h
1625
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1626
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1627
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1628
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1630
#ifndef V8_DATEPARSER_INL_H_
1631
#define V8_DATEPARSER_INL_H_
1633
+#pragma GCC visibility push(hidden)
1636
namespace internal {
1638
template <typename Char>
1639
bool DateParser::Parse(Vector<Char> str, FixedArray* out) {
1640
ASSERT(out->length() >= OUTPUT_SIZE);
1641
InputReader<Char> in(str);
1642
TimeZoneComposer tz;
1643
@@ -104,9 +106,11 @@
1647
return day.Write(out) && time.Write(out) && tz.Write(out);
1650
} } // namespace v8::internal
1652
+#pragma GCC visibility pop
1654
#endif // V8_DATEPARSER_INL_H_
1655
Index: chromium-v8-1.2.14~svn20090716r2483/src/debug-agent.h
1656
===================================================================
1657
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/debug-agent.h
1658
+++ chromium-v8-1.2.14~svn20090716r2483/src/debug-agent.h
1661
#ifndef V8_DEBUG_AGENT_H_
1662
#define V8_DEBUG_AGENT_H_
1664
#ifdef ENABLE_DEBUGGER_SUPPORT
1665
#include "../include/v8-debug.h"
1666
#include "platform.h"
1668
+#pragma GCC visibility push(hidden)
1671
namespace internal {
1673
// Forward decelrations.
1674
class DebuggerAgentSession;
1677
// Debugger agent which starts a socket listener on the debugger port and
1678
@@ -118,9 +120,11 @@
1679
const v8::Handle<v8::String> message);
1680
static int ReceiveAll(const Socket* conn, char* data, int len);
1683
} } // namespace v8::internal
1685
#endif // ENABLE_DEBUGGER_SUPPORT
1687
+#pragma GCC visibility pop
1689
#endif // V8_DEBUG_AGENT_H_
1690
Index: chromium-v8-1.2.14~svn20090716r2483/src/debug.h
1691
===================================================================
1692
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/debug.h
1693
+++ chromium-v8-1.2.14~svn20090716r2483/src/debug.h
1695
#include "hashmap.h"
1696
#include "platform.h"
1697
#include "string-stream.h"
1698
#include "v8threads.h"
1700
#ifdef ENABLE_DEBUGGER_SUPPORT
1701
#include "../include/v8-debug.h"
1703
+#pragma GCC visibility push(hidden)
1706
namespace internal {
1709
// Forward declarations.
1710
class EnterDebugger;
1713
@@ -847,9 +849,11 @@
1718
} } // namespace v8::internal
1720
#endif // ENABLE_DEBUGGER_SUPPORT
1722
+#pragma GCC visibility pop
1724
#endif // V8_DEBUG_H_
1725
Index: chromium-v8-1.2.14~svn20090716r2483/src/disasm.h
1726
===================================================================
1727
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/disasm.h
1728
+++ chromium-v8-1.2.14~svn20090716r2483/src/disasm.h
1730
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1731
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1732
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1733
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1735
#ifndef V8_DISASM_H_
1736
#define V8_DISASM_H_
1738
+#pragma GCC visibility push(hidden)
1742
typedef unsigned char byte;
1744
// Interface and default implementation for converting addresses and
1745
// register-numbers to text. The default implementation is machine
1747
class NameConverter {
1750
const NameConverter& converter_;
1752
DISALLOW_IMPLICIT_CONSTRUCTORS(Disassembler);
1755
} // namespace disasm
1757
+#pragma GCC visibility pop
1759
#endif // V8_DISASM_H_
1760
Index: chromium-v8-1.2.14~svn20090716r2483/src/disassembler.h
1761
===================================================================
1762
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/disassembler.h
1763
+++ chromium-v8-1.2.14~svn20090716r2483/src/disassembler.h
1765
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1766
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1767
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1768
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1770
#ifndef V8_DISASSEMBLER_H_
1771
#define V8_DISASSEMBLER_H_
1773
+#pragma GCC visibility push(hidden)
1776
namespace internal {
1778
class Disassembler : public AllStatic {
1780
// Print the bytes in the interval [begin, end) into f.
1781
static void Dump(FILE* f, byte* begin, byte* end);
1784
// Returns the instruction length in bytes, or 1 if the instruction could
1785
// not be decoded. The number of characters written is written into
1786
// the out parameter char_count.
1787
static int Decode(FILE* f, byte* pc, int* char_count);
1790
} } // namespace v8::internal
1792
+#pragma GCC visibility pop
1794
#endif // V8_DISASSEMBLER_H_
1795
Index: chromium-v8-1.2.14~svn20090716r2483/src/execution.h
1796
===================================================================
1797
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/execution.h
1798
+++ chromium-v8-1.2.14~svn20090716r2483/src/execution.h
1800
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1801
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1802
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1803
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1805
#ifndef V8_EXECUTION_H_
1806
#define V8_EXECUTION_H_
1808
+#pragma GCC visibility push(hidden)
1811
namespace internal {
1814
// Flag used to set the interrupt causes.
1815
enum InterruptFlag {
1817
DEBUGBREAK = 1 << 1,
1818
@@ -276,9 +278,11 @@
1819
static v8::Handle<v8::Value> GC(const v8::Arguments& args);
1821
static const char* kSource;
1825
} } // namespace v8::internal
1827
+#pragma GCC visibility pop
1829
#endif // V8_EXECUTION_H_
1830
Index: chromium-v8-1.2.14~svn20090716r2483/src/factory.h
1831
===================================================================
1832
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/factory.h
1833
+++ chromium-v8-1.2.14~svn20090716r2483/src/factory.h
1836
#ifndef V8_FACTORY_H_
1837
#define V8_FACTORY_H_
1839
#include "globals.h"
1841
#include "zone-inl.h"
1843
+#pragma GCC visibility push(hidden)
1846
namespace internal {
1849
// Interface for handle based allocation.
1851
class Factory : public AllStatic {
1853
@@ -371,9 +373,11 @@
1854
static Handle<MapCache> AddToMapCache(Handle<Context> context,
1855
Handle<FixedArray> keys,
1860
} } // namespace v8::internal
1862
+#pragma GCC visibility pop
1864
#endif // V8_FACTORY_H_
1865
Index: chromium-v8-1.2.14~svn20090716r2483/src/flags.h
1866
===================================================================
1867
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/flags.h
1868
+++ chromium-v8-1.2.14~svn20090716r2483/src/flags.h
1870
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1871
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1872
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1878
+#pragma GCC visibility push(hidden)
1881
namespace internal {
1883
// Declare all of our flags.
1884
#define FLAG_MODE_DECLARE
1885
#include "flag-definitions.h"
1887
// The global list of all flags.
1889
static void ResetAllFlags();
1891
// Print help to stdout with flags, types, and default values.
1892
static void PrintHelp();
1895
} } // namespace v8::internal
1897
+#pragma GCC visibility pop
1899
#endif // V8_FLAGS_H_
1900
Index: chromium-v8-1.2.14~svn20090716r2483/src/frame-element.h
1901
===================================================================
1902
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/frame-element.h
1903
+++ chromium-v8-1.2.14~svn20090716r2483/src/frame-element.h
1905
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1906
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1908
#ifndef V8_FRAME_ELEMENT_H_
1909
#define V8_FRAME_ELEMENT_H_
1911
#include "register-allocator-inl.h"
1913
+#pragma GCC visibility push(hidden)
1916
namespace internal {
1918
// -------------------------------------------------------------------------
1919
// Virtual frame elements
1921
// The internal elements of the virtual frames. There are several kinds of
1923
@@ -230,9 +232,11 @@
1924
class SyncedField: public BitField<uint32_t, 4, 1> {};
1925
class DataField: public BitField<uint32_t, 5, 32 - 6> {};
1927
friend class VirtualFrame;
1930
} } // namespace v8::internal
1932
+#pragma GCC visibility pop
1934
#endif // V8_FRAME_ELEMENT_H_
1935
Index: chromium-v8-1.2.14~svn20090716r2483/src/frames.h
1936
===================================================================
1937
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/frames.h
1938
+++ chromium-v8-1.2.14~svn20090716r2483/src/frames.h
1940
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1941
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1942
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1943
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1945
#ifndef V8_FRAMES_H_
1946
#define V8_FRAMES_H_
1948
+#pragma GCC visibility push(hidden)
1951
namespace internal {
1953
typedef uint32_t RegList;
1955
// Get the number of registers in a given register list.
1956
int NumRegs(RegList list);
1958
@@ -679,9 +681,11 @@
1961
StackFrameIterator iterator_;
1965
} } // namespace v8::internal
1967
+#pragma GCC visibility pop
1969
#endif // V8_FRAMES_H_
1970
Index: chromium-v8-1.2.14~svn20090716r2483/src/frames-inl.h
1971
===================================================================
1972
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/frames-inl.h
1973
+++ chromium-v8-1.2.14~svn20090716r2483/src/frames-inl.h
1975
#elif V8_TARGET_ARCH_X64
1976
#include "x64/frames-x64.h"
1977
#elif V8_TARGET_ARCH_ARM
1978
#include "arm/frames-arm.h"
1980
#error Unsupported target architecture.
1983
+#pragma GCC visibility push(hidden)
1986
namespace internal {
1989
inline Address StackHandler::address() const {
1990
return reinterpret_cast<Address>(const_cast<StackHandler*>(this));
1993
@@ -206,9 +208,11 @@
1994
void JavaScriptFrameIteratorTemp<Iterator>::Reset() {
1996
if (!done()) Advance();
2000
} } // namespace v8::internal
2002
+#pragma GCC visibility pop
2004
#endif // V8_FRAMES_INL_H_
2005
Index: chromium-v8-1.2.14~svn20090716r2483/src/func-name-inferrer.h
2006
===================================================================
2007
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/func-name-inferrer.h
2008
+++ chromium-v8-1.2.14~svn20090716r2483/src/func-name-inferrer.h
2010
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2011
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2012
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2013
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2015
#ifndef V8_FUNC_NAME_INFERRER_H_
2016
#define V8_FUNC_NAME_INFERRER_H_
2018
+#pragma GCC visibility push(hidden)
2021
namespace internal {
2023
// FuncNameInferrer is a stateful class that is used to perform name
2024
// inference for anonymous functions during static analysis of source code.
2025
// Inference is performed in cases when an anonymous function is assigned
2026
// to a variable or a property (see test-func-name-inference.cc for examples.)
2028
@@ -127,9 +129,11 @@
2031
DISALLOW_COPY_AND_ASSIGN(ScopedFuncNameInferrer);
2035
} } // namespace v8::internal
2037
+#pragma GCC visibility pop
2039
#endif // V8_FUNC_NAME_INFERRER_H_
2040
Index: chromium-v8-1.2.14~svn20090716r2483/src/global-handles.h
2041
===================================================================
2042
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/global-handles.h
2043
+++ chromium-v8-1.2.14~svn20090716r2483/src/global-handles.h
2045
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2046
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2048
#ifndef V8_GLOBAL_HANDLES_H_
2049
#define V8_GLOBAL_HANDLES_H_
2051
#include "list-inl.h"
2053
+#pragma GCC visibility push(hidden)
2056
namespace internal {
2058
// Structure for tracking global handles.
2059
// A single list keeps all the allocated global handles.
2060
// Destroyed handles stay in the list but is added to the free list.
2061
// At GC the destroyed global handles are removed from the free list
2063
@@ -142,9 +144,11 @@
2064
static Node* first_free_;
2065
static Node* first_free() { return first_free_; }
2066
static void set_first_free(Node* value) { first_free_ = value; }
2070
} } // namespace v8::internal
2072
+#pragma GCC visibility pop
2074
#endif // V8_GLOBAL_HANDLES_H_
2075
Index: chromium-v8-1.2.14~svn20090716r2483/src/globals.h
2076
===================================================================
2077
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/globals.h
2078
+++ chromium-v8-1.2.14~svn20090716r2483/src/globals.h
2080
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2081
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2082
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2083
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2085
#ifndef V8_GLOBALS_H_
2086
#define V8_GLOBALS_H_
2088
+#pragma GCC visibility push(hidden)
2091
namespace internal {
2093
// Processor architecture detection. For more info on what's defined, see:
2094
// http://msdn.microsoft.com/en-us/library/b0084kay.aspx
2095
// http://www.agner.org/optimize/calling_conventions.pdf
2096
// or with gcc, run: "echo | gcc -E -dM -"
2097
#if defined(_M_X64) || defined(__x86_64__)
2098
@@ -561,9 +563,11 @@
2100
memcpy(&dest, &source, sizeof(dest));
2105
} } // namespace v8::internal
2107
+#pragma GCC visibility pop
2109
#endif // V8_GLOBALS_H_
2110
Index: chromium-v8-1.2.14~svn20090716r2483/src/handles.h
2111
===================================================================
2112
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/handles.h
2113
+++ chromium-v8-1.2.14~svn20090716r2483/src/handles.h
2115
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2116
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2118
#ifndef V8_HANDLES_H_
2119
#define V8_HANDLES_H_
2121
#include "apiutils.h"
2123
+#pragma GCC visibility push(hidden)
2126
namespace internal {
2128
// ----------------------------------------------------------------------------
2129
// A Handle provides a reference to an object that survives relocation by
2130
// the garbage collector.
2131
// Handles are only valid within a HandleScope.
2132
// When a handle is created for an object a cell is allocated in the heap.
2133
@@ -342,9 +344,11 @@
2134
bool has_been_transformed_; // Tells whether the object has been transformed.
2135
int unused_property_fields_; // Captures the unused number of field.
2136
Handle<JSObject> object_; // The object being optimized.
2140
} } // namespace v8::internal
2142
+#pragma GCC visibility pop
2144
#endif // V8_HANDLES_H_
2145
Index: chromium-v8-1.2.14~svn20090716r2483/src/handles-inl.h
2146
===================================================================
2147
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/handles-inl.h
2148
+++ chromium-v8-1.2.14~svn20090716r2483/src/handles-inl.h
2151
#ifndef V8_HANDLES_INL_H_
2152
#define V8_HANDLES_INL_H_
2154
#include "apiutils.h"
2155
#include "handles.h"
2158
+#pragma GCC visibility push(hidden)
2161
namespace internal {
2164
Handle<T>::Handle(T* obj) {
2165
ASSERT(!obj->IsFailure());
2166
location_ = reinterpret_cast<T**>(HandleScope::CreateHandle(obj));
2170
v8::ImplementationUtilities::CurrentHandleScope()->extensions = extensions_;
2175
} } // namespace v8::internal
2177
+#pragma GCC visibility pop
2179
#endif // V8_HANDLES_INL_H_
2180
Index: chromium-v8-1.2.14~svn20090716r2483/src/hashmap.h
2181
===================================================================
2182
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/hashmap.h
2183
+++ chromium-v8-1.2.14~svn20090716r2483/src/hashmap.h
2185
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2186
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2187
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2188
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2190
#ifndef V8_HASHMAP_H_
2191
#define V8_HASHMAP_H_
2193
+#pragma GCC visibility push(hidden)
2196
namespace internal {
2199
// Allocator defines the memory allocator interface
2200
// used by HashMap and implements a default allocator.
2201
class Allocator BASE_EMBEDDED {
2203
@@ -112,9 +114,11 @@
2204
Entry* Probe(void* key, uint32_t hash);
2205
void Initialize(uint32_t capacity);
2210
} } // namespace v8::internal
2212
+#pragma GCC visibility pop
2214
#endif // V8_HASHMAP_H_
2215
Index: chromium-v8-1.2.14~svn20090716r2483/src/heap.h
2216
===================================================================
2217
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/heap.h
2218
+++ chromium-v8-1.2.14~svn20090716r2483/src/heap.h
2220
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2221
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2226
#include "zone-inl.h"
2228
+#pragma GCC visibility push(hidden)
2231
namespace internal {
2233
// Defines all the roots in Heap.
2234
#define STRONG_ROOT_LIST(V) \
2235
V(Map, meta_map, MetaMap) \
2236
V(Map, heap_number_map, HeapNumberMap) \
2237
V(Map, short_string_map, ShortStringMap) \
2238
@@ -1460,9 +1462,11 @@
2240
// The count from the end of the previous full GC. Will be zero if there
2241
// was no previous full GC.
2242
int previous_marked_count_;
2245
} } // namespace v8::internal
2247
+#pragma GCC visibility pop
2249
#endif // V8_HEAP_H_
2250
Index: chromium-v8-1.2.14~svn20090716r2483/src/heap-inl.h
2251
===================================================================
2252
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/heap-inl.h
2253
+++ chromium-v8-1.2.14~svn20090716r2483/src/heap-inl.h
2255
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2257
#ifndef V8_HEAP_INL_H_
2258
#define V8_HEAP_INL_H_
2261
#include "v8-counters.h"
2263
+#pragma GCC visibility push(hidden)
2266
namespace internal {
2268
int Heap::MaxObjectSizeInPagedSpace() {
2269
return Page::kMaxHeapObjectSize;
2273
@@ -295,9 +297,11 @@
2280
} } // namespace v8::internal
2282
+#pragma GCC visibility pop
2284
#endif // V8_HEAP_INL_H_
2285
Index: chromium-v8-1.2.14~svn20090716r2483/src/ia32/assembler-ia32.h
2286
===================================================================
2287
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ia32/assembler-ia32.h
2288
+++ chromium-v8-1.2.14~svn20090716r2483/src/ia32/assembler-ia32.h
2290
// modified significantly by Google Inc.
2291
// Copyright 2006-2008 the V8 project authors. All rights reserved.
2293
// A light-weight IA32 Assembler.
2295
#ifndef V8_IA32_ASSEMBLER_IA32_H_
2296
#define V8_IA32_ASSEMBLER_IA32_H_
2298
+#pragma GCC visibility push(hidden)
2301
namespace internal {
2305
// 1) We would prefer to use an enum, but enum values are assignment-
2306
// compatible with int, which has caused code-generation bugs.
2308
@@ -861,9 +863,11 @@
2309
Assembler* assembler_;
2315
} } // namespace v8::internal
2317
+#pragma GCC visibility pop
2319
#endif // V8_IA32_ASSEMBLER_IA32_H_
2320
Index: chromium-v8-1.2.14~svn20090716r2483/src/ia32/assembler-ia32-inl.h
2321
===================================================================
2322
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ia32/assembler-ia32-inl.h
2323
+++ chromium-v8-1.2.14~svn20090716r2483/src/ia32/assembler-ia32-inl.h
2326
// A light-weight IA32 Assembler.
2328
#ifndef V8_IA32_ASSEMBLER_IA32_INL_H_
2329
#define V8_IA32_ASSEMBLER_IA32_INL_H_
2333
+#pragma GCC visibility push(hidden)
2336
namespace internal {
2338
Condition NegateCondition(Condition cc) {
2339
return static_cast<Condition>(cc ^ 1);
2343
@@ -311,9 +313,11 @@
2344
Operand::Operand(int32_t disp, RelocInfo::Mode rmode) {
2347
set_dispr(disp, rmode);
2350
} } // namespace v8::internal
2352
+#pragma GCC visibility pop
2354
#endif // V8_IA32_ASSEMBLER_IA32_INL_H_
2355
Index: chromium-v8-1.2.14~svn20090716r2483/src/ia32/codegen-ia32.h
2356
===================================================================
2357
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ia32/codegen-ia32.h
2358
+++ chromium-v8-1.2.14~svn20090716r2483/src/ia32/codegen-ia32.h
2360
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2361
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2362
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2363
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2365
#ifndef V8_IA32_CODEGEN_IA32_H_
2366
#define V8_IA32_CODEGEN_IA32_H_
2368
+#pragma GCC visibility push(hidden)
2371
namespace internal {
2373
// Forward declarations
2375
class RegisterAllocator;
2378
@@ -606,9 +608,11 @@
2379
friend class CodeGeneratorPatcher; // Used in test-log-ia32.cc
2381
DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
2385
} } // namespace v8::internal
2387
+#pragma GCC visibility pop
2389
#endif // V8_IA32_CODEGEN_IA32_H_
2390
Index: chromium-v8-1.2.14~svn20090716r2483/src/ia32/codegen-ia32-inl.h
2391
===================================================================
2392
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ia32/codegen-ia32-inl.h
2393
+++ chromium-v8-1.2.14~svn20090716r2483/src/ia32/codegen-ia32-inl.h
2395
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2396
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2397
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2400
#ifndef V8_IA32_CODEGEN_IA32_INL_H_
2401
#define V8_IA32_CODEGEN_IA32_INL_H_
2403
+#pragma GCC visibility push(hidden)
2406
namespace internal {
2408
#define __ ACCESS_MASM(masm_)
2410
// Platform-specific inline functions.
2412
void DeferredCode::Jump() { __ jmp(&entry_label_); }
2414
GenerateFastMathOp(COS, args);
2420
} } // namespace v8::internal
2422
+#pragma GCC visibility pop
2424
#endif // V8_IA32_CODEGEN_IA32_INL_H_
2425
Index: chromium-v8-1.2.14~svn20090716r2483/src/ia32/disasm-ia32.cc
2426
===================================================================
2427
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ia32/disasm-ia32.cc
2428
+++ chromium-v8-1.2.14~svn20090716r2483/src/ia32/disasm-ia32.cc
2438
+#pragma GCC visibility push(hidden)
2447
@@ -1195,8 +1196,9 @@
2450
fprintf(f, " %s\n", buffer.start());
2455
} // namespace disasm
2456
+#pragma GCC visibility pop
2457
Index: chromium-v8-1.2.14~svn20090716r2483/src/ia32/frames-ia32.h
2458
===================================================================
2459
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ia32/frames-ia32.h
2460
+++ chromium-v8-1.2.14~svn20090716r2483/src/ia32/frames-ia32.h
2462
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2463
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2464
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2465
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2467
#ifndef V8_IA32_FRAMES_IA32_H_
2468
#define V8_IA32_FRAMES_IA32_H_
2470
+#pragma GCC visibility push(hidden)
2473
namespace internal {
2477
// Note that the bit values must match those used in actual instruction encoding
2478
static const int kNumRegs = 8;
2480
@@ -127,9 +129,11 @@
2481
inline Object* JavaScriptFrame::function_slot_object() const {
2482
const int offset = JavaScriptFrameConstants::kFunctionOffset;
2483
return Memory::Object_at(fp() + offset);
2487
} } // namespace v8::internal
2489
+#pragma GCC visibility pop
2491
#endif // V8_IA32_FRAMES_IA32_H_
2492
Index: chromium-v8-1.2.14~svn20090716r2483/src/ia32/macro-assembler-ia32.h
2493
===================================================================
2494
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ia32/macro-assembler-ia32.h
2495
+++ chromium-v8-1.2.14~svn20090716r2483/src/ia32/macro-assembler-ia32.h
2497
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2498
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2500
#ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
2501
#define V8_IA32_MACRO_ASSEMBLER_IA32_H_
2503
#include "assembler.h"
2505
+#pragma GCC visibility push(hidden)
2508
namespace internal {
2510
// Forward declaration.
2514
// Helper types to make flags easier to read at call sites.
2515
@@ -363,9 +365,11 @@
2518
#define ACCESS_MASM(masm) masm->
2522
} } // namespace v8::internal
2524
+#pragma GCC visibility pop
2526
#endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
2527
Index: chromium-v8-1.2.14~svn20090716r2483/src/ia32/regexp-macro-assembler-ia32.h
2528
===================================================================
2529
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ia32/regexp-macro-assembler-ia32.h
2530
+++ chromium-v8-1.2.14~svn20090716r2483/src/ia32/regexp-macro-assembler-ia32.h
2532
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2533
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2534
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2535
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2537
#ifndef V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_
2538
#define V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_
2540
+#pragma GCC visibility push(hidden)
2543
namespace internal {
2545
class RegExpMacroAssemblerIA32: public RegExpMacroAssembler {
2547
// Type of input string to generate code for.
2548
enum Mode { ASCII = 1, UC16 = 2 };
2549
// Result of calling the generated RegExp code:
2550
@@ -278,9 +280,11 @@
2551
Label backtrack_label_;
2553
Label check_preempt_label_;
2554
Label stack_overflow_label_;
2557
}} // namespace v8::internal
2559
+#pragma GCC visibility pop
2561
#endif // V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_
2562
Index: chromium-v8-1.2.14~svn20090716r2483/src/ia32/register-allocator-ia32.h
2563
===================================================================
2564
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ia32/register-allocator-ia32.h
2565
+++ chromium-v8-1.2.14~svn20090716r2483/src/ia32/register-allocator-ia32.h
2567
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2568
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2569
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2570
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2572
#ifndef V8_IA32_REGISTER_ALLOCATOR_IA32_H_
2573
#define V8_IA32_REGISTER_ALLOCATOR_IA32_H_
2575
+#pragma GCC visibility push(hidden)
2578
namespace internal {
2580
class RegisterAllocatorConstants : public AllStatic {
2582
static const int kNumRegisters = 5;
2583
static const int kInvalidRegister = -1;
2587
} } // namespace v8::internal
2589
+#pragma GCC visibility pop
2591
#endif // V8_IA32_REGISTER_ALLOCATOR_IA32_H_
2592
Index: chromium-v8-1.2.14~svn20090716r2483/src/ia32/register-allocator-ia32-inl.h
2593
===================================================================
2594
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ia32/register-allocator-ia32-inl.h
2595
+++ chromium-v8-1.2.14~svn20090716r2483/src/ia32/register-allocator-ia32-inl.h
2597
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2598
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2600
#ifndef V8_IA32_REGISTER_ALLOCATOR_IA32_INL_H_
2601
#define V8_IA32_REGISTER_ALLOCATOR_IA32_INL_H_
2605
+#pragma GCC visibility push(hidden)
2608
namespace internal {
2610
// -------------------------------------------------------------------------
2611
// RegisterAllocator implementation.
2613
bool RegisterAllocator::IsReserved(Register reg) {
2614
// The code for this test relies on the order of register codes.
2617
// The non-reserved edi register is live on JS function entry.
2618
Use(edi); // JS function.
2622
} } // namespace v8::internal
2624
+#pragma GCC visibility pop
2626
#endif // V8_IA32_REGISTER_ALLOCATOR_IA32_INL_H_
2627
Index: chromium-v8-1.2.14~svn20090716r2483/src/ia32/virtual-frame-ia32.h
2628
===================================================================
2629
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ia32/virtual-frame-ia32.h
2630
+++ chromium-v8-1.2.14~svn20090716r2483/src/ia32/virtual-frame-ia32.h
2632
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2634
#ifndef V8_IA32_VIRTUAL_FRAME_IA32_H_
2635
#define V8_IA32_VIRTUAL_FRAME_IA32_H_
2637
#include "register-allocator.h"
2640
+#pragma GCC visibility push(hidden)
2643
namespace internal {
2645
// -------------------------------------------------------------------------
2648
// The virtual frame is an abstraction of the physical stack frame. It
2649
// encapsulates the parameters, frame-allocated locals, and the expression
2650
@@ -567,9 +569,11 @@
2652
// Classes that need raw access to the elements_ array.
2653
friend class DeferredCode;
2654
friend class JumpTarget;
2657
} } // namespace v8::internal
2659
+#pragma GCC visibility pop
2661
#endif // V8_IA32_VIRTUAL_FRAME_IA32_H_
2662
Index: chromium-v8-1.2.14~svn20090716r2483/src/ic.h
2663
===================================================================
2664
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ic.h
2665
+++ chromium-v8-1.2.14~svn20090716r2483/src/ic.h
2667
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2668
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2673
#include "assembler.h"
2675
+#pragma GCC visibility push(hidden)
2678
namespace internal {
2680
// IC_UTIL_LIST defines all utility functions called from generated
2681
// inline caching code. The argument for the macro, ICU, is the function name.
2682
#define IC_UTIL_LIST(ICU) \
2684
ICU(KeyedLoadIC_Miss) \
2685
@@ -390,9 +392,11 @@
2686
static bool PatchInlinedStore(Address address, Object* map);
2692
} } // namespace v8::internal
2694
+#pragma GCC visibility pop
2697
Index: chromium-v8-1.2.14~svn20090716r2483/src/ic-inl.h
2698
===================================================================
2699
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/ic-inl.h
2700
+++ chromium-v8-1.2.14~svn20090716r2483/src/ic-inl.h
2703
#ifndef V8_IC_INL_H_
2704
#define V8_IC_INL_H_
2708
#include "macro-assembler.h"
2710
+#pragma GCC visibility push(hidden)
2713
namespace internal {
2716
Address IC::address() {
2717
// Get the address of the call.
2718
Address result = pc() - Assembler::kTargetAddrToReturnAddrDist;
2721
// If the object is a value, we use the prototype map for the cache.
2722
ASSERT(object->IsString() || object->IsNumber() || object->IsBoolean());
2723
return JSObject::cast(object->GetPrototype())->map();
2727
} } // namespace v8::internal
2729
+#pragma GCC visibility pop
2731
#endif // V8_IC_INL_H_
2732
Index: chromium-v8-1.2.14~svn20090716r2483/src/interpreter-irregexp.h
2733
===================================================================
2734
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/interpreter-irregexp.h
2735
+++ chromium-v8-1.2.14~svn20090716r2483/src/interpreter-irregexp.h
2737
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2738
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2740
// A simple interpreter for the Irregexp byte code.
2742
#ifndef V8_INTERPRETER_IRREGEXP_H_
2743
#define V8_INTERPRETER_IRREGEXP_H_
2745
+#pragma GCC visibility push(hidden)
2748
namespace internal {
2751
class IrregexpInterpreter {
2753
static bool Match(Handle<ByteArray> code,
2754
Handle<String> subject,
2756
int start_position);
2760
} } // namespace v8::internal
2762
+#pragma GCC visibility pop
2764
#endif // V8_INTERPRETER_IRREGEXP_H_
2765
Index: chromium-v8-1.2.14~svn20090716r2483/src/jsregexp.cc
2766
===================================================================
2767
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/jsregexp.cc
2768
+++ chromium-v8-1.2.14~svn20090716r2483/src/jsregexp.cc
2770
#include "arm/regexp-macro-assembler-arm.h"
2772
#error Unsupported target architecture.
2775
#include "interpreter-irregexp.h"
2778
+#pragma GCC visibility push(hidden)
2781
namespace internal {
2784
Handle<Object> RegExpImpl::CreateRegExpLiteral(Handle<JSFunction> constructor,
2785
Handle<String> pattern,
2786
Handle<String> flags,
2787
bool* has_pending_exception) {
2788
@@ -4487,8 +4489,9 @@
2789
return compiler.Assemble(¯o_assembler,
2791
data->capture_count,
2793
#endif // V8_NATIVE_REGEXP
2796
}} // namespace v8::internal
2797
+#pragma GCC visibility pop
2798
Index: chromium-v8-1.2.14~svn20090716r2483/src/jsregexp.h
2799
===================================================================
2800
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/jsregexp.h
2801
+++ chromium-v8-1.2.14~svn20090716r2483/src/jsregexp.h
2803
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2804
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2805
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2806
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2808
#ifndef V8_JSREGEXP_H_
2809
#define V8_JSREGEXP_H_
2811
+#pragma GCC visibility push(hidden)
2814
namespace internal {
2817
class RegExpMacroAssembler;
2821
@@ -1377,9 +1379,11 @@
2824
static void DotPrint(const char* label, RegExpNode* node, bool ignore_case);
2828
} } // namespace v8::internal
2830
+#pragma GCC visibility pop
2832
#endif // V8_JSREGEXP_H_
2833
Index: chromium-v8-1.2.14~svn20090716r2483/src/jsregexp-inl.h
2834
===================================================================
2835
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/jsregexp-inl.h
2836
+++ chromium-v8-1.2.14~svn20090716r2483/src/jsregexp-inl.h
2838
#ifndef V8_JSREGEXP_INL_H_
2839
#define V8_JSREGEXP_INL_H_
2842
#include "jsregexp.h"
2843
#include "regexp-macro-assembler.h"
2846
+#pragma GCC visibility push(hidden)
2849
namespace internal {
2852
template <typename C>
2853
bool ZoneSplayTree<C>::Insert(const Key& key, Locator* locator) {
2855
// If the tree is empty, insert the new node.
2856
@@ -252,9 +254,11 @@
2857
callback->Call(node->key(), node->value());
2858
DoForEach<Node, Callback>(node->right(), callback);
2862
}} // namespace v8::internal
2865
+#pragma GCC visibility pop
2867
#endif // V8_JSREGEXP_INL_H_
2868
Index: chromium-v8-1.2.14~svn20090716r2483/src/jump-target.h
2869
===================================================================
2870
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/jump-target.h
2871
+++ chromium-v8-1.2.14~svn20090716r2483/src/jump-target.h
2873
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2874
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2875
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2876
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2878
#ifndef V8_JUMP_TARGET_H_
2879
#define V8_JUMP_TARGET_H_
2881
+#pragma GCC visibility push(hidden)
2884
namespace internal {
2886
// Forward declarations.
2891
@@ -269,9 +271,11 @@
2894
DISALLOW_COPY_AND_ASSIGN(ShadowTarget);
2898
} } // namespace v8::internal
2900
+#pragma GCC visibility pop
2902
#endif // V8_JUMP_TARGET_H_
2903
Index: chromium-v8-1.2.14~svn20090716r2483/src/jump-target-inl.h
2904
===================================================================
2905
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/jump-target-inl.h
2906
+++ chromium-v8-1.2.14~svn20090716r2483/src/jump-target-inl.h
2908
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2909
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2910
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2911
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2913
#ifndef V8_JUMP_TARGET_INL_H_
2914
#define V8_JUMP_TARGET_INL_H_
2916
+#pragma GCC visibility push(hidden)
2919
namespace internal {
2921
CodeGenerator* JumpTarget::cgen() {
2922
return CodeGeneratorScope::Current();
2925
void JumpTarget::InitializeEntryElement(int index, FrameElement* target) {
2927
entry_frame_->set_register_location(target->reg(), index);
2928
} else if (target->is_copy()) {
2929
entry_frame_->elements_[target->index()].set_copied();
2933
} } // namespace v8::internal
2935
+#pragma GCC visibility pop
2937
#endif // V8_JUMP_TARGET_INL_H_
2938
Index: chromium-v8-1.2.14~svn20090716r2483/src/list.h
2939
===================================================================
2940
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/list.h
2941
+++ chromium-v8-1.2.14~svn20090716r2483/src/list.h
2943
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2944
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2945
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2946
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2951
+#pragma GCC visibility push(hidden)
2954
namespace internal {
2957
// ----------------------------------------------------------------------------
2958
// The list is a template for very light-weight lists. We are not
2959
// using the STL because we want full control over space and speed of
2960
// the code. This implementation is based on code by Robert Griesemer
2961
@@ -141,9 +143,11 @@
2962
// Add() is inlined, ResizeAdd() called by Add() is inlined except for
2963
// Lists of FrameElements, and ResizeAddInternal() is inlined in ResizeAdd().
2965
void List<FrameElement,
2966
FreeStoreAllocationPolicy>::ResizeAdd(const FrameElement& element);
2968
} } // namespace v8::internal
2970
+#pragma GCC visibility pop
2972
#endif // V8_LIST_H_
2973
Index: chromium-v8-1.2.14~svn20090716r2483/src/list-inl.h
2974
===================================================================
2975
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/list-inl.h
2976
+++ chromium-v8-1.2.14~svn20090716r2483/src/list-inl.h
2978
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2979
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2981
#ifndef V8_LIST_INL_H_
2982
#define V8_LIST_INL_H_
2986
+#pragma GCC visibility push(hidden)
2989
namespace internal {
2992
template<typename T, class P>
2993
void List<T, P>::Add(const T& element) {
2994
if (length_ < capacity_) {
2995
data_[length_++] = element;
2996
@@ -158,9 +160,11 @@
2997
data_ = (capacity > 0) ? NewData(capacity) : NULL;
2998
capacity_ = capacity;
3003
} } // namespace v8::internal
3005
+#pragma GCC visibility pop
3007
#endif // V8_LIST_INL_H_
3008
Index: chromium-v8-1.2.14~svn20090716r2483/src/log.h
3009
===================================================================
3010
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/log.h
3011
+++ chromium-v8-1.2.14~svn20090716r2483/src/log.h
3013
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3018
#include "platform.h"
3019
#include "log-utils.h"
3021
+#pragma GCC visibility push(hidden)
3024
namespace internal {
3026
// Logger is used for collecting logging information from V8 during
3027
// execution. The result is dumped to a file.
3029
// Available command line flags:
3031
@@ -335,9 +337,11 @@
3032
class StackTracer : public AllStatic {
3034
static void Trace(TickSample* sample);
3038
} } // namespace v8::internal
3040
+#pragma GCC visibility pop
3043
Index: chromium-v8-1.2.14~svn20090716r2483/src/log-inl.h
3044
===================================================================
3045
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/log-inl.h
3046
+++ chromium-v8-1.2.14~svn20090716r2483/src/log-inl.h
3048
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3049
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3051
#ifndef V8_LOG_INL_H_
3052
#define V8_LOG_INL_H_
3056
+#pragma GCC visibility push(hidden)
3059
namespace internal {
3062
// VMState class implementation. A simple stack of VM states held by the
3063
// logger and partially threaded through the call stack. States are pushed by
3064
// VMState construction and popped by destruction.
3066
@@ -118,9 +120,11 @@
3073
} } // namespace v8::internal
3075
+#pragma GCC visibility pop
3077
#endif // V8_LOG_INL_H_
3078
Index: chromium-v8-1.2.14~svn20090716r2483/src/log-utils.h
3079
===================================================================
3080
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/log-utils.h
3081
+++ chromium-v8-1.2.14~svn20090716r2483/src/log-utils.h
3083
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3084
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3085
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3086
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3088
#ifndef V8_LOG_UTILS_H_
3089
#define V8_LOG_UTILS_H_
3091
+#pragma GCC visibility push(hidden)
3094
namespace internal {
3096
#ifdef ENABLE_LOGGING_AND_PROFILING
3098
// A memory buffer that increments its size as you write in it. Size
3099
// is incremented with 'block_size' steps, never exceeding 'max_size'.
3100
// During growth, memory contents are never copied. At the end of the
3101
@@ -280,9 +282,11 @@
3106
#endif // ENABLE_LOGGING_AND_PROFILING
3108
} } // namespace v8::internal
3110
+#pragma GCC visibility pop
3112
#endif // V8_LOG_UTILS_H_
3113
Index: chromium-v8-1.2.14~svn20090716r2483/src/mark-compact.h
3114
===================================================================
3115
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/mark-compact.h
3116
+++ chromium-v8-1.2.14~svn20090716r2483/src/mark-compact.h
3118
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3119
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3120
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3121
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3123
#ifndef V8_MARK_COMPACT_H_
3124
#define V8_MARK_COMPACT_H_
3126
+#pragma GCC visibility push(hidden)
3129
namespace internal {
3131
// Callback function, returns whether an object is alive. The heap size
3132
// of the object is returned in size. It optionally updates the offset
3133
// to the first live object in the page (only used for old and map objects).
3134
typedef bool (*IsAliveFunction)(HeapObject* obj, int* size, int* offset);
3136
@@ -413,9 +415,11 @@
3137
friend class UnmarkObjectVisitor;
3138
static void UnmarkObject(HeapObject* obj);
3143
} } // namespace v8::internal
3145
+#pragma GCC visibility pop
3147
#endif // V8_MARK_COMPACT_H_
3148
Index: chromium-v8-1.2.14~svn20090716r2483/src/memory.h
3149
===================================================================
3150
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/memory.h
3151
+++ chromium-v8-1.2.14~svn20090716r2483/src/memory.h
3153
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3154
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3155
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3156
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3158
#ifndef V8_MEMORY_H_
3159
#define V8_MEMORY_H_
3161
+#pragma GCC visibility push(hidden)
3164
namespace internal {
3166
// Memory provides an interface to 'raw' memory. It encapsulates the casts
3167
// that typically are needed when incompatible pointer types are used.
3173
static Object*& Object_at(Address addr) {
3174
return *reinterpret_cast<Object**>(addr);
3178
} } // namespace v8::internal
3180
+#pragma GCC visibility pop
3182
#endif // V8_MEMORY_H_
3183
Index: chromium-v8-1.2.14~svn20090716r2483/src/messages.h
3184
===================================================================
3185
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/messages.h
3186
+++ chromium-v8-1.2.14~svn20090716r2483/src/messages.h
3188
// structures used by this framework.
3190
#ifndef V8_MESSAGES_H_
3191
#define V8_MESSAGES_H_
3193
#include "handles-inl.h"
3195
// Forward declaration of MessageLocation.
3196
+#pragma GCC visibility push(hidden)
3199
namespace internal {
3200
class MessageLocation;
3201
} } // namespace v8::internal
3206
@@ -104,9 +106,11 @@
3207
static void DefaultMessageReport(const MessageLocation* loc,
3208
Handle<Object> message_obj);
3209
static Handle<String> GetMessage(Handle<Object> data);
3210
static SmartPointer<char> GetLocalizedMessage(Handle<Object> data);
3213
} } // namespace v8::internal
3215
+#pragma GCC visibility pop
3217
#endif // V8_MESSAGES_H_
3218
Index: chromium-v8-1.2.14~svn20090716r2483/src/natives.h
3219
===================================================================
3220
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/natives.h
3221
+++ chromium-v8-1.2.14~svn20090716r2483/src/natives.h
3223
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3224
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3225
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3226
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3228
#ifndef V8_NATIVES_H_
3229
#define V8_NATIVES_H_
3231
+#pragma GCC visibility push(hidden)
3234
namespace internal {
3236
typedef bool (*NativeSourceCallback)(Vector<const char> name,
3237
Vector<const char> source,
3242
static Vector<const char> GetScriptSource(int index);
3243
static Vector<const char> GetScriptName(int index);
3246
typedef NativesCollection<CORE> Natives;
3248
} } // namespace v8::internal
3250
+#pragma GCC visibility pop
3252
#endif // V8_NATIVES_H_
3253
Index: chromium-v8-1.2.14~svn20090716r2483/src/objects.h
3254
===================================================================
3255
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/objects.h
3256
+++ chromium-v8-1.2.14~svn20090716r2483/src/objects.h
3257
@@ -103,16 +103,18 @@
3258
DONT_ENUM = v8::DontEnum,
3259
DONT_DELETE = v8::DontDelete,
3260
ABSENT = 16 // Used in runtime to indicate a property is absent.
3261
// ABSENT can never be stored in or returned from a descriptor's attributes
3262
// bitfield. It is only used as a return value meaning the attributes of
3263
// a non-existent property.
3266
+#pragma GCC visibility push(hidden)
3269
namespace internal {
3272
// PropertyDetails captures type and attributes for a property.
3273
// They are used both in property dictionaries and instance descriptors.
3274
class PropertyDetails BASE_EMBEDDED {
3276
@@ -4740,9 +4742,11 @@
3277
value &= ~(1 << bit_position);
3283
} } // namespace v8::internal
3285
+#pragma GCC visibility pop
3287
#endif // V8_OBJECTS_H_
3288
Index: chromium-v8-1.2.14~svn20090716r2483/src/objects-inl.h
3289
===================================================================
3290
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/objects-inl.h
3291
+++ chromium-v8-1.2.14~svn20090716r2483/src/objects-inl.h
3293
#ifndef V8_OBJECTS_INL_H_
3294
#define V8_OBJECTS_INL_H_
3296
#include "objects.h"
3297
#include "contexts.h"
3298
#include "conversions-inl.h"
3299
#include "property.h"
3301
+#pragma GCC visibility push(hidden)
3304
namespace internal {
3306
PropertyDetails::PropertyDetails(Smi* smi) {
3307
value_ = smi->value();
3311
@@ -2766,9 +2768,11 @@
3312
#undef READ_SHORT_FIELD
3313
#undef WRITE_SHORT_FIELD
3314
#undef READ_BYTE_FIELD
3315
#undef WRITE_BYTE_FIELD
3318
} } // namespace v8::internal
3320
+#pragma GCC visibility pop
3322
#endif // V8_OBJECTS_INL_H_
3323
Index: chromium-v8-1.2.14~svn20090716r2483/src/oprofile-agent.h
3324
===================================================================
3325
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/oprofile-agent.h
3326
+++ chromium-v8-1.2.14~svn20090716r2483/src/oprofile-agent.h
3329
#ifdef ENABLE_OPROFILE_AGENT
3330
// opagent.h uses uint64_t type, which can be missing in
3331
// system headers (they have __uint64_t), but is defined
3333
#include <opagent.h> // NOLINT
3336
+#pragma GCC visibility push(hidden)
3339
namespace internal {
3341
class OProfileAgent {
3343
static bool Initialize();
3344
static void TearDown();
3345
static void CreateNativeCodeRegion(const char* name,
3347
// Size of the buffer that is used for composing code areas names.
3348
static const int kFormattingBufSize = 256;
3350
static bool is_enabled() { return false; }
3355
+#pragma GCC visibility pop
3357
#endif // V8_OPROFILE_AGENT_H_
3358
Index: chromium-v8-1.2.14~svn20090716r2483/src/parser.cc
3359
===================================================================
3360
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/parser.cc
3361
+++ chromium-v8-1.2.14~svn20090716r2483/src/parser.cc
3363
#include "bootstrapper.h"
3364
#include "compiler.h"
3365
#include "platform.h"
3366
#include "runtime.h"
3369
#include "string-stream.h"
3371
+#pragma GCC visibility push(hidden)
3374
namespace internal {
3376
class ParserFactory;
3378
class TemporaryScope;
3381
@@ -4678,8 +4680,9 @@
3389
} } // namespace v8::internal
3390
+#pragma GCC visibility pop
3391
Index: chromium-v8-1.2.14~svn20090716r2483/src/parser.h
3392
===================================================================
3393
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/parser.h
3394
+++ chromium-v8-1.2.14~svn20090716r2483/src/parser.h
3396
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3398
#ifndef V8_PARSER_H_
3399
#define V8_PARSER_H_
3401
#include "scanner.h"
3402
#include "allocation.h"
3404
+#pragma GCC visibility push(hidden)
3407
namespace internal {
3410
class ParserMessage : public Malloced {
3412
ParserMessage(Scanner::Location loc, const char* message,
3413
Vector<const char*> args)
3414
@@ -193,9 +195,11 @@
3415
static const int kElementsSlot = 1;
3417
DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue);
3421
} } // namespace v8::internal
3423
+#pragma GCC visibility pop
3425
#endif // V8_PARSER_H_
3426
Index: chromium-v8-1.2.14~svn20090716r2483/src/platform.h
3427
===================================================================
3428
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/platform.h
3429
+++ chromium-v8-1.2.14~svn20090716r2483/src/platform.h
3430
@@ -100,16 +100,18 @@
3431
#if __GNUC_VERSION__ >= 29600 && __GNUC_VERSION__ < 40100
3434
#define V8_INFINITY std::numeric_limits<double>::infinity()
3439
+#pragma GCC visibility push(hidden)
3442
namespace internal {
3446
double ceiling(double x);
3448
// Forward declarations.
3449
@@ -536,9 +538,11 @@
3450
PlatformData* data_; // Platform specific data.
3451
DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler);
3454
#endif // ENABLE_LOGGING_AND_PROFILING
3456
} } // namespace v8::internal
3458
+#pragma GCC visibility pop
3460
#endif // V8_PLATFORM_H_
3461
Index: chromium-v8-1.2.14~svn20090716r2483/src/platform-linux.cc
3462
===================================================================
3463
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/platform-linux.cc
3464
+++ chromium-v8-1.2.14~svn20090716r2483/src/platform-linux.cc
3471
#include "platform.h"
3474
+#pragma GCC visibility push(hidden)
3477
namespace internal {
3479
// 0 is never a valid thread id on Linux since tids and pids share a
3480
// name space and pid 0 is reserved (see man 2 kill).
3481
static const pthread_t kNoThread = (pthread_t) 0;
3485
// This sampler is no longer the active sampler.
3486
active_sampler_ = NULL;
3490
#endif // ENABLE_LOGGING_AND_PROFILING
3492
} } // namespace v8::internal
3493
+#pragma GCC visibility pop
3494
Index: chromium-v8-1.2.14~svn20090716r2483/src/platform-posix.cc
3495
===================================================================
3496
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/platform-posix.cc
3497
+++ chromium-v8-1.2.14~svn20090716r2483/src/platform-posix.cc
3499
#include <netinet/in.h>
3504
#include "platform.h"
3507
+#pragma GCC visibility push(hidden)
3510
namespace internal {
3513
// ----------------------------------------------------------------------------
3514
// POSIX date/time support.
3520
Socket* OS::CreateSocket() {
3521
return new POSIXSocket();
3525
} } // namespace v8::internal
3526
+#pragma GCC visibility pop
3527
Index: chromium-v8-1.2.14~svn20090716r2483/src/prettyprinter.h
3528
===================================================================
3529
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/prettyprinter.h
3530
+++ chromium-v8-1.2.14~svn20090716r2483/src/prettyprinter.h
3532
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3533
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3535
#ifndef V8_PRETTYPRINTER_H_
3536
#define V8_PRETTYPRINTER_H_
3540
+#pragma GCC visibility push(hidden)
3543
namespace internal {
3547
class PrettyPrinter: public AstVisitor {
3550
@@ -111,9 +113,11 @@
3557
} } // namespace v8::internal
3559
+#pragma GCC visibility pop
3561
#endif // V8_PRETTYPRINTER_H_
3562
Index: chromium-v8-1.2.14~svn20090716r2483/src/property.h
3563
===================================================================
3564
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/property.h
3565
+++ chromium-v8-1.2.14~svn20090716r2483/src/property.h
3567
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3568
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3569
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3570
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3572
#ifndef V8_PROPERTY_H_
3573
#define V8_PROPERTY_H_
3575
+#pragma GCC visibility push(hidden)
3578
namespace internal {
3581
// Abstraction for elements in instance-descriptor arrays.
3583
// Each descriptor has a key, property attributes, property type,
3584
// property index (in the actual instance-descriptor array) and
3585
@@ -319,9 +321,11 @@
3588
PropertyDetails details_;
3592
} } // namespace v8::internal
3594
+#pragma GCC visibility pop
3596
#endif // V8_PROPERTY_H_
3597
Index: chromium-v8-1.2.14~svn20090716r2483/src/regexp-macro-assembler.h
3598
===================================================================
3599
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/regexp-macro-assembler.h
3600
+++ chromium-v8-1.2.14~svn20090716r2483/src/regexp-macro-assembler.h
3602
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3603
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3604
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3605
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3607
#ifndef V8_REGEXP_MACRO_ASSEMBLER_H_
3608
#define V8_REGEXP_MACRO_ASSEMBLER_H_
3610
+#pragma GCC visibility push(hidden)
3613
namespace internal {
3615
struct DisjunctDecisionRow {
3616
RegExpCharacterClass cc;
3620
@@ -223,9 +225,11 @@
3622
size_t byte_array_size_;
3623
Handle<ByteArray> current_byte_array_;
3624
int current_byte_array_free_offset_;
3627
} } // namespace v8::internal
3629
+#pragma GCC visibility pop
3631
#endif // V8_REGEXP_MACRO_ASSEMBLER_H_
3632
Index: chromium-v8-1.2.14~svn20090716r2483/src/regexp-macro-assembler-irregexp.h
3633
===================================================================
3634
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/regexp-macro-assembler-irregexp.h
3635
+++ chromium-v8-1.2.14~svn20090716r2483/src/regexp-macro-assembler-irregexp.h
3637
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3638
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3639
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3640
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3642
#ifndef V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_
3643
#define V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_
3645
+#pragma GCC visibility push(hidden)
3648
namespace internal {
3651
class RegExpMacroAssemblerIrregexp: public RegExpMacroAssembler {
3653
// Create an assembler. Instructions and relocation information are emitted
3654
// into a buffer, with the instructions starting from the beginning and the
3655
@@ -140,9 +142,11 @@
3657
static const int kInvalidPC = -1;
3659
DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp);
3662
} } // namespace v8::internal
3664
+#pragma GCC visibility pop
3666
#endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_
3667
Index: chromium-v8-1.2.14~svn20090716r2483/src/regexp-macro-assembler-irregexp-inl.h
3668
===================================================================
3669
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/regexp-macro-assembler-irregexp-inl.h
3670
+++ chromium-v8-1.2.14~svn20090716r2483/src/regexp-macro-assembler-irregexp-inl.h
3675
#include "bytecodes-irregexp.h"
3677
#ifndef V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_INL_H_
3678
#define V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_INL_H_
3680
+#pragma GCC visibility push(hidden)
3683
namespace internal {
3686
void RegExpMacroAssemblerIrregexp::Emit(uint32_t byte,
3687
uint32_t twenty_four_bits) {
3688
uint32_t word = ((twenty_four_bits << BYTECODE_SHIFT) | byte);
3689
ASSERT(pc_ <= buffer_.length());
3692
*reinterpret_cast<uint32_t*>(buffer_.start() + pc_) = word;
3697
} } // namespace v8::internal
3699
+#pragma GCC visibility pop
3701
#endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_INL_H_
3702
Index: chromium-v8-1.2.14~svn20090716r2483/src/regexp-macro-assembler-tracer.h
3703
===================================================================
3704
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/regexp-macro-assembler-tracer.h
3705
+++ chromium-v8-1.2.14~svn20090716r2483/src/regexp-macro-assembler-tracer.h
3707
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3708
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3709
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3710
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3712
#ifndef V8_REGEXP_MACRO_ASSEMBLER_TRACER_H_
3713
#define V8_REGEXP_MACRO_ASSEMBLER_TRACER_H_
3715
+#pragma GCC visibility push(hidden)
3718
namespace internal {
3720
// Decorator on a RegExpMacroAssembler that write all calls.
3721
class RegExpMacroAssemblerTracer: public RegExpMacroAssembler {
3723
explicit RegExpMacroAssemblerTracer(RegExpMacroAssembler* assembler);
3724
virtual ~RegExpMacroAssemblerTracer();
3725
@@ -111,9 +113,11 @@
3726
virtual void ClearRegisters(int reg_from, int reg_to);
3727
virtual void WriteStackPointerToRegister(int reg);
3729
RegExpMacroAssembler* assembler_;
3732
}} // namespace v8::internal
3734
+#pragma GCC visibility pop
3736
#endif // V8_REGEXP_MACRO_ASSEMBLER_TRACER_H_
3737
Index: chromium-v8-1.2.14~svn20090716r2483/src/regexp-stack.h
3738
===================================================================
3739
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/regexp-stack.h
3740
+++ chromium-v8-1.2.14~svn20090716r2483/src/regexp-stack.h
3742
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3743
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3744
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3745
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3747
#ifndef V8_REGEXP_STACK_H_
3748
#define V8_REGEXP_STACK_H_
3750
+#pragma GCC visibility push(hidden)
3753
namespace internal {
3755
// Maintains a per-v8thread stack area that can be used by irregexp
3756
// implementation for its backtracking stack.
3757
// Since there is only one stack area, the Irregexp implementation is not
3758
// re-entrant. I.e., no regular expressions may be executed in the same thread
3759
// during a preempted Irregexp execution.
3761
// you have to call EnsureCapacity before using it again.
3762
static void Reset();
3764
static ThreadLocal thread_local_;
3767
}} // namespace v8::internal
3769
+#pragma GCC visibility pop
3771
#endif // V8_REGEXP_STACK_H_
3772
Index: chromium-v8-1.2.14~svn20090716r2483/src/register-allocator.h
3773
===================================================================
3774
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/register-allocator.h
3775
+++ chromium-v8-1.2.14~svn20090716r2483/src/register-allocator.h
3777
#elif V8_TARGET_ARCH_X64
3778
#include "x64/register-allocator-x64.h"
3779
#elif V8_TARGET_ARCH_ARM
3780
#include "arm/register-allocator-arm.h"
3782
#error Unsupported target architecture.
3785
+#pragma GCC visibility push(hidden)
3788
namespace internal {
3791
// -------------------------------------------------------------------------
3794
// Results encapsulate the compile-time values manipulated by the code
3795
@@ -290,9 +292,11 @@
3798
CodeGenerator* cgen_;
3799
RegisterFile registers_;
3802
} } // namespace v8::internal
3804
+#pragma GCC visibility pop
3806
#endif // V8_REGISTER_ALLOCATOR_H_
3807
Index: chromium-v8-1.2.14~svn20090716r2483/src/register-allocator-inl.h
3808
===================================================================
3809
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/register-allocator-inl.h
3810
+++ chromium-v8-1.2.14~svn20090716r2483/src/register-allocator-inl.h
3812
#include "x64/register-allocator-x64-inl.h"
3813
#elif V8_TARGET_ARCH_ARM
3814
#include "arm/register-allocator-arm-inl.h"
3816
#error Unsupported target architecture.
3820
+#pragma GCC visibility push(hidden)
3823
namespace internal {
3826
if (is_register()) {
3827
CodeGeneratorScope::Current()->allocator()->Unuse(reg());
3831
if (is_register()) {
3832
CodeGeneratorScope::Current()->allocator()->Use(reg());
3837
} } // namespace v8::internal
3839
+#pragma GCC visibility pop
3841
#endif // V8_REGISTER_ALLOCATOR_INL_H_
3842
Index: chromium-v8-1.2.14~svn20090716r2483/src/rewriter.cc
3843
===================================================================
3844
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/rewriter.cc
3845
+++ chromium-v8-1.2.14~svn20090716r2483/src/rewriter.cc
3851
#include "func-name-inferrer.h"
3853
#include "rewriter.h"
3855
+#pragma GCC visibility push(hidden)
3858
namespace internal {
3861
class AstOptimizer: public AstVisitor {
3863
explicit AstOptimizer() {}
3864
explicit AstOptimizer(Handle<String> enclosing_name) {
3865
@@ -835,8 +837,10 @@
3873
} } // namespace v8::internal
3875
+#pragma GCC visibility pop
3876
Index: chromium-v8-1.2.14~svn20090716r2483/src/rewriter.h
3877
===================================================================
3878
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/rewriter.h
3879
+++ chromium-v8-1.2.14~svn20090716r2483/src/rewriter.h
3881
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3882
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3883
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3884
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3886
#ifndef V8_REWRITER_H_
3887
#define V8_REWRITER_H_
3889
+#pragma GCC visibility push(hidden)
3892
namespace internal {
3895
// Currently, the rewriter takes function literals (only top-level)
3896
// and rewrites them to return the value of the last expression in
3901
static bool Process(FunctionLiteral* function);
3902
static bool Optimize(FunctionLiteral* function);
3906
} } // namespace v8::internal
3908
+#pragma GCC visibility pop
3910
#endif // V8_REWRITER_H_
3911
Index: chromium-v8-1.2.14~svn20090716r2483/src/runtime.h
3912
===================================================================
3913
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/runtime.h
3914
+++ chromium-v8-1.2.14~svn20090716r2483/src/runtime.h
3916
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3917
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3918
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3919
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3921
#ifndef V8_RUNTIME_H_
3922
#define V8_RUNTIME_H_
3924
+#pragma GCC visibility push(hidden)
3927
namespace internal {
3929
// The interface to C++ runtime functions.
3931
// ----------------------------------------------------------------------------
3932
// RUNTIME_FUNCTION_LIST_ALWAYS defines runtime calls available in both
3933
// release and debug mode.
3934
@@ -394,9 +396,11 @@
3936
// Helper functions used stubs.
3937
static void PerformGC(Object* result);
3941
} } // namespace v8::internal
3943
+#pragma GCC visibility pop
3945
#endif // V8_RUNTIME_H_
3946
Index: chromium-v8-1.2.14~svn20090716r2483/src/scanner.h
3947
===================================================================
3948
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/scanner.h
3949
+++ chromium-v8-1.2.14~svn20090716r2483/src/scanner.h
3951
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3953
#ifndef V8_SCANNER_H_
3954
#define V8_SCANNER_H_
3957
#include "char-predicates-inl.h"
3959
+#pragma GCC visibility push(hidden)
3962
namespace internal {
3969
@@ -248,9 +250,11 @@
3971
// Decodes a unicode escape-sequence which is part of an identifier.
3972
// If the escape sequence cannot be decoded the result is kBadRune.
3973
uc32 ScanIdentifierUnicodeEscape();
3976
} } // namespace v8::internal
3978
+#pragma GCC visibility pop
3980
#endif // V8_SCANNER_H_
3981
Index: chromium-v8-1.2.14~svn20090716r2483/src/scopeinfo.h
3982
===================================================================
3983
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/scopeinfo.h
3984
+++ chromium-v8-1.2.14~svn20090716r2483/src/scopeinfo.h
3986
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3987
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3989
#ifndef V8_SCOPEINFO_H_
3990
#define V8_SCOPEINFO_H_
3992
#include "variables.h"
3994
+#pragma GCC visibility push(hidden)
3997
namespace internal {
3999
// Scope information represents information about a functions's
4000
// scopes (currently only one, because we don't do any inlining)
4001
// and the allocation of the scope's variables. Scope information
4002
// is stored in a compressed form with Code objects and is used
4003
// at runtime (stack dumps, deoptimization, etc.).
4004
@@ -228,9 +230,11 @@
4006
static Key keys_[kLength];
4007
static uint32_t values_[kLength];
4011
} } // namespace v8::internal
4013
+#pragma GCC visibility pop
4015
#endif // V8_SCOPEINFO_H_
4016
Index: chromium-v8-1.2.14~svn20090716r2483/src/scopes.cc
4017
===================================================================
4018
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/scopes.cc
4019
+++ chromium-v8-1.2.14~svn20090716r2483/src/scopes.cc
4021
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4025
#include "prettyprinter.h"
4026
#include "scopeinfo.h"
4029
+#pragma GCC visibility push(hidden)
4032
namespace internal {
4034
// ----------------------------------------------------------------------------
4035
// A Zone allocator for use with LocalsMap.
4037
class ZoneAllocator: public Allocator {
4040
num_heap_slots_ = 0;
4044
ASSERT(num_heap_slots_ == 0 || num_heap_slots_ >= Context::MIN_CONTEXT_SLOTS);
4047
} } // namespace v8::internal
4048
+#pragma GCC visibility pop
4049
Index: chromium-v8-1.2.14~svn20090716r2483/src/scopes.h
4050
===================================================================
4051
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/scopes.h
4052
+++ chromium-v8-1.2.14~svn20090716r2483/src/scopes.h
4054
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4056
#ifndef V8_SCOPES_H_
4057
#define V8_SCOPES_H_
4060
#include "hashmap.h"
4062
+#pragma GCC visibility push(hidden)
4065
namespace internal {
4068
// A hash map to support fast variable declaration and lookup.
4069
class VariableMap: public HashMap {
4072
@@ -387,9 +389,11 @@
4075
virtual VariableProxy* NewTemporary(Handle<String> name) { return NULL; }
4079
} } // namespace v8::internal
4081
+#pragma GCC visibility pop
4083
#endif // V8_SCOPES_H_
4084
Index: chromium-v8-1.2.14~svn20090716r2483/src/serialize.h
4085
===================================================================
4086
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/serialize.h
4087
+++ chromium-v8-1.2.14~svn20090716r2483/src/serialize.h
4089
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4090
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4092
#ifndef V8_SERIALIZE_H_
4093
#define V8_SERIALIZE_H_
4095
#include "hashmap.h"
4097
+#pragma GCC visibility push(hidden)
4100
namespace internal {
4102
// A TypeCode is used to distinguish different kinds of external reference.
4103
// It is a single bit to make testing for types easy.
4105
UNCLASSIFIED, // One-of-a-kind references.
4107
@@ -335,9 +337,11 @@
4108
bool expect_debug_information_;
4111
DISALLOW_COPY_AND_ASSIGN(Deserializer);
4114
} } // namespace v8::internal
4116
+#pragma GCC visibility pop
4118
#endif // V8_SERIALIZE_H_
4119
Index: chromium-v8-1.2.14~svn20090716r2483/src/shell.h
4120
===================================================================
4121
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/shell.h
4122
+++ chromium-v8-1.2.14~svn20090716r2483/src/shell.h
4125
// A simple interactive shell. Enable with --shell.
4130
#include "../public/debug.h"
4132
+#pragma GCC visibility push(hidden)
4135
namespace internal {
4137
// Debug event handler for interactive debugging.
4138
void handle_debug_event(v8::DebugEvent event,
4139
v8::Handle<v8::Object> exec_state,
4140
v8::Handle<v8::Object> event_data,
4141
v8::Handle<Value> data);
4143
static void PrintObject(v8::Handle<v8::Value> obj);
4144
// Run the read-eval loop, executing code in the specified
4146
static void Run(v8::Handle<v8::Context> context);
4149
} } // namespace v8::internal
4151
+#pragma GCC visibility pop
4153
#endif // V8_SHELL_H_
4154
Index: chromium-v8-1.2.14~svn20090716r2483/src/smart-pointer.h
4155
===================================================================
4156
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/smart-pointer.h
4157
+++ chromium-v8-1.2.14~svn20090716r2483/src/smart-pointer.h
4159
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4160
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4161
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4162
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4164
#ifndef V8_SMART_POINTER_H_
4165
#define V8_SMART_POINTER_H_
4167
+#pragma GCC visibility push(hidden)
4170
namespace internal {
4173
// A 'scoped array pointer' that calls DeleteArray on its pointer when the
4174
// destructor is called.
4175
template<typename T>
4176
class SmartPointer {
4177
@@ -101,9 +103,11 @@
4184
} } // namespace v8::internal
4186
+#pragma GCC visibility pop
4188
#endif // V8_SMART_POINTER_H_
4189
Index: chromium-v8-1.2.14~svn20090716r2483/src/snapshot.h
4190
===================================================================
4191
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/snapshot.h
4192
+++ chromium-v8-1.2.14~svn20090716r2483/src/snapshot.h
4194
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4195
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4196
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4197
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4199
#ifndef V8_SNAPSHOT_H_
4200
#define V8_SNAPSHOT_H_
4202
+#pragma GCC visibility push(hidden)
4205
namespace internal {
4209
// Initialize the VM from the given snapshot file. If snapshot_file is
4210
// NULL, use the internal snapshot instead. Returns false if no snapshot
4214
static bool Deserialize(const byte* content, int len);
4216
DISALLOW_IMPLICIT_CONSTRUCTORS(Snapshot);
4219
} } // namespace v8::internal
4221
+#pragma GCC visibility pop
4223
#endif // V8_SNAPSHOT_H_
4224
Index: chromium-v8-1.2.14~svn20090716r2483/src/spaces.h
4225
===================================================================
4226
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/spaces.h
4227
+++ chromium-v8-1.2.14~svn20090716r2483/src/spaces.h
4229
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4231
#ifndef V8_SPACES_H_
4232
#define V8_SPACES_H_
4234
#include "list-inl.h"
4237
+#pragma GCC visibility push(hidden)
4240
namespace internal {
4242
// -----------------------------------------------------------------------------
4245
// A JS heap consists of a young generation, an old generation, and a large
4246
// object space. The young generation is divided into two semispaces. A
4247
@@ -1793,9 +1795,11 @@
4249
LargeObjectChunk* current_;
4250
HeapObjectCallback size_func_;
4254
} } // namespace v8::internal
4256
+#pragma GCC visibility pop
4258
#endif // V8_SPACES_H_
4259
Index: chromium-v8-1.2.14~svn20090716r2483/src/spaces-inl.h
4260
===================================================================
4261
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/spaces-inl.h
4262
+++ chromium-v8-1.2.14~svn20090716r2483/src/spaces-inl.h
4264
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4266
#ifndef V8_SPACES_INL_H_
4267
#define V8_SPACES_INL_H_
4272
+#pragma GCC visibility push(hidden)
4275
namespace internal {
4278
// -----------------------------------------------------------------------------
4279
// HeapObjectIterator
4281
bool HeapObjectIterator::has_next() {
4282
@@ -358,9 +360,11 @@
4283
&& alloc_info->top <= space->high()
4284
&& alloc_info->limit == space->high());
4289
} } // namespace v8::internal
4291
+#pragma GCC visibility pop
4293
#endif // V8_SPACES_INL_H_
4294
Index: chromium-v8-1.2.14~svn20090716r2483/src/string-stream.h
4295
===================================================================
4296
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/string-stream.h
4297
+++ chromium-v8-1.2.14~svn20090716r2483/src/string-stream.h
4299
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4300
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4301
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4302
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4304
#ifndef V8_STRING_STREAM_H_
4305
#define V8_STRING_STREAM_H_
4307
+#pragma GCC visibility push(hidden)
4310
namespace internal {
4313
class StringAllocator {
4315
virtual ~StringAllocator() {}
4316
// Allocate a number of bytes.
4317
@@ -190,9 +192,11 @@
4318
int space() const { return capacity_ - length_; }
4320
DISALLOW_IMPLICIT_CONSTRUCTORS(StringStream);
4324
} } // namespace v8::internal
4326
+#pragma GCC visibility pop
4328
#endif // V8_STRING_STREAM_H_
4329
Index: chromium-v8-1.2.14~svn20090716r2483/src/stub-cache.h
4330
===================================================================
4331
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/stub-cache.h
4332
+++ chromium-v8-1.2.14~svn20090716r2483/src/stub-cache.h
4334
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4335
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4337
#ifndef V8_STUB_CACHE_H_
4338
#define V8_STUB_CACHE_H_
4340
#include "macro-assembler.h"
4342
+#pragma GCC visibility push(hidden)
4345
namespace internal {
4348
// The stub cache is used for megamorphic calls and property accesses.
4349
// It maps (map, name, type)->Code*
4351
// The design of the table uses the inline cache stubs used for
4352
@@ -553,9 +555,11 @@
4353
const ParameterCount& arguments() { return arguments_; }
4355
Object* GetCode(PropertyType type, String* name);
4359
} } // namespace v8::internal
4361
+#pragma GCC visibility pop
4363
#endif // V8_STUB_CACHE_H_
4364
Index: chromium-v8-1.2.14~svn20090716r2483/src/token.h
4365
===================================================================
4366
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/token.h
4367
+++ chromium-v8-1.2.14~svn20090716r2483/src/token.h
4369
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4370
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4371
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4372
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4377
+#pragma GCC visibility push(hidden)
4380
namespace internal {
4382
// TOKEN_LIST takes a list of 3 macros M, all of which satisfy the
4383
// same signature M(name, string, precedence), where name is the
4384
// symbolic token name, string is the corresponding syntactic symbol
4385
// (or NULL, for literals), and precedence is the precedence (or 0).
4386
// The parameters are invoked for token categories as follows:
4387
@@ -274,9 +276,11 @@
4388
static const char* name_[NUM_TOKENS];
4390
static const char* string_[NUM_TOKENS];
4391
static int8_t precedence_[NUM_TOKENS];
4394
} } // namespace v8::internal
4396
+#pragma GCC visibility pop
4398
#endif // V8_TOKEN_H_
4399
Index: chromium-v8-1.2.14~svn20090716r2483/src/top.h
4400
===================================================================
4401
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/top.h
4402
+++ chromium-v8-1.2.14~svn20090716r2483/src/top.h
4404
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4405
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4410
#include "frames-inl.h"
4412
+#pragma GCC visibility push(hidden)
4415
namespace internal {
4418
#define RETURN_IF_SCHEDULED_EXCEPTION() \
4419
if (Top::has_scheduled_exception()) return Top::PromoteScheduledException()
4421
// Top has static variables used for JavaScript execution.
4422
@@ -398,9 +400,11 @@
4423
class ExecutionAccess BASE_EMBEDDED {
4429
} } // namespace v8::internal
4431
+#pragma GCC visibility pop
4434
Index: chromium-v8-1.2.14~svn20090716r2483/src/unicode.h
4435
===================================================================
4436
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/unicode.h
4437
+++ chromium-v8-1.2.14~svn20090716r2483/src/unicode.h
4440
#include <sys/types.h>
4444
* Definitions and convenience functions for working with unicode.
4447
+#pragma GCC visibility push(hidden)
4451
typedef unsigned int uchar;
4452
typedef unsigned char byte;
4455
* The max length of the result of converting the case of a single
4457
@@ -271,9 +273,11 @@
4458
static int Convert(uchar c,
4461
bool* allow_caching_ptr);
4464
} // namespace unibrow
4466
+#pragma GCC visibility pop
4468
#endif // V8_UNICODE_H_
4469
Index: chromium-v8-1.2.14~svn20090716r2483/src/unicode-inl.h
4470
===================================================================
4471
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/unicode-inl.h
4472
+++ chromium-v8-1.2.14~svn20090716r2483/src/unicode-inl.h
4474
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4475
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4477
#ifndef V8_UNICODE_INL_H_
4478
#define V8_UNICODE_INL_H_
4480
#include "unicode.h"
4482
+#pragma GCC visibility push(hidden)
4486
template <class T, int s> bool Predicate<T, s>::get(uchar code_point) {
4487
CacheEntry entry = entries_[code_point & kMask];
4488
if (entry.code_point_ == code_point) return entry.value_;
4489
return CalculateValue(code_point);
4492
@@ -230,9 +232,11 @@
4493
template <unsigned s>
4494
Utf8InputBuffer<s>::Utf8InputBuffer(const char* data, unsigned length)
4495
: InputBuffer<Utf8, Buffer<const char*>, s>(Buffer<const char*>(data,
4499
} // namespace unibrow
4501
+#pragma GCC visibility pop
4503
#endif // V8_UNICODE_INL_H_
4504
Index: chromium-v8-1.2.14~svn20090716r2483/src/usage-analyzer.cc
4505
===================================================================
4506
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/usage-analyzer.cc
4507
+++ chromium-v8-1.2.14~svn20090716r2483/src/usage-analyzer.cc
4509
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4515
#include "usage-analyzer.h"
4517
+#pragma GCC visibility push(hidden)
4520
namespace internal {
4522
// Weight boundaries
4523
static const int MinWeight = 1;
4524
static const int MaxWeight = 1000000;
4525
static const int InitialWeight = 100;
4529
bool AnalyzeVariableUsage(FunctionLiteral* lit) {
4530
if (!FLAG_usage_computation) return true;
4531
HistogramTimerScope timer(&Counters::usage_analysis);
4532
return UsageComputer::Traverse(lit);
4535
} } // namespace v8::internal
4536
+#pragma GCC visibility pop
4537
Index: chromium-v8-1.2.14~svn20090716r2483/src/usage-analyzer.h
4538
===================================================================
4539
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/usage-analyzer.h
4540
+++ chromium-v8-1.2.14~svn20090716r2483/src/usage-analyzer.h
4542
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4543
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4544
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4545
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4547
#ifndef V8_USAGE_ANALYZER_H_
4548
#define V8_USAGE_ANALYZER_H_
4550
+#pragma GCC visibility push(hidden)
4553
namespace internal {
4555
// Compute usage counts for all variables.
4556
// Used for variable allocation.
4557
bool AnalyzeVariableUsage(FunctionLiteral* lit);
4559
} } // namespace v8::internal
4561
+#pragma GCC visibility pop
4563
#endif // V8_USAGE_ANALYZER_H_
4564
Index: chromium-v8-1.2.14~svn20090716r2483/src/utils.h
4565
===================================================================
4566
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/utils.h
4567
+++ chromium-v8-1.2.14~svn20090716r2483/src/utils.h
4569
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4570
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4577
+#pragma GCC visibility push(hidden)
4580
namespace internal {
4582
// ----------------------------------------------------------------------------
4583
// General helper functions
4585
// Returns true iff x is a power of 2. Does not work for zero.
4586
template <typename T>
4587
@@ -571,9 +573,11 @@
4588
while (dest < limit) {
4589
*dest++ = static_cast<sinkchar>(*src++);
4594
} } // namespace v8::internal
4596
+#pragma GCC visibility pop
4598
#endif // V8_UTILS_H_
4599
Index: chromium-v8-1.2.14~svn20090716r2483/src/v8-counters.h
4600
===================================================================
4601
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/v8-counters.h
4602
+++ chromium-v8-1.2.14~svn20090716r2483/src/v8-counters.h
4604
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4605
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4607
#ifndef V8_V8_COUNTERS_H_
4608
#define V8_V8_COUNTERS_H_
4610
#include "counters.h"
4612
+#pragma GCC visibility push(hidden)
4615
namespace internal {
4617
#define HISTOGRAM_TIMER_LIST(HT) \
4618
/* Garbage collection timers. */ \
4619
HT(gc_compactor, V8.GCCompactor) \
4620
HT(gc_scavenger, V8.GCScavenger) \
4621
HT(gc_context, V8.GCContext) /* GC context cleanup time */ \
4622
@@ -177,9 +179,11 @@
4625
// Sliding state window counters.
4626
static StatsCounter state_counters[];
4629
} } // namespace v8::internal
4631
+#pragma GCC visibility pop
4633
#endif // V8_V8_COUNTERS_H_
4634
Index: chromium-v8-1.2.14~svn20090716r2483/src/v8.h
4635
===================================================================
4636
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/v8.h
4637
+++ chromium-v8-1.2.14~svn20090716r2483/src/v8.h
4641
#include "objects-inl.h"
4642
#include "spaces-inl.h"
4643
#include "heap-inl.h"
4644
#include "log-inl.h"
4645
#include "messages.h"
4647
+#pragma GCC visibility push(hidden)
4650
namespace internal {
4652
class V8 : public AllStatic {
4656
// If Initialize is called with des == NULL, the initial state is
4657
@@ -111,9 +113,11 @@
4658
// (reset if engine is restarted)
4659
static bool has_been_disposed_;
4662
} } // namespace v8::internal
4664
namespace i = v8::internal;
4666
+#pragma GCC visibility pop
4669
Index: chromium-v8-1.2.14~svn20090716r2483/src/v8threads.h
4670
===================================================================
4671
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/v8threads.h
4672
+++ chromium-v8-1.2.14~svn20090716r2483/src/v8threads.h
4674
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4675
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4676
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4677
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4679
#ifndef V8_V8THREADS_H_
4680
#define V8_V8THREADS_H_
4682
+#pragma GCC visibility push(hidden)
4685
namespace internal {
4690
// Iterate over in-use states.
4691
static ThreadState* FirstInUse();
4692
@@ -124,9 +126,11 @@
4696
static ContextSwitcher* singleton_;
4699
} } // namespace v8::internal
4701
+#pragma GCC visibility pop
4703
#endif // V8_V8THREADS_H_
4704
Index: chromium-v8-1.2.14~svn20090716r2483/src/variables.h
4705
===================================================================
4706
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/variables.h
4707
+++ chromium-v8-1.2.14~svn20090716r2483/src/variables.h
4709
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4710
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4712
#ifndef V8_VARIABLES_H_
4713
#define V8_VARIABLES_H_
4717
+#pragma GCC visibility push(hidden)
4720
namespace internal {
4722
class UseCount BASE_EMBEDDED {
4726
// Inform the node of a "use". The weight can be used to indicate
4727
@@ -223,9 +225,11 @@
4728
Expression* rewrite_;
4730
friend class Scope; // Has explicit access to rewrite_.
4734
} } // namespace v8::internal
4736
+#pragma GCC visibility pop
4738
#endif // V8_VARIABLES_H_
4739
Index: chromium-v8-1.2.14~svn20090716r2483/src/version.h
4740
===================================================================
4741
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/version.h
4742
+++ chromium-v8-1.2.14~svn20090716r2483/src/version.h
4744
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4745
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4746
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4747
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4749
#ifndef V8_VERSION_H_
4750
#define V8_VERSION_H_
4752
+#pragma GCC visibility push(hidden)
4755
namespace internal {
4759
// Return the various version components.
4760
static int GetMajor() { return major_; }
4761
static int GetMinor() { return minor_; }
4764
// In test-version.cc.
4765
friend void SetVersion(int major, int minor, int build, int patch,
4766
bool candidate, const char* soname);
4769
} } // namespace v8::internal
4771
+#pragma GCC visibility pop
4773
#endif // V8_VERSION_H_
4774
Index: chromium-v8-1.2.14~svn20090716r2483/src/x64/assembler-x64.h
4775
===================================================================
4776
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/x64/assembler-x64.h
4777
+++ chromium-v8-1.2.14~svn20090716r2483/src/x64/assembler-x64.h
4779
// modified significantly by Google Inc.
4780
// Copyright 2006-2009 the V8 project authors. All rights reserved.
4782
// A lightweight X64 Assembler.
4784
#ifndef V8_X64_ASSEMBLER_X64_H_
4785
#define V8_X64_ASSEMBLER_X64_H_
4787
+#pragma GCC visibility push(hidden)
4790
namespace internal {
4792
// Utility functions
4794
// Test whether a 64-bit value is in a specific range.
4795
static inline bool is_uint32(int64_t x) {
4796
const int64_t kUInt32Mask = V8_INT64_C(0xffffffff);
4797
@@ -1200,9 +1202,11 @@
4798
Assembler* assembler_;
4804
} } // namespace v8::internal
4806
+#pragma GCC visibility pop
4808
#endif // V8_X64_ASSEMBLER_X64_H_
4809
Index: chromium-v8-1.2.14~svn20090716r2483/src/x64/assembler-x64-inl.h
4810
===================================================================
4811
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/x64/assembler-x64-inl.h
4812
+++ chromium-v8-1.2.14~svn20090716r2483/src/x64/assembler-x64-inl.h
4814
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4816
#ifndef V8_X64_ASSEMBLER_X64_INL_H_
4817
#define V8_X64_ASSEMBLER_X64_INL_H_
4822
+#pragma GCC visibility push(hidden)
4825
namespace internal {
4827
Condition NegateCondition(Condition cc) {
4828
return static_cast<Condition>(cc ^ 1);
4831
// -----------------------------------------------------------------------------
4832
@@ -302,9 +304,11 @@
4833
int32_t* p = reinterpret_cast<int32_t*>(&buf_[len_]);
4835
len_ += sizeof(int32_t);
4839
} } // namespace v8::internal
4841
+#pragma GCC visibility pop
4843
#endif // V8_X64_ASSEMBLER_X64_INL_H_
4844
Index: chromium-v8-1.2.14~svn20090716r2483/src/x64/codegen-x64.h
4845
===================================================================
4846
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/x64/codegen-x64.h
4847
+++ chromium-v8-1.2.14~svn20090716r2483/src/x64/codegen-x64.h
4849
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4850
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4851
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4852
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4854
#ifndef V8_X64_CODEGEN_X64_H_
4855
#define V8_X64_CODEGEN_X64_H_
4857
+#pragma GCC visibility push(hidden)
4860
namespace internal {
4862
// Forward declarations
4864
class RegisterAllocator;
4867
@@ -594,9 +596,11 @@
4868
friend class Result;
4870
DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
4874
} } // namespace v8::internal
4876
+#pragma GCC visibility pop
4878
#endif // V8_X64_CODEGEN_X64_H_
4879
Index: chromium-v8-1.2.14~svn20090716r2483/src/x64/codegen-x64-inl.h
4880
===================================================================
4881
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/x64/codegen-x64-inl.h
4882
+++ chromium-v8-1.2.14~svn20090716r2483/src/x64/codegen-x64-inl.h
4884
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4885
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4886
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4889
#ifndef V8_X64_CODEGEN_X64_INL_H_
4890
#define V8_X64_CODEGEN_X64_INL_H_
4892
+#pragma GCC visibility push(hidden)
4895
namespace internal {
4897
#define __ ACCESS_MASM(masm_)
4899
// Platform-specific inline functions.
4901
void DeferredCode::Jump() { __ jmp(&entry_label_); }
4903
void CodeGenerator::GenerateMathCos(ZoneList<Expression*>* args) {
4904
GenerateFastMathOp(COS, args);
4909
} } // namespace v8::internal
4911
+#pragma GCC visibility pop
4913
#endif // V8_X64_CODEGEN_X64_INL_H_
4914
Index: chromium-v8-1.2.14~svn20090716r2483/src/x64/frames-x64.h
4915
===================================================================
4916
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/x64/frames-x64.h
4917
+++ chromium-v8-1.2.14~svn20090716r2483/src/x64/frames-x64.h
4919
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4920
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4921
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4922
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4924
#ifndef V8_X64_FRAMES_X64_H_
4925
#define V8_X64_FRAMES_X64_H_
4927
+#pragma GCC visibility push(hidden)
4930
namespace internal {
4932
// TODO(x64): This is a stub, mostly just a copy of the ia32 bit version.
4933
// This might all need to change to be correct for x64.
4935
static const int kNumRegs = 8;
4936
static const RegList kJSCallerSaved =
4937
@@ -113,9 +115,11 @@
4939
inline Object* JavaScriptFrame::function_slot_object() const {
4940
const int offset = JavaScriptFrameConstants::kFunctionOffset;
4941
return Memory::Object_at(fp() + offset);
4944
} } // namespace v8::internal
4946
+#pragma GCC visibility pop
4948
#endif // V8_X64_FRAMES_X64_H_
4949
Index: chromium-v8-1.2.14~svn20090716r2483/src/x64/macro-assembler-x64.h
4950
===================================================================
4951
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/x64/macro-assembler-x64.h
4952
+++ chromium-v8-1.2.14~svn20090716r2483/src/x64/macro-assembler-x64.h
4954
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4955
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4957
#ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
4958
#define V8_X64_MACRO_ASSEMBLER_X64_H_
4960
#include "assembler.h"
4962
+#pragma GCC visibility push(hidden)
4965
namespace internal {
4967
// Default scratch register used by MacroAssembler (and other code that needs
4968
// a spare register). The register isn't callee save, and not used by the
4969
// function calling convention.
4970
static const Register kScratchRegister = r10;
4972
@@ -397,9 +399,11 @@
4975
#define ACCESS_MASM(masm) masm->
4979
} } // namespace v8::internal
4981
+#pragma GCC visibility pop
4983
#endif // V8_X64_MACRO_ASSEMBLER_X64_H_
4984
Index: chromium-v8-1.2.14~svn20090716r2483/src/x64/register-allocator-x64.h
4985
===================================================================
4986
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/x64/register-allocator-x64.h
4987
+++ chromium-v8-1.2.14~svn20090716r2483/src/x64/register-allocator-x64.h
4989
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4990
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4991
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4992
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4994
#ifndef V8_X64_REGISTER_ALLOCATOR_X64_H_
4995
#define V8_X64_REGISTER_ALLOCATOR_X64_H_
4997
+#pragma GCC visibility push(hidden)
5000
namespace internal {
5002
class RegisterAllocatorConstants : public AllStatic {
5004
// Register allocation is not yet implemented on x64, but C++
5005
// forbids 0-length arrays so we use 1 as the number of registers.
5006
static const int kNumRegisters = 12;
5007
static const int kInvalidRegister = -1;
5011
} } // namespace v8::internal
5013
+#pragma GCC visibility pop
5015
#endif // V8_X64_REGISTER_ALLOCATOR_X64_H_
5016
Index: chromium-v8-1.2.14~svn20090716r2483/src/x64/register-allocator-x64-inl.h
5017
===================================================================
5018
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/x64/register-allocator-x64-inl.h
5019
+++ chromium-v8-1.2.14~svn20090716r2483/src/x64/register-allocator-x64-inl.h
5021
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5022
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5024
#ifndef V8_X64_REGISTER_ALLOCATOR_X64_INL_H_
5025
#define V8_X64_REGISTER_ALLOCATOR_X64_INL_H_
5029
+#pragma GCC visibility push(hidden)
5032
namespace internal {
5034
// -------------------------------------------------------------------------
5035
// RegisterAllocator implementation.
5037
bool RegisterAllocator::IsReserved(Register reg) {
5038
return reg.is(rsp) || reg.is(rbp) || reg.is(rsi) ||
5041
void RegisterAllocator::Initialize() {
5043
// The non-reserved rdi register is live on JS function entry.
5044
Use(rdi); // JS function.
5046
} } // namespace v8::internal
5048
+#pragma GCC visibility pop
5050
#endif // V8_X64_REGISTER_ALLOCATOR_X64_INL_H_
5051
Index: chromium-v8-1.2.14~svn20090716r2483/src/x64/simulator-x64.h
5052
===================================================================
5053
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/x64/simulator-x64.h
5054
+++ chromium-v8-1.2.14~svn20090716r2483/src/x64/simulator-x64.h
5056
// the address of "this" to get a value on the current execution stack and then
5057
// calculates the stack limit based on that value.
5058
// NOTE: The check for overflow is not safe as there is no guarantee that the
5059
// running thread has its stack in all memory up to address 0x00000000.
5060
#define GENERATED_CODE_STACK_LIMIT(limit) \
5061
(reinterpret_cast<uintptr_t>(this) >= limit ? \
5062
reinterpret_cast<uintptr_t>(this) - limit : 0)
5064
+#pragma GCC visibility pop
5066
#endif // V8_X64_SIMULATOR_X64_H_
5067
Index: chromium-v8-1.2.14~svn20090716r2483/src/x64/virtual-frame-x64.h
5068
===================================================================
5069
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/x64/virtual-frame-x64.h
5070
+++ chromium-v8-1.2.14~svn20090716r2483/src/x64/virtual-frame-x64.h
5072
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5074
#ifndef V8_X64_VIRTUAL_FRAME_X64_H_
5075
#define V8_X64_VIRTUAL_FRAME_X64_H_
5077
#include "register-allocator.h"
5080
+#pragma GCC visibility push(hidden)
5083
namespace internal {
5085
// -------------------------------------------------------------------------
5088
// The virtual frame is an abstraction of the physical stack frame. It
5089
// encapsulates the parameters, frame-allocated locals, and the expression
5090
@@ -547,9 +549,11 @@
5091
// Classes that need raw access to the elements_ array.
5092
friend class DeferredCode;
5093
friend class JumpTarget;
5097
} } // namespace v8::internal
5099
+#pragma GCC visibility pop
5101
#endif // V8_X64_VIRTUAL_FRAME_X64_H_
5102
Index: chromium-v8-1.2.14~svn20090716r2483/src/zone.h
5103
===================================================================
5104
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/zone.h
5105
+++ chromium-v8-1.2.14~svn20090716r2483/src/zone.h
5107
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
5108
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
5109
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5110
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5115
+#pragma GCC visibility push(hidden)
5118
namespace internal {
5121
// Zone scopes are in one of two modes. Either they delete the zone
5122
// on exit or they do not.
5123
enum ZoneScopeMode {
5125
@@ -201,9 +203,11 @@
5127
ZoneScopeMode mode_;
5128
static int nesting_;
5132
} } // namespace v8::internal
5134
+#pragma GCC visibility pop
5136
#endif // V8_ZONE_H_
5137
Index: chromium-v8-1.2.14~svn20090716r2483/src/zone-inl.h
5138
===================================================================
5139
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/zone-inl.h
5140
+++ chromium-v8-1.2.14~svn20090716r2483/src/zone-inl.h
5142
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5144
#ifndef V8_ZONE_INL_H_
5145
#define V8_ZONE_INL_H_
5148
#include "v8-counters.h"
5150
+#pragma GCC visibility push(hidden)
5153
namespace internal {
5156
inline void* Zone::New(int size) {
5157
ASSERT(AssertNoZoneAllocation::allow_allocation());
5158
ASSERT(ZoneScope::nesting() > 0);
5159
// Round up the requested size to fit the alignment.
5161
void Zone::adjust_segment_bytes_allocated(int delta) {
5162
segment_bytes_allocated_ += delta;
5163
Counters::zone_segment_bytes.Set(segment_bytes_allocated_);
5167
} } // namespace v8::internal
5169
+#pragma GCC visibility pop
5171
#endif // V8_ZONE_INL_H_
5172
Index: chromium-v8-1.2.14~svn20090716r2483/src/log.cc
5173
===================================================================
5174
--- chromium-v8-1.2.14~svn20090716r2483.orig/src/log.cc
5175
+++ chromium-v8-1.2.14~svn20090716r2483/src/log.cc
5179
#include "bootstrapper.h"
5181
#include "macro-assembler.h"
5182
#include "serialize.h"
5183
#include "string-stream.h"
5185
+#pragma GCC visibility push(hidden)
5188
namespace internal {
5190
#ifdef ENABLE_LOGGING_AND_PROFILING
5193
// Sliding state window. Updates counters to keep track of the last
5194
// window of kBufferSize states. This is useful to track where we
5195
@@ -1197,8 +1199,9 @@
5196
if (sliding_state_window_ == NULL) {
5197
sliding_state_window_ = new SlidingStateWindow();
5203
} } // namespace v8::internal
5204
+#pragma GCC visibility pop