| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 7990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8001 Add<HConstant>(function), | 8001 Add<HConstant>(function), |
| 8002 call_data, | 8002 call_data, |
| 8003 holder, | 8003 holder, |
| 8004 api_function_address, | 8004 api_function_address, |
| 8005 context() | 8005 context() |
| 8006 }; | 8006 }; |
| 8007 | 8007 |
| 8008 CallInterfaceDescriptor* descriptor = | 8008 CallInterfaceDescriptor* descriptor = |
| 8009 isolate()->call_descriptor(Isolate::ApiFunctionCall); | 8009 isolate()->call_descriptor(Isolate::ApiFunctionCall); |
| 8010 | 8010 |
| 8011 CallApiFunctionStub stub(is_store, call_data_is_undefined, argc); | 8011 CallApiFunctionStub stub(isolate(), is_store, call_data_is_undefined, argc); |
| 8012 Handle<Code> code = stub.GetCode(isolate()); | 8012 Handle<Code> code = stub.GetCode(isolate()); |
| 8013 HConstant* code_value = Add<HConstant>(code); | 8013 HConstant* code_value = Add<HConstant>(code); |
| 8014 | 8014 |
| 8015 ASSERT((sizeof(op_vals) / kPointerSize) == | 8015 ASSERT((sizeof(op_vals) / kPointerSize) == |
| 8016 descriptor->environment_length()); | 8016 descriptor->environment_length()); |
| 8017 | 8017 |
| 8018 HInstruction* call = New<HCallWithDescriptor>( | 8018 HInstruction* call = New<HCallWithDescriptor>( |
| 8019 code_value, argc + 1, descriptor, | 8019 code_value, argc + 1, descriptor, |
| 8020 Vector<HValue*>(op_vals, descriptor->environment_length())); | 8020 Vector<HValue*>(op_vals, descriptor->environment_length())); |
| 8021 | 8021 |
| (...skipping 3653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11675 if (ShouldProduceTraceOutput()) { | 11675 if (ShouldProduceTraceOutput()) { |
| 11676 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); | 11676 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); |
| 11677 } | 11677 } |
| 11678 | 11678 |
| 11679 #ifdef DEBUG | 11679 #ifdef DEBUG |
| 11680 graph_->Verify(false); // No full verify. | 11680 graph_->Verify(false); // No full verify. |
| 11681 #endif | 11681 #endif |
| 11682 } | 11682 } |
| 11683 | 11683 |
| 11684 } } // namespace v8::internal | 11684 } } // namespace v8::internal |
| OLD | NEW |