OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/arguments.h" | 7 #include "src/arguments.h" |
8 #include "src/deoptimizer.h" | 8 #include "src/deoptimizer.h" |
9 #include "src/full-codegen.h" | 9 #include "src/full-codegen.h" |
10 #include "src/runtime/runtime-utils.h" | 10 #include "src/runtime/runtime-utils.h" |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 | 493 |
494 #define FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION(Type, type, TYPE, ctype, s) \ | 494 #define FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION(Type, type, TYPE, ctype, s) \ |
495 RUNTIME_FUNCTION(Runtime_HasFixed##Type##Elements) { \ | 495 RUNTIME_FUNCTION(Runtime_HasFixed##Type##Elements) { \ |
496 CONVERT_ARG_CHECKED(JSObject, obj, 0); \ | 496 CONVERT_ARG_CHECKED(JSObject, obj, 0); \ |
497 return isolate->heap()->ToBoolean(obj->HasFixed##Type##Elements()); \ | 497 return isolate->heap()->ToBoolean(obj->HasFixed##Type##Elements()); \ |
498 } | 498 } |
499 | 499 |
500 TYPED_ARRAYS(FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION) | 500 TYPED_ARRAYS(FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION) |
501 | 501 |
502 #undef FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION | 502 #undef FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION |
503 } | 503 } // namespace internal |
504 } // namespace v8::internal | 504 } // namespace v8 |
OLD | NEW |