OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <stdarg.h> | 5 #include <stdarg.h> |
6 #include <sys/stat.h> | 6 #include <sys/stat.h> |
7 | 7 |
8 #include "v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "checks.h" | 10 #include "src/checks.h" |
11 #include "platform.h" | 11 #include "src/platform.h" |
12 #include "utils.h" | 12 #include "src/utils.h" |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 | 17 |
18 SimpleStringBuilder::SimpleStringBuilder(int size) { | 18 SimpleStringBuilder::SimpleStringBuilder(int size) { |
19 buffer_ = Vector<char>::New(size); | 19 buffer_ = Vector<char>::New(size); |
20 position_ = 0; | 20 position_ = 0; |
21 } | 21 } |
22 | 22 |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 memcopy_uint8_function = CreateMemCopyUint8Function(&MemCopyUint8Wrapper); | 369 memcopy_uint8_function = CreateMemCopyUint8Function(&MemCopyUint8Wrapper); |
370 memcopy_uint16_uint8_function = | 370 memcopy_uint16_uint8_function = |
371 CreateMemCopyUint16Uint8Function(&MemCopyUint16Uint8Wrapper); | 371 CreateMemCopyUint16Uint8Function(&MemCopyUint16Uint8Wrapper); |
372 #elif V8_OS_POSIX && V8_HOST_ARCH_MIPS | 372 #elif V8_OS_POSIX && V8_HOST_ARCH_MIPS |
373 memcopy_uint8_function = CreateMemCopyUint8Function(&MemCopyUint8Wrapper); | 373 memcopy_uint8_function = CreateMemCopyUint8Function(&MemCopyUint8Wrapper); |
374 #endif | 374 #endif |
375 } | 375 } |
376 | 376 |
377 | 377 |
378 } } // namespace v8::internal | 378 } } // namespace v8::internal |
OLD | NEW |