summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorjkummerow@chromium.org <jkummerow@chromium.org>2012-06-18 08:28:32 +0000
committerBert Belder <bertbelder@gmail.com>2012-06-19 17:56:51 +0200
commit7282ce9014a4d17297f5d0395aa60461d4a14823 (patch)
treef3005faf83630fb4fc495a3b5adace73d244fc93 /deps
parentf94b85db83630e95ea1744ecfcff76c6157d3d1c (diff)
downloadnode-new-7282ce9014a4d17297f5d0395aa60461d4a14823.tar.gz
Remove unused-but-set variable from objects.cc.
This fixes compilation with newer GCCs. R=erik.corry@gmail.com Review URL: https://chromiumcodereview.appspot.com/10568006 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11838 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Diffstat (limited to 'deps')
-rw-r--r--deps/v8/src/objects.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/deps/v8/src/objects.cc b/deps/v8/src/objects.cc
index b6cd328528..ff81131272 100644
--- a/deps/v8/src/objects.cc
+++ b/deps/v8/src/objects.cc
@@ -7514,12 +7514,10 @@ MaybeObject* JSObject::OptimizeAsPrototype() {
// Make sure prototypes are fast objects and their maps have the bit set
// so they remain fast.
- Map* proto_map = map();
if (!HasFastProperties()) {
MaybeObject* new_proto = TransformToFastProperties(0);
if (new_proto->IsFailure()) return new_proto;
ASSERT(new_proto == this);
- proto_map = map();
}
return this;
}