| 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 7987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7998 Add<HConstant>(function), | 7998 Add<HConstant>(function), |
| 7999 call_data, | 7999 call_data, |
| 8000 holder, | 8000 holder, |
| 8001 api_function_address, | 8001 api_function_address, |
| 8002 context() | 8002 context() |
| 8003 }; | 8003 }; |
| 8004 | 8004 |
| 8005 CallInterfaceDescriptor* descriptor = | 8005 CallInterfaceDescriptor* descriptor = |
| 8006 isolate()->call_descriptor(Isolate::ApiFunctionCall); | 8006 isolate()->call_descriptor(Isolate::ApiFunctionCall); |
| 8007 | 8007 |
| 8008 CallApiFunctionStub stub(is_store, call_data_is_undefined, argc); | 8008 CallApiFunctionStub stub(isolate(), is_store, call_data_is_undefined, argc); |
| 8009 Handle<Code> code = stub.GetCode(isolate()); | 8009 Handle<Code> code = stub.GetCode(isolate()); |
| 8010 HConstant* code_value = Add<HConstant>(code); | 8010 HConstant* code_value = Add<HConstant>(code); |
| 8011 | 8011 |
| 8012 ASSERT((sizeof(op_vals) / kPointerSize) == | 8012 ASSERT((sizeof(op_vals) / kPointerSize) == |
| 8013 descriptor->environment_length()); | 8013 descriptor->environment_length()); |
| 8014 | 8014 |
| 8015 HInstruction* call = New<HCallWithDescriptor>( | 8015 HInstruction* call = New<HCallWithDescriptor>( |
| 8016 code_value, argc + 1, descriptor, | 8016 code_value, argc + 1, descriptor, |
| 8017 Vector<HValue*>(op_vals, descriptor->environment_length())); | 8017 Vector<HValue*>(op_vals, descriptor->environment_length())); |
| 8018 | 8018 |
| (...skipping 3653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11672 if (ShouldProduceTraceOutput()) { | 11672 if (ShouldProduceTraceOutput()) { |
| 11673 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); | 11673 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); |
| 11674 } | 11674 } |
| 11675 | 11675 |
| 11676 #ifdef DEBUG | 11676 #ifdef DEBUG |
| 11677 graph_->Verify(false); // No full verify. | 11677 graph_->Verify(false); // No full verify. |
| 11678 #endif | 11678 #endif |
| 11679 } | 11679 } |
| 11680 | 11680 |
| 11681 } } // namespace v8::internal | 11681 } } // namespace v8::internal |
| OLD | NEW |