| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1335 __ DecrementCounter(&Counters::keyed_store_field, 1, r1, r3); | 1335 __ DecrementCounter(&Counters::keyed_store_field, 1, r1, r3); |
| 1336 __ mov(r2, Operand(Handle<String>(name))); // restore name register. | 1336 __ mov(r2, Operand(Handle<String>(name))); // restore name register. |
| 1337 Handle<Code> ic(Builtins::builtin(Builtins::KeyedStoreIC_Miss)); | 1337 Handle<Code> ic(Builtins::builtin(Builtins::KeyedStoreIC_Miss)); |
| 1338 __ Jump(ic, RelocInfo::CODE_TARGET); | 1338 __ Jump(ic, RelocInfo::CODE_TARGET); |
| 1339 | 1339 |
| 1340 // Return the generated code. | 1340 // Return the generated code. |
| 1341 return GetCode(transition == NULL ? FIELD : MAP_TRANSITION, name); | 1341 return GetCode(transition == NULL ? FIELD : MAP_TRANSITION, name); |
| 1342 } | 1342 } |
| 1343 | 1343 |
| 1344 | 1344 |
| 1345 Object* ConstructStubCompiler::CompileConstructStub( | |
| 1346 SharedFunctionInfo* shared) { | |
| 1347 // Not implemented yet - just jump to generic stub. | |
| 1348 Code* code = Builtins::builtin(Builtins::JSConstructStubGeneric); | |
| 1349 Handle<Code> generic_construct_stub(code); | |
| 1350 __ Jump(generic_construct_stub, RelocInfo::CODE_TARGET); | |
| 1351 | |
| 1352 // Return the generated code. | |
| 1353 return GetCode(); | |
| 1354 } | |
| 1355 | |
| 1356 | |
| 1357 #undef __ | 1345 #undef __ |
| 1358 | 1346 |
| 1359 } } // namespace v8::internal | 1347 } } // namespace v8::internal |
| OLD | NEW |