| 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/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
| 8 | 8 |
| 9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1253 | 1253 |
| 1254 void FullCodeGenerator::EmitLoadHomeObject(SuperReference* expr) { | 1254 void FullCodeGenerator::EmitLoadHomeObject(SuperReference* expr) { |
| 1255 Comment cnmt(masm_, "[ SuperReference "); | 1255 Comment cnmt(masm_, "[ SuperReference "); |
| 1256 | 1256 |
| 1257 __ mov(LoadDescriptor::ReceiverRegister(), | 1257 __ mov(LoadDescriptor::ReceiverRegister(), |
| 1258 Operand(ebp, JavaScriptFrameConstants::kFunctionOffset)); | 1258 Operand(ebp, JavaScriptFrameConstants::kFunctionOffset)); |
| 1259 | 1259 |
| 1260 Handle<Symbol> home_object_symbol(isolate()->heap()->home_object_symbol()); | 1260 Handle<Symbol> home_object_symbol(isolate()->heap()->home_object_symbol()); |
| 1261 __ mov(LoadDescriptor::NameRegister(), home_object_symbol); | 1261 __ mov(LoadDescriptor::NameRegister(), home_object_symbol); |
| 1262 | 1262 |
| 1263 if (FLAG_vector_ics) { | 1263 __ mov(VectorLoadICDescriptor::SlotRegister(), |
| 1264 __ mov(VectorLoadICDescriptor::SlotRegister(), | 1264 Immediate(SmiFromSlot(expr->HomeObjectFeedbackSlot()))); |
| 1265 Immediate(SmiFromSlot(expr->HomeObjectFeedbackSlot()))); | 1265 CallLoadIC(NOT_CONTEXTUAL); |
| 1266 CallLoadIC(NOT_CONTEXTUAL); | |
| 1267 } else { | |
| 1268 CallLoadIC(NOT_CONTEXTUAL, expr->HomeObjectFeedbackId()); | |
| 1269 } | |
| 1270 | 1266 |
| 1271 __ cmp(eax, isolate()->factory()->undefined_value()); | 1267 __ cmp(eax, isolate()->factory()->undefined_value()); |
| 1272 Label done; | 1268 Label done; |
| 1273 __ j(not_equal, &done); | 1269 __ j(not_equal, &done); |
| 1274 __ CallRuntime(Runtime::kThrowNonMethodError, 0); | 1270 __ CallRuntime(Runtime::kThrowNonMethodError, 0); |
| 1275 __ bind(&done); | 1271 __ bind(&done); |
| 1276 } | 1272 } |
| 1277 | 1273 |
| 1278 | 1274 |
| 1279 void FullCodeGenerator::EmitSetHomeObjectIfNeeded(Expression* initializer, | 1275 void FullCodeGenerator::EmitSetHomeObjectIfNeeded(Expression* initializer, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1334 // Load next context in chain. | 1330 // Load next context in chain. |
| 1335 __ mov(temp, ContextOperand(temp, Context::PREVIOUS_INDEX)); | 1331 __ mov(temp, ContextOperand(temp, Context::PREVIOUS_INDEX)); |
| 1336 __ jmp(&next); | 1332 __ jmp(&next); |
| 1337 __ bind(&fast); | 1333 __ bind(&fast); |
| 1338 } | 1334 } |
| 1339 | 1335 |
| 1340 // All extension objects were empty and it is safe to use a global | 1336 // All extension objects were empty and it is safe to use a global |
| 1341 // load IC call. | 1337 // load IC call. |
| 1342 __ mov(LoadDescriptor::ReceiverRegister(), GlobalObjectOperand()); | 1338 __ mov(LoadDescriptor::ReceiverRegister(), GlobalObjectOperand()); |
| 1343 __ mov(LoadDescriptor::NameRegister(), proxy->var()->name()); | 1339 __ mov(LoadDescriptor::NameRegister(), proxy->var()->name()); |
| 1344 if (FLAG_vector_ics) { | 1340 __ mov(VectorLoadICDescriptor::SlotRegister(), |
| 1345 __ mov(VectorLoadICDescriptor::SlotRegister(), | 1341 Immediate(SmiFromSlot(proxy->VariableFeedbackSlot()))); |
| 1346 Immediate(SmiFromSlot(proxy->VariableFeedbackSlot()))); | |
| 1347 } | |
| 1348 | 1342 |
| 1349 ContextualMode mode = (typeof_state == INSIDE_TYPEOF) | 1343 ContextualMode mode = (typeof_state == INSIDE_TYPEOF) |
| 1350 ? NOT_CONTEXTUAL | 1344 ? NOT_CONTEXTUAL |
| 1351 : CONTEXTUAL; | 1345 : CONTEXTUAL; |
| 1352 | 1346 |
| 1353 CallLoadIC(mode); | 1347 CallLoadIC(mode); |
| 1354 } | 1348 } |
| 1355 | 1349 |
| 1356 | 1350 |
| 1357 MemOperand FullCodeGenerator::ContextSlotOperandCheckExtensions(Variable* var, | 1351 MemOperand FullCodeGenerator::ContextSlotOperandCheckExtensions(Variable* var, |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1422 PrepareForBailoutForId(proxy->BeforeId(), NO_REGISTERS); | 1416 PrepareForBailoutForId(proxy->BeforeId(), NO_REGISTERS); |
| 1423 Variable* var = proxy->var(); | 1417 Variable* var = proxy->var(); |
| 1424 | 1418 |
| 1425 // Three cases: global variables, lookup variables, and all other types of | 1419 // Three cases: global variables, lookup variables, and all other types of |
| 1426 // variables. | 1420 // variables. |
| 1427 switch (var->location()) { | 1421 switch (var->location()) { |
| 1428 case Variable::UNALLOCATED: { | 1422 case Variable::UNALLOCATED: { |
| 1429 Comment cmnt(masm_, "[ Global variable"); | 1423 Comment cmnt(masm_, "[ Global variable"); |
| 1430 __ mov(LoadDescriptor::ReceiverRegister(), GlobalObjectOperand()); | 1424 __ mov(LoadDescriptor::ReceiverRegister(), GlobalObjectOperand()); |
| 1431 __ mov(LoadDescriptor::NameRegister(), var->name()); | 1425 __ mov(LoadDescriptor::NameRegister(), var->name()); |
| 1432 if (FLAG_vector_ics) { | 1426 __ mov(VectorLoadICDescriptor::SlotRegister(), |
| 1433 __ mov(VectorLoadICDescriptor::SlotRegister(), | 1427 Immediate(SmiFromSlot(proxy->VariableFeedbackSlot()))); |
| 1434 Immediate(SmiFromSlot(proxy->VariableFeedbackSlot()))); | |
| 1435 } | |
| 1436 CallGlobalLoadIC(var->name()); | 1428 CallGlobalLoadIC(var->name()); |
| 1437 context()->Plug(eax); | 1429 context()->Plug(eax); |
| 1438 break; | 1430 break; |
| 1439 } | 1431 } |
| 1440 | 1432 |
| 1441 case Variable::PARAMETER: | 1433 case Variable::PARAMETER: |
| 1442 case Variable::LOCAL: | 1434 case Variable::LOCAL: |
| 1443 case Variable::CONTEXT: { | 1435 case Variable::CONTEXT: { |
| 1444 Comment cmnt(masm_, var->IsContextSlot() ? "[ Context variable" | 1436 Comment cmnt(masm_, var->IsContextSlot() ? "[ Context variable" |
| 1445 : "[ Stack variable"); | 1437 : "[ Stack variable"); |
| (...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2119 __ bind(&l_next); | 2111 __ bind(&l_next); |
| 2120 | 2112 |
| 2121 __ mov(load_name, isolate()->factory()->next_string()); | 2113 __ mov(load_name, isolate()->factory()->next_string()); |
| 2122 __ push(load_name); // "next" | 2114 __ push(load_name); // "next" |
| 2123 __ push(Operand(esp, 2 * kPointerSize)); // iter | 2115 __ push(Operand(esp, 2 * kPointerSize)); // iter |
| 2124 __ push(eax); // received | 2116 __ push(eax); // received |
| 2125 | 2117 |
| 2126 // result = receiver[f](arg); | 2118 // result = receiver[f](arg); |
| 2127 __ bind(&l_call); | 2119 __ bind(&l_call); |
| 2128 __ mov(load_receiver, Operand(esp, kPointerSize)); | 2120 __ mov(load_receiver, Operand(esp, kPointerSize)); |
| 2129 if (FLAG_vector_ics) { | 2121 __ mov(VectorLoadICDescriptor::SlotRegister(), |
| 2130 __ mov(VectorLoadICDescriptor::SlotRegister(), | 2122 Immediate(SmiFromSlot(expr->KeyedLoadFeedbackSlot()))); |
| 2131 Immediate(SmiFromSlot(expr->KeyedLoadFeedbackSlot()))); | |
| 2132 } | |
| 2133 Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate()).code(); | 2123 Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate()).code(); |
| 2134 CallIC(ic, TypeFeedbackId::None()); | 2124 CallIC(ic, TypeFeedbackId::None()); |
| 2135 __ mov(edi, eax); | 2125 __ mov(edi, eax); |
| 2136 __ mov(Operand(esp, 2 * kPointerSize), edi); | 2126 __ mov(Operand(esp, 2 * kPointerSize), edi); |
| 2137 CallFunctionStub stub(isolate(), 1, CALL_AS_METHOD); | 2127 CallFunctionStub stub(isolate(), 1, CALL_AS_METHOD); |
| 2138 __ CallStub(&stub); | 2128 __ CallStub(&stub); |
| 2139 | 2129 |
| 2140 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); | 2130 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |
| 2141 __ Drop(1); // The function is still on the stack; drop it. | 2131 __ Drop(1); // The function is still on the stack; drop it. |
| 2142 | 2132 |
| 2143 // if (!result.done) goto l_try; | 2133 // if (!result.done) goto l_try; |
| 2144 __ bind(&l_loop); | 2134 __ bind(&l_loop); |
| 2145 __ push(eax); // save result | 2135 __ push(eax); // save result |
| 2146 __ Move(load_receiver, eax); // result | 2136 __ Move(load_receiver, eax); // result |
| 2147 __ mov(load_name, | 2137 __ mov(load_name, |
| 2148 isolate()->factory()->done_string()); // "done" | 2138 isolate()->factory()->done_string()); // "done" |
| 2149 if (FLAG_vector_ics) { | 2139 __ mov(VectorLoadICDescriptor::SlotRegister(), |
| 2150 __ mov(VectorLoadICDescriptor::SlotRegister(), | 2140 Immediate(SmiFromSlot(expr->DoneFeedbackSlot()))); |
| 2151 Immediate(SmiFromSlot(expr->DoneFeedbackSlot()))); | |
| 2152 } | |
| 2153 CallLoadIC(NOT_CONTEXTUAL); // result.done in eax | 2141 CallLoadIC(NOT_CONTEXTUAL); // result.done in eax |
| 2154 Handle<Code> bool_ic = ToBooleanStub::GetUninitialized(isolate()); | 2142 Handle<Code> bool_ic = ToBooleanStub::GetUninitialized(isolate()); |
| 2155 CallIC(bool_ic); | 2143 CallIC(bool_ic); |
| 2156 __ test(eax, eax); | 2144 __ test(eax, eax); |
| 2157 __ j(zero, &l_try); | 2145 __ j(zero, &l_try); |
| 2158 | 2146 |
| 2159 // result.value | 2147 // result.value |
| 2160 __ pop(load_receiver); // result | 2148 __ pop(load_receiver); // result |
| 2161 __ mov(load_name, | 2149 __ mov(load_name, |
| 2162 isolate()->factory()->value_string()); // "value" | 2150 isolate()->factory()->value_string()); // "value" |
| 2163 if (FLAG_vector_ics) { | 2151 __ mov(VectorLoadICDescriptor::SlotRegister(), |
| 2164 __ mov(VectorLoadICDescriptor::SlotRegister(), | 2152 Immediate(SmiFromSlot(expr->ValueFeedbackSlot()))); |
| 2165 Immediate(SmiFromSlot(expr->ValueFeedbackSlot()))); | |
| 2166 } | |
| 2167 CallLoadIC(NOT_CONTEXTUAL); // result.value in eax | 2153 CallLoadIC(NOT_CONTEXTUAL); // result.value in eax |
| 2168 context()->DropAndPlug(2, eax); // drop iter and g | 2154 context()->DropAndPlug(2, eax); // drop iter and g |
| 2169 break; | 2155 break; |
| 2170 } | 2156 } |
| 2171 } | 2157 } |
| 2172 } | 2158 } |
| 2173 | 2159 |
| 2174 | 2160 |
| 2175 void FullCodeGenerator::EmitGeneratorResume(Expression *generator, | 2161 void FullCodeGenerator::EmitGeneratorResume(Expression *generator, |
| 2176 Expression *value, | 2162 Expression *value, |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2294 } | 2280 } |
| 2295 | 2281 |
| 2296 | 2282 |
| 2297 void FullCodeGenerator::EmitNamedPropertyLoad(Property* prop) { | 2283 void FullCodeGenerator::EmitNamedPropertyLoad(Property* prop) { |
| 2298 SetSourcePosition(prop->position()); | 2284 SetSourcePosition(prop->position()); |
| 2299 Literal* key = prop->key()->AsLiteral(); | 2285 Literal* key = prop->key()->AsLiteral(); |
| 2300 DCHECK(!key->value()->IsSmi()); | 2286 DCHECK(!key->value()->IsSmi()); |
| 2301 DCHECK(!prop->IsSuperAccess()); | 2287 DCHECK(!prop->IsSuperAccess()); |
| 2302 | 2288 |
| 2303 __ mov(LoadDescriptor::NameRegister(), Immediate(key->value())); | 2289 __ mov(LoadDescriptor::NameRegister(), Immediate(key->value())); |
| 2304 if (FLAG_vector_ics) { | 2290 __ mov(VectorLoadICDescriptor::SlotRegister(), |
| 2305 __ mov(VectorLoadICDescriptor::SlotRegister(), | 2291 Immediate(SmiFromSlot(prop->PropertyFeedbackSlot()))); |
| 2306 Immediate(SmiFromSlot(prop->PropertyFeedbackSlot()))); | 2292 CallLoadIC(NOT_CONTEXTUAL); |
| 2307 CallLoadIC(NOT_CONTEXTUAL); | |
| 2308 } else { | |
| 2309 CallLoadIC(NOT_CONTEXTUAL, prop->PropertyFeedbackId()); | |
| 2310 } | |
| 2311 } | 2293 } |
| 2312 | 2294 |
| 2313 | 2295 |
| 2314 void FullCodeGenerator::EmitNamedSuperPropertyLoad(Property* prop) { | 2296 void FullCodeGenerator::EmitNamedSuperPropertyLoad(Property* prop) { |
| 2315 // Stack: receiver, home_object. | 2297 // Stack: receiver, home_object. |
| 2316 SetSourcePosition(prop->position()); | 2298 SetSourcePosition(prop->position()); |
| 2317 Literal* key = prop->key()->AsLiteral(); | 2299 Literal* key = prop->key()->AsLiteral(); |
| 2318 DCHECK(!key->value()->IsSmi()); | 2300 DCHECK(!key->value()->IsSmi()); |
| 2319 DCHECK(prop->IsSuperAccess()); | 2301 DCHECK(prop->IsSuperAccess()); |
| 2320 | 2302 |
| 2321 __ push(Immediate(key->value())); | 2303 __ push(Immediate(key->value())); |
| 2322 __ CallRuntime(Runtime::kLoadFromSuper, 3); | 2304 __ CallRuntime(Runtime::kLoadFromSuper, 3); |
| 2323 } | 2305 } |
| 2324 | 2306 |
| 2325 | 2307 |
| 2326 void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) { | 2308 void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) { |
| 2327 SetSourcePosition(prop->position()); | 2309 SetSourcePosition(prop->position()); |
| 2328 Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate()).code(); | 2310 Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate()).code(); |
| 2329 if (FLAG_vector_ics) { | 2311 __ mov(VectorLoadICDescriptor::SlotRegister(), |
| 2330 __ mov(VectorLoadICDescriptor::SlotRegister(), | 2312 Immediate(SmiFromSlot(prop->PropertyFeedbackSlot()))); |
| 2331 Immediate(SmiFromSlot(prop->PropertyFeedbackSlot()))); | 2313 CallIC(ic); |
| 2332 CallIC(ic); | |
| 2333 } else { | |
| 2334 CallIC(ic, prop->PropertyFeedbackId()); | |
| 2335 } | |
| 2336 } | 2314 } |
| 2337 | 2315 |
| 2338 | 2316 |
| 2339 void FullCodeGenerator::EmitKeyedSuperPropertyLoad(Property* prop) { | 2317 void FullCodeGenerator::EmitKeyedSuperPropertyLoad(Property* prop) { |
| 2340 // Stack: receiver, home_object, key. | 2318 // Stack: receiver, home_object, key. |
| 2341 SetSourcePosition(prop->position()); | 2319 SetSourcePosition(prop->position()); |
| 2342 | 2320 |
| 2343 __ CallRuntime(Runtime::kLoadKeyedFromSuper, 3); | 2321 __ CallRuntime(Runtime::kLoadKeyedFromSuper, 3); |
| 2344 } | 2322 } |
| 2345 | 2323 |
| (...skipping 2203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4549 | 4527 |
| 4550 | 4528 |
| 4551 void FullCodeGenerator::EmitLoadJSRuntimeFunction(CallRuntime* expr) { | 4529 void FullCodeGenerator::EmitLoadJSRuntimeFunction(CallRuntime* expr) { |
| 4552 // Push the builtins object as receiver. | 4530 // Push the builtins object as receiver. |
| 4553 __ mov(eax, GlobalObjectOperand()); | 4531 __ mov(eax, GlobalObjectOperand()); |
| 4554 __ push(FieldOperand(eax, GlobalObject::kBuiltinsOffset)); | 4532 __ push(FieldOperand(eax, GlobalObject::kBuiltinsOffset)); |
| 4555 | 4533 |
| 4556 // Load the function from the receiver. | 4534 // Load the function from the receiver. |
| 4557 __ mov(LoadDescriptor::ReceiverRegister(), Operand(esp, 0)); | 4535 __ mov(LoadDescriptor::ReceiverRegister(), Operand(esp, 0)); |
| 4558 __ mov(LoadDescriptor::NameRegister(), Immediate(expr->name())); | 4536 __ mov(LoadDescriptor::NameRegister(), Immediate(expr->name())); |
| 4559 if (FLAG_vector_ics) { | 4537 __ mov(VectorLoadICDescriptor::SlotRegister(), |
| 4560 __ mov(VectorLoadICDescriptor::SlotRegister(), | 4538 Immediate(SmiFromSlot(expr->CallRuntimeFeedbackSlot()))); |
| 4561 Immediate(SmiFromSlot(expr->CallRuntimeFeedbackSlot()))); | 4539 CallLoadIC(NOT_CONTEXTUAL); |
| 4562 CallLoadIC(NOT_CONTEXTUAL); | |
| 4563 } else { | |
| 4564 CallLoadIC(NOT_CONTEXTUAL, expr->CallRuntimeFeedbackId()); | |
| 4565 } | |
| 4566 } | 4540 } |
| 4567 | 4541 |
| 4568 | 4542 |
| 4569 void FullCodeGenerator::EmitCallJSRuntimeFunction(CallRuntime* expr) { | 4543 void FullCodeGenerator::EmitCallJSRuntimeFunction(CallRuntime* expr) { |
| 4570 ZoneList<Expression*>* args = expr->arguments(); | 4544 ZoneList<Expression*>* args = expr->arguments(); |
| 4571 int arg_count = args->length(); | 4545 int arg_count = args->length(); |
| 4572 | 4546 |
| 4573 // Record source position of the IC call. | 4547 // Record source position of the IC call. |
| 4574 SetSourcePosition(expr->position()); | 4548 SetSourcePosition(expr->position()); |
| 4575 CallFunctionStub stub(isolate(), arg_count, NO_CALL_FUNCTION_FLAGS); | 4549 CallFunctionStub stub(isolate(), arg_count, NO_CALL_FUNCTION_FLAGS); |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4994 | 4968 |
| 4995 void FullCodeGenerator::VisitForTypeofValue(Expression* expr) { | 4969 void FullCodeGenerator::VisitForTypeofValue(Expression* expr) { |
| 4996 VariableProxy* proxy = expr->AsVariableProxy(); | 4970 VariableProxy* proxy = expr->AsVariableProxy(); |
| 4997 DCHECK(!context()->IsEffect()); | 4971 DCHECK(!context()->IsEffect()); |
| 4998 DCHECK(!context()->IsTest()); | 4972 DCHECK(!context()->IsTest()); |
| 4999 | 4973 |
| 5000 if (proxy != NULL && proxy->var()->IsUnallocated()) { | 4974 if (proxy != NULL && proxy->var()->IsUnallocated()) { |
| 5001 Comment cmnt(masm_, "[ Global variable"); | 4975 Comment cmnt(masm_, "[ Global variable"); |
| 5002 __ mov(LoadDescriptor::ReceiverRegister(), GlobalObjectOperand()); | 4976 __ mov(LoadDescriptor::ReceiverRegister(), GlobalObjectOperand()); |
| 5003 __ mov(LoadDescriptor::NameRegister(), Immediate(proxy->name())); | 4977 __ mov(LoadDescriptor::NameRegister(), Immediate(proxy->name())); |
| 5004 if (FLAG_vector_ics) { | 4978 __ mov(VectorLoadICDescriptor::SlotRegister(), |
| 5005 __ mov(VectorLoadICDescriptor::SlotRegister(), | 4979 Immediate(SmiFromSlot(proxy->VariableFeedbackSlot()))); |
| 5006 Immediate(SmiFromSlot(proxy->VariableFeedbackSlot()))); | |
| 5007 } | |
| 5008 // Use a regular load, not a contextual load, to avoid a reference | 4980 // Use a regular load, not a contextual load, to avoid a reference |
| 5009 // error. | 4981 // error. |
| 5010 CallLoadIC(NOT_CONTEXTUAL); | 4982 CallLoadIC(NOT_CONTEXTUAL); |
| 5011 PrepareForBailout(expr, TOS_REG); | 4983 PrepareForBailout(expr, TOS_REG); |
| 5012 context()->Plug(eax); | 4984 context()->Plug(eax); |
| 5013 } else if (proxy != NULL && proxy->var()->IsLookupSlot()) { | 4985 } else if (proxy != NULL && proxy->var()->IsLookupSlot()) { |
| 5014 Comment cmnt(masm_, "[ Lookup slot"); | 4986 Comment cmnt(masm_, "[ Lookup slot"); |
| 5015 Label done, slow; | 4987 Label done, slow; |
| 5016 | 4988 |
| 5017 // Generate code for loading from variables potentially shadowed | 4989 // Generate code for loading from variables potentially shadowed |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5376 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), | 5348 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), |
| 5377 Assembler::target_address_at(call_target_address, | 5349 Assembler::target_address_at(call_target_address, |
| 5378 unoptimized_code)); | 5350 unoptimized_code)); |
| 5379 return OSR_AFTER_STACK_CHECK; | 5351 return OSR_AFTER_STACK_CHECK; |
| 5380 } | 5352 } |
| 5381 | 5353 |
| 5382 | 5354 |
| 5383 } } // namespace v8::internal | 5355 } } // namespace v8::internal |
| 5384 | 5356 |
| 5385 #endif // V8_TARGET_ARCH_IA32 | 5357 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |