@@ -28983,8 +28983,6 @@ void FastApiCallWithAllocationAndGC(AllocationChecker::GCLocation gc_location) {
2898328983 v8::Isolate* isolate = CcTest::isolate();
2898428984
2898528985 i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
28986- i_isolate->set_embedder_wrapper_type_index(kV8WrapperTypeIndex);
28987- i_isolate->set_embedder_wrapper_object_index(kV8WrapperObjectIndex);
2898828986
2898928987 v8::HandleScope scope(isolate);
2899028988
@@ -29030,8 +29028,6 @@ TEST(FastApiCallWithThrowInReentrantCode) {
2903029028 v8::Isolate* isolate = CcTest::isolate();
2903129029
2903229030 i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
29033- i_isolate->set_embedder_wrapper_type_index(kV8WrapperTypeIndex);
29034- i_isolate->set_embedder_wrapper_object_index(kV8WrapperObjectIndex);
2903529031
2903629032 v8::HandleScope scope(isolate);
2903729033
@@ -29140,8 +29136,6 @@ void FastApiCallRecursion(bool inner_most_throws) {
2914029136 v8::Isolate* isolate = CcTest::isolate();
2914129137
2914229138 i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
29143- i_isolate->set_embedder_wrapper_type_index(kV8WrapperTypeIndex);
29144- i_isolate->set_embedder_wrapper_object_index(kV8WrapperObjectIndex);
2914529139
2914629140 v8::HandleScope scope(isolate);
2914729141
@@ -29234,9 +29228,6 @@ TEST(FastApiStackSlot) {
2923429228 i::FlagList::EnforceFlagImplications();
2923529229
2923629230 v8::Isolate* isolate = CcTest::isolate();
29237- i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
29238- i_isolate->set_embedder_wrapper_type_index(kV8WrapperTypeIndex);
29239- i_isolate->set_embedder_wrapper_object_index(kV8WrapperObjectIndex);
2924029231
2924129232 v8::HandleScope scope(isolate);
2924229233 LocalContext env;
@@ -29290,9 +29281,6 @@ TEST(FastApiCalls) {
2929029281
2929129282 CcTest::InitializeVM();
2929229283 v8::Isolate* isolate = CcTest::isolate();
29293- i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
29294- i_isolate->set_embedder_wrapper_type_index(kV8WrapperTypeIndex);
29295- i_isolate->set_embedder_wrapper_object_index(kV8WrapperObjectIndex);
2929629284
2929729285 v8::HandleScope scope(isolate);
2929829286 LocalContext env;
@@ -29868,9 +29856,6 @@ TEST(FastApiCallsString) {
2986829856
2986929857 CcTest::InitializeVM();
2987029858 v8::Isolate* isolate = CcTest::isolate();
29871- i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
29872- i_isolate->set_embedder_wrapper_type_index(kV8WrapperTypeIndex);
29873- i_isolate->set_embedder_wrapper_object_index(kV8WrapperObjectIndex);
2987429859
2987529860 v8::HandleScope scope(isolate);
2987629861 LocalContext env;
@@ -29992,9 +29977,6 @@ TEST(FastApiCallsFromWasm) {
2999229977
2999329978 CcTest::InitializeVM();
2999429979 v8::Isolate* isolate = CcTest::isolate();
29995- i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
29996- i_isolate->set_embedder_wrapper_type_index(kV8WrapperTypeIndex);
29997- i_isolate->set_embedder_wrapper_object_index(kV8WrapperObjectIndex);
2999829980
2999929981 v8::HandleScope scope(isolate);
3000029982 LocalContext env;
0 commit comments