| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/code-stubs.h" | 5 #include "src/code-stubs.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "src/ast/ast.h" | 9 #include "src/ast/ast.h" |
| 10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
| (...skipping 2506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2517 map_index.Bind(assembler->Select( | 2517 map_index.Bind(assembler->Select( |
| 2518 is_strict, | 2518 is_strict, |
| 2519 assembler->IntPtrConstant(Context::STRICT_ASYNC_FUNCTION_MAP_INDEX), | 2519 assembler->IntPtrConstant(Context::STRICT_ASYNC_FUNCTION_MAP_INDEX), |
| 2520 assembler->IntPtrConstant(Context::SLOPPY_ASYNC_FUNCTION_MAP_INDEX))); | 2520 assembler->IntPtrConstant(Context::SLOPPY_ASYNC_FUNCTION_MAP_INDEX))); |
| 2521 assembler->Goto(&load_map); | 2521 assembler->Goto(&load_map); |
| 2522 } | 2522 } |
| 2523 | 2523 |
| 2524 assembler->Bind(&if_class_constructor); | 2524 assembler->Bind(&if_class_constructor); |
| 2525 { | 2525 { |
| 2526 map_index.Bind( | 2526 map_index.Bind( |
| 2527 assembler->IntPtrConstant(Context::STRICT_FUNCTION_MAP_INDEX)); | 2527 assembler->IntPtrConstant(Context::CLASS_FUNCTION_MAP_INDEX)); |
| 2528 assembler->Goto(&load_map); | 2528 assembler->Goto(&load_map); |
| 2529 } | 2529 } |
| 2530 | 2530 |
| 2531 assembler->Bind(&if_function_without_prototype); | 2531 assembler->Bind(&if_function_without_prototype); |
| 2532 { | 2532 { |
| 2533 map_index.Bind(assembler->IntPtrConstant( | 2533 map_index.Bind(assembler->IntPtrConstant( |
| 2534 Context::STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX)); | 2534 Context::STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX)); |
| 2535 assembler->Goto(&load_map); | 2535 assembler->Goto(&load_map); |
| 2536 } | 2536 } |
| 2537 | 2537 |
| (...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3203 } | 3203 } |
| 3204 | 3204 |
| 3205 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) | 3205 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) |
| 3206 : PlatformCodeStub(isolate) {} | 3206 : PlatformCodeStub(isolate) {} |
| 3207 | 3207 |
| 3208 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate) | 3208 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate) |
| 3209 : PlatformCodeStub(isolate) {} | 3209 : PlatformCodeStub(isolate) {} |
| 3210 | 3210 |
| 3211 } // namespace internal | 3211 } // namespace internal |
| 3212 } // namespace v8 | 3212 } // namespace v8 |
| OLD | NEW |