| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index 05b29ddbba30b8445ab56388d13e7d52330c6fb8..6ad6197055567a6ec3826f6f3cafea6ecf5588fb 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -137,6 +137,7 @@ namespace internal {
|
| V(ToInteger) \
|
| V(ToLength) \
|
| V(HasProperty) \
|
| + V(GetProperty) \
|
| V(LoadICTrampolineTF) \
|
| V(LoadICTF) \
|
| /* IC Handler stubs */ \
|
| @@ -982,6 +983,15 @@ class HasPropertyStub : public TurboFanCodeStub {
|
| DEFINE_TURBOFAN_BINARY_OP_CODE_STUB(HasProperty, TurboFanCodeStub);
|
| };
|
|
|
| +// ES6 [[Get]] operation.
|
| +class GetPropertyStub : public TurboFanCodeStub {
|
| + public:
|
| + explicit GetPropertyStub(Isolate* isolate) : TurboFanCodeStub(isolate) {}
|
| +
|
| + DEFINE_CALL_INTERFACE_DESCRIPTOR(GetProperty);
|
| + DEFINE_TURBOFAN_CODE_STUB(GetProperty, TurboFanCodeStub);
|
| +};
|
| +
|
| enum StringAddFlags {
|
| // Omit both parameter checks.
|
| STRING_ADD_CHECK_NONE = 0,
|
|
|