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 2501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2512 { | 2512 { |
2513 map_index.Bind(assembler->SelectIntPtrConstant( | 2513 map_index.Bind(assembler->SelectIntPtrConstant( |
2514 is_strict, Context::STRICT_ASYNC_FUNCTION_MAP_INDEX, | 2514 is_strict, Context::STRICT_ASYNC_FUNCTION_MAP_INDEX, |
2515 Context::SLOPPY_ASYNC_FUNCTION_MAP_INDEX)); | 2515 Context::SLOPPY_ASYNC_FUNCTION_MAP_INDEX)); |
2516 assembler->Goto(&load_map); | 2516 assembler->Goto(&load_map); |
2517 } | 2517 } |
2518 | 2518 |
2519 assembler->Bind(&if_class_constructor); | 2519 assembler->Bind(&if_class_constructor); |
2520 { | 2520 { |
2521 map_index.Bind( | 2521 map_index.Bind( |
2522 assembler->IntPtrConstant(Context::STRICT_FUNCTION_MAP_INDEX)); | 2522 assembler->IntPtrConstant(Context::CLASS_FUNCTION_MAP_INDEX)); |
2523 assembler->Goto(&load_map); | 2523 assembler->Goto(&load_map); |
2524 } | 2524 } |
2525 | 2525 |
2526 assembler->Bind(&if_function_without_prototype); | 2526 assembler->Bind(&if_function_without_prototype); |
2527 { | 2527 { |
2528 map_index.Bind(assembler->IntPtrConstant( | 2528 map_index.Bind(assembler->IntPtrConstant( |
2529 Context::STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX)); | 2529 Context::STRICT_FUNCTION_WITHOUT_PROTOTYPE_MAP_INDEX)); |
2530 assembler->Goto(&load_map); | 2530 assembler->Goto(&load_map); |
2531 } | 2531 } |
2532 | 2532 |
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3198 } | 3198 } |
3199 | 3199 |
3200 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) | 3200 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) |
3201 : PlatformCodeStub(isolate) {} | 3201 : PlatformCodeStub(isolate) {} |
3202 | 3202 |
3203 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate) | 3203 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate) |
3204 : PlatformCodeStub(isolate) {} | 3204 : PlatformCodeStub(isolate) {} |
3205 | 3205 |
3206 } // namespace internal | 3206 } // namespace internal |
3207 } // namespace v8 | 3207 } // namespace v8 |
OLD | NEW |