Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: src/x64/stub-cache-x64.cc

Issue 173349: Reverting 2753. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/v8-counters.h ('k') | test/mjsunit/debug-stepin-constructor.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 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 1720 matching lines...) Expand 10 before | Expand all | Expand 10 after
1731 Register reg = 1731 Register reg =
1732 CheckPrototypes(object, receiver, holder, 1732 CheckPrototypes(object, receiver, holder,
1733 scratch1, scratch2, name, miss); 1733 scratch1, scratch2, name, miss);
1734 1734
1735 // Return the constant value. 1735 // Return the constant value.
1736 __ Move(rax, Handle<Object>(value)); 1736 __ Move(rax, Handle<Object>(value));
1737 __ ret(0); 1737 __ ret(0);
1738 } 1738 }
1739 1739
1740 1740
1741 Object* ConstructStubCompiler::CompileConstructStub(
1742 SharedFunctionInfo* shared) {
1743 // Not implemented yet - just jump to generic stub.
1744 Code* code = Builtins::builtin(Builtins::JSConstructStubGeneric);
1745 Handle<Code> generic_construct_stub(code);
1746 __ Jump(generic_construct_stub, RelocInfo::CODE_TARGET);
1747
1748 // Return the generated code.
1749 return GetCode();
1750 }
1751
1752
1753 #undef __ 1741 #undef __
1754 1742
1755 } } // namespace v8::internal 1743 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/v8-counters.h ('k') | test/mjsunit/debug-stepin-constructor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698