fix compilation with gcc 4.6
* src/bootstrapper.cc (Genesis::InitializeExperimentalGlobal): Remove assigned-but-unused var. BUG= TEST=passes test suite, modulo http://code.google.com/p/v8/issues/detail?id=1621 Review URL: http://codereview.chromium.org/7658014 Patch from Andy Wingo <wingo@igalia.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8950 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
9f9959182d
commit
ca049c7b58
@ -1198,10 +1198,9 @@ void Genesis::InitializeExperimentalGlobal() {
|
||||
// TODO(mstarzinger): Move this into Genesis::InitializeGlobal once we no
|
||||
// longer need to live behind a flag, so WeakMap gets added to the snapshot.
|
||||
if (FLAG_harmony_weakmaps) { // -- W e a k M a p
|
||||
Handle<JSFunction> weakmap_fun =
|
||||
InstallFunction(global, "WeakMap", JS_WEAK_MAP_TYPE, JSWeakMap::kSize,
|
||||
isolate->initial_object_prototype(),
|
||||
Builtins::kIllegal, true);
|
||||
InstallFunction(global, "WeakMap", JS_WEAK_MAP_TYPE, JSWeakMap::kSize,
|
||||
isolate->initial_object_prototype(),
|
||||
Builtins::kIllegal, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user